@ProviderType
public class DLSyncEventPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
implements com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
Caching information and settings can be found in portal.properties
DLSyncEventPersistence
,
DLSyncEventUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_TYPEPK |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_TYPEPK |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_MODIFIEDTIME |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_MODIFIEDTIME |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
DLSyncEventPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the dl sync event persistence.
|
void |
cacheResult(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent)
Caches the dl sync event in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.document.library.kernel.model.DLSyncEvent> dlSyncEvents)
Caches the dl sync events in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(DLSyncEventModelImpl dlSyncEventModelImpl) |
void |
clearCache()
Clears the cache for all dl sync events.
|
void |
clearCache(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent)
Clears the cache for the dl sync event.
|
void |
clearCache(List<com.liferay.document.library.kernel.model.DLSyncEvent> dlSyncEvents) |
protected void |
clearUniqueFindersCache(DLSyncEventModelImpl dlSyncEventModelImpl,
boolean clearCurrent) |
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 = ?.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
create(long syncEventId)
Creates a new dl sync event with the primary key.
|
void |
destroy() |
com.liferay.document.library.kernel.model.DLSyncEvent |
fetchByModifiedTime_First(long modifiedTime,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
Returns the first dl sync event in the ordered set where modifiedTime > ?.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
fetchByModifiedTime_Last(long modifiedTime,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
Returns the last dl sync event in the ordered set where modifiedTime > ?.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
fetchByPrimaryKey(long syncEventId)
Returns the dl sync event with the primary key or returns
null if it could not be found. |
com.liferay.document.library.kernel.model.DLSyncEvent |
fetchByPrimaryKey(Serializable primaryKey)
Returns the dl sync event with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.document.library.kernel.model.DLSyncEvent> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.document.library.kernel.model.DLSyncEvent |
fetchByTypePK(long typePK)
Returns the dl sync event where typePK = ? or returns
null if it could not be found. |
com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLSyncEvent> |
findAll()
Returns all the dl sync events.
|
List<com.liferay.document.library.kernel.model.DLSyncEvent> |
findAll(int start,
int end)
Returns a range of all the dl sync events.
|
List<com.liferay.document.library.kernel.model.DLSyncEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
Returns an ordered range of all the dl sync events.
|
List<com.liferay.document.library.kernel.model.DLSyncEvent> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the dl sync events.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
findByModifiedTime_First(long modifiedTime,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
Returns the first dl sync event in the ordered set where modifiedTime > ?.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
findByModifiedTime_Last(long modifiedTime,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
Returns the last dl sync event in the ordered set where modifiedTime > ?.
|
com.liferay.document.library.kernel.model.DLSyncEvent[] |
findByModifiedTime_PrevAndNext(long syncEventId,
long modifiedTime,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
Returns the dl sync events before and after the current dl sync event in the ordered set where modifiedTime > ?.
|
List<com.liferay.document.library.kernel.model.DLSyncEvent> |
findByModifiedTime(long modifiedTime)
Returns all the dl sync events where modifiedTime > ?.
|
List<com.liferay.document.library.kernel.model.DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end)
Returns a range of all the dl sync events where modifiedTime > ?.
|
List<com.liferay.document.library.kernel.model.DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
Returns an ordered range of all the dl sync events where modifiedTime > ?.
|
List<com.liferay.document.library.kernel.model.DLSyncEvent> |
findByModifiedTime(long modifiedTime,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the dl sync events where modifiedTime > ?.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
findByPrimaryKey(long syncEventId)
Returns the dl sync event with the primary key or throws a
NoSuchSyncEventException if it could not be found. |
com.liferay.document.library.kernel.model.DLSyncEvent |
findByPrimaryKey(Serializable primaryKey)
Returns the dl sync event with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.document.library.kernel.model.DLSyncEvent |
findByTypePK(long typePK)
Returns the dl sync event where typePK = ? or throws a
NoSuchSyncEventException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.document.library.kernel.model.DLSyncEvent |
getByModifiedTime_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent,
long modifiedTime,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.document.library.kernel.model.DLSyncEvent |
remove(long syncEventId)
Removes the dl sync event with the primary key from the database.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
remove(Serializable primaryKey)
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.
|
com.liferay.document.library.kernel.model.DLSyncEvent |
removeByTypePK(long typePK)
Removes the dl sync event where typePK = ? from the database.
|
protected com.liferay.document.library.kernel.model.DLSyncEvent |
removeImpl(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent) |
protected com.liferay.document.library.kernel.model.DLSyncEvent |
toUnwrappedModel(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent) |
com.liferay.document.library.kernel.model.DLSyncEvent |
updateImpl(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_MODIFIEDTIME
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_MODIFIEDTIME
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_TYPEPK
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_TYPEPK
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
public List<com.liferay.document.library.kernel.model.DLSyncEvent> findByModifiedTime(long modifiedTime)
findByModifiedTime
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
modifiedTime
- the modified timepublic List<com.liferay.document.library.kernel.model.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.
findByModifiedTime
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
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)public List<com.liferay.document.library.kernel.model.DLSyncEvent> findByModifiedTime(long modifiedTime, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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.
findByModifiedTime
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
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
)public List<com.liferay.document.library.kernel.model.DLSyncEvent> findByModifiedTime(long modifiedTime, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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.
findByModifiedTime
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
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 cachepublic com.liferay.document.library.kernel.model.DLSyncEvent findByModifiedTime_First(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
findByModifiedTime_First
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a matching dl sync event could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent fetchByModifiedTime_First(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
fetchByModifiedTime_First
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dl sync event could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent findByModifiedTime_Last(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
findByModifiedTime_Last
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a matching dl sync event could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent fetchByModifiedTime_Last(long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator)
fetchByModifiedTime_Last
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
modifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching dl sync event could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent[] findByModifiedTime_PrevAndNext(long syncEventId, long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
findByModifiedTime_PrevAndNext
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
syncEventId
- the primary key of the current dl sync eventmodifiedTime
- the modified timeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a dl sync event with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLSyncEvent getByModifiedTime_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent, long modifiedTime, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLSyncEvent> orderByComparator, boolean previous)
public void removeByModifiedTime(long modifiedTime)
removeByModifiedTime
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
modifiedTime
- the modified timepublic int countByModifiedTime(long modifiedTime)
countByModifiedTime
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
modifiedTime
- the modified timepublic com.liferay.document.library.kernel.model.DLSyncEvent findByTypePK(long typePK) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
NoSuchSyncEventException
if it could not be found.findByTypePK
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
typePK
- the type pkcom.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a matching dl sync event could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent fetchByTypePK(long typePK)
null
if it could not be found. Uses the finder cache.fetchByTypePK
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
typePK
- the type pknull
if a matching dl sync event could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent fetchByTypePK(long typePK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByTypePK
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
typePK
- the type pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching dl sync event could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent removeByTypePK(long typePK) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
removeByTypePK
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
typePK
- the type pkcom.liferay.document.library.kernel.exception.NoSuchSyncEventException
public int countByTypePK(long typePK)
countByTypePK
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
typePK
- the type pkpublic void cacheResult(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
dlSyncEvent
- the dl sync eventpublic void cacheResult(List<com.liferay.document.library.kernel.model.DLSyncEvent> dlSyncEvents)
cacheResult
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
dlSyncEvents
- the dl sync eventspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
public void clearCache(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
public void clearCache(List<com.liferay.document.library.kernel.model.DLSyncEvent> dlSyncEvents)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
protected void cacheUniqueFindersCache(DLSyncEventModelImpl dlSyncEventModelImpl)
protected void clearUniqueFindersCache(DLSyncEventModelImpl dlSyncEventModelImpl, boolean clearCurrent)
public com.liferay.document.library.kernel.model.DLSyncEvent create(long syncEventId)
create
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
syncEventId
- the primary key for the new dl sync eventpublic com.liferay.document.library.kernel.model.DLSyncEvent remove(long syncEventId) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
remove
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
syncEventId
- the primary key of the dl sync eventcom.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a dl sync event with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
primaryKey
- the primary key of the dl sync eventcom.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a dl sync event with the primary key could not be foundprotected com.liferay.document.library.kernel.model.DLSyncEvent removeImpl(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
public com.liferay.document.library.kernel.model.DLSyncEvent updateImpl(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent)
updateImpl
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
protected com.liferay.document.library.kernel.model.DLSyncEvent toUnwrappedModel(com.liferay.document.library.kernel.model.DLSyncEvent dlSyncEvent)
public com.liferay.document.library.kernel.model.DLSyncEvent findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
primaryKey
- the primary key of the dl sync eventcom.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a dl sync event with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent findByPrimaryKey(long syncEventId) throws com.liferay.document.library.kernel.exception.NoSuchSyncEventException
NoSuchSyncEventException
if it could not be found.findByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
syncEventId
- the primary key of the dl sync eventcom.liferay.document.library.kernel.exception.NoSuchSyncEventException
- if a dl sync event with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
primaryKey
- the primary key of the dl sync eventnull
if a dl sync event with the primary key could not be foundpublic com.liferay.document.library.kernel.model.DLSyncEvent fetchByPrimaryKey(long syncEventId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
syncEventId
- the primary key of the dl sync eventnull
if a dl sync event with the primary key could not be foundpublic Map<Serializable,com.liferay.document.library.kernel.model.DLSyncEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
public List<com.liferay.document.library.kernel.model.DLSyncEvent> findAll()
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
public List<com.liferay.document.library.kernel.model.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.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
start
- the lower bound of the range of dl sync eventsend
- the upper bound of the range of dl sync events (not inclusive)public List<com.liferay.document.library.kernel.model.DLSyncEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
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
)public List<com.liferay.document.library.kernel.model.DLSyncEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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.
findAll
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
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 cachepublic void removeAll()
removeAll
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
public int countAll()
countAll
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.document.library.kernel.service.persistence.DLSyncEventPersistence
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLSyncEvent>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLSyncEvent>
public void afterPropertiesSet()
public void destroy()