Interface DLSyncEventPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DLSyncEvent>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
countAll()
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 returnsnull
if it could not be found.fetchByTypePK
(long typePK) Returns the dl sync event where typePK = ? or returnsnull
if it could not be found.fetchByTypePK
(long typePK, boolean useFinderCache) Returns the dl sync event where typePK = ? or returnsnull
if it could not be found, optionally using the finder cache.findAll()
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 aNoSuchEventException
if it could not be found.findByTypePK
(long typePK) Returns the dl sync event where typePK = ? or throws aNoSuchEventException
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
Returns all the dl sync events where modifiedTime > ?.- Parameters:
modifiedTime
- the modified time- Returns:
- the matching dl sync events
-
findByGtModifiedTime
Returns a range of all the dl sync events where modifiedTime > ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLSyncEventModelImpl
.- Parameters:
modifiedTime
- the modified timestart
- the lower bound of the range of dl sync eventsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLSyncEventModelImpl
.- Parameters:
modifiedTime
- the modified timestart
- the lower bound of the range of dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLSyncEventModelImpl
.- Parameters:
modifiedTime
- the modified timestart
- the lower bound of the range of dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 timeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 timeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 timeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 timeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 eventmodifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionallynull
)- 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
Returns the dl sync event where typePK = ? or throws aNoSuchEventException
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
Returns the dl sync event where typePK = ? or returnsnull
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
Returns the dl sync event where typePK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
typePK
- the type pkuseFinderCache
- 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
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
Caches the dl sync event in the entity cache if it is enabled.- Parameters:
dlSyncEvent
- the dl sync event
-
cacheResult
Caches the dl sync events in the entity cache if it is enabled.- Parameters:
dlSyncEvents
- the dl sync events
-
create
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
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
-
findByPrimaryKey
Returns the dl sync event with the primary key or throws aNoSuchEventException
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
Returns the dl sync event with the primary key or returnsnull
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
Returns a range of all the dl sync events.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLSyncEventModelImpl
.- Parameters:
start
- the lower bound of the range of dl sync eventsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLSyncEventModelImpl
.- Parameters:
start
- the lower bound of the range of dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLSyncEventModelImpl
.- Parameters:
start
- the lower bound of the range of dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-