Interface KaleoProcessLinkPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoProcessLink>

@ProviderType public interface KaleoProcessLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoProcessLink>
The persistence interface for the kaleo process link service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(KaleoProcessLink kaleoProcessLink)
    Caches the kaleo process link in the entity cache if it is enabled.
    void
    cacheResult(List<KaleoProcessLink> kaleoProcessLinks)
    Caches the kaleo process links in the entity cache if it is enabled.
    int
    Returns the number of kaleo process links.
    int
    countByKaleoProcessId(long kaleoProcessId)
    Returns the number of kaleo process links where kaleoProcessId = ?.
    int
    countByKPI_WTN(long kaleoProcessId, String workflowTaskName)
    Returns the number of kaleo process links where kaleoProcessId = ? and workflowTaskName = ?.
    create(long kaleoProcessLinkId)
    Creates a new kaleo process link with the primary key.
    fetchByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
    Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.
    fetchByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
    Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.
    fetchByKPI_WTN(long kaleoProcessId, String workflowTaskName)
    Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returns null if it could not be found.
    fetchByKPI_WTN(long kaleoProcessId, String workflowTaskName, boolean useFinderCache)
    Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long kaleoProcessLinkId)
    Returns the kaleo process link with the primary key or returns null if it could not be found.
    Returns all the kaleo process links.
    findAll(int start, int end)
    Returns a range of all the kaleo process links.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
    Returns an ordered range of all the kaleo process links.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo process links.
    findByKaleoProcessId(long kaleoProcessId)
    Returns all the kaleo process links where kaleoProcessId = ?.
    findByKaleoProcessId(long kaleoProcessId, int start, int end)
    Returns a range of all the kaleo process links where kaleoProcessId = ?.
    findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
    Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.
    findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.
    findByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
    Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.
    findByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
    Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.
    findByKaleoProcessId_PrevAndNext(long kaleoProcessLinkId, long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
    Returns the kaleo process links before and after the current kaleo process link in the ordered set where kaleoProcessId = ?.
    findByKPI_WTN(long kaleoProcessId, String workflowTaskName)
    Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or throws a NoSuchKaleoProcessLinkException if it could not be found.
    findByPrimaryKey(long kaleoProcessLinkId)
    Returns the kaleo process link with the primary key or throws a NoSuchKaleoProcessLinkException if it could not be found.
    remove(long kaleoProcessLinkId)
    Removes the kaleo process link with the primary key from the database.
    void
    Removes all the kaleo process links from the database.
    void
    removeByKaleoProcessId(long kaleoProcessId)
    Removes all the kaleo process links where kaleoProcessId = ? from the database.
    removeByKPI_WTN(long kaleoProcessId, String workflowTaskName)
    Removes the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? from the database.
    updateImpl(KaleoProcessLink kaleoProcessLink)
     

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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByKaleoProcessId

      List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId)
      Returns all the kaleo process links where kaleoProcessId = ?.
      Parameters:
      kaleoProcessId - the kaleo process ID
      Returns:
      the matching kaleo process links
    • findByKaleoProcessId

      List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end)
      Returns a range of all the kaleo process links where kaleoProcessId = ?.

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

      Parameters:
      kaleoProcessId - the kaleo process ID
      start - the lower bound of the range of kaleo process links
      end - the upper bound of the range of kaleo process links (not inclusive)
      Returns:
      the range of matching kaleo process links
    • findByKaleoProcessId

      List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
      Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.

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

      Parameters:
      kaleoProcessId - the kaleo process ID
      start - the lower bound of the range of kaleo process links
      end - the upper bound of the range of kaleo process links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo process links
    • findByKaleoProcessId

      List<KaleoProcessLink> findByKaleoProcessId(long kaleoProcessId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo process links where kaleoProcessId = ?.

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

      Parameters:
      kaleoProcessId - the kaleo process ID
      start - the lower bound of the range of kaleo process links
      end - the upper bound of the range of kaleo process links (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 process links
    • findByKaleoProcessId_First

      KaleoProcessLink findByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException
      Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.
      Parameters:
      kaleoProcessId - the kaleo process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process link
      Throws:
      NoSuchKaleoProcessLinkException - if a matching kaleo process link could not be found
    • fetchByKaleoProcessId_First

      KaleoProcessLink fetchByKaleoProcessId_First(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
      Returns the first kaleo process link in the ordered set where kaleoProcessId = ?.
      Parameters:
      kaleoProcessId - the kaleo process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo process link, or null if a matching kaleo process link could not be found
    • findByKaleoProcessId_Last

      KaleoProcessLink findByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException
      Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.
      Parameters:
      kaleoProcessId - the kaleo process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process link
      Throws:
      NoSuchKaleoProcessLinkException - if a matching kaleo process link could not be found
    • fetchByKaleoProcessId_Last

      KaleoProcessLink fetchByKaleoProcessId_Last(long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
      Returns the last kaleo process link in the ordered set where kaleoProcessId = ?.
      Parameters:
      kaleoProcessId - the kaleo process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo process link, or null if a matching kaleo process link could not be found
    • findByKaleoProcessId_PrevAndNext

      KaleoProcessLink[] findByKaleoProcessId_PrevAndNext(long kaleoProcessLinkId, long kaleoProcessId, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator) throws NoSuchKaleoProcessLinkException
      Returns the kaleo process links before and after the current kaleo process link in the ordered set where kaleoProcessId = ?.
      Parameters:
      kaleoProcessLinkId - the primary key of the current kaleo process link
      kaleoProcessId - the kaleo process ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo process link
      Throws:
      NoSuchKaleoProcessLinkException - if a kaleo process link with the primary key could not be found
    • removeByKaleoProcessId

      void removeByKaleoProcessId(long kaleoProcessId)
      Removes all the kaleo process links where kaleoProcessId = ? from the database.
      Parameters:
      kaleoProcessId - the kaleo process ID
    • countByKaleoProcessId

      int countByKaleoProcessId(long kaleoProcessId)
      Returns the number of kaleo process links where kaleoProcessId = ?.
      Parameters:
      kaleoProcessId - the kaleo process ID
      Returns:
      the number of matching kaleo process links
    • findByKPI_WTN

      KaleoProcessLink findByKPI_WTN(long kaleoProcessId, String workflowTaskName) throws NoSuchKaleoProcessLinkException
      Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or throws a NoSuchKaleoProcessLinkException if it could not be found.
      Parameters:
      kaleoProcessId - the kaleo process ID
      workflowTaskName - the workflow task name
      Returns:
      the matching kaleo process link
      Throws:
      NoSuchKaleoProcessLinkException - if a matching kaleo process link could not be found
    • fetchByKPI_WTN

      KaleoProcessLink fetchByKPI_WTN(long kaleoProcessId, String workflowTaskName)
      Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoProcessId - the kaleo process ID
      workflowTaskName - the workflow task name
      Returns:
      the matching kaleo process link, or null if a matching kaleo process link could not be found
    • fetchByKPI_WTN

      KaleoProcessLink fetchByKPI_WTN(long kaleoProcessId, String workflowTaskName, boolean useFinderCache)
      Returns the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoProcessId - the kaleo process ID
      workflowTaskName - the workflow task name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo process link, or null if a matching kaleo process link could not be found
    • removeByKPI_WTN

      KaleoProcessLink removeByKPI_WTN(long kaleoProcessId, String workflowTaskName) throws NoSuchKaleoProcessLinkException
      Removes the kaleo process link where kaleoProcessId = ? and workflowTaskName = ? from the database.
      Parameters:
      kaleoProcessId - the kaleo process ID
      workflowTaskName - the workflow task name
      Returns:
      the kaleo process link that was removed
      Throws:
      NoSuchKaleoProcessLinkException
    • countByKPI_WTN

      int countByKPI_WTN(long kaleoProcessId, String workflowTaskName)
      Returns the number of kaleo process links where kaleoProcessId = ? and workflowTaskName = ?.
      Parameters:
      kaleoProcessId - the kaleo process ID
      workflowTaskName - the workflow task name
      Returns:
      the number of matching kaleo process links
    • cacheResult

      void cacheResult(KaleoProcessLink kaleoProcessLink)
      Caches the kaleo process link in the entity cache if it is enabled.
      Parameters:
      kaleoProcessLink - the kaleo process link
    • cacheResult

      void cacheResult(List<KaleoProcessLink> kaleoProcessLinks)
      Caches the kaleo process links in the entity cache if it is enabled.
      Parameters:
      kaleoProcessLinks - the kaleo process links
    • create

      KaleoProcessLink create(long kaleoProcessLinkId)
      Creates a new kaleo process link with the primary key. Does not add the kaleo process link to the database.
      Parameters:
      kaleoProcessLinkId - the primary key for the new kaleo process link
      Returns:
      the new kaleo process link
    • remove

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

      KaleoProcessLink updateImpl(KaleoProcessLink kaleoProcessLink)
    • findByPrimaryKey

      KaleoProcessLink findByPrimaryKey(long kaleoProcessLinkId) throws NoSuchKaleoProcessLinkException
      Returns the kaleo process link with the primary key or throws a NoSuchKaleoProcessLinkException if it could not be found.
      Parameters:
      kaleoProcessLinkId - the primary key of the kaleo process link
      Returns:
      the kaleo process link
      Throws:
      NoSuchKaleoProcessLinkException - if a kaleo process link with the primary key could not be found
    • fetchByPrimaryKey

      KaleoProcessLink fetchByPrimaryKey(long kaleoProcessLinkId)
      Returns the kaleo process link with the primary key or returns null if it could not be found.
      Parameters:
      kaleoProcessLinkId - the primary key of the kaleo process link
      Returns:
      the kaleo process link, or null if a kaleo process link with the primary key could not be found
    • findAll

      Returns all the kaleo process links.
      Returns:
      the kaleo process links
    • findAll

      List<KaleoProcessLink> findAll(int start, int end)
      Returns a range of all the kaleo process links.

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

      Parameters:
      start - the lower bound of the range of kaleo process links
      end - the upper bound of the range of kaleo process links (not inclusive)
      Returns:
      the range of kaleo process links
    • findAll

      List<KaleoProcessLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator)
      Returns an ordered range of all the kaleo process links.

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

      Parameters:
      start - the lower bound of the range of kaleo process links
      end - the upper bound of the range of kaleo process links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of kaleo process links
    • findAll

      List<KaleoProcessLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoProcessLink> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo process links.

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

      Parameters:
      start - the lower bound of the range of kaleo process links
      end - the upper bound of the range of kaleo process links (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of kaleo process links
    • removeAll

      void removeAll()
      Removes all the kaleo process links from the database.
    • countAll

      int countAll()
      Returns the number of kaleo process links.
      Returns:
      the number of kaleo process links