|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DLSyncEventPersistence
The persistence interface for the d l sync event service.
Caching information and settings can be found in portal.properties
DLSyncEventPersistenceImpl,
DLSyncEventUtil| Method Summary | |
|---|---|
void |
cacheResult(DLSyncEvent dlSyncEvent)
Caches the d l sync event in the entity cache if it is enabled. |
void |
cacheResult(List<DLSyncEvent> dlSyncEvents)
Caches the d l sync events in the entity cache if it is enabled. |
int |
countAll()
Returns the number of d l sync events. |
int |
countByModifiedTime(long modifiedTime)
Returns the number of d l sync events where modifiedTime > ?. |
int |
countByTypePK(long typePK)
Returns the number of d l sync events where typePK = ?. |
DLSyncEvent |
create(long syncEventId)
Creates a new d l sync event with the primary key. |
DLSyncEvent |
fetchByModifiedTime_First(long modifiedTime,
OrderByComparator orderByComparator)
Returns the first d l sync event in the ordered set where modifiedTime > ?. |
DLSyncEvent |
fetchByModifiedTime_Last(long modifiedTime,
OrderByComparator orderByComparator)
Returns the last d l sync event in the ordered set where modifiedTime > ?. |
DLSyncEvent |
fetchByPrimaryKey(long syncEventId)
Returns the d l sync event with the primary key or returns null if it could not be found. |
DLSyncEvent |
fetchByTypePK(long typePK)
Returns the d l sync event where typePK = ? or returns null if it could not be found. |
DLSyncEvent |
fetchByTypePK(long typePK,
boolean retrieveFromCache)
Returns the d l sync event where typePK = ? or returns null if it could not be found, optionally using the finder cache. |
List<DLSyncEvent> |
findAll()
Returns all the d l sync events. |
List<DLSyncEvent> |
findAll(int start,
int end)
Returns a range of all the d l sync events. |
List<DLSyncEvent> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d l sync events. |
DLSyncEvent |
findByModifiedTime_First(long modifiedTime,
OrderByComparator orderByComparator)
Returns the first d l sync event in the ordered set where modifiedTime > ?. |
DLSyncEvent |
findByModifiedTime_Last(long modifiedTime,
OrderByComparator orderByComparator)
Returns the last d l sync event in the ordered set where modifiedTime > ?. |
DLSyncEvent[] |
findByModifiedTime_PrevAndNext(long syncEventId,
long modifiedTime,
OrderByComparator orderByComparator)
Returns the d l sync events before and after the current d l sync event in the ordered set where modifiedTime > ?. |
List<DLSyncEvent> |
findByModifiedTime(long modifiedTime)
Returns all the d l sync events where modifiedTime > ?. |
List<DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end)
Returns a range of all the d l sync events where modifiedTime > ?. |
List<DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d l sync events where modifiedTime > ?. |
DLSyncEvent |
findByPrimaryKey(long syncEventId)
Returns the d l sync event with the primary key or throws a NoSuchSyncEventException if it could not be found. |
DLSyncEvent |
findByTypePK(long typePK)
Returns the d l sync event where typePK = ? or throws a NoSuchSyncEventException if it could not be found. |
DLSyncEvent |
remove(long syncEventId)
Removes the d l sync event with the primary key from the database. |
void |
removeAll()
Removes all the d l sync events from the database. |
void |
removeByModifiedTime(long modifiedTime)
Removes all the d l sync events where modifiedTime > ? from the database. |
DLSyncEvent |
removeByTypePK(long typePK)
Removes the d l sync event where typePK = ? from the database. |
DLSyncEvent |
updateImpl(DLSyncEvent dlSyncEvent)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
| Method Detail |
|---|
List<DLSyncEvent> findByModifiedTime(long modifiedTime)
throws SystemException
modifiedTime - the modified time
SystemException - if a system exception occurred
List<DLSyncEvent> findByModifiedTime(long modifiedTime,
int start,
int end)
throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLSyncEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
modifiedTime - the modified timestart - the lower bound of the range of d l sync eventsend - the upper bound of the range of d l sync events (not inclusive)
SystemException - if a system exception occurred
List<DLSyncEvent> findByModifiedTime(long modifiedTime,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLSyncEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
modifiedTime - the modified timestart - the lower bound of the range of d l sync eventsend - the upper bound of the range of d l sync events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
DLSyncEvent findByModifiedTime_First(long modifiedTime,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchSyncEventException
modifiedTime - the modified timeorderByComparator - the comparator to order the set by (optionally null)
NoSuchSyncEventException - if a matching d l sync event could not be found
SystemException - if a system exception occurred
DLSyncEvent fetchByModifiedTime_First(long modifiedTime,
OrderByComparator orderByComparator)
throws SystemException
modifiedTime - the modified timeorderByComparator - the comparator to order the set by (optionally null)
null if a matching d l sync event could not be found
SystemException - if a system exception occurred
DLSyncEvent findByModifiedTime_Last(long modifiedTime,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchSyncEventException
modifiedTime - the modified timeorderByComparator - the comparator to order the set by (optionally null)
NoSuchSyncEventException - if a matching d l sync event could not be found
SystemException - if a system exception occurred
DLSyncEvent fetchByModifiedTime_Last(long modifiedTime,
OrderByComparator orderByComparator)
throws SystemException
modifiedTime - the modified timeorderByComparator - the comparator to order the set by (optionally null)
null if a matching d l sync event could not be found
SystemException - if a system exception occurred
DLSyncEvent[] findByModifiedTime_PrevAndNext(long syncEventId,
long modifiedTime,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchSyncEventException
syncEventId - the primary key of the current d l sync eventmodifiedTime - the modified timeorderByComparator - the comparator to order the set by (optionally null)
NoSuchSyncEventException - if a d l sync event with the primary key could not be found
SystemException - if a system exception occurred
void removeByModifiedTime(long modifiedTime)
throws SystemException
modifiedTime - the modified time
SystemException - if a system exception occurred
int countByModifiedTime(long modifiedTime)
throws SystemException
modifiedTime - the modified time
SystemException - if a system exception occurred
DLSyncEvent findByTypePK(long typePK)
throws SystemException,
NoSuchSyncEventException
NoSuchSyncEventException if it could not be found.
typePK - the type p k
NoSuchSyncEventException - if a matching d l sync event could not be found
SystemException - if a system exception occurred
DLSyncEvent fetchByTypePK(long typePK)
throws SystemException
null if it could not be found. Uses the finder cache.
typePK - the type p k
null if a matching d l sync event could not be found
SystemException - if a system exception occurred
DLSyncEvent fetchByTypePK(long typePK,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
typePK - the type p kretrieveFromCache - whether to use the finder cache
null if a matching d l sync event could not be found
SystemException - if a system exception occurred
DLSyncEvent removeByTypePK(long typePK)
throws SystemException,
NoSuchSyncEventException
typePK - the type p k
SystemException - if a system exception occurred
NoSuchSyncEventException
int countByTypePK(long typePK)
throws SystemException
typePK - the type p k
SystemException - if a system exception occurredvoid cacheResult(DLSyncEvent dlSyncEvent)
dlSyncEvent - the d l sync eventvoid cacheResult(List<DLSyncEvent> dlSyncEvents)
dlSyncEvents - the d l sync eventsDLSyncEvent create(long syncEventId)
syncEventId - the primary key for the new d l sync event
DLSyncEvent remove(long syncEventId)
throws SystemException,
NoSuchSyncEventException
syncEventId - the primary key of the d l sync event
NoSuchSyncEventException - if a d l sync event with the primary key could not be found
SystemException - if a system exception occurred
DLSyncEvent updateImpl(DLSyncEvent dlSyncEvent)
throws SystemException
SystemException
DLSyncEvent findByPrimaryKey(long syncEventId)
throws SystemException,
NoSuchSyncEventException
NoSuchSyncEventException if it could not be found.
syncEventId - the primary key of the d l sync event
NoSuchSyncEventException - if a d l sync event with the primary key could not be found
SystemException - if a system exception occurred
DLSyncEvent fetchByPrimaryKey(long syncEventId)
throws SystemException
null if it could not be found.
syncEventId - the primary key of the d l sync event
null if a d l sync event with the primary key could not be found
SystemException - if a system exception occurred
List<DLSyncEvent> findAll()
throws SystemException
SystemException - if a system exception occurred
List<DLSyncEvent> findAll(int start,
int end)
throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLSyncEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of d l sync eventsend - the upper bound of the range of d l sync events (not inclusive)
SystemException - if a system exception occurred
List<DLSyncEvent> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLSyncEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of d l sync eventsend - the upper bound of the range of d l sync events (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||