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 void
cacheResult
(ObjectAction objectAction) Caches the object action in the entity cache if it is enabled.static void
cacheResult
(List<ObjectAction> objectActions) Caches the object actions in the entity cache if it is enabled.static void
static void
clearCache
(ObjectAction objectAction) static int
countAll()
Returns the number of object actions.static int
countByA_OAEK
(boolean active, String objectActionExecutorKey) Returns the number of object actions where active = ? and objectActionExecutorKey = ?.static int
countByC_A_OATK
(long companyId, boolean active, String objectActionTriggerKey) Returns the number of object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.static int
countByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Returns the number of object actions where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ?.static int
countByO_A_OATK
(long objectDefinitionId, boolean active, String objectActionTriggerKey) Returns the number of object actions where objectDefinitionId = ? and active = ? and objectActionTriggerKey = ?.static int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object actions where objectDefinitionId = ?.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 = ?.static int
countByODI_N
(long objectDefinitionId, String name) Returns the number of object actions where objectDefinitionId = ? and name = ?.static int
countByUuid
(String uuid) Returns the number of object actions where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object actions where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectAction
create
(long objectActionId) Creates a new object action with the primary key.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 = ?.static 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 = ?.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 = ?.static 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 = ?.static 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.static 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.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 = ?.static 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 = ?.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 = ?.static ObjectAction
fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where objectDefinitionId = ?.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 returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.static ObjectAction
fetchByODI_N
(long objectDefinitionId, String name) Returns the object action where objectDefinitionId = ? and name = ? or returnsnull
if it could not be found.static ObjectAction
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.static ObjectAction
fetchByPrimaryKey
(long objectActionId) Returns the object action with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ObjectAction> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.static 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 = ?.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 = ?.static ObjectAction
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where uuid = ?.static List<ObjectAction>
findAll()
Returns all the object actions.static List<ObjectAction>
findAll
(int start, int end) Returns a range of all the object actions.static List<ObjectAction>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns an ordered range of all the object actions.static 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.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 ObjectAction
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 = ?.static ObjectAction
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 = ?.static ObjectAction[]
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 = ?.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 ObjectAction
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 = ?.static ObjectAction
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 = ?.static ObjectAction[]
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 = ?.static ObjectAction
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.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 ObjectAction
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 = ?.static ObjectAction
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 = ?.static ObjectAction[]
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 = ?.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 ObjectAction
findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where objectDefinitionId = ?.static ObjectAction
findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where objectDefinitionId = ?.static ObjectAction[]
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 = ?.static ObjectAction
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.static ObjectAction
findByODI_N
(long objectDefinitionId, String name) Returns the object action where objectDefinitionId = ? and name = ? or throws aNoSuchObjectActionException
if it could not be found.static ObjectAction
findByPrimaryKey
(long objectActionId) Returns the object action with the primary key or throws aNoSuchObjectActionException
if 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 ObjectAction
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 = ?.static ObjectAction
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 = ?.static ObjectAction[]
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 = ?.static ObjectAction
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the first object action in the ordered set where uuid = ?.static ObjectAction
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator) Returns the last object action in the ordered set where uuid = ?.static ObjectAction[]
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 = ?.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 ObjectActionPersistence
static ObjectAction
remove
(long objectActionId) Removes the object action with the primary key from the database.static void
Removes all the object actions from the database.static void
removeByA_OAEK
(boolean active, String objectActionExecutorKey) Removes all the object actions where active = ? and objectActionExecutorKey = ? from the database.static void
removeByC_A_OATK
(long companyId, boolean active, String objectActionTriggerKey) Removes all the object actions where companyId = ? and active = ? and objectActionTriggerKey = ? from the database.static ObjectAction
removeByERC_C_ODI
(String externalReferenceCode, long companyId, long objectDefinitionId) Removes the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? from the database.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.static void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object actions where objectDefinitionId = ? from the database.static ObjectAction
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.static ObjectAction
removeByODI_N
(long objectDefinitionId, String name) Removes the object action where objectDefinitionId = ? and name = ? from the database.static void
removeByUuid
(String uuid) Removes all the object actions where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object actions where uuid = ? and companyId = ? from the database.static void
setPersistence
(ObjectActionPersistence persistence) static ObjectAction
update
(ObjectAction objectAction) static ObjectAction
update
(ObjectAction objectAction, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectAction
updateImpl
(ObjectAction objectAction)
-
Constructor Details
-
ObjectActionUtil
public ObjectActionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectAction> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
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:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectAction update(ObjectAction objectAction, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
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 - 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
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 - 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be foundNoSuchObjectActionException
-
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
null
if a matching object action could not be found
-
findByUuid_Last
public static 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 foundNoSuchObjectActionException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchObjectActionException
-
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
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 - 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
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 - 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be foundNoSuchObjectActionException
-
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
null
if a matching object action could not be found
-
findByUuid_C_Last
public static 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 foundNoSuchObjectActionException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchObjectActionException
-
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
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 - 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
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 - 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
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 - 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be foundNoSuchObjectActionException
-
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
null
if a matching object action could not be found
-
findByObjectDefinitionId_Last
public static 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 foundNoSuchObjectActionException
-
fetchByObjectDefinitionId_Last
public static 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
public static 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 foundNoSuchObjectActionException
-
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 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 foundNoSuchObjectActionException
-
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
public static ObjectAction 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.- 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
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
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 - 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
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 - 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
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 - 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be foundNoSuchObjectActionException
-
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
null
if a matching object action could not be found
-
findByA_OAEK_Last
public static 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 foundNoSuchObjectActionException
-
fetchByA_OAEK_Last
public static 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
public static 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 foundNoSuchObjectActionException
-
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 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 foundNoSuchObjectActionException
-
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 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
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 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
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) 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 - 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
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 - 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
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 - 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be foundNoSuchObjectActionException
-
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
null
if a matching object action could not be found
-
findByC_A_OATK_Last
public static 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 foundNoSuchObjectActionException
-
fetchByC_A_OATK_Last
public static 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
public static 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 foundNoSuchObjectActionException
-
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) 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 - 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
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 - 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
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 - 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
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
- Throws:
NoSuchObjectActionException
- if a matching object action could not be foundNoSuchObjectActionException
-
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
null
if a matching object action could not be found
-
findByO_A_OATK_Last
public static 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 foundNoSuchObjectActionException
-
fetchByO_A_OATK_Last
public static 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
public static 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 foundNoSuchObjectActionException
-
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 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 foundNoSuchObjectActionException
-
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 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
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 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
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
-
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 foundNoSuchObjectActionException
-
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 foundNoSuchObjectActionException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the object actions from the database. -
countAll
public static int countAll()Returns the number of object actions.- Returns:
- the number of object actions
-
getPersistence
-
setPersistence
-