Interface DLSyncEventPersistence

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

@ProviderType public interface DLSyncEventPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DLSyncEvent>
The persistence interface for the dl sync event service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DLSyncEvent dlSyncEvent)
    Caches the dl sync event in the entity cache if it is enabled.
    void
    cacheResult(List<DLSyncEvent> dlSyncEvents)
    Caches the dl sync events in the entity cache if it is enabled.
    int
    Returns the number of dl sync events.
    int
    countByGtModifiedTime(long modifiedTime)
    Returns the number of dl sync events where modifiedTime > ?.
    int
    countByTypePK(long typePK)
    Returns the number of dl sync events where typePK = ?.
    create(long syncEventId)
    Creates a new dl sync event with the primary key.
    fetchByGtModifiedTime_First(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
    Returns the first dl sync event in the ordered set where modifiedTime > ?.
    fetchByGtModifiedTime_Last(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
    Returns the last dl sync event in the ordered set where modifiedTime > ?.
    fetchByPrimaryKey(long syncEventId)
    Returns the dl sync event with the primary key or returns null if it could not be found.
    fetchByTypePK(long typePK)
    Returns the dl sync event where typePK = ? or returns null if it could not be found.
    fetchByTypePK(long typePK, boolean useFinderCache)
    Returns the dl sync event where typePK = ? or returns null if it could not be found, optionally using the finder cache.
    Returns all the dl sync events.
    findAll(int start, int end)
    Returns a range of all the dl sync events.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
    Returns an ordered range of all the dl sync events.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the dl sync events.
    findByGtModifiedTime(long modifiedTime)
    Returns all the dl sync events where modifiedTime > ?.
    findByGtModifiedTime(long modifiedTime, int start, int end)
    Returns a range of all the dl sync events where modifiedTime > ?.
    findByGtModifiedTime(long modifiedTime, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
    Returns an ordered range of all the dl sync events where modifiedTime > ?.
    findByGtModifiedTime(long modifiedTime, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the dl sync events where modifiedTime > ?.
    findByGtModifiedTime_First(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
    Returns the first dl sync event in the ordered set where modifiedTime > ?.
    findByGtModifiedTime_Last(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
    Returns the last dl sync event in the ordered set where modifiedTime > ?.
    findByGtModifiedTime_PrevAndNext(long syncEventId, long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
    Returns the dl sync events before and after the current dl sync event in the ordered set where modifiedTime > ?.
    findByPrimaryKey(long syncEventId)
    Returns the dl sync event with the primary key or throws a NoSuchEventException if it could not be found.
    findByTypePK(long typePK)
    Returns the dl sync event where typePK = ? or throws a NoSuchEventException if it could not be found.
    remove(long syncEventId)
    Removes the dl sync event with the primary key from the database.
    void
    Removes all the dl sync events from the database.
    void
    removeByGtModifiedTime(long modifiedTime)
    Removes all the dl sync events where modifiedTime > ? from the database.
    removeByTypePK(long typePK)
    Removes the dl sync event where typePK = ? from the database.
    updateImpl(DLSyncEvent dlSyncEvent)
     

    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

    • findByGtModifiedTime

      List<DLSyncEvent> findByGtModifiedTime(long modifiedTime)
      Returns all the dl sync events where modifiedTime > ?.
      Parameters:
      modifiedTime - the modified time
      Returns:
      the matching dl sync events
    • findByGtModifiedTime

      List<DLSyncEvent> findByGtModifiedTime(long modifiedTime, int start, int end)
      Returns a range of all the dl sync events where modifiedTime > ?.

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

      Parameters:
      modifiedTime - the modified time
      start - the lower bound of the range of dl sync events
      end - the upper bound of the range of dl sync events (not inclusive)
      Returns:
      the range of matching dl sync events
    • findByGtModifiedTime

      List<DLSyncEvent> findByGtModifiedTime(long modifiedTime, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
      Returns an ordered range of all the dl sync events where modifiedTime > ?.

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

      Parameters:
      modifiedTime - the modified time
      start - the lower bound of the range of dl sync events
      end - the upper bound of the range of dl sync events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching dl sync events
    • findByGtModifiedTime

      List<DLSyncEvent> findByGtModifiedTime(long modifiedTime, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the dl sync events where modifiedTime > ?.

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

      Parameters:
      modifiedTime - the modified time
      start - the lower bound of the range of dl sync events
      end - the upper bound of the range of dl sync events (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 dl sync events
    • findByGtModifiedTime_First

      DLSyncEvent findByGtModifiedTime_First(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator) throws NoSuchEventException
      Returns the first dl sync event in the ordered set where modifiedTime > ?.
      Parameters:
      modifiedTime - the modified time
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching dl sync event
      Throws:
      NoSuchEventException - if a matching dl sync event could not be found
    • fetchByGtModifiedTime_First

      DLSyncEvent fetchByGtModifiedTime_First(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
      Returns the first dl sync event in the ordered set where modifiedTime > ?.
      Parameters:
      modifiedTime - the modified time
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching dl sync event, or null if a matching dl sync event could not be found
    • findByGtModifiedTime_Last

      DLSyncEvent findByGtModifiedTime_Last(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator) throws NoSuchEventException
      Returns the last dl sync event in the ordered set where modifiedTime > ?.
      Parameters:
      modifiedTime - the modified time
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching dl sync event
      Throws:
      NoSuchEventException - if a matching dl sync event could not be found
    • fetchByGtModifiedTime_Last

      DLSyncEvent fetchByGtModifiedTime_Last(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
      Returns the last dl sync event in the ordered set where modifiedTime > ?.
      Parameters:
      modifiedTime - the modified time
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching dl sync event, or null if a matching dl sync event could not be found
    • findByGtModifiedTime_PrevAndNext

      DLSyncEvent[] findByGtModifiedTime_PrevAndNext(long syncEventId, long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator) throws NoSuchEventException
      Returns the dl sync events before and after the current dl sync event in the ordered set where modifiedTime > ?.
      Parameters:
      syncEventId - the primary key of the current dl sync event
      modifiedTime - the modified time
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next dl sync event
      Throws:
      NoSuchEventException - if a dl sync event with the primary key could not be found
    • removeByGtModifiedTime

      void removeByGtModifiedTime(long modifiedTime)
      Removes all the dl sync events where modifiedTime > ? from the database.
      Parameters:
      modifiedTime - the modified time
    • countByGtModifiedTime

      int countByGtModifiedTime(long modifiedTime)
      Returns the number of dl sync events where modifiedTime > ?.
      Parameters:
      modifiedTime - the modified time
      Returns:
      the number of matching dl sync events
    • findByTypePK

      DLSyncEvent findByTypePK(long typePK) throws NoSuchEventException
      Returns the dl sync event where typePK = ? or throws a NoSuchEventException if it could not be found.
      Parameters:
      typePK - the type pk
      Returns:
      the matching dl sync event
      Throws:
      NoSuchEventException - if a matching dl sync event could not be found
    • fetchByTypePK

      DLSyncEvent fetchByTypePK(long typePK)
      Returns the dl sync event where typePK = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      typePK - the type pk
      Returns:
      the matching dl sync event, or null if a matching dl sync event could not be found
    • fetchByTypePK

      DLSyncEvent fetchByTypePK(long typePK, boolean useFinderCache)
      Returns the dl sync event where typePK = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      typePK - the type pk
      useFinderCache - whether to use the finder cache
      Returns:
      the matching dl sync event, or null if a matching dl sync event could not be found
    • removeByTypePK

      DLSyncEvent removeByTypePK(long typePK) throws NoSuchEventException
      Removes the dl sync event where typePK = ? from the database.
      Parameters:
      typePK - the type pk
      Returns:
      the dl sync event that was removed
      Throws:
      NoSuchEventException
    • countByTypePK

      int countByTypePK(long typePK)
      Returns the number of dl sync events where typePK = ?.
      Parameters:
      typePK - the type pk
      Returns:
      the number of matching dl sync events
    • cacheResult

      void cacheResult(DLSyncEvent dlSyncEvent)
      Caches the dl sync event in the entity cache if it is enabled.
      Parameters:
      dlSyncEvent - the dl sync event
    • cacheResult

      void cacheResult(List<DLSyncEvent> dlSyncEvents)
      Caches the dl sync events in the entity cache if it is enabled.
      Parameters:
      dlSyncEvents - the dl sync events
    • create

      DLSyncEvent create(long syncEventId)
      Creates a new dl sync event with the primary key. Does not add the dl sync event to the database.
      Parameters:
      syncEventId - the primary key for the new dl sync event
      Returns:
      the new dl sync event
    • remove

      DLSyncEvent remove(long syncEventId) throws NoSuchEventException
      Removes the dl sync event with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      syncEventId - the primary key of the dl sync event
      Returns:
      the dl sync event that was removed
      Throws:
      NoSuchEventException - if a dl sync event with the primary key could not be found
    • updateImpl

      DLSyncEvent updateImpl(DLSyncEvent dlSyncEvent)
    • findByPrimaryKey

      DLSyncEvent findByPrimaryKey(long syncEventId) throws NoSuchEventException
      Returns the dl sync event with the primary key or throws a NoSuchEventException if it could not be found.
      Parameters:
      syncEventId - the primary key of the dl sync event
      Returns:
      the dl sync event
      Throws:
      NoSuchEventException - if a dl sync event with the primary key could not be found
    • fetchByPrimaryKey

      DLSyncEvent fetchByPrimaryKey(long syncEventId)
      Returns the dl sync event with the primary key or returns null if it could not be found.
      Parameters:
      syncEventId - the primary key of the dl sync event
      Returns:
      the dl sync event, or null if a dl sync event with the primary key could not be found
    • findAll

      List<DLSyncEvent> findAll()
      Returns all the dl sync events.
      Returns:
      the dl sync events
    • findAll

      List<DLSyncEvent> findAll(int start, int end)
      Returns a range of all the dl sync events.

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

      Parameters:
      start - the lower bound of the range of dl sync events
      end - the upper bound of the range of dl sync events (not inclusive)
      Returns:
      the range of dl sync events
    • findAll

      List<DLSyncEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator)
      Returns an ordered range of all the dl sync events.

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

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

      List<DLSyncEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DLSyncEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the dl sync events.

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

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

      void removeAll()
      Removes all the dl sync events from the database.
    • countAll

      int countAll()
      Returns the number of dl sync events.
      Returns:
      the number of dl sync events