![JAR search and dependency download from the Maven repository](/logo.png)
com.liferay.object.service.persistence.ObjectActionPersistence Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.object.service.persistence;
import com.liferay.object.exception.NoSuchObjectActionException;
import com.liferay.object.model.ObjectAction;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import org.osgi.annotation.versioning.ProviderType;
/**
* The persistence interface for the object action service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Marco Leo
* @see ObjectActionUtil
* @generated
*/
@ProviderType
public interface ObjectActionPersistence extends BasePersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link ObjectActionUtil} to access the object action persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the object actions where uuid = ?.
*
* @param uuid the uuid
* @return the matching object actions
*/
public java.util.List findByUuid(String uuid);
/**
* Returns a range of all the object actions where uuid = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @return the range of matching object actions
*/
public java.util.List findByUuid(
String uuid, int start, int end);
/**
* Returns an ordered range of all the object actions where uuid = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object actions
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object actions where uuid = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param uuid the uuid
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching object actions
*/
public java.util.List findByUuid(
String uuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object action in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the first object action in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByUuid_First(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object action in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the last object action in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByUuid_Last(
String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object actions before and after the current object action in the ordered set where uuid = ?.
*
* @param objectActionId the primary key of the current object action
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object action
* @throws NoSuchObjectActionException if a object action with the primary key could not be found
*/
public ObjectAction[] findByUuid_PrevAndNext(
long objectActionId, String uuid,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Removes all the object actions where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(String uuid);
/**
* Returns the number of object actions where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching object actions
*/
public int countByUuid(String uuid);
/**
* Returns all the object actions where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching object actions
*/
public java.util.List findByUuid_C(
String uuid, long companyId);
/**
* Returns a range of all the object actions where uuid = ? and companyId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @return the range of matching object actions
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end);
/**
* Returns an ordered range of all the object actions where uuid = ? and companyId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object actions
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object actions where uuid = ? and companyId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param uuid the uuid
* @param companyId the company ID
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching object actions
*/
public java.util.List findByUuid_C(
String uuid, long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object action in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the first object action in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByUuid_C_First(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object action in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the last object action in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByUuid_C_Last(
String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object actions before and after the current object action in the ordered set where uuid = ? and companyId = ?.
*
* @param objectActionId the primary key of the current object action
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object action
* @throws NoSuchObjectActionException if a object action with the primary key could not be found
*/
public ObjectAction[] findByUuid_C_PrevAndNext(
long objectActionId, String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Removes all the object actions where uuid = ? and companyId = ? from the database.
*
* @param uuid the uuid
* @param companyId the company ID
*/
public void removeByUuid_C(String uuid, long companyId);
/**
* Returns the number of object actions where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching object actions
*/
public int countByUuid_C(String uuid, long companyId);
/**
* Returns all the object actions where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @return the matching object actions
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId);
/**
* Returns a range of all the object actions where objectDefinitionId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @return the range of matching object actions
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId, int start, int end);
/**
* Returns an ordered range of all the object actions where objectDefinitionId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object actions
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object actions where objectDefinitionId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching object actions
*/
public java.util.List findByObjectDefinitionId(
long objectDefinitionId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object action in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByObjectDefinitionId_First(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the first object action in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByObjectDefinitionId_First(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object action in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByObjectDefinitionId_Last(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the last object action in the ordered set where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByObjectDefinitionId_Last(
long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object actions before and after the current object action in the ordered set where objectDefinitionId = ?.
*
* @param objectActionId the primary key of the current object action
* @param objectDefinitionId the object definition ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object action
* @throws NoSuchObjectActionException if a object action with the primary key could not be found
*/
public ObjectAction[] findByObjectDefinitionId_PrevAndNext(
long objectActionId, long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Removes all the object actions where objectDefinitionId = ? from the database.
*
* @param objectDefinitionId the object definition ID
*/
public void removeByObjectDefinitionId(long objectDefinitionId);
/**
* Returns the number of object actions where objectDefinitionId = ?.
*
* @param objectDefinitionId the object definition ID
* @return the number of matching object actions
*/
public int countByObjectDefinitionId(long objectDefinitionId);
/**
* Returns the object action where objectDefinitionId = ? and name = ? or throws a NoSuchObjectActionException
if it could not be found.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByODI_N(long objectDefinitionId, String name)
throws NoSuchObjectActionException;
/**
* Returns the object action where objectDefinitionId = ? and name = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByODI_N(long objectDefinitionId, String name);
/**
* Returns the object action where objectDefinitionId = ? and name = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @param useFinderCache whether to use the finder cache
* @return the matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByODI_N(
long objectDefinitionId, String name, boolean useFinderCache);
/**
* Removes the object action where objectDefinitionId = ? and name = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the object action that was removed
*/
public ObjectAction removeByODI_N(long objectDefinitionId, String name)
throws NoSuchObjectActionException;
/**
* Returns the number of object actions where objectDefinitionId = ? and name = ?.
*
* @param objectDefinitionId the object definition ID
* @param name the name
* @return the number of matching object actions
*/
public int countByODI_N(long objectDefinitionId, String name);
/**
* Returns all the object actions where active = ? and objectActionExecutorKey = ?.
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @return the matching object actions
*/
public java.util.List findByA_OAEK(
boolean active, String objectActionExecutorKey);
/**
* Returns a range of all the object actions where active = ? and objectActionExecutorKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @return the range of matching object actions
*/
public java.util.List findByA_OAEK(
boolean active, String objectActionExecutorKey, int start, int end);
/**
* Returns an ordered range of all the object actions where active = ? and objectActionExecutorKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object actions
*/
public java.util.List findByA_OAEK(
boolean active, String objectActionExecutorKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object actions where active = ? and objectActionExecutorKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching object actions
*/
public java.util.List findByA_OAEK(
boolean active, String objectActionExecutorKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object action in the ordered set where active = ? and objectActionExecutorKey = ?.
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByA_OAEK_First(
boolean active, String objectActionExecutorKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the first object action in the ordered set where active = ? and objectActionExecutorKey = ?.
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByA_OAEK_First(
boolean active, String objectActionExecutorKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object action in the ordered set where active = ? and objectActionExecutorKey = ?.
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByA_OAEK_Last(
boolean active, String objectActionExecutorKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the last object action in the ordered set where active = ? and objectActionExecutorKey = ?.
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByA_OAEK_Last(
boolean active, String objectActionExecutorKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object actions before and after the current object action in the ordered set where active = ? and objectActionExecutorKey = ?.
*
* @param objectActionId the primary key of the current object action
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object action
* @throws NoSuchObjectActionException if a object action with the primary key could not be found
*/
public ObjectAction[] findByA_OAEK_PrevAndNext(
long objectActionId, boolean active, String objectActionExecutorKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Removes all the object actions where active = ? and objectActionExecutorKey = ? from the database.
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
*/
public void removeByA_OAEK(boolean active, String objectActionExecutorKey);
/**
* Returns the number of object actions where active = ? and objectActionExecutorKey = ?.
*
* @param active the active
* @param objectActionExecutorKey the object action executor key
* @return the number of matching object actions
*/
public int countByA_OAEK(boolean active, String objectActionExecutorKey);
/**
* Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectActionException
if it could not be found.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByERC_C_ODI(
String externalReferenceCode, long companyId,
long objectDefinitionId)
throws NoSuchObjectActionException;
/**
* Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByERC_C_ODI(
String externalReferenceCode, long companyId, long objectDefinitionId);
/**
* Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @param useFinderCache whether to use the finder cache
* @return the matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByERC_C_ODI(
String externalReferenceCode, long companyId, long objectDefinitionId,
boolean useFinderCache);
/**
* Removes the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the object action that was removed
*/
public ObjectAction removeByERC_C_ODI(
String externalReferenceCode, long companyId,
long objectDefinitionId)
throws NoSuchObjectActionException;
/**
* Returns the number of object actions where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.
*
* @param externalReferenceCode the external reference code
* @param companyId the company ID
* @param objectDefinitionId the object definition ID
* @return the number of matching object actions
*/
public int countByERC_C_ODI(
String externalReferenceCode, long companyId, long objectDefinitionId);
/**
* Returns all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @return the matching object actions
*/
public java.util.List findByO_A_OATK(
long objectDefinitionId, boolean active, String objectActionTriggerKey);
/**
* Returns a range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @return the range of matching object actions
*/
public java.util.List findByO_A_OATK(
long objectDefinitionId, boolean active, String objectActionTriggerKey,
int start, int end);
/**
* Returns an ordered range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching object actions
*/
public java.util.List findByO_A_OATK(
long objectDefinitionId, boolean active, String objectActionTriggerKey,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of matching object actions
*/
public java.util.List findByO_A_OATK(
long objectDefinitionId, boolean active, String objectActionTriggerKey,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByO_A_OATK_First(
long objectDefinitionId, boolean active,
String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByO_A_OATK_First(
long objectDefinitionId, boolean active, String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the last object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByO_A_OATK_Last(
long objectDefinitionId, boolean active,
String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Returns the last object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByO_A_OATK_Last(
long objectDefinitionId, boolean active, String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns the object actions before and after the current object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
* @param objectActionId the primary key of the current object action
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next object action
* @throws NoSuchObjectActionException if a object action with the primary key could not be found
*/
public ObjectAction[] findByO_A_OATK_PrevAndNext(
long objectActionId, long objectDefinitionId, boolean active,
String objectActionTriggerKey,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator)
throws NoSuchObjectActionException;
/**
* Removes all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
*/
public void removeByO_A_OATK(
long objectDefinitionId, boolean active, String objectActionTriggerKey);
/**
* Returns the number of object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param objectActionTriggerKey the object action trigger key
* @return the number of matching object actions
*/
public int countByO_A_OATK(
long objectDefinitionId, boolean active, String objectActionTriggerKey);
/**
* Returns the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? or throws a NoSuchObjectActionException
if it could not be found.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param name the name
* @param objectActionTriggerKey the object action trigger key
* @return the matching object action
* @throws NoSuchObjectActionException if a matching object action could not be found
*/
public ObjectAction findByODI_A_N_OATK(
long objectDefinitionId, boolean active, String name,
String objectActionTriggerKey)
throws NoSuchObjectActionException;
/**
* Returns the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? or returns null
if it could not be found. Uses the finder cache.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param name the name
* @param objectActionTriggerKey the object action trigger key
* @return the matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByODI_A_N_OATK(
long objectDefinitionId, boolean active, String name,
String objectActionTriggerKey);
/**
* Returns the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? or returns null
if it could not be found, optionally using the finder cache.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param name the name
* @param objectActionTriggerKey the object action trigger key
* @param useFinderCache whether to use the finder cache
* @return the matching object action, or null
if a matching object action could not be found
*/
public ObjectAction fetchByODI_A_N_OATK(
long objectDefinitionId, boolean active, String name,
String objectActionTriggerKey, boolean useFinderCache);
/**
* Removes the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? from the database.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param name the name
* @param objectActionTriggerKey the object action trigger key
* @return the object action that was removed
*/
public ObjectAction removeByODI_A_N_OATK(
long objectDefinitionId, boolean active, String name,
String objectActionTriggerKey)
throws NoSuchObjectActionException;
/**
* Returns the number of object actions where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ?.
*
* @param objectDefinitionId the object definition ID
* @param active the active
* @param name the name
* @param objectActionTriggerKey the object action trigger key
* @return the number of matching object actions
*/
public int countByODI_A_N_OATK(
long objectDefinitionId, boolean active, String name,
String objectActionTriggerKey);
/**
* Caches the object action in the entity cache if it is enabled.
*
* @param objectAction the object action
*/
public void cacheResult(ObjectAction objectAction);
/**
* Caches the object actions in the entity cache if it is enabled.
*
* @param objectActions the object actions
*/
public void cacheResult(java.util.List objectActions);
/**
* Creates a new object action with the primary key. Does not add the object action to the database.
*
* @param objectActionId the primary key for the new object action
* @return the new object action
*/
public ObjectAction create(long objectActionId);
/**
* Removes the object action with the primary key from the database. Also notifies the appropriate model listeners.
*
* @param objectActionId the primary key of the object action
* @return the object action that was removed
* @throws NoSuchObjectActionException if a object action with the primary key could not be found
*/
public ObjectAction remove(long objectActionId)
throws NoSuchObjectActionException;
public ObjectAction updateImpl(ObjectAction objectAction);
/**
* Returns the object action with the primary key or throws a NoSuchObjectActionException
if it could not be found.
*
* @param objectActionId the primary key of the object action
* @return the object action
* @throws NoSuchObjectActionException if a object action with the primary key could not be found
*/
public ObjectAction findByPrimaryKey(long objectActionId)
throws NoSuchObjectActionException;
/**
* Returns the object action with the primary key or returns null
if it could not be found.
*
* @param objectActionId the primary key of the object action
* @return the object action, or null
if a object action with the primary key could not be found
*/
public ObjectAction fetchByPrimaryKey(long objectActionId);
/**
* Returns all the object actions.
*
* @return the object actions
*/
public java.util.List findAll();
/**
* Returns a range of all the object actions.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @return the range of object actions
*/
public java.util.List findAll(int start, int end);
/**
* Returns an ordered range of all the object actions.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of object actions
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator);
/**
* Returns an ordered range of all the object actions.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl
.
*
*
* @param start the lower bound of the range of object actions
* @param end the upper bound of the range of object actions (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param useFinderCache whether to use the finder cache
* @return the ordered range of object actions
*/
public java.util.List findAll(
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator,
boolean useFinderCache);
/**
* Removes all the object actions from the database.
*/
public void removeAll();
/**
* Returns the number of object actions.
*
* @return the number of object actions
*/
public int countAll();
}