Interface KaleoInstanceTokenPersistence

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

@ProviderType public interface KaleoInstanceTokenPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoInstanceToken>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoInstanceToken>
The persistence interface for the kaleo instance token service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
    Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
    int
    countByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
    Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of kaleo instance tokens where companyId = ?.
    int
    countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns the number of kaleo instance tokens where kaleoDefinitionVersionId = ?.
    int
    countByKaleoInstanceId(long kaleoInstanceId)
    Returns the number of kaleo instance tokens where kaleoInstanceId = ?.
    create(long kaleoInstanceTokenId)
    Creates a new kaleo instance token with the primary key.
    fetchByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
    fetchByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where companyId = ?.
    fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.
    fetchByPrimaryKey(long kaleoInstanceTokenId)
    Returns the kaleo instance token with the primary key or returns null if it could not be found.
    findByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
    Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
    findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end)
    Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
    findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
    findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
    findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
    Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
    findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end)
    Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
    findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
    findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
    findByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
    findByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.
    findByCompanyId(long companyId)
    Returns all the kaleo instance tokens where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the kaleo instance tokens where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns an ordered range of all the kaleo instance tokens where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instance tokens where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where companyId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns all the kaleo instance tokens where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instance tokens where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.
    findByKaleoInstanceId(long kaleoInstanceId)
    Returns all the kaleo instance tokens where kaleoInstanceId = ?.
    findByKaleoInstanceId(long kaleoInstanceId, int start, int end)
    Returns a range of all the kaleo instance tokens where kaleoInstanceId = ?.
    findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.
    findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.
    findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
    Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.
    findByPrimaryKey(long kaleoInstanceTokenId)
    Returns the kaleo instance token with the primary key or throws a NoSuchInstanceTokenException if it could not be found.
    remove(long kaleoInstanceTokenId)
    Removes the kaleo instance token with the primary key from the database.
    void
    removeByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
    Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? from the database.
    void
    removeByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
    Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the kaleo instance tokens where companyId = ? from the database.
    void
    removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Removes all the kaleo instance tokens where kaleoDefinitionVersionId = ? from the database.
    void
    removeByKaleoInstanceId(long kaleoInstanceId)
    Removes all the kaleo instance tokens where kaleoInstanceId = ? from the database.
    updateImpl(KaleoInstanceToken kaleoInstanceToken)
     

    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<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instance tokens 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.KaleoInstanceTokenModelImpl.

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

      KaleoInstanceToken findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo instance token 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 instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
    • fetchByCompanyId_First

      KaleoInstanceToken fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns the first kaleo instance token 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 instance token, or null if a matching kaleo instance token could not be found
    • removeByCompanyId

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

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

      List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instance tokens 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.KaleoInstanceTokenModelImpl.

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

      KaleoInstanceToken findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo instance token 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 instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
    • fetchByKaleoDefinitionVersionId_First

      KaleoInstanceToken fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns the first kaleo instance token 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 instance token, or null if a matching kaleo instance token could not be found
    • removeByKaleoDefinitionVersionId

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

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

      List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      kaleoInstanceId - the kaleo instance ID
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (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 instance tokens
    • findByKaleoInstanceId_First

      KaleoInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
    • fetchByKaleoInstanceId_First

      KaleoInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns the first kaleo instance token in the ordered set where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token, or null if a matching kaleo instance token could not be found
    • removeByKaleoInstanceId

      void removeByKaleoInstanceId(long kaleoInstanceId)
      Removes all the kaleo instance tokens where kaleoInstanceId = ? from the database.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
    • countByKaleoInstanceId

      int countByKaleoInstanceId(long kaleoInstanceId)
      Returns the number of kaleo instance tokens where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      Returns:
      the number of matching kaleo instance tokens
    • findByC_PKITI

      List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (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 instance tokens
    • findByC_PKITI_First

      KaleoInstanceToken findByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
    • fetchByC_PKITI_First

      KaleoInstanceToken fetchByC_PKITI_First(long companyId, long parentKaleoInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token, or null if a matching kaleo instance token could not be found
    • removeByC_PKITI

      void removeByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
      Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? from the database.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
    • countByC_PKITI

      int countByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
      Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      Returns:
      the number of matching kaleo instance tokens
    • findByC_PKITI_CD

      List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (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 instance tokens
    • findByC_PKITI_CD_First

      KaleoInstanceToken findByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
    • fetchByC_PKITI_CD_First

      KaleoInstanceToken fetchByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token, or null if a matching kaleo instance token could not be found
    • removeByC_PKITI_CD

      void removeByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
      Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ? from the database.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
    • countByC_PKITI_CD

      int countByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
      Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      Returns:
      the number of matching kaleo instance tokens
    • create

      KaleoInstanceToken create(long kaleoInstanceTokenId)
      Creates a new kaleo instance token with the primary key. Does not add the kaleo instance token to the database.
      Parameters:
      kaleoInstanceTokenId - the primary key for the new kaleo instance token
      Returns:
      the new kaleo instance token
    • remove

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

      KaleoInstanceToken updateImpl(KaleoInstanceToken kaleoInstanceToken)
    • findByPrimaryKey

      KaleoInstanceToken findByPrimaryKey(long kaleoInstanceTokenId) throws NoSuchInstanceTokenException
      Returns the kaleo instance token with the primary key or throws a NoSuchInstanceTokenException if it could not be found.
      Parameters:
      kaleoInstanceTokenId - the primary key of the kaleo instance token
      Returns:
      the kaleo instance token
      Throws:
      NoSuchInstanceTokenException - if a kaleo instance token with the primary key could not be found
    • fetchByPrimaryKey

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

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

      default List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo instance tokens 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.KaleoInstanceTokenModelImpl.

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

      default List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo instance tokens 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.KaleoInstanceTokenModelImpl.

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

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

      default List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo instance tokens 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.KaleoInstanceTokenModelImpl.

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

      default List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo instance tokens 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.KaleoInstanceTokenModelImpl.

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

      default List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId)
      Returns all the kaleo instance tokens where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      Returns:
      the matching kaleo instance tokens
    • findByKaleoInstanceId

      default List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end)
      Returns a range of all the kaleo instance tokens where kaleoInstanceId = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      kaleoInstanceId - the kaleo instance ID
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      Returns:
      the range of matching kaleo instance tokens
    • findByKaleoInstanceId

      default List<KaleoInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo instance tokens where kaleoInstanceId = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      kaleoInstanceId - the kaleo instance ID
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo instance tokens
    • findByC_PKITI

      default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
      Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      Returns:
      the matching kaleo instance tokens
    • findByC_PKITI

      default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end)
      Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      Returns:
      the range of matching kaleo instance tokens
    • findByC_PKITI

      default List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo instance tokens
    • findByC_PKITI_CD

      default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
      Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      Returns:
      the matching kaleo instance tokens
    • findByC_PKITI_CD

      default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end)
      Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      Returns:
      the range of matching kaleo instance tokens
    • findByC_PKITI_CD

      default List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.

      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.KaleoInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo instance tokens