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 TypeMethodDescriptionvoid
Initializes the document library file version persistence.void
cacheResult
(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Caches the document library file version in the entity cache if it is enabled.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.protected void
cacheUniqueFindersCache
(DLFileVersionModelImpl dlFileVersionModelImpl) void
Clears the cache for all document library file versions.void
clearCache
(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) Clears the cache for the document library file version.void
clearCache
(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of document library file versions.int
countByC_E_S
(long companyId, Date expirationDate, int status) Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.int
countByC_E_S
(long companyId, Date expirationDate, int[] statuses) Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = any ?.int
countByC_NotS
(long companyId, int status) Returns the number of document library file versions where companyId = ? and status ≠ ?.int
countByC_SU
(long companyId, String storeUUID) Returns the number of document library file versions where companyId = ? and storeUUID = ?.int
countByCompanyId
(long companyId) Returns the number of document library file versions where companyId = ?.int
countByF_S
(long fileEntryId, int status) Returns the number of document library file versions where fileEntryId = ? and status = ?.int
countByF_S
(long fileEntryId, int[] statuses) Returns the number of document library file versions where fileEntryId = ? and status = any ?.int
countByF_V
(long fileEntryId, String version) Returns the number of document library file versions where fileEntryId = ? and version = ?.int
countByFileEntryId
(long fileEntryId) Returns the number of document library file versions where fileEntryId = ?.int
countByG_F_S
(long groupId, long folderId, int status) Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.int
countByG_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 = ?.int
countByLtD_S
(Date displayDate, int status) Returns the number of document library file versions where displayDate < ? and status = ?.int
countByMimeType
(String mimeType) Returns the number of document library file versions where mimeType = ?.int
countByUuid
(String uuid) Returns the number of document library file versions where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of document library file versions where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of document library file versions where uuid = ? and groupId = ?.com.liferay.document.library.kernel.model.DLFileVersion
create
(long fileVersionId) Creates a new document library file version with the primary key.void
destroy()
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 = ?.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 = ?.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 ≠ ?.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 ≠ ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.com.liferay.document.library.kernel.model.DLFileVersion
fetchByF_V
(long fileEntryId, String version) Returns the document library file version where fileEntryId = ? and version = ? or returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.com.liferay.document.library.kernel.model.DLFileVersion
fetchByPrimaryKey
(long fileVersionId) Returns the document library file version with the primary key or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileVersion
fetchByPrimaryKey
(Serializable primaryKey) Returns the document library file version with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.document.library.kernel.model.DLFileVersion> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.com.liferay.document.library.kernel.model.DLFileVersion
fetchByUUID_G
(String uuid, long groupId) Returns the document library file version where uuid = ? and groupId = ? or returnsnull
if it could not be found.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 returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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.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) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.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) 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.DLFileVersion
findByC_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.DLFileVersion
findByC_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.DLFileVersion
findByC_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.DLFileVersion
findByC_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.DLFileVersion
findByCompanyId_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.DLFileVersion
findByCompanyId_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.DLFileVersion
findByF_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.DLFileVersion
findByF_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.DLFileVersion
Returns the document library file version where fileEntryId = ? and version = ? or throws aNoSuchFileVersionException
if 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.DLFileVersion
findByFileEntryId_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.DLFileVersion
findByFileEntryId_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.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) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.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) 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.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) 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.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) 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.DLFileVersion
findByLtD_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.DLFileVersion
findByLtD_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.DLFileVersion
findByMimeType_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.DLFileVersion
findByMimeType_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.DLFileVersion
findByPrimaryKey
(long fileVersionId) Returns the document library file version with the primary key or throws aNoSuchFileVersionException
if it could not be found.com.liferay.document.library.kernel.model.DLFileVersion
findByPrimaryKey
(Serializable primaryKey) Returns the document library file version with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if 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.DLFileVersion
findByUuid_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.DLFileVersion
findByUuid_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.DLFileVersion
findByUuid_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.DLFileVersion
findByUUID_G
(String uuid, long groupId) Returns the document library file version where uuid = ? and groupId = ? or throws aNoSuchFileVersionException
if it could not be found.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) 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.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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.document.library.kernel.model.DLFileVersion
remove
(long fileVersionId) Removes the document library file version with the primary key from the database.com.liferay.document.library.kernel.model.DLFileVersion
remove
(Serializable primaryKey) Removes the document library file version with the primary key from the database.void
Removes all the document library file versions from the database.void
removeByC_E_S
(long companyId, Date expirationDate, int status) Removes all the document library file versions where companyId = ? and expirationDate = ? and status = ? from the database.void
removeByC_NotS
(long companyId, int status) Removes all the document library file versions where companyId = ? and status ≠ ? from the database.void
removeByC_SU
(long companyId, String storeUUID) Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.void
removeByCompanyId
(long companyId) Removes all the document library file versions where companyId = ? from the database.void
removeByF_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.DLFileVersion
removeByF_V
(long fileEntryId, String version) Removes the document library file version where fileEntryId = ? and version = ? from the database.void
removeByFileEntryId
(long fileEntryId) Removes all the document library file versions where fileEntryId = ? from the database.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.void
removeByG_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.void
removeByLtD_S
(Date displayDate, int status) Removes all the document library file versions where displayDate < ? and status = ? from the database.void
removeByMimeType
(String mimeType) Removes all the document library file versions where mimeType = ? from the database.void
removeByUuid
(String uuid) Removes all the document library file versions where uuid = ? from the database.void
removeByUuid_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.DLFileVersion
removeByUUID_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.DLFileVersion
removeImpl
(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion) com.liferay.document.library.kernel.model.DLFileVersion
updateImpl
(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, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.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:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByUuid
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByUuid
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByUuid
in 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:
countByUuid
in 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 aNoSuchFileVersionException
if it could not be found.- Specified by:
findByUUID_G
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file version, or
null
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, boolean useFinderCache) Returns the document library file version where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_G
in 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
null
if 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_G
in 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_G
in 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_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByUuid_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByUuid_C
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByUuid_C
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_C
in 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_C
in 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:
findByCompanyId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByCompanyId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByCompanyId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByCompanyId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByCompanyId
in 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:
countByCompanyId
in 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:
findByFileEntryId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByFileEntryId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByFileEntryId
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByFileEntryId
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByFileEntryId
in 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:
countByFileEntryId
in 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:
findByMimeType
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByMimeType
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByMimeType
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByMimeType
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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:
removeByMimeType
in 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:
countByMimeType
in 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_SU
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_SU
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_SU
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_SU
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_SU
in 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_SU
in 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_NotS
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_NotS
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_NotS
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_NotS
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_NotS
in 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_NotS
in 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 aNoSuchFileVersionException
if it could not be found.- Specified by:
findByF_V
in 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 returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByF_V
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
- Parameters:
fileEntryId
- the file entry IDversion
- the version- Returns:
- the matching document library file version, or
null
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, boolean useFinderCache) Returns the document library file version where fileEntryId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByF_V
in 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
null
if 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_V
in 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_V
in 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_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByF_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByF_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByF_S
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByF_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByF_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByF_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByF_S
in 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_S
in 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_S
in 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_S
in 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_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByLtD_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByLtD_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByLtD_S
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_S
in 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_S
in 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_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByG_F_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByG_F_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByG_F_S
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_S
in 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_S
in 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_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_E_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_E_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_E_S
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_E_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_E_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_E_S
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByC_E_S
in 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_S
in 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_S
in 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_S
in 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_V
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByG_F_T_V
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByG_F_T_V
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findByG_F_T_V
in 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_First
in 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_First
in 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
null
if 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_Last
in 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_Last
in 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
null
if 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_PrevAndNext
in 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_V
in 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_V
in 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:
cacheResult
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
- Overrides:
cacheResult
in 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:
cacheResult
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
clearCache
in 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
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
clearCache
in 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:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
clearCache
- Specified by:
clearCache
in 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:
create
in 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:
remove
in 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:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
remove
in 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:
removeImpl
in 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:
updateImpl
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
- Overrides:
updateImpl
in 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.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
findByPrimaryKey
in 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 aNoSuchFileVersionException
if it could not be found.- Specified by:
findByPrimaryKey
in 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
fetchByPrimaryKey
in 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
null
if 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 returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in 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
null
if 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:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
fetchByPrimaryKeys
in 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:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findAll
in 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileVersionModelImpl
.- Specified by:
findAll
in 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:
removeAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
-
countAll
public int countAll()Returns the number of document library file versions.- Specified by:
countAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
- Returns:
- the number of document library file versions
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
getBadColumnNames
in 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:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getSelectSQL
- Overrides:
getSelectSQL
in 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:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in 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:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
-