Class ObjectActionUtil

java.lang.Object
com.liferay.object.service.persistence.ObjectActionUtil

public class ObjectActionUtil extends Object
The persistence utility for the object action service. This utility wraps 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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
    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
    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)
     
    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 returns null 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 returns null 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 returns null 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 returns null 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 returns null if it could not be found.
    fetchByODI_N(long objectDefinitionId, String name, boolean useFinderCache)
    Returns the object action where objectDefinitionId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long objectActionId)
    Returns the object action with the primary key or returns null 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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByERC_C_ODI(String externalReferenceCode, long companyId, long objectDefinitionId)
    Returns the object action where externalReferenceCode = ? and companyId = ? and objectDefinitionId = ? or throws a NoSuchObjectActionException 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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 a NoSuchObjectActionException if it could not be found.
    findByODI_N(long objectDefinitionId, String name)
    Returns the object action where objectDefinitionId = ? and name = ? or throws a NoSuchObjectActionException if it could not be found.
    findByPrimaryKey(long objectActionId)
    Returns the object action with the primary key or throws a NoSuchObjectActionException if it could not be found.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectAction> orderByComparator)
     
     
    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.
    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.
    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.
    static void
    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
     
    update(ObjectAction objectAction)
     
    update(ObjectAction objectAction, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(ObjectAction objectAction)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectActionUtil

      public ObjectActionUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(ObjectAction objectAction)
      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

      public static Map<Serializable,ObjectAction> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      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

      public static ObjectAction update(ObjectAction objectAction)
      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

      public static List<ObjectAction> findByUuid(String uuid)
      Returns all the object actions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching object actions
    • findByUuid

      public static List<ObjectAction> findByUuid(String uuid, int start, int end)
      Returns a range of all the object actions where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object actions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 action
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object action
      Throws:
      NoSuchObjectActionException - if a object action with the primary key could not be found
      NoSuchObjectActionException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the object actions where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of object actions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching object actions
    • findByUuid_C

      public static List<ObjectAction> findByUuid_C(String uuid, long companyId)
      Returns all the object actions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching object actions
    • findByUuid_C

      public 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object actions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 action
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object action
      Throws:
      NoSuchObjectActionException - if a object action with the primary key could not be found
      NoSuchObjectActionException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the object actions where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of object actions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching object actions
    • findByObjectDefinitionId

      public static List<ObjectAction> findByObjectDefinitionId(long objectDefinitionId)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object actions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 action
      objectDefinitionId - the object definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object action
      Throws:
      NoSuchObjectActionException - if a object action with the primary key could not be found
      NoSuchObjectActionException
    • 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 a NoSuchObjectActionException if it could not be found.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      Returns:
      the matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • fetchByODI_N

      public static ObjectAction fetchByODI_N(long objectDefinitionId, String name)
      Returns the object action where objectDefinitionId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectDefinitionId - the object definition ID
      name - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      useFinderCache - 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 ID
      name - the name
      Returns:
      the object action that was removed
      Throws:
      NoSuchObjectActionException
    • countByODI_N

      public static int countByODI_N(long objectDefinitionId, String name)
      Returns the number of object actions where objectDefinitionId = ? and name = ?.
      Parameters:
      objectDefinitionId - the object definition ID
      name - the name
      Returns:
      the number of matching object actions
    • findByA_OAEK

      public static List<ObjectAction> findByA_OAEK(boolean active, String objectActionExecutorKey)
      Returns all the object actions where active = ? and objectActionExecutorKey = ?.
      Parameters:
      active - the active
      objectActionExecutorKey - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      active - the active
      objectActionExecutorKey - the object action executor key
      start - the lower bound of the range of object actions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      active - the active
      objectActionExecutorKey - the object action executor key
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      active - the active
      objectActionExecutorKey - the object action executor key
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 active
      objectActionExecutorKey - the object action executor key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 active
      objectActionExecutorKey - the object action executor key
      orderByComparator - the comparator to order the set by (optionally null)
      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 active
      objectActionExecutorKey - the object action executor key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 active
      objectActionExecutorKey - the object action executor key
      orderByComparator - the comparator to order the set by (optionally null)
      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 action
      active - the active
      objectActionExecutorKey - the object action executor key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object action
      Throws:
      NoSuchObjectActionException - if a object action with the primary key could not be found
      NoSuchObjectActionException
    • removeByA_OAEK

      public static void removeByA_OAEK(boolean active, String objectActionExecutorKey)
      Removes all the object actions where active = ? and objectActionExecutorKey = ? from the database.
      Parameters:
      active - the active
      objectActionExecutorKey - the object action executor key
    • countByA_OAEK

      public static int countByA_OAEK(boolean active, String objectActionExecutorKey)
      Returns the number of object actions where active = ? and objectActionExecutorKey = ?.
      Parameters:
      active - the active
      objectActionExecutorKey - 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 a NoSuchObjectActionException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      Returns:
      the matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      objectDefinitionId - the object definition ID
      useFinderCache - 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 code
      companyId - the company ID
      objectDefinitionId - 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 code
      companyId - the company ID
      objectDefinitionId - 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 ID
      active - the active
      objectActionTriggerKey - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      start - the lower bound of the range of object actions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      companyId - the company ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      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 action
      companyId - the company ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object action
      Throws:
      NoSuchObjectActionException - if a object action with the primary key could not be found
      NoSuchObjectActionException
    • removeByC_A_OATK

      public 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.
      Parameters:
      companyId - the company ID
      active - the active
      objectActionTriggerKey - the object action trigger key
    • countByC_A_OATK

      public static int countByC_A_OATK(long companyId, boolean active, String objectActionTriggerKey)
      Returns the number of object actions where companyId = ? and active = ? and objectActionTriggerKey = ?.
      Parameters:
      companyId - the company ID
      active - the active
      objectActionTriggerKey - 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 ID
      active - the active
      objectActionTriggerKey - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      start - the lower bound of the range of object actions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      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 action
      objectDefinitionId - the object definition ID
      active - the active
      objectActionTriggerKey - the object action trigger key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next object action
      Throws:
      NoSuchObjectActionException - if a object action with the primary key could not be found
      NoSuchObjectActionException
    • 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 ID
      active - the active
      objectActionTriggerKey - 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 ID
      active - the active
      objectActionTriggerKey - 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 a NoSuchObjectActionException if it could not be found.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      name - the name
      objectActionTriggerKey - the object action trigger key
      Returns:
      the matching object action
      Throws:
      NoSuchObjectActionException - if a matching object action could not be found
      NoSuchObjectActionException
    • 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 returns null if it could not be found. Uses the finder cache.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      name - the name
      objectActionTriggerKey - 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 returns null if it could not be found, optionally using the finder cache.
      Parameters:
      objectDefinitionId - the object definition ID
      active - the active
      name - the name
      objectActionTriggerKey - the object action trigger key
      useFinderCache - 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 ID
      active - the active
      name - the name
      objectActionTriggerKey - 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 ID
      active - the active
      name - the name
      objectActionTriggerKey - the object action trigger key
      Returns:
      the number of matching object actions
    • cacheResult

      public static void cacheResult(ObjectAction objectAction)
      Caches the object action in the entity cache if it is enabled.
      Parameters:
      objectAction - the object action
    • cacheResult

      public static void cacheResult(List<ObjectAction> objectActions)
      Caches the object actions in the entity cache if it is enabled.
      Parameters:
      objectActions - the object actions
    • create

      public static ObjectAction create(long objectActionId)
      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

      public static ObjectAction remove(long objectActionId) throws NoSuchObjectActionException
      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
      NoSuchObjectActionException
    • updateImpl

      public static ObjectAction updateImpl(ObjectAction objectAction)
    • findByPrimaryKey

      public static ObjectAction findByPrimaryKey(long objectActionId) throws NoSuchObjectActionException
      Returns the object action with the primary key or throws a NoSuchObjectActionException 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
      NoSuchObjectActionException
    • fetchByPrimaryKey

      public static ObjectAction fetchByPrimaryKey(long objectActionId)
      Returns the object action with the primary key or returns null 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

      public static List<ObjectAction> findAll()
      Returns all the object actions.
      Returns:
      the object actions
    • findAll

      public static List<ObjectAction> findAll(int start, int end)
      Returns a range of all the object actions.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      start - the lower bound of the range of object actions
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectActionModelImpl.

      Parameters:
      start - the lower bound of the range of object actions
      end - the upper bound of the range of object actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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

      public static ObjectActionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(ObjectActionPersistence persistence)