|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>
com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistenceImpl
public class DLSyncPersistenceImpl
The persistence implementation for the d l sync service.
Caching information and settings can be found in portal.properties
DLSyncPersistence,
DLSyncUtil| Field Summary | |
|---|---|
protected com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence |
dlContentPersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence |
dlFileEntryMetadataPersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence |
dlFileEntryPersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence |
dlFileEntryTypePersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence |
dlFileRankPersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence |
dlFileShortcutPersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence |
dlFileVersionPersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence |
dlFolderPersistence
|
protected com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence |
dlSyncPersistence
|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.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_C_M_R
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_FILEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_FILEID
|
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_C_M_R
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_M_R
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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 Summary | |
|---|---|
DLSyncPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the d l sync persistence. |
void |
cacheResult(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
Caches the d l sync in the entity cache if it is enabled. |
void |
cacheResult(java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> dlSyncs)
Caches the d l syncs in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all d l syncs. |
void |
clearCache(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
Clears the cache for the d l sync. |
void |
clearCache(java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> dlSyncs)
|
protected void |
clearUniqueFindersCache(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
|
int |
countAll()
Returns the number of d l syncs. |
int |
countByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId)
Returns the number of d l syncs where companyId = ? and modifiedDate ≥ ? and repositoryId = ?. |
int |
countByFileId(long fileId)
Returns the number of d l syncs where fileId = ?. |
com.liferay.portlet.documentlibrary.model.DLSync |
create(long syncId)
Creates a new d l sync with the primary key. |
void |
destroy()
|
com.liferay.portlet.documentlibrary.model.DLSync |
fetchByFileId(long fileId)
Returns the d l sync where fileId = ? or returns null if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLSync |
fetchByFileId(long fileId,
boolean retrieveFromCache)
Returns the d l sync where fileId = ? or returns null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.documentlibrary.model.DLSync |
fetchByPrimaryKey(long syncId)
Returns the d l sync with the primary key or returns null if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLSync |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the d l sync with the primary key or returns null if it could not be found. |
java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> |
findAll()
Returns all the d l syncs. |
java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> |
findAll(int start,
int end)
Returns a range of all the d l syncs. |
java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d l syncs. |
com.liferay.portlet.documentlibrary.model.DLSync |
findByC_M_R_First(long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first d l sync in the ordered set where companyId = ? and modifiedDate ≥ ? and repositoryId = ?. |
com.liferay.portlet.documentlibrary.model.DLSync |
findByC_M_R_Last(long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last d l sync in the ordered set where companyId = ? and modifiedDate ≥ ? and repositoryId = ?. |
com.liferay.portlet.documentlibrary.model.DLSync[] |
findByC_M_R_PrevAndNext(long syncId,
long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the d l syncs before and after the current d l sync in the ordered set where companyId = ? and modifiedDate ≥ ? and repositoryId = ?. |
java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> |
findByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId)
Returns all the d l syncs where companyId = ? and modifiedDate ≥ ? and repositoryId = ?. |
java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> |
findByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId,
int start,
int end)
Returns a range of all the d l syncs where companyId = ? and modifiedDate ≥ ? and repositoryId = ?. |
java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> |
findByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the d l syncs where companyId = ? and modifiedDate ≥ ? and repositoryId = ?. |
com.liferay.portlet.documentlibrary.model.DLSync |
findByFileId(long fileId)
Returns the d l sync where fileId = ? or throws a NoSuchSyncException if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLSync |
findByPrimaryKey(long syncId)
Returns the d l sync with the primary key or throws a NoSuchSyncException if it could not be found. |
com.liferay.portlet.documentlibrary.model.DLSync |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the d l sync with the primary key or throws a NoSuchModelException if it could not be found. |
protected com.liferay.portlet.documentlibrary.model.DLSync |
getByC_M_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLSync dlSync,
long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.documentlibrary.model.DLSync |
remove(long syncId)
Removes the d l sync with the primary key from the database. |
com.liferay.portlet.documentlibrary.model.DLSync |
remove(java.io.Serializable primaryKey)
Removes the d l sync with the primary key from the database. |
void |
removeAll()
Removes all the d l syncs from the database. |
void |
removeByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId)
Removes all the d l syncs where companyId = ? and modifiedDate ≥ ? and repositoryId = ? from the database. |
void |
removeByFileId(long fileId)
Removes the d l sync where fileId = ? from the database. |
protected com.liferay.portlet.documentlibrary.model.DLSync |
removeImpl(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
|
protected com.liferay.portlet.documentlibrary.model.DLSync |
toUnwrappedModel(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
|
com.liferay.portlet.documentlibrary.model.DLSync |
updateImpl(com.liferay.portlet.documentlibrary.model.DLSync dlSync,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_FILEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_FILEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_M_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_M_R
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_M_R
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
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence dlContentPersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence dlFileEntryPersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence dlFileEntryTypePersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence dlFileRankPersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence dlFileShortcutPersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence dlFileVersionPersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence dlFolderPersistence
@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence.class) protected com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence dlSyncPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public DLSyncPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
cacheResult in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencedlSync - the d l syncpublic void cacheResult(java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> dlSyncs)
cacheResult in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencedlSyncs - the d l syncspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLSync>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>public void clearCache(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLSync>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>public void clearCache(java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> dlSyncs)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLSync>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>protected void clearUniqueFindersCache(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
public com.liferay.portlet.documentlibrary.model.DLSync create(long syncId)
create in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencesyncId - the primary key for the new d l sync
public com.liferay.portlet.documentlibrary.model.DLSync remove(long syncId)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencesyncId - the primary key of the d l sync
com.liferay.portlet.documentlibrary.NoSuchSyncException - if a d l sync with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLSync>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>primaryKey - the primary key of the d l sync
com.liferay.portlet.documentlibrary.NoSuchSyncException - if a d l sync with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.documentlibrary.model.DLSync removeImpl(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.documentlibrary.model.DLSync updateImpl(com.liferay.portlet.documentlibrary.model.DLSync dlSync,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.documentlibrary.model.DLSync toUnwrappedModel(com.liferay.portlet.documentlibrary.model.DLSync dlSync)
public com.liferay.portlet.documentlibrary.model.DLSync findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLSync>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>primaryKey - the primary key of the d l sync
com.liferay.portal.NoSuchModelException - if a d l sync with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync findByPrimaryKey(long syncId)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.SystemException
NoSuchSyncException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencesyncId - the primary key of the d l sync
com.liferay.portlet.documentlibrary.NoSuchSyncException - if a d l sync with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.documentlibrary.model.DLSync>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.documentlibrary.model.DLSync>primaryKey - the primary key of the d l sync
null if a d l sync with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync fetchByPrimaryKey(long syncId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencesyncId - the primary key of the d l sync
null if a d l sync with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync findByFileId(long fileId)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.SystemException
NoSuchSyncException if it could not be found.
findByFileId in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencefileId - the file ID
com.liferay.portlet.documentlibrary.NoSuchSyncException - if a matching d l sync could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync fetchByFileId(long fileId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByFileId in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencefileId - the file ID
null if a matching d l sync could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync fetchByFileId(long fileId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByFileId in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencefileId - the file IDretrieveFromCache - whether to use the finder cache
null if a matching d l sync could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> findByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId)
throws com.liferay.portal.kernel.exception.SystemException
findByC_M_R in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> findByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.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.
findByC_M_R in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository IDstart - the lower bound of the range of d l syncsend - the upper bound of the range of d l syncs (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> findByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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.
findByC_M_R in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository IDstart - the lower bound of the range of d l syncsend - the upper bound of the range of d l syncs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync findByC_M_R_First(long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.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.
findByC_M_R_First in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.documentlibrary.NoSuchSyncException - if a matching d l sync could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync findByC_M_R_Last(long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.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.
findByC_M_R_Last in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.documentlibrary.NoSuchSyncException - if a matching d l sync could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.documentlibrary.model.DLSync[] findByC_M_R_PrevAndNext(long syncId,
long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.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.
findByC_M_R_PrevAndNext in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencesyncId - the primary key of the current d l synccompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.documentlibrary.NoSuchSyncException - if a d l sync with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.documentlibrary.model.DLSync getByC_M_R_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.documentlibrary.model.DLSync dlSync,
long companyId,
java.util.Date modifiedDate,
long repositoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.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.
findAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencestart - the lower bound of the range of d l syncsend - the upper bound of the range of d l syncs (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.documentlibrary.model.DLSync> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.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.
findAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencestart - the lower bound of the range of d l syncsend - the upper bound of the range of d l syncs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByFileId(long fileId)
throws com.liferay.portlet.documentlibrary.NoSuchSyncException,
com.liferay.portal.kernel.exception.SystemException
removeByFileId in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencefileId - the file ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.documentlibrary.NoSuchSyncException
public void removeByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_M_R in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByFileId(long fileId)
throws com.liferay.portal.kernel.exception.SystemException
countByFileId in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencefileId - the file ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByC_M_R(long companyId,
java.util.Date modifiedDate,
long repositoryId)
throws com.liferay.portal.kernel.exception.SystemException
countByC_M_R in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecompanyId - the company IDmodifiedDate - the modified daterepositoryId - the repository ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||