Class DLFileVersionPersistenceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence,com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the document library file version persistence.voidcacheResult(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Caches the document library file version in the entity cache if it is enabled.voidcacheResult(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions) Caches the document library file versions in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(DLFileVersionModelImpl dlFileVersionModelImpl) voidClears the cache for all document library file versions.voidclearCache(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Clears the cache for the document library file version.voidclearCache(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of document library file versions.intcountByC_E_S(long companyId, Date expirationDate, int status) Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.intcountByC_E_S(long companyId, Date expirationDate, int[] statuses) Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = any ?.intcountByC_NotS(long companyId, int status) Returns the number of document library file versions where companyId = ? and status ≠ ?.intcountByC_SU(long companyId, String storeUUID) Returns the number of document library file versions where companyId = ? and storeUUID = ?.intcountByCompanyId(long companyId) Returns the number of document library file versions where companyId = ?.intcountByF_S(long fileEntryId, int status) Returns the number of document library file versions where fileEntryId = ? and status = ?.intcountByF_S(long fileEntryId, int[] statuses) Returns the number of document library file versions where fileEntryId = ? and status = any ?.intcountByF_V(long fileEntryId, String version) Returns the number of document library file versions where fileEntryId = ? and version = ?.intcountByFileEntryId(long fileEntryId) Returns the number of document library file versions where fileEntryId = ?.intcountByG_F_S(long groupId, long folderId, int status) Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.intcountByG_F_T_V(long groupId, long folderId, String title, String version) Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.intcountByLtD_S(Date displayDate, int status) Returns the number of document library file versions where displayDate < ? and status = ?.intcountByMimeType(String mimeType) Returns the number of document library file versions where mimeType = ?.intcountByUuid(String uuid) Returns the number of document library file versions where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of document library file versions where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of document library file versions where uuid = ? and groupId = ?.com.liferay.document.library.kernel.model.DLFileVersioncreate(long fileVersionId) Creates a new document library file version with the primary key.voiddestroy()com.liferay.document.library.kernel.model.DLFileVersionfetchByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByF_V(long fileEntryId, String version) Returns the document library file version where fileEntryId = ? and version = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileVersionfetchByF_V(long fileEntryId, String version, boolean useFinderCache) Returns the document library file version where fileEntryId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileVersionfetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where displayDate < ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByPrimaryKey(long fileVersionId) Returns the document library file version with the primary key or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileVersionfetchByPrimaryKey(Serializable primaryKey) Returns the document library file version with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.document.library.kernel.model.DLFileVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.document.library.kernel.model.DLFileVersionfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileVersionfetchByUUID_G(String uuid, long groupId) Returns the document library file version where uuid = ? and groupId = ? or returnsnullif it could not be found.com.liferay.document.library.kernel.model.DLFileVersionfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the document library file version where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileVersionfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findAll()Returns all the document library file versions.List<com.liferay.document.library.kernel.model.DLFileVersion>findAll(int start, int end) Returns a range of all the document library file versions.List<com.liferay.document.library.kernel.model.DLFileVersion>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions.List<com.liferay.document.library.kernel.model.DLFileVersion>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int status) Returns all the document library file versions where companyId = ? and expirationDate = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int[] statuses) Returns all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end) Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?, optionally using the finder cache.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int status, int start, int end) Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByC_E_S_PrevAndNext(long fileVersionId, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status) Returns all the document library file versions where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status, int start, int end) Returns a range of all the document library file versions where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_SU(long companyId, String storeUUID) Returns all the document library file versions where companyId = ? and storeUUID = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_SU(long companyId, String storeUUID, int start, int end) Returns a range of all the document library file versions where companyId = ? and storeUUID = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByC_SU_PrevAndNext(long fileVersionId, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and storeUUID = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByCompanyId(long companyId) Returns all the document library file versions where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByCompanyId(long companyId, int start, int end) Returns a range of all the document library file versions where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByCompanyId_PrevAndNext(long fileVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int status) Returns all the document library file versions where fileEntryId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int[] statuses) Returns all the document library file versions where fileEntryId = ? and status = any ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int[] statuses, int start, int end) Returns a range of all the document library file versions where fileEntryId = ? and status = any ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = any ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?, optionally using the finder cache.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int status, int start, int end) Returns a range of all the document library file versions where fileEntryId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionReturns the document library file version where fileEntryId = ? and version = ? or throws aNoSuchFileVersionExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileVersion>findByFileEntryId(long fileEntryId) Returns all the document library file versions where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByFileEntryId(long fileEntryId, int start, int end) Returns a range of all the document library file versions where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_S(long groupId, long folderId, int status) Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_S(long groupId, long folderId, int status, int start, int end) Returns a range of all the document library file versions where groupId = ? and folderId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_T_V(long groupId, long folderId, String title, String version) Returns all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end) Returns a range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status) Returns all the document library file versions where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the document library file versions where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where displayDate < ? and status = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByLtD_S_PrevAndNext(long fileVersionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where displayDate < ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByMimeType(String mimeType) Returns all the document library file versions where mimeType = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByMimeType(String mimeType, int start, int end) Returns a range of all the document library file versions where mimeType = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where mimeType = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByMimeType_PrevAndNext(long fileVersionId, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByPrimaryKey(long fileVersionId) Returns the document library file version with the primary key or throws aNoSuchFileVersionExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileVersionfindByPrimaryKey(Serializable primaryKey) Returns the document library file version with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid(String uuid) Returns all the document library file versions where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid(String uuid, int start, int end) Returns a range of all the document library file versions where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid_C(String uuid, long companyId) Returns all the document library file versions where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the document library file versions where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileVersion>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByUuid_C_PrevAndNext(long fileVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileVersionfindByUUID_G(String uuid, long groupId) Returns the document library file version where uuid = ? and groupId = ? or throws aNoSuchFileVersionExceptionif it could not be found.com.liferay.document.library.kernel.model.DLFileVersionfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileVersion[]findByUuid_PrevAndNext(long fileVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.protected com.liferay.document.library.kernel.model.DLFileVersiongetByC_E_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByC_NotS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByC_SU_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByF_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByG_F_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByG_F_T_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByLtD_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByMimeType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileVersiongetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.document.library.kernel.model.DLFileVersionremove(long fileVersionId) Removes the document library file version with the primary key from the database.com.liferay.document.library.kernel.model.DLFileVersionremove(Serializable primaryKey) Removes the document library file version with the primary key from the database.voidRemoves all the document library file versions from the database.voidremoveByC_E_S(long companyId, Date expirationDate, int status) Removes all the document library file versions where companyId = ? and expirationDate = ? and status = ? from the database.voidremoveByC_NotS(long companyId, int status) Removes all the document library file versions where companyId = ? and status ≠ ? from the database.voidremoveByC_SU(long companyId, String storeUUID) Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.voidremoveByCompanyId(long companyId) Removes all the document library file versions where companyId = ? from the database.voidremoveByF_S(long fileEntryId, int status) Removes all the document library file versions where fileEntryId = ? and status = ? from the database.com.liferay.document.library.kernel.model.DLFileVersionremoveByF_V(long fileEntryId, String version) Removes the document library file version where fileEntryId = ? and version = ? from the database.voidremoveByFileEntryId(long fileEntryId) Removes all the document library file versions where fileEntryId = ? from the database.voidremoveByG_F_S(long groupId, long folderId, int status) Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database.voidremoveByG_F_T_V(long groupId, long folderId, String title, String version) Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.voidremoveByLtD_S(Date displayDate, int status) Removes all the document library file versions where displayDate < ? and status = ? from the database.voidremoveByMimeType(String mimeType) Removes all the document library file versions where mimeType = ? from the database.voidremoveByUuid(String uuid) Removes all the document library file versions where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the document library file versions where uuid = ? and companyId = ? from the database.com.liferay.document.library.kernel.model.DLFileVersionremoveByUUID_G(String uuid, long groupId) Removes the document library file version where uuid = ? and groupId = ? from the database.protected com.liferay.document.library.kernel.model.DLFileVersionremoveImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) com.liferay.document.library.kernel.model.DLFileVersionupdateImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
DLFileVersionPersistenceImpl
public DLFileVersionPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the document library file versions where uuid = ?.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuid- Returns:
- the matching document library file versions
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid(String uuid, int start, int end) Returns a range of all the document library file versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByUuid_First
public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUuid_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByUuid_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where uuid = ?.- Specified by:
findByUuid_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUuid_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByUuid_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByUuid_PrevAndNext(long fileVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versionuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByUuid
Removes all the document library file versions where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of document library file versions where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching document library file versions
-
findByUUID_G
public com.liferay.document.library.kernel.model.DLFileVersion findByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file version where uuid = ? and groupId = ? or throws aNoSuchFileVersionExceptionif it could not be found.- Specified by:
findByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUUID_G
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUUID_G(String uuid, long groupId) Returns the document library file version where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching document library file version, or
nullif a matching document library file version could not be found
-
fetchByUUID_G
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the document library file version where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file version, or
nullif a matching document library file version could not be found
-
removeByUUID_G
public com.liferay.document.library.kernel.model.DLFileVersion removeByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Removes the document library file version where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the document library file version that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException
-
countByUUID_G
Returns the number of document library file versions where uuid = ? and groupId = ?.- Specified by:
countByUUID_Gin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching document library file versions
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId) Returns all the document library file versions where uuid = ? and companyId = ?.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching document library file versions
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the document library file versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByUuid_C_PrevAndNext(long fileVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versionuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the document library file versions where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of document library file versions where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching document library file versions
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId) Returns all the document library file versions where companyId = ?.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company ID- Returns:
- the matching document library file versions
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId, int start, int end) Returns a range of all the document library file versions where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByCompanyId_First
public com.liferay.document.library.kernel.model.DLFileVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByCompanyId_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByCompanyId_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByCompanyId_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByCompanyId_PrevAndNext(long fileVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versioncompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the document library file versions where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of document library file versions where companyId = ?.- Specified by:
countByCompanyIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching document library file versions
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId) Returns all the document library file versions where fileEntryId = ?.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry ID- Returns:
- the matching document library file versions
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end) Returns a range of all the document library file versions where fileEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByFileEntryId_First
public com.liferay.document.library.kernel.model.DLFileVersion findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where fileEntryId = ?.- Specified by:
findByFileEntryId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByFileEntryId_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.- Specified by:
fetchByFileEntryId_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByFileEntryId_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where fileEntryId = ?.- Specified by:
findByFileEntryId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByFileEntryId_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ?.- Specified by:
fetchByFileEntryId_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByFileEntryId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.- Specified by:
findByFileEntryId_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versionfileEntryId- the file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByFileEntryId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByFileEntryId
public void removeByFileEntryId(long fileEntryId) Removes all the document library file versions where fileEntryId = ? from the database.- Specified by:
removeByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry ID
-
countByFileEntryId
public int countByFileEntryId(long fileEntryId) Returns the number of document library file versions where fileEntryId = ?.- Specified by:
countByFileEntryIdin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry ID- Returns:
- the number of matching document library file versions
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType) Returns all the document library file versions where mimeType = ?.- Specified by:
findByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime type- Returns:
- the matching document library file versions
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType, int start, int end) Returns a range of all the document library file versions where mimeType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typestart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where mimeType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typestart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where mimeType = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typestart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByMimeType_First
public com.liferay.document.library.kernel.model.DLFileVersion findByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where mimeType = ?.- Specified by:
findByMimeType_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByMimeType_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.- Specified by:
fetchByMimeType_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByMimeType_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where mimeType = ?.- Specified by:
findByMimeType_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByMimeType_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where mimeType = ?.- Specified by:
fetchByMimeType_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByMimeType_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.- Specified by:
findByMimeType_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versionmimeType- the mime typeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByMimeType_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByMimeType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByMimeType
Removes all the document library file versions where mimeType = ? from the database.- Specified by:
removeByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime type
-
countByMimeType
Returns the number of document library file versions where mimeType = ?.- Specified by:
countByMimeTypein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
mimeType- the mime type- Returns:
- the number of matching document library file versions
-
findByC_SU
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID) Returns all the document library file versions where companyId = ? and storeUUID = ?.- Specified by:
findByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuid- Returns:
- the matching document library file versions
-
findByC_SU
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end) Returns a range of all the document library file versions where companyId = ? and storeUUID = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByC_SU
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByC_SU
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByC_SU_First
public com.liferay.document.library.kernel.model.DLFileVersion findByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.- Specified by:
findByC_SU_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_SU_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.- Specified by:
fetchByC_SU_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByC_SU_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.- Specified by:
findByC_SU_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_SU_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.- Specified by:
fetchByC_SU_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByC_SU_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByC_SU_PrevAndNext(long fileVersionId, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and storeUUID = ?.- Specified by:
findByC_SU_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versioncompanyId- the company IDstoreUUID- the store uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByC_SU_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByC_SU_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByC_SU
Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.- Specified by:
removeByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuid
-
countByC_SU
Returns the number of document library file versions where companyId = ? and storeUUID = ?.- Specified by:
countByC_SUin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstoreUUID- the store uuid- Returns:
- the number of matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status) Returns all the document library file versions where companyId = ? and status ≠ ?.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the status- Returns:
- the matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end) Returns a range of all the document library file versions where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByC_NotS_First
public com.liferay.document.library.kernel.model.DLFileVersion findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_NotS_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.- Specified by:
fetchByC_NotS_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByC_NotS_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_NotS_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.- Specified by:
fetchByC_NotS_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByC_NotS_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versioncompanyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByC_NotS_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByC_NotS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByC_NotS
public void removeByC_NotS(long companyId, int status) Removes all the document library file versions where companyId = ? and status ≠ ? from the database.- Specified by:
removeByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the status
-
countByC_NotS
public int countByC_NotS(long companyId, int status) Returns the number of document library file versions where companyId = ? and status ≠ ?.- Specified by:
countByC_NotSin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDstatus- the status- Returns:
- the number of matching document library file versions
-
findByF_V
public com.liferay.document.library.kernel.model.DLFileVersion findByF_V(long fileEntryId, String version) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file version where fileEntryId = ? and version = ? or throws aNoSuchFileVersionExceptionif it could not be found.- Specified by:
findByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the version- Returns:
- the matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByF_V
public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_V(long fileEntryId, String version) Returns the document library file version where fileEntryId = ? and version = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the version- Returns:
- the matching document library file version, or
nullif a matching document library file version could not be found
-
fetchByF_V
public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_V(long fileEntryId, String version, boolean useFinderCache) Returns the document library file version where fileEntryId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the versionuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file version, or
nullif a matching document library file version could not be found
-
removeByF_V
public com.liferay.document.library.kernel.model.DLFileVersion removeByF_V(long fileEntryId, String version) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Removes the document library file version where fileEntryId = ? and version = ? from the database.- Specified by:
removeByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the version- Returns:
- the document library file version that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException
-
countByF_V
Returns the number of document library file versions where fileEntryId = ? and version = ?.- Specified by:
countByF_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDversion- the version- Returns:
- the number of matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status) Returns all the document library file versions where fileEntryId = ? and status = ?.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the status- Returns:
- the matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end) Returns a range of all the document library file versions where fileEntryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByF_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.- Specified by:
findByF_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByF_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.- Specified by:
fetchByF_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByF_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.- Specified by:
findByF_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByF_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.- Specified by:
fetchByF_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByF_S_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?.- Specified by:
findByF_S_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versionfileEntryId- the file entry IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByF_S_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByF_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses) Returns all the document library file versions where fileEntryId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatuses- the statuses- Returns:
- the matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end) Returns a range of all the document library file versions where fileEntryId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByF_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
removeByF_S
public void removeByF_S(long fileEntryId, int status) Removes all the document library file versions where fileEntryId = ? and status = ? from the database.- Specified by:
removeByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the status
-
countByF_S
public int countByF_S(long fileEntryId, int status) Returns the number of document library file versions where fileEntryId = ? and status = ?.- Specified by:
countByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatus- the status- Returns:
- the number of matching document library file versions
-
countByF_S
public int countByF_S(long fileEntryId, int[] statuses) Returns the number of document library file versions where fileEntryId = ? and status = any ?.- Specified by:
countByF_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileEntryId- the file entry IDstatuses- the statuses- Returns:
- the number of matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status) Returns all the document library file versions where displayDate < ? and status = ?.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the status- Returns:
- the matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end) Returns a range of all the document library file versions where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByLtD_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByLtD_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where displayDate < ? and status = ?.- Specified by:
findByLtD_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByLtD_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.- Specified by:
fetchByLtD_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByLtD_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where displayDate < ? and status = ?.- Specified by:
findByLtD_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByLtD_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where displayDate < ? and status = ?.- Specified by:
fetchByLtD_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByLtD_S_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByLtD_S_PrevAndNext(long fileVersionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where displayDate < ? and status = ?.- Specified by:
findByLtD_S_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versiondisplayDate- the display datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByLtD_S_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByLtD_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByLtD_S
Removes all the document library file versions where displayDate < ? and status = ? from the database.- Specified by:
removeByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the status
-
countByLtD_S
Returns the number of document library file versions where displayDate < ? and status = ?.- Specified by:
countByLtD_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
displayDate- the display datestatus- the status- Returns:
- the number of matching document library file versions
-
findByG_F_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status) Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.- Specified by:
findByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the status- Returns:
- the matching document library file versions
-
findByG_F_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end) Returns a range of all the document library file versions where groupId = ? and folderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByG_F_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByG_F_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByG_F_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- Specified by:
findByG_F_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByG_F_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- Specified by:
fetchByG_F_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByG_F_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- Specified by:
findByG_F_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByG_F_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- Specified by:
fetchByG_F_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByG_F_S_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- Specified by:
findByG_F_S_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versiongroupId- the group IDfolderId- the folder IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByG_F_S_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByG_F_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByG_F_S
public void removeByG_F_S(long groupId, long folderId, int status) Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database.- Specified by:
removeByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the status
-
countByG_F_S
public int countByG_F_S(long groupId, long folderId, int status) Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.- Specified by:
countByG_F_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDstatus- the status- Returns:
- the number of matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status) Returns all the document library file versions where companyId = ? and expirationDate = ? and status = ?.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the status- Returns:
- the matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end) Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByC_E_S_First
public com.liferay.document.library.kernel.model.DLFileVersion findByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- Specified by:
findByC_E_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_E_S_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- Specified by:
fetchByC_E_S_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByC_E_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- Specified by:
findByC_E_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByC_E_S_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- Specified by:
fetchByC_E_S_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByC_E_S_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByC_E_S_PrevAndNext(long fileVersionId, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- Specified by:
findByC_E_S_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versioncompanyId- the company IDexpirationDate- the expiration datestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByC_E_S_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByC_E_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses) Returns all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatuses- the statuses- Returns:
- the matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end) Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByC_E_S
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatuses- the statusesstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
removeByC_E_S
Removes all the document library file versions where companyId = ? and expirationDate = ? and status = ? from the database.- Specified by:
removeByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the status
-
countByC_E_S
Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.- Specified by:
countByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatus- the status- Returns:
- the number of matching document library file versions
-
countByC_E_S
Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = any ?.- Specified by:
countByC_E_Sin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
companyId- the company IDexpirationDate- the expiration datestatuses- the statuses- Returns:
- the number of matching document library file versions
-
findByG_F_T_V
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version) Returns all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
findByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the version- Returns:
- the matching document library file versions
-
findByG_F_T_V
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end) Returns a range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of matching document library file versions
-
findByG_F_T_V
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching document library file versions
-
findByG_F_T_V
public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionstart- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching document library file versions
-
findByG_F_T_V_First
public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
findByG_F_T_V_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByG_F_T_V_First
public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
fetchByG_F_T_V_Firstin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file version, or
nullif a matching document library file version could not be found
-
findByG_F_T_V_Last
public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
findByG_F_T_V_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a matching document library file version could not be found
-
fetchByG_F_T_V_Last
public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
fetchByG_F_T_V_Lastin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching document library file version, or
nullif a matching document library file version could not be found
-
findByG_F_T_V_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
findByG_F_T_V_PrevAndNextin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the current document library file versiongroupId- the group IDfolderId- the folder IDtitle- the titleversion- the versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
getByG_F_T_V_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileVersion getByG_F_T_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous) -
removeByG_F_T_V
Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.- Specified by:
removeByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the version
-
countByG_F_T_V
Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.- Specified by:
countByG_F_T_Vin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
groupId- the group IDfolderId- the folder IDtitle- the titleversion- the version- Returns:
- the number of matching document library file versions
-
cacheResult
public void cacheResult(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Caches the document library file version in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>- Parameters:
dlFileVersion- the document library file version
-
cacheResult
public void cacheResult(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions) Caches the document library file versions in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
dlFileVersions- the document library file versions
-
clearCache
public void clearCache()Clears the cache for all document library file versions.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
clearCache
public void clearCache(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Clears the cache for the document library file version.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
clearCache
public void clearCache(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions) - Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
cacheUniqueFindersCache
-
create
public com.liferay.document.library.kernel.model.DLFileVersion create(long fileVersionId) Creates a new document library file version with the primary key. Does not add the document library file version to the database.- Specified by:
createin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key for the new document library file version- Returns:
- the new document library file version
-
remove
public com.liferay.document.library.kernel.model.DLFileVersion remove(long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Removes the document library file version with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the document library file version- Returns:
- the document library file version that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
remove
public com.liferay.document.library.kernel.model.DLFileVersion remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Removes the document library file version with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>- Parameters:
primaryKey- the primary key of the document library file version- Returns:
- the document library file version that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
removeImpl
protected com.liferay.document.library.kernel.model.DLFileVersion removeImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
updateImpl
public com.liferay.document.library.kernel.model.DLFileVersion updateImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) - Specified by:
updateImplin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileVersion findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file version with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>- Parameters:
primaryKey- the primary key of the document library file version- Returns:
- the document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileVersion findByPrimaryKey(long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException Returns the document library file version with the primary key or throws aNoSuchFileVersionExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the document library file version- Returns:
- the document library file version
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileVersionException- if a document library file version with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileVersion fetchByPrimaryKey(Serializable primaryKey) Returns the document library file version with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>- Parameters:
primaryKey- the primary key of the document library file version- Returns:
- the document library file version, or
nullif a document library file version with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileVersion fetchByPrimaryKey(long fileVersionId) Returns the document library file version with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
fileVersionId- the primary key of the document library file version- Returns:
- the document library file version, or
nullif a document library file version with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.document.library.kernel.model.DLFileVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
findAll
Returns all the document library file versions.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Returns:
- the document library file versions
-
findAll
Returns a range of all the document library file versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
start- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)- Returns:
- the range of document library file versions
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
start- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of document library file versions
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl.- Specified by:
findAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Parameters:
start- the lower bound of the range of document library file versionsend- the upper bound of the range of document library file versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of document library file versions
-
removeAll
public void removeAll()Removes all the document library file versions from the database.- Specified by:
removeAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
-
countAll
public int countAll()Returns the number of document library file versions.- Specified by:
countAllin interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence- Returns:
- the number of document library file versions
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the document library file version persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-