Interface KaleoActionPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoAction>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoAction>

@ProviderType public interface KaleoActionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoAction>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoAction>
The persistence interface for the kaleo action service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK)
    Returns the number of kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of kaleo actions where companyId = ?.
    int
    countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns the number of kaleo actions where kaleoDefinitionVersionId = ?.
    int
    countByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
    Returns the number of kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
    int
    countByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId)
    Returns the number of kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
    create(long kaleoActionId)
    Creates a new kaleo action with the primary key.
    fetchByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where companyId = ?.
    fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
    fetchByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
    fetchByPrimaryKey(long kaleoActionId)
    Returns the kaleo action with the primary key or returns null if it could not be found.
    default List<KaleoAction>
    findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK)
    Returns all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
    default List<KaleoAction>
    findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end)
    Returns a range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
    default List<KaleoAction>
    findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
    findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
    findByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
    default List<KaleoAction>
    findByCompanyId(long companyId)
    Returns all the kaleo actions where companyId = ?.
    default List<KaleoAction>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the kaleo actions where companyId = ?.
    default List<KaleoAction>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns an ordered range of all the kaleo actions where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo actions where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where companyId = ?.
    default List<KaleoAction>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns all the kaleo actions where kaleoDefinitionVersionId = ?.
    default List<KaleoAction>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo actions where kaleoDefinitionVersionId = ?.
    default List<KaleoAction>
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns an ordered range of all the kaleo actions where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo actions where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where kaleoDefinitionVersionId = ?.
    default List<KaleoAction>
    findByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
    Returns all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
    default List<KaleoAction>
    findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end)
    Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
    default List<KaleoAction>
    findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
    findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
    findByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
    default List<KaleoAction>
    findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId)
    Returns all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
    default List<KaleoAction>
    findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
    default List<KaleoAction>
    findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
    findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
    findByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
    Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
    findByPrimaryKey(long kaleoActionId)
    Returns the kaleo action with the primary key or throws a NoSuchActionException if it could not be found.
    remove(long kaleoActionId)
    Removes the kaleo action with the primary key from the database.
    void
    removeByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK)
    Removes all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the kaleo actions where companyId = ? from the database.
    void
    removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Removes all the kaleo actions where kaleoDefinitionVersionId = ? from the database.
    void
    removeByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
    Removes all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? from the database.
    void
    removeByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId)
    Removes all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ? from the database.
    updateImpl(KaleoAction kaleoAction)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByCompanyId

      List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo actions where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo 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 kaleo actions
    • findByCompanyId_First

      KaleoAction findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
      Returns the first kaleo action in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action
      Throws:
      NoSuchActionException - if a matching kaleo action could not be found
    • fetchByCompanyId_First

      KaleoAction fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns the first kaleo action in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action, or null if a matching kaleo action could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the kaleo actions where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of kaleo actions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching kaleo actions
    • findByKaleoDefinitionVersionId

      List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo actions where kaleoDefinitionVersionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo 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 kaleo actions
    • findByKaleoDefinitionVersionId_First

      KaleoAction findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
      Returns the first kaleo action in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action
      Throws:
      NoSuchActionException - if a matching kaleo action could not be found
    • fetchByKaleoDefinitionVersionId_First

      KaleoAction fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns the first kaleo action in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action, or null if a matching kaleo action could not be found
    • removeByKaleoDefinitionVersionId

      void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Removes all the kaleo actions where kaleoDefinitionVersionId = ? from the database.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
    • countByKaleoDefinitionVersionId

      int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns the number of kaleo actions where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo actions
    • findByKCN_KCPK

      List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo 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 kaleo actions
    • findByKCN_KCPK_First

      KaleoAction findByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
      Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action
      Throws:
      NoSuchActionException - if a matching kaleo action could not be found
    • fetchByKCN_KCPK_First

      KaleoAction fetchByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action, or null if a matching kaleo action could not be found
    • removeByKCN_KCPK

      void removeByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
      Removes all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? from the database.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
    • countByKCN_KCPK

      int countByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
      Returns the number of kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      Returns:
      the number of matching kaleo actions
    • findByKCN_KDVI

      List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo 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 kaleo actions
    • findByKCN_KDVI_First

      KaleoAction findByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
      Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action
      Throws:
      NoSuchActionException - if a matching kaleo action could not be found
    • fetchByKCN_KDVI_First

      KaleoAction fetchByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action, or null if a matching kaleo action could not be found
    • removeByKCN_KDVI

      void removeByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId)
      Removes all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ? from the database.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
    • countByKCN_KDVI

      int countByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId)
      Returns the number of kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo actions
    • findByC_KCN_KCPK

      List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo 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 kaleo actions
    • findByC_KCN_KCPK_First

      KaleoAction findByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
      Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action
      Throws:
      NoSuchActionException - if a matching kaleo action could not be found
    • fetchByC_KCN_KCPK_First

      KaleoAction fetchByC_KCN_KCPK_First(long companyId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns the first kaleo action in the ordered set where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo action, or null if a matching kaleo action could not be found
    • removeByC_KCN_KCPK

      void removeByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK)
      Removes all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ? from the database.
      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
    • countByC_KCN_KCPK

      int countByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK)
      Returns the number of kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      Returns:
      the number of matching kaleo actions
    • create

      KaleoAction create(long kaleoActionId)
      Creates a new kaleo action with the primary key. Does not add the kaleo action to the database.
      Parameters:
      kaleoActionId - the primary key for the new kaleo action
      Returns:
      the new kaleo action
    • remove

      KaleoAction remove(long kaleoActionId) throws NoSuchActionException
      Removes the kaleo action with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      kaleoActionId - the primary key of the kaleo action
      Returns:
      the kaleo action that was removed
      Throws:
      NoSuchActionException - if a kaleo action with the primary key could not be found
    • updateImpl

      KaleoAction updateImpl(KaleoAction kaleoAction)
    • findByPrimaryKey

      KaleoAction findByPrimaryKey(long kaleoActionId) throws NoSuchActionException
      Returns the kaleo action with the primary key or throws a NoSuchActionException if it could not be found.
      Parameters:
      kaleoActionId - the primary key of the kaleo action
      Returns:
      the kaleo action
      Throws:
      NoSuchActionException - if a kaleo action with the primary key could not be found
    • fetchByPrimaryKey

      KaleoAction fetchByPrimaryKey(long kaleoActionId)
      Returns the kaleo action with the primary key or returns null if it could not be found.
      Parameters:
      kaleoActionId - the primary key of the kaleo action
      Returns:
      the kaleo action, or null if a kaleo action with the primary key could not be found
    • findByCompanyId

      default List<KaleoAction> findByCompanyId(long companyId)
      Returns all the kaleo actions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching kaleo actions
    • findByCompanyId

      default List<KaleoAction> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo actions where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      Returns:
      the range of matching kaleo actions
    • findByCompanyId

      default List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns an ordered range of all the kaleo actions where 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo actions
    • findByKaleoDefinitionVersionId

      default List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns all the kaleo actions where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo actions
    • findByKaleoDefinitionVersionId

      default List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo actions where kaleoDefinitionVersionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      Returns:
      the range of matching kaleo actions
    • findByKaleoDefinitionVersionId

      default List<KaleoAction> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns an ordered range of all the kaleo actions where kaleoDefinitionVersionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo actions
    • findByKCN_KCPK

      default List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
      Returns all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      Returns:
      the matching kaleo actions
    • findByKCN_KCPK

      default List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end)
      Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      Returns:
      the range of matching kaleo actions
    • findByKCN_KCPK

      default List<KaleoAction> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo actions
    • findByKCN_KDVI

      default List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId)
      Returns all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo actions
    • findByKCN_KDVI

      default List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      Returns:
      the range of matching kaleo actions
    • findByKCN_KDVI

      default List<KaleoAction> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoDefinitionVersionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo actions
    • findByC_KCN_KCPK

      default List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK)
      Returns all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      Returns:
      the matching kaleo actions
    • findByC_KCN_KCPK

      default List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end)
      Returns a range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      Returns:
      the range of matching kaleo actions
    • findByC_KCN_KCPK

      default List<KaleoAction> findByC_KCN_KCPK(long companyId, String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
      Returns an ordered range of all the kaleo actions where companyId = ? and kaleoClassName = ? and kaleoClassPK = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.workflow.kaleo.model.impl.KaleoActionModelImpl.

      Parameters:
      companyId - the company ID
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo actions
      end - the upper bound of the range of kaleo actions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo actions