@ProviderType public interface DLSyncEventPersistence extends BasePersistence<DLSyncEvent>
Caching information and settings can be found in portal.properties
DLSyncEventPersistenceImpl
,
DLSyncEventUtil
Modifier and Type | Method and 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 |
countAll()
Returns the number of dl sync events.
|
int |
countByModifiedTime(long modifiedTime)
Returns the number of dl sync events where modifiedTime > ?.
|
int |
countByTypePK(long typePK)
Returns the number of dl sync events where typePK = ?.
|
DLSyncEvent |
create(long syncEventId)
Creates a new dl sync event with the primary key.
|
DLSyncEvent |
fetchByModifiedTime_First(long modifiedTime,
OrderByComparator<DLSyncEvent> orderByComparator)
Returns the first dl sync event in the ordered set where modifiedTime > ?.
|
DLSyncEvent |
fetchByModifiedTime_Last(long modifiedTime,
OrderByComparator<DLSyncEvent> orderByComparator)
Returns the last dl sync event in the ordered set where modifiedTime > ?.
|
DLSyncEvent |
fetchByPrimaryKey(long syncEventId)
Returns the dl sync event with the primary key or returns
null if it could not be found. |
Map<Serializable,DLSyncEvent> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
DLSyncEvent |
fetchByTypePK(long typePK)
Returns the dl sync event where typePK = ? or returns
null if it could not be found. |
DLSyncEvent |
fetchByTypePK(long typePK,
boolean retrieveFromCache)
Returns the dl sync event where typePK = ? or returns
null if it could not be found, optionally using the finder cache. |
List<DLSyncEvent> |
findAll()
Returns all the dl sync events.
|
List<DLSyncEvent> |
findAll(int start,
int end)
Returns a range of all the dl sync events.
|
List<DLSyncEvent> |
findAll(int start,
int end,
OrderByComparator<DLSyncEvent> orderByComparator)
Returns an ordered range of all the dl sync events.
|
List<DLSyncEvent> |
findAll(int start,
int end,
OrderByComparator<DLSyncEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the dl sync events.
|
DLSyncEvent |
findByModifiedTime_First(long modifiedTime,
OrderByComparator<DLSyncEvent> orderByComparator)
Returns the first dl sync event in the ordered set where modifiedTime > ?.
|
DLSyncEvent |
findByModifiedTime_Last(long modifiedTime,
OrderByComparator<DLSyncEvent> orderByComparator)
Returns the last dl sync event in the ordered set where modifiedTime > ?.
|
DLSyncEvent[] |
findByModifiedTime_PrevAndNext(long syncEventId,
long modifiedTime,
OrderByComparator<DLSyncEvent> orderByComparator)
Returns the dl sync events before and after the current dl sync event in the ordered set where modifiedTime > ?.
|
List<DLSyncEvent> |
findByModifiedTime(long modifiedTime)
Returns all the dl sync events where modifiedTime > ?.
|
List<DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end)
Returns a range of all the dl sync events where modifiedTime > ?.
|
List<DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end,
OrderByComparator<DLSyncEvent> orderByComparator)
Returns an ordered range of all the dl sync events where modifiedTime > ?.
|
List<DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end,
OrderByComparator<DLSyncEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the dl sync events where modifiedTime > ?.
|
DLSyncEvent |
findByPrimaryKey(long syncEventId)
Returns the dl sync event with the primary key or throws a
NoSuchSyncEventException if it could not be found. |
DLSyncEvent |
findByTypePK(long typePK)
Returns the dl sync event where typePK = ? or throws a
NoSuchSyncEventException if it could not be found. |
Set<String> |
getBadColumnNames() |
DLSyncEvent |
remove(long syncEventId)
Removes the dl sync event with the primary key from the database.
|
void |
removeAll()
Removes all the dl sync events from the database.
|
void |
removeByModifiedTime(long modifiedTime)
Removes all the dl sync events where modifiedTime > ? from the database.
|
DLSyncEvent |
removeByTypePK(long typePK)
Removes the dl sync event where typePK = ? from the database.
|
DLSyncEvent |
updateImpl(DLSyncEvent dlSyncEvent) |
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
List<DLSyncEvent> findByModifiedTime(long modifiedTime)
modifiedTime
- the modified timeList<DLSyncEvent> findByModifiedTime(long modifiedTime, int start, int end)
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 dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)List<DLSyncEvent> findByModifiedTime(long modifiedTime, int start, int end, OrderByComparator<DLSyncEvent> orderByComparator)
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 dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<DLSyncEvent> findByModifiedTime(long modifiedTime, int start, int end, OrderByComparator<DLSyncEvent> orderByComparator, boolean retrieveFromCache)
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 dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLSyncEvent findByModifiedTime_First(long modifiedTime, OrderByComparator<DLSyncEvent> orderByComparator) throws NoSuchSyncEventException
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSyncEventException
- if a matching dl sync event could not be foundDLSyncEvent fetchByModifiedTime_First(long modifiedTime, OrderByComparator<DLSyncEvent> orderByComparator)
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dl sync event could not be foundDLSyncEvent findByModifiedTime_Last(long modifiedTime, OrderByComparator<DLSyncEvent> orderByComparator) throws NoSuchSyncEventException
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSyncEventException
- if a matching dl sync event could not be foundDLSyncEvent fetchByModifiedTime_Last(long modifiedTime, OrderByComparator<DLSyncEvent> orderByComparator)
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dl sync event could not be foundDLSyncEvent[] findByModifiedTime_PrevAndNext(long syncEventId, long modifiedTime, OrderByComparator<DLSyncEvent> orderByComparator) throws NoSuchSyncEventException
syncEventId
- the primary key of the current dl sync eventmodifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSyncEventException
- if a dl sync event with the primary key could not be foundvoid removeByModifiedTime(long modifiedTime)
modifiedTime
- the modified timeint countByModifiedTime(long modifiedTime)
modifiedTime
- the modified timeDLSyncEvent findByTypePK(long typePK) throws NoSuchSyncEventException
NoSuchSyncEventException
if it could not be found.typePK
- the type pkNoSuchSyncEventException
- if a matching dl sync event could not be foundDLSyncEvent fetchByTypePK(long typePK)
null
if it could not be found. Uses the finder cache.typePK
- the type pknull
if a matching dl sync event could not be foundDLSyncEvent fetchByTypePK(long typePK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.typePK
- the type pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching dl sync event could not be foundDLSyncEvent removeByTypePK(long typePK) throws NoSuchSyncEventException
typePK
- the type pkNoSuchSyncEventException
int countByTypePK(long typePK)
typePK
- the type pkvoid cacheResult(DLSyncEvent dlSyncEvent)
dlSyncEvent
- the dl sync eventvoid cacheResult(List<DLSyncEvent> dlSyncEvents)
dlSyncEvents
- the dl sync eventsDLSyncEvent create(long syncEventId)
syncEventId
- the primary key for the new dl sync eventDLSyncEvent remove(long syncEventId) throws NoSuchSyncEventException
syncEventId
- the primary key of the dl sync eventNoSuchSyncEventException
- if a dl sync event with the primary key could not be foundDLSyncEvent updateImpl(DLSyncEvent dlSyncEvent)
DLSyncEvent findByPrimaryKey(long syncEventId) throws NoSuchSyncEventException
NoSuchSyncEventException
if it could not be found.syncEventId
- the primary key of the dl sync eventNoSuchSyncEventException
- if a dl sync event with the primary key could not be foundDLSyncEvent fetchByPrimaryKey(long syncEventId)
null
if it could not be found.syncEventId
- the primary key of the dl sync eventnull
if a dl sync event with the primary key could not be foundMap<Serializable,DLSyncEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<DLSyncEvent>
List<DLSyncEvent> findAll()
List<DLSyncEvent> findAll(int start, int end)
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 dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)List<DLSyncEvent> findAll(int start, int end, OrderByComparator<DLSyncEvent> orderByComparator)
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 dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)List<DLSyncEvent> findAll(int start, int end, OrderByComparator<DLSyncEvent> orderByComparator, boolean retrieveFromCache)
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 dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
Set<String> getBadColumnNames()
getBadColumnNames
in interface BasePersistence<DLSyncEvent>