Interface DispatchLogPersistence

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

@ProviderType public interface DispatchLogPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DispatchLog>
The persistence interface for the dispatch log service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DispatchLog dispatchLog)
    Caches the dispatch log in the entity cache if it is enabled.
    void
    cacheResult(List<DispatchLog> dispatchLogs)
    Caches the dispatch logs in the entity cache if it is enabled.
    int
    Returns the number of dispatch logs.
    int
    countByDispatchTriggerId(long dispatchTriggerId)
    Returns the number of dispatch logs where dispatchTriggerId = ?.
    int
    countByDTI_S(long dispatchTriggerId, int status)
    Returns the number of dispatch logs where dispatchTriggerId = ? and status = ?.
    create(long dispatchLogId)
    Creates a new dispatch log with the primary key.
    fetchByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.
    fetchByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.
    fetchByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
    fetchByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
    fetchByPrimaryKey(long dispatchLogId)
    Returns the dispatch log with the primary key or returns null if it could not be found.
    Returns all the dispatch logs.
    findAll(int start, int end)
    Returns a range of all the dispatch logs.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns an ordered range of all the dispatch logs.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the dispatch logs.
    findByDispatchTriggerId(long dispatchTriggerId)
    Returns all the dispatch logs where dispatchTriggerId = ?.
    findByDispatchTriggerId(long dispatchTriggerId, int start, int end)
    Returns a range of all the dispatch logs where dispatchTriggerId = ?.
    findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.
    findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.
    findByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.
    findByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.
    findByDispatchTriggerId_PrevAndNext(long dispatchLogId, long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ?.
    findByDTI_S(long dispatchTriggerId, int status)
    Returns all the dispatch logs where dispatchTriggerId = ? and status = ?.
    findByDTI_S(long dispatchTriggerId, int status, int start, int end)
    Returns a range of all the dispatch logs where dispatchTriggerId = ? and status = ?.
    findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.
    findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.
    findByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
    findByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
    findByDTI_S_PrevAndNext(long dispatchLogId, long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
    Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
    findByPrimaryKey(long dispatchLogId)
    Returns the dispatch log with the primary key or throws a NoSuchLogException if it could not be found.
    remove(long dispatchLogId)
    Removes the dispatch log with the primary key from the database.
    void
    Removes all the dispatch logs from the database.
    void
    removeByDispatchTriggerId(long dispatchTriggerId)
    Removes all the dispatch logs where dispatchTriggerId = ? from the database.
    void
    removeByDTI_S(long dispatchTriggerId, int status)
    Removes all the dispatch logs where dispatchTriggerId = ? and status = ? from the database.
    updateImpl(DispatchLog dispatchLog)
     

    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

    • findByDispatchTriggerId

      List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId)
      Returns all the dispatch logs where dispatchTriggerId = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      Returns:
      the matching dispatch logs
    • findByDispatchTriggerId

      List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, int start, int end)
      Returns a range of all the dispatch logs where dispatchTriggerId = ?.

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

      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      start - the lower bound of the range of dispatch logs
      end - the upper bound of the range of dispatch logs (not inclusive)
      Returns:
      the range of matching dispatch logs
    • findByDispatchTriggerId

      List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
      Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.

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

      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      start - the lower bound of the range of dispatch logs
      end - the upper bound of the range of dispatch logs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching dispatch logs
    • findByDispatchTriggerId

      List<DispatchLog> findByDispatchTriggerId(long dispatchTriggerId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the dispatch logs where dispatchTriggerId = ?.

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

      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      start - the lower bound of the range of dispatch logs
      end - the upper bound of the range of dispatch logs (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 dispatch logs
    • findByDispatchTriggerId_First

      DispatchLog findByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
      Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching dispatch log
      Throws:
      NoSuchLogException - if a matching dispatch log could not be found
    • fetchByDispatchTriggerId_First

      DispatchLog fetchByDispatchTriggerId_First(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
      Returns the first dispatch log in the ordered set where dispatchTriggerId = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching dispatch log, or null if a matching dispatch log could not be found
    • findByDispatchTriggerId_Last

      DispatchLog findByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
      Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching dispatch log
      Throws:
      NoSuchLogException - if a matching dispatch log could not be found
    • fetchByDispatchTriggerId_Last

      DispatchLog fetchByDispatchTriggerId_Last(long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
      Returns the last dispatch log in the ordered set where dispatchTriggerId = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching dispatch log, or null if a matching dispatch log could not be found
    • findByDispatchTriggerId_PrevAndNext

      DispatchLog[] findByDispatchTriggerId_PrevAndNext(long dispatchLogId, long dispatchTriggerId, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
      Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ?.
      Parameters:
      dispatchLogId - the primary key of the current dispatch log
      dispatchTriggerId - the dispatch trigger ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next dispatch log
      Throws:
      NoSuchLogException - if a dispatch log with the primary key could not be found
    • removeByDispatchTriggerId

      void removeByDispatchTriggerId(long dispatchTriggerId)
      Removes all the dispatch logs where dispatchTriggerId = ? from the database.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
    • countByDispatchTriggerId

      int countByDispatchTriggerId(long dispatchTriggerId)
      Returns the number of dispatch logs where dispatchTriggerId = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      Returns:
      the number of matching dispatch logs
    • findByDTI_S

      List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status)
      Returns all the dispatch logs where dispatchTriggerId = ? and status = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      Returns:
      the matching dispatch logs
    • findByDTI_S

      List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, int start, int end)
      Returns a range of all the dispatch logs where dispatchTriggerId = ? and status = ?.

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

      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      start - the lower bound of the range of dispatch logs
      end - the upper bound of the range of dispatch logs (not inclusive)
      Returns:
      the range of matching dispatch logs
    • findByDTI_S

      List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
      Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.

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

      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      start - the lower bound of the range of dispatch logs
      end - the upper bound of the range of dispatch logs (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching dispatch logs
    • findByDTI_S

      List<DispatchLog> findByDTI_S(long dispatchTriggerId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the dispatch logs where dispatchTriggerId = ? and status = ?.

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

      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      start - the lower bound of the range of dispatch logs
      end - the upper bound of the range of dispatch logs (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 dispatch logs
    • findByDTI_S_First

      DispatchLog findByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
      Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching dispatch log
      Throws:
      NoSuchLogException - if a matching dispatch log could not be found
    • fetchByDTI_S_First

      DispatchLog fetchByDTI_S_First(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
      Returns the first dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching dispatch log, or null if a matching dispatch log could not be found
    • findByDTI_S_Last

      DispatchLog findByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
      Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching dispatch log
      Throws:
      NoSuchLogException - if a matching dispatch log could not be found
    • fetchByDTI_S_Last

      DispatchLog fetchByDTI_S_Last(long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
      Returns the last dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching dispatch log, or null if a matching dispatch log could not be found
    • findByDTI_S_PrevAndNext

      DispatchLog[] findByDTI_S_PrevAndNext(long dispatchLogId, long dispatchTriggerId, int status, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator) throws NoSuchLogException
      Returns the dispatch logs before and after the current dispatch log in the ordered set where dispatchTriggerId = ? and status = ?.
      Parameters:
      dispatchLogId - the primary key of the current dispatch log
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next dispatch log
      Throws:
      NoSuchLogException - if a dispatch log with the primary key could not be found
    • removeByDTI_S

      void removeByDTI_S(long dispatchTriggerId, int status)
      Removes all the dispatch logs where dispatchTriggerId = ? and status = ? from the database.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
    • countByDTI_S

      int countByDTI_S(long dispatchTriggerId, int status)
      Returns the number of dispatch logs where dispatchTriggerId = ? and status = ?.
      Parameters:
      dispatchTriggerId - the dispatch trigger ID
      status - the status
      Returns:
      the number of matching dispatch logs
    • cacheResult

      void cacheResult(DispatchLog dispatchLog)
      Caches the dispatch log in the entity cache if it is enabled.
      Parameters:
      dispatchLog - the dispatch log
    • cacheResult

      void cacheResult(List<DispatchLog> dispatchLogs)
      Caches the dispatch logs in the entity cache if it is enabled.
      Parameters:
      dispatchLogs - the dispatch logs
    • create

      DispatchLog create(long dispatchLogId)
      Creates a new dispatch log with the primary key. Does not add the dispatch log to the database.
      Parameters:
      dispatchLogId - the primary key for the new dispatch log
      Returns:
      the new dispatch log
    • remove

      DispatchLog remove(long dispatchLogId) throws NoSuchLogException
      Removes the dispatch log with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      dispatchLogId - the primary key of the dispatch log
      Returns:
      the dispatch log that was removed
      Throws:
      NoSuchLogException - if a dispatch log with the primary key could not be found
    • updateImpl

      DispatchLog updateImpl(DispatchLog dispatchLog)
    • findByPrimaryKey

      DispatchLog findByPrimaryKey(long dispatchLogId) throws NoSuchLogException
      Returns the dispatch log with the primary key or throws a NoSuchLogException if it could not be found.
      Parameters:
      dispatchLogId - the primary key of the dispatch log
      Returns:
      the dispatch log
      Throws:
      NoSuchLogException - if a dispatch log with the primary key could not be found
    • fetchByPrimaryKey

      DispatchLog fetchByPrimaryKey(long dispatchLogId)
      Returns the dispatch log with the primary key or returns null if it could not be found.
      Parameters:
      dispatchLogId - the primary key of the dispatch log
      Returns:
      the dispatch log, or null if a dispatch log with the primary key could not be found
    • findAll

      List<DispatchLog> findAll()
      Returns all the dispatch logs.
      Returns:
      the dispatch logs
    • findAll

      List<DispatchLog> findAll(int start, int end)
      Returns a range of all the dispatch logs.

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

      Parameters:
      start - the lower bound of the range of dispatch logs
      end - the upper bound of the range of dispatch logs (not inclusive)
      Returns:
      the range of dispatch logs
    • findAll

      List<DispatchLog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator)
      Returns an ordered range of all the dispatch logs.

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

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

      List<DispatchLog> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DispatchLog> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the dispatch logs.

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

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

      void removeAll()
      Removes all the dispatch logs from the database.
    • countAll

      int countAll()
      Returns the number of dispatch logs.
      Returns:
      the number of dispatch logs