Class ObjectActionUtil
com.liferay.object.service.persistence.impl.ObjectActionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(ObjectAction objectAction) static voidcacheResult(List<ObjectAction> objectActions) static voidstatic voidclearCache(ObjectAction objectAction) static intcountByA_OAEK(boolean active, String objectActionExecutorKey) Returns the number of object actions where active = ? and objectActionExecutorKey = ?.static intcountByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey) Returns the number of object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.static intcountByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object actions where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.static intcountByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey) Returns the number of object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object actions where objectDefinitionId = ?.static intcountByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey) Returns the number of object actions where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ?.static intcountByODI_N(long objectDefinitionId, String name) Returns the number of object actions where objectDefinitionId = ? and name = ?.static intcountByUuid(String uuid) Returns the number of object actions where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object actions where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectActioncreate(long objectActionId) Creates a new object action with the primary key.static ObjectActionfetchByA_OAEK_First(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where active = ? and objectActionExecutorKey = ?.static ObjectActionfetchByC_A_OATK_First(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.static ObjectActionfetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found.static ObjectActionfetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectActionfetchByO_A_OATK_First(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static ObjectActionfetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ?.static ObjectActionfetchByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey) Returns the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? or returnsnullif it could not be found.static ObjectActionfetchByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey, boolean useFinderCache) Returns the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectActionfetchByODI_N(long objectDefinitionId, String name) Returns the object action where objectDefinitionId = ? and name = ? or returnsnullif it could not be found.static ObjectActionfetchByODI_N(long objectDefinitionId, String name, boolean useFinderCache) Returns the object action where objectDefinitionId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.static ObjectActionfetchByPrimaryKey(long objectActionId) Returns the object action with the primary key or returnsnullif it could not be found.static Map<Serializable, ObjectAction> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectActionfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ? and companyId = ?.static ObjectActionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ?.static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey) Returns all the object actions where active = ? and objectActionExecutorKey = ?.static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey, int start, int end) Returns a range of all the object actions where active = ? and objectActionExecutorKey = ?.static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where active = ? and objectActionExecutorKey = ?.static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where active = ? and objectActionExecutorKey = ?.static ObjectActionfindByA_OAEK_First(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where active = ? and objectActionExecutorKey = ?.static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey) Returns all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey, int start, int end) Returns a range of all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.static ObjectActionfindByC_A_OATK_First(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.static ObjectActionfindByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectActionExceptionif it could not be found.static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey) Returns all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey, int start, int end) Returns a range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static ObjectActionfindByO_A_OATK_First(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId) Returns all the object actions where objectDefinitionId = ?.static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object actions where objectDefinitionId = ?.static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where objectDefinitionId = ?.static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where objectDefinitionId = ?.static ObjectActionfindByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ?.static ObjectActionfindByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey) Returns the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? or throws aNoSuchObjectActionExceptionif it could not be found.static ObjectActionfindByODI_N(long objectDefinitionId, String name) Returns the object action where objectDefinitionId = ? and name = ? or throws aNoSuchObjectActionExceptionif it could not be found.static ObjectActionfindByPrimaryKey(long objectActionId) Returns the object action with the primary key or throws aNoSuchObjectActionExceptionif it could not be found.static List<ObjectAction> findByUuid(String uuid) Returns all the object actions where uuid = ?.static List<ObjectAction> findByUuid(String uuid, int start, int end) Returns a range of all the object actions where uuid = ?.static List<ObjectAction> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where uuid = ?.static List<ObjectAction> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where uuid = ?.static List<ObjectAction> findByUuid_C(String uuid, long companyId) Returns all the object actions where uuid = ? and companyId = ?.static List<ObjectAction> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object actions where uuid = ? and companyId = ?.static List<ObjectAction> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where uuid = ? and companyId = ?.static List<ObjectAction> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where uuid = ? and companyId = ?.static ObjectActionfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ? and companyId = ?.static ObjectActionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ?.static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) static ObjectActionPersistencestatic ObjectActionremove(long objectActionId) Removes the object action with the primary key from the database.static voidremoveByA_OAEK(boolean active, String objectActionExecutorKey) Removes all the object actions where active = ? and objectActionExecutorKey = ? from the database.static voidremoveByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey) Removes all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ? from the database.static ObjectActionremoveByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Removes the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.static voidremoveByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey) Removes all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ? from the database.static voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object actions where objectDefinitionId = ? from the database.static ObjectActionremoveByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey) Removes the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? from the database.static ObjectActionremoveByODI_N(long objectDefinitionId, String name) Removes the object action where objectDefinitionId = ? and name = ? from the database.static voidremoveByUuid(String uuid) Removes all the object actions where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object actions where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectActionPersistence persistence) static ObjectActionupdate(ObjectAction objectAction) static ObjectActionupdate(ObjectAction objectAction, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectActionupdateImpl(ObjectAction objectAction)
-
Constructor Details
-
ObjectActionUtil
public ObjectActionUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static ObjectAction update(ObjectAction objectAction, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByUuid
public static List<ObjectAction> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object actions
-
findByUuid_First
public static ObjectAction findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the first object action in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action
-
fetchByUuid_First
public static ObjectAction fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action, or
nullif a matching object action could not be found
-
removeByUuid
Removes all the object actions where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object actions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object actions
-
findByUuid_C
public static List<ObjectAction> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object actions
-
findByUuid_C_First
public static ObjectAction findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the first object action in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action
-
fetchByUuid_C_First
public static ObjectAction fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action, or
nullif a matching object action could not be found
-
removeByUuid_C
Removes all the object actions where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object actions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object actions
-
findByObjectDefinitionId
public static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object actions
-
findByObjectDefinitionId_First
public static ObjectAction findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the first object action in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action
-
fetchByObjectDefinitionId_First
public static ObjectAction fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action, or
nullif a matching object action could not be found
-
removeByObjectDefinitionId
public static void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object actions where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId- the object definition ID
-
countByObjectDefinitionId
public static int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object actions where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the number of matching object actions
-
findByODI_N
public static ObjectAction findByODI_N(long objectDefinitionId, String name) throws NoSuchObjectActionException Returns the object action where objectDefinitionId = ? and name = ? or throws aNoSuchObjectActionExceptionif it could not be found.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the matching object action
-
fetchByODI_N
public static ObjectAction fetchByODI_N(long objectDefinitionId, String name, boolean useFinderCache) Returns the object action where objectDefinitionId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId- the object definition IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching object action, or
nullif a matching object action could not be found
-
removeByODI_N
public static ObjectAction removeByODI_N(long objectDefinitionId, String name) throws NoSuchObjectActionException Removes the object action where objectDefinitionId = ? and name = ? from the database.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the object action that was removed
- Throws:
NoSuchObjectActionException
-
countByODI_N
Returns the number of object actions where objectDefinitionId = ? and name = ?.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the number of matching object actions
-
findByA_OAEK
public static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where active = ? and objectActionExecutorKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object actions
-
findByA_OAEK_First
public static ObjectAction findByA_OAEK_First(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the first object action in the ordered set where active = ? and objectActionExecutorKey = ?.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action
-
fetchByA_OAEK_First
public static ObjectAction fetchByA_OAEK_First(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where active = ? and objectActionExecutorKey = ?.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action, or
nullif a matching object action could not be found
-
removeByA_OAEK
Removes all the object actions where active = ? and objectActionExecutorKey = ? from the database.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor key
-
countByA_OAEK
Returns the number of object actions where active = ? and objectActionExecutorKey = ?.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor key- Returns:
- the number of matching object actions
-
findByERC_C_ODI
public static ObjectAction findByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectActionException Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectActionExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the matching object action
-
fetchByERC_C_ODI
public static ObjectAction fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId- the object definition IDuseFinderCache- whether to use the finder cache- Returns:
- the matching object action, or
nullif a matching object action could not be found
-
removeByERC_C_ODI
public static ObjectAction removeByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectActionException Removes the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the object action that was removed
- Throws:
NoSuchObjectActionException
-
countByERC_C_ODI
public static int countByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object actions where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the number of matching object actions
-
findByC_A_OATK
public static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object actions
-
findByC_A_OATK_First
public static ObjectAction findByC_A_OATK_First(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the first object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action
-
fetchByC_A_OATK_First
public static ObjectAction fetchByC_A_OATK_First(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action, or
nullif a matching object action could not be found
-
removeByC_A_OATK
Removes all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ? from the database.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger key
-
countByC_A_OATK
Returns the number of object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger key- Returns:
- the number of matching object actions
-
findByO_A_OATK
public static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching object actions
-
findByO_A_OATK_First
public static ObjectAction findByO_A_OATK_First(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action
-
fetchByO_A_OATK_First
public static ObjectAction fetchByO_A_OATK_First(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object action, or
nullif a matching object action could not be found
-
removeByO_A_OATK
public static void removeByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey) Removes all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ? from the database.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger key
-
countByO_A_OATK
public static int countByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey) Returns the number of object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger key- Returns:
- the number of matching object actions
-
findByODI_A_N_OATK
public static 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 throws aNoSuchObjectActionExceptionif it could not be found.- Parameters:
objectDefinitionId- the object definition IDactive- the activename- the nameobjectActionTriggerKey- the object action trigger key- Returns:
- the matching object action
-
fetchByODI_A_N_OATK
public static ObjectAction fetchByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey, boolean useFinderCache) Returns the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
objectDefinitionId- the object definition IDactive- the activename- the nameobjectActionTriggerKey- the object action trigger keyuseFinderCache- whether to use the finder cache- Returns:
- the matching object action, or
nullif a matching object action could not be found
-
removeByODI_A_N_OATK
public static ObjectAction removeByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey) throws NoSuchObjectActionException Removes the object action where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ? from the database.- Parameters:
objectDefinitionId- the object definition IDactive- the activename- the nameobjectActionTriggerKey- the object action trigger key- Returns:
- the object action that was removed
- Throws:
NoSuchObjectActionException
-
countByODI_A_N_OATK
public static int countByODI_A_N_OATK(long objectDefinitionId, boolean active, String name, String objectActionTriggerKey) Returns the number of object actions where objectDefinitionId = ? and active = ? and name = ? and objectActionTriggerKey = ?.- Parameters:
objectDefinitionId- the object definition IDactive- the activename- the nameobjectActionTriggerKey- the object action trigger key- Returns:
- the number of matching object actions
-
create
Creates a new object action with the primary key. Does not add the object action to the database.- Parameters:
objectActionId- the primary key for the new object action- Returns:
- the new object action
-
remove
Removes the object action with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectActionId- the primary key of the object action- Returns:
- the object action that was removed
-
updateImpl
-
findByPrimaryKey
Returns the object action with the primary key or throws aNoSuchObjectActionExceptionif it could not be found.- Parameters:
objectActionId- the primary key of the object action- Returns:
- the object action
-
fetchByPrimaryKey
Returns the object action with the primary key or returnsnullif it could not be found.- Parameters:
objectActionId- the primary key of the object action- Returns:
- the object action, or
nullif a object action with the primary key could not be found
-
fetchByODI_N
Returns the object action where objectDefinitionId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId- the object definition IDname- the name- Returns:
- the matching object action, or
nullif a matching object action could not be found
-
fetchByERC_C_ODI
public static ObjectAction fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDobjectDefinitionId- the object definition ID- Returns:
- the matching object action, or
nullif a matching object action could not be found
-
fetchByODI_A_N_OATK
public static 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 returnsnullif it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId- the object definition IDactive- the activename- the nameobjectActionTriggerKey- the object action trigger key- Returns:
- the matching object action, or
nullif a matching object action could not be found
-
findByUuid
Returns all the object actions where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object actions
-
findByUuid
Returns a range of all the object actions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)- Returns:
- the range of matching object actions
-
findByUuid
public static List<ObjectAction> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object actions
-
findByUuid_C
Returns all the object actions where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object actions
-
findByUuid_C
Returns a range of all the object actions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)- Returns:
- the range of matching object actions
-
findByUuid_C
public static List<ObjectAction> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object actions
-
findByObjectDefinitionId
Returns all the object actions where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the matching object actions
-
findByObjectDefinitionId
public static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object actions where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)- Returns:
- the range of matching object actions
-
findByObjectDefinitionId
public static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object actions
-
findByA_OAEK
Returns all the object actions where active = ? and objectActionExecutorKey = ?.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor key- Returns:
- the matching object actions
-
findByA_OAEK
public static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey, int start, int end) Returns a range of all the object actions where active = ? and objectActionExecutorKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)- Returns:
- the range of matching object actions
-
findByA_OAEK
public static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where active = ? and objectActionExecutorKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
active- the activeobjectActionExecutorKey- the object action executor keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object actions
-
findByC_A_OATK
public static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey) Returns all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger key- Returns:
- the matching object actions
-
findByC_A_OATK
public static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey, int start, int end) Returns a range of all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)- Returns:
- the range of matching object actions
-
findByC_A_OATK
public static List<ObjectAction> findByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
companyId- the company IDactive- the activeobjectActionTriggerKey- the object action trigger keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object actions
-
findByO_A_OATK
public static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey) Returns all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger key- Returns:
- the matching object actions
-
findByO_A_OATK
public static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey, int start, int end) Returns a range of all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)- Returns:
- the range of matching object actions
-
findByO_A_OATK
public static List<ObjectAction> findByO_A_OATK(long objectDefinitionId, boolean active, String objectActionTriggerKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectActionModelImpl.- Parameters:
objectDefinitionId- the object definition IDactive- the activeobjectActionTriggerKey- the object action trigger keystart- the lower bound of the range of object actionsend- the upper bound of the range of object actions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object actions
-
getPersistence
-
setPersistence
-