Interface ObjectActionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectAction>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectAction objectAction) Caches the object action in the entity cache if it is enabled.void
cacheResult
(List<ObjectAction> objectActions) Caches the object actions in the entity cache if it is enabled.int
countAll()
Returns the number of object actions.int
countByA_OAEK
(boolean active, String objectActionExecutorKey) Returns the number of object actions where active = ? and objectActionExecutorKey = ?.int
countByC_A_OATK
(long companyId, boolean active, String objectActionTriggerKey) Returns the number of object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.int
countByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object actions where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.int
countByO_A_OATK
(long objectDefinitionId, boolean active, String objectActionTriggerKey) Returns the number of object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object actions where objectDefinitionId = ?.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 = ?.int
countByODI_N
(long objectDefinitionId, String name) Returns the number of object actions where objectDefinitionId = ? and name = ?.int
countByUuid
(String uuid) Returns the number of object actions where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object actions where uuid = ? and companyId = ?.create
(long objectActionId) Creates a new object action with the primary key.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 = ?.fetchByA_OAEK_Last
(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where active = ? and objectActionExecutorKey = ?.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 = ?.fetchByC_A_OATK_Last
(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found.fetchByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.fetchByO_A_OATK_Last
(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ?.fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where objectDefinitionId = ?.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 returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.fetchByODI_N
(long objectDefinitionId, String name) Returns the object action where objectDefinitionId = ? and name = ? or returnsnull
if it could not be found.fetchByODI_N
(long objectDefinitionId, String name, boolean useFinderCache) Returns the object action where objectDefinitionId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long objectActionId) Returns the object action with the primary key or returnsnull
if it could not be found.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 = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where uuid = ?.findAll()
Returns all the object actions.findAll
(int start, int end) Returns a range of all the object actions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions.findByA_OAEK
(boolean active, String objectActionExecutorKey) Returns all the object actions where active = ? and objectActionExecutorKey = ?.findByA_OAEK
(boolean active, String objectActionExecutorKey, int start, int end) Returns a range of all the object actions where active = ? and objectActionExecutorKey = ?.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 = ?.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 = ?.findByA_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 = ?.findByA_OAEK_Last
(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where active = ? and objectActionExecutorKey = ?.findByA_OAEK_PrevAndNext
(long objectActionId, boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the object actions before and after the current object action in the ordered set where active = ? and objectActionExecutorKey = ?.findByC_A_OATK
(long companyId, boolean active, String objectActionTriggerKey) Returns all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.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 = ?.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 = ?.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 = ?.findByC_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 = ?.findByC_A_OATK_Last
(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.findByC_A_OATK_PrevAndNext
(long objectActionId, long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the object actions before and after the current object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.findByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectActionException
if it could not be found.findByO_A_OATK
(long objectDefinitionId, boolean active, String objectActionTriggerKey) Returns all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.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 = ?.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 = ?.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 = ?.findByO_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 = ?.findByO_A_OATK_Last
(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.findByO_A_OATK_PrevAndNext
(long objectActionId, long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the object actions before and after the current object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.findByObjectDefinitionId
(long objectDefinitionId) Returns all the object actions where objectDefinitionId = ?.findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object actions where objectDefinitionId = ?.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 = ?.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 = ?.findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_PrevAndNext
(long objectActionId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the object actions before and after the current object action in the ordered set where objectDefinitionId = ?.findByODI_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 aNoSuchObjectActionException
if it could not be found.findByODI_N
(long objectDefinitionId, String name) Returns the object action where objectDefinitionId = ? and name = ? or throws aNoSuchObjectActionException
if it could not be found.findByPrimaryKey
(long objectActionId) Returns the object action with the primary key or throws aNoSuchObjectActionException
if it could not be found.findByUuid
(String uuid) Returns all the object actions where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object actions where uuid = ?.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 = ?.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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the object actions where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object actions where uuid = ? and companyId = ?.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 = ?.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 = ?.findByUuid_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 = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectActionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the object actions before and after the current object action in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectActionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the object actions before and after the current object action in the ordered set where uuid = ?.remove
(long objectActionId) Removes the object action with the primary key from the database.void
Removes all the object actions from the database.void
removeByA_OAEK
(boolean active, String objectActionExecutorKey) Removes all the object actions where active = ? and objectActionExecutorKey = ? from the database.void
removeByC_A_OATK
(long companyId, boolean active, String objectActionTriggerKey) Removes all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ? from the database.removeByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Removes the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.void
removeByO_A_OATK
(long objectDefinitionId, boolean active, String objectActionTriggerKey) Removes all the object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ? from the database.void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object actions where objectDefinitionId = ? from the database.removeByODI_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.removeByODI_N
(long objectDefinitionId, String name) Removes the object action where objectDefinitionId = ? and name = ? from the database.void
removeByUuid
(String uuid) Removes all the object actions where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object actions where uuid = ? and companyId = ? from the database.updateImpl
(ObjectAction objectAction) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByUuid_First
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
null
if a matching object action could not be found
-
findByUuid_Last
ObjectAction findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the last object action in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByUuid_Last
ObjectAction fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object action, or
null
if a matching object action could not be found
-
findByUuid_PrevAndNext
ObjectAction[] findByUuid_PrevAndNext(long objectActionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the object actions before and after the current object action in the ordered set where uuid = ?.- Parameters:
objectActionId
- the primary key of the current object actionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object action
- Throws:
NoSuchObjectActionException
- if a object action with the primary key 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
-
findByUuid_C
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByUuid_C_First
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
null
if a matching object action could not be found
-
findByUuid_C_Last
ObjectAction findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the last 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 last matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByUuid_C_Last
ObjectAction fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last 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 last matching object action, or
null
if a matching object action could not be found
-
findByUuid_C_PrevAndNext
ObjectAction[] findByUuid_C_PrevAndNext(long objectActionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the object actions before and after the current object action in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectActionId
- the primary key of the current object actionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object action
- Throws:
NoSuchObjectActionException
- if a object action with the primary key 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
Returns all the object actions where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the matching object actions
-
findByObjectDefinitionId
Returns a range of all the object actions where objectDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
-
findByObjectDefinitionId
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByObjectDefinitionId_First
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
null
if a matching object action could not be found
-
findByObjectDefinitionId_Last
ObjectAction findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the last object action in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByObjectDefinitionId_Last
ObjectAction fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object action, or
null
if a matching object action could not be found
-
findByObjectDefinitionId_PrevAndNext
ObjectAction[] findByObjectDefinitionId_PrevAndNext(long objectActionId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the object actions before and after the current object action in the ordered set where objectDefinitionId = ?.- Parameters:
objectActionId
- the primary key of the current object actionobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object action
- Throws:
NoSuchObjectActionException
- if a object action with the primary key could not be found
-
removeByObjectDefinitionId
void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object actions where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId
- the object definition ID
-
countByObjectDefinitionId
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
Returns the object action where objectDefinitionId = ? and name = ? or throws aNoSuchObjectActionException
if it could not be found.- Parameters:
objectDefinitionId
- the object definition IDname
- the name- Returns:
- the matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByODI_N
Returns the object action where objectDefinitionId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
objectDefinitionId
- the object definition IDname
- the name- Returns:
- the matching object action, or
null
if a matching object action could not be found
-
fetchByODI_N
Returns the object action where objectDefinitionId = ? and name = ? or returnsnull
if 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
null
if a matching object action could not be found
-
removeByODI_N
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
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
Returns a range of all the object actions where active = ? and objectActionExecutorKey = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
-
findByA_OAEK
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByA_OAEK_First
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
null
if a matching object action could not be found
-
findByA_OAEK_Last
ObjectAction findByA_OAEK_Last(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the last 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 last matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByA_OAEK_Last
ObjectAction fetchByA_OAEK_Last(boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last 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 last matching object action, or
null
if a matching object action could not be found
-
findByA_OAEK_PrevAndNext
ObjectAction[] findByA_OAEK_PrevAndNext(long objectActionId, boolean active, String objectActionExecutorKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the object actions before and after the current object action in the ordered set where active = ? and objectActionExecutorKey = ?.- Parameters:
objectActionId
- the primary key of the current object actionactive
- the activeobjectActionExecutorKey
- the object action executor keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object action
- Throws:
NoSuchObjectActionException
- if a object action with the primary key 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
ObjectAction findByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) throws NoSuchObjectActionException Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws aNoSuchObjectActionException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDobjectDefinitionId
- the object definition ID- Returns:
- the matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByERC_C_ODI
ObjectAction fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if 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
null
if a matching object action could not be found
-
fetchByERC_C_ODI
ObjectAction fetchByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId, boolean useFinderCache) Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or returnsnull
if 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
null
if a matching object action could not be found
-
removeByERC_C_ODI
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
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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
-
findByC_A_OATK
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByC_A_OATK_First
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
null
if a matching object action could not be found
-
findByC_A_OATK_Last
ObjectAction findByC_A_OATK_Last(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the last 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 last matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByC_A_OATK_Last
ObjectAction fetchByC_A_OATK_Last(long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last 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 last matching object action, or
null
if a matching object action could not be found
-
findByC_A_OATK_PrevAndNext
ObjectAction[] findByC_A_OATK_PrevAndNext(long objectActionId, long companyId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the object actions before and after the current object action in the ordered set where companyId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
objectActionId
- the primary key of the current object actioncompanyId
- the company IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object action
- Throws:
NoSuchObjectActionException
- if a object action with the primary key 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
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
-
findByO_A_OATK
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByO_A_OATK_First
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
null
if a matching object action could not be found
-
findByO_A_OATK_Last
ObjectAction findByO_A_OATK_Last(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the last 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 last matching object action
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByO_A_OATK_Last
ObjectAction fetchByO_A_OATK_Last(long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last 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 last matching object action, or
null
if a matching object action could not be found
-
findByO_A_OATK_PrevAndNext
ObjectAction[] findByO_A_OATK_PrevAndNext(long objectActionId, long objectDefinitionId, boolean active, String objectActionTriggerKey, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) throws NoSuchObjectActionException Returns the object actions before and after the current object action in the ordered set where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.- Parameters:
objectActionId
- the primary key of the current object actionobjectDefinitionId
- the object definition IDactive
- the activeobjectActionTriggerKey
- the object action trigger keyorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object action
- Throws:
NoSuchObjectActionException
- if a object action with the primary key could not be found
-
removeByO_A_OATK
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
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
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 aNoSuchObjectActionException
if 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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be found
-
fetchByODI_A_N_OATK
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 returnsnull
if 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
null
if a matching object action could not be found
-
fetchByODI_A_N_OATK
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 returnsnull
if 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
null
if a matching object action could not be found
-
removeByODI_A_N_OATK
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
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
-
cacheResult
Caches the object action in the entity cache if it is enabled.- Parameters:
objectAction
- the object action
-
cacheResult
Caches the object actions in the entity cache if it is enabled.- Parameters:
objectActions
- the 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
- Throws:
NoSuchObjectActionException
- if a object action with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object action with the primary key or throws aNoSuchObjectActionException
if it could not be found.- Parameters:
objectActionId
- the primary key of the object action- Returns:
- the object action
- Throws:
NoSuchObjectActionException
- if a object action with the primary key could not be found
-
fetchByPrimaryKey
Returns the object action with the primary key or returnsnull
if it could not be found.- Parameters:
objectActionId
- the primary key of the object action- Returns:
- the object action, or
null
if a object action with the primary key could not be found
-
findAll
List<ObjectAction> findAll()Returns all the object actions.- Returns:
- the object actions
-
findAll
Returns a range of all the object actions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- Parameters:
start
- the lower bound of the range of object actionsend
- the upper bound of the range of object actions (not inclusive)- Returns:
- the range of object actions
-
findAll
List<ObjectAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- Parameters:
start
- 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 object actions
-
findAll
List<ObjectAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object actions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectActionModelImpl
.- Parameters:
start
- 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 object actions
-
removeAll
void removeAll()Removes all the object actions from the database. -
countAll
int countAll()Returns the number of object actions.- Returns:
- the number of object actions
-