Class DLFileVersionUtil
com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileVersionPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(DLFileVersion dlFileVersion) Caches the document library file version in the entity cache if it is enabled.static void
cacheResult
(List<DLFileVersion> dlFileVersions) Caches the document library file versions in the entity cache if it is enabled.static void
static void
clearCache
(DLFileVersion dlFileVersion) static int
countAll()
Returns the number of document library file versions.static int
countByC_E_S
(long companyId, Date expirationDate, int status) Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.static 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 ?.static int
countByC_NotS
(long companyId, int status) Returns the number of document library file versions where companyId = ? and status ≠ ?.static int
countByC_SU
(long companyId, String storeUUID) Returns the number of document library file versions where companyId = ? and storeUUID = ?.static int
countByCompanyId
(long companyId) Returns the number of document library file versions where companyId = ?.static int
countByF_S
(long fileEntryId, int status) Returns the number of document library file versions where fileEntryId = ? and status = ?.static int
countByF_S
(long fileEntryId, int[] statuses) Returns the number of document library file versions where fileEntryId = ? and status = any ?.static int
countByF_V
(long fileEntryId, String version) Returns the number of document library file versions where fileEntryId = ? and version = ?.static int
countByFileEntryId
(long fileEntryId) Returns the number of document library file versions where fileEntryId = ?.static int
countByG_F_S
(long groupId, long folderId, int status) Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.static 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 = ?.static int
countByLtD_S
(Date displayDate, int status) Returns the number of document library file versions where displayDate < ? and status = ?.static int
countByMimeType
(String mimeType) Returns the number of document library file versions where mimeType = ?.static int
countByUuid
(String uuid) Returns the number of document library file versions where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of document library file versions where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of document library file versions where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(DynamicQuery dynamicQuery) static DLFileVersion
create
(long fileVersionId) Creates a new document library file version with the primary key.static DLFileVersion
fetchByC_E_S_First
(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.static DLFileVersion
fetchByC_E_S_Last
(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.static DLFileVersion
fetchByC_NotS_First
(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.static DLFileVersion
fetchByC_NotS_Last
(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.static DLFileVersion
fetchByC_SU_First
(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.static DLFileVersion
fetchByC_SU_Last
(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.static DLFileVersion
fetchByCompanyId_First
(long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.static DLFileVersion
fetchByCompanyId_Last
(long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ?.static DLFileVersion
fetchByF_S_First
(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.static DLFileVersion
fetchByF_S_Last
(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.static 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.static 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.static DLFileVersion
fetchByFileEntryId_First
(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.static DLFileVersion
fetchByFileEntryId_Last
(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ?.static DLFileVersion
fetchByG_F_S_First
(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.static DLFileVersion
fetchByG_F_S_Last
(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.static DLFileVersion
fetchByG_F_T_V_First
(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.static DLFileVersion
fetchByG_F_T_V_Last
(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.static DLFileVersion
fetchByLtD_S_First
(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.static DLFileVersion
fetchByLtD_S_Last
(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where displayDate < ? and status = ?.static DLFileVersion
fetchByMimeType_First
(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.static DLFileVersion
fetchByMimeType_Last
(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where mimeType = ?.static DLFileVersion
fetchByPrimaryKey
(long fileVersionId) Returns the document library file version with the primary key or returnsnull
if it could not be found.static Map<Serializable,
DLFileVersion> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static DLFileVersion
fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.static DLFileVersion
fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.static DLFileVersion
fetchByUuid_First
(String uuid, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.static 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.static 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.static DLFileVersion
fetchByUuid_Last
(String uuid, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ?.static List<DLFileVersion>
findAll()
Returns all the document library file versions.static List<DLFileVersion>
findAll
(int start, int end) Returns a range of all the document library file versions.static List<DLFileVersion>
findAll
(int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions.static List<DLFileVersion>
findAll
(int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions.static List<DLFileVersion>
findByC_E_S
(long companyId, Date expirationDate, int status) Returns all the document library file versions where companyId = ? and expirationDate = ? and status = ?.static List<DLFileVersion>
findByC_E_S
(long companyId, Date expirationDate, int[] statuses) Returns all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.static List<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 ?.static List<DLFileVersion>
findByC_E_S
(long companyId, Date expirationDate, int[] statuses, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.static List<DLFileVersion>
findByC_E_S
(long companyId, Date expirationDate, int[] statuses, int start, int end, OrderByComparator<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.static List<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 = ?.static List<DLFileVersion>
findByC_E_S
(long companyId, Date expirationDate, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.static List<DLFileVersion>
findByC_E_S
(long companyId, Date expirationDate, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.static DLFileVersion
findByC_E_S_First
(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.static DLFileVersion
findByC_E_S_Last
(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.static DLFileVersion[]
findByC_E_S_PrevAndNext
(long fileVersionId, long companyId, Date expirationDate, int status, OrderByComparator<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 = ?.static List<DLFileVersion>
findByC_NotS
(long companyId, int status) Returns all the document library file versions where companyId = ? and status ≠ ?.static List<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 ≠ ?.static List<DLFileVersion>
findByC_NotS
(long companyId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.static List<DLFileVersion>
findByC_NotS
(long companyId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.static DLFileVersion
findByC_NotS_First
(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.static DLFileVersion
findByC_NotS_Last
(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.static DLFileVersion[]
findByC_NotS_PrevAndNext
(long fileVersionId, long companyId, int status, OrderByComparator<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 ≠ ?.static List<DLFileVersion>
findByC_SU
(long companyId, String storeUUID) Returns all the document library file versions where companyId = ? and storeUUID = ?.static List<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 = ?.static List<DLFileVersion>
findByC_SU
(long companyId, String storeUUID, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.static List<DLFileVersion>
findByC_SU
(long companyId, String storeUUID, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.static DLFileVersion
findByC_SU_First
(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.static DLFileVersion
findByC_SU_Last
(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.static DLFileVersion[]
findByC_SU_PrevAndNext
(long fileVersionId, long companyId, String storeUUID, OrderByComparator<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 = ?.static List<DLFileVersion>
findByCompanyId
(long companyId) Returns all the document library file versions where companyId = ?.static List<DLFileVersion>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the document library file versions where companyId = ?.static List<DLFileVersion>
findByCompanyId
(long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where companyId = ?.static List<DLFileVersion>
findByCompanyId
(long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where companyId = ?.static DLFileVersion
findByCompanyId_First
(long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.static DLFileVersion
findByCompanyId_Last
(long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ?.static DLFileVersion[]
findByCompanyId_PrevAndNext
(long fileVersionId, long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.static List<DLFileVersion>
findByF_S
(long fileEntryId, int status) Returns all the document library file versions where fileEntryId = ? and status = ?.static List<DLFileVersion>
findByF_S
(long fileEntryId, int[] statuses) Returns all the document library file versions where fileEntryId = ? and status = any ?.static List<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 ?.static List<DLFileVersion>
findByF_S
(long fileEntryId, int[] statuses, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = any ?.static List<DLFileVersion>
findByF_S
(long fileEntryId, int[] statuses, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?, optionally using the finder cache.static List<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 = ?.static List<DLFileVersion>
findByF_S
(long fileEntryId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.static List<DLFileVersion>
findByF_S
(long fileEntryId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.static DLFileVersion
findByF_S_First
(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.static DLFileVersion
findByF_S_Last
(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.static DLFileVersion[]
findByF_S_PrevAndNext
(long fileVersionId, long fileEntryId, int status, OrderByComparator<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 = ?.static DLFileVersion
Returns the document library file version where fileEntryId = ? and version = ? or throws aNoSuchFileVersionException
if it could not be found.static List<DLFileVersion>
findByFileEntryId
(long fileEntryId) Returns all the document library file versions where fileEntryId = ?.static List<DLFileVersion>
findByFileEntryId
(long fileEntryId, int start, int end) Returns a range of all the document library file versions where fileEntryId = ?.static List<DLFileVersion>
findByFileEntryId
(long fileEntryId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where fileEntryId = ?.static List<DLFileVersion>
findByFileEntryId
(long fileEntryId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where fileEntryId = ?.static DLFileVersion
findByFileEntryId_First
(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.static DLFileVersion
findByFileEntryId_Last
(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ?.static DLFileVersion[]
findByFileEntryId_PrevAndNext
(long fileVersionId, long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.static List<DLFileVersion>
findByG_F_S
(long groupId, long folderId, int status) Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.static List<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 = ?.static List<DLFileVersion>
findByG_F_S
(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.static List<DLFileVersion>
findByG_F_S
(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.static DLFileVersion
findByG_F_S_First
(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.static DLFileVersion
findByG_F_S_Last
(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.static DLFileVersion[]
findByG_F_S_PrevAndNext
(long fileVersionId, long groupId, long folderId, int status, OrderByComparator<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 = ?.static List<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 = ?.static List<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 = ?.static List<DLFileVersion>
findByG_F_T_V
(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.static List<DLFileVersion>
findByG_F_T_V
(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.static DLFileVersion
findByG_F_T_V_First
(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.static DLFileVersion
findByG_F_T_V_Last
(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.static DLFileVersion[]
findByG_F_T_V_PrevAndNext
(long fileVersionId, long groupId, long folderId, String title, String version, OrderByComparator<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 = ?.static List<DLFileVersion>
findByLtD_S
(Date displayDate, int status) Returns all the document library file versions where displayDate < ? and status = ?.static List<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 = ?.static List<DLFileVersion>
findByLtD_S
(Date displayDate, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.static List<DLFileVersion>
findByLtD_S
(Date displayDate, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.static DLFileVersion
findByLtD_S_First
(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.static DLFileVersion
findByLtD_S_Last
(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where displayDate < ? and status = ?.static DLFileVersion[]
findByLtD_S_PrevAndNext
(long fileVersionId, Date displayDate, int status, OrderByComparator<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 = ?.static List<DLFileVersion>
findByMimeType
(String mimeType) Returns all the document library file versions where mimeType = ?.static List<DLFileVersion>
findByMimeType
(String mimeType, int start, int end) Returns a range of all the document library file versions where mimeType = ?.static List<DLFileVersion>
findByMimeType
(String mimeType, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where mimeType = ?.static List<DLFileVersion>
findByMimeType
(String mimeType, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where mimeType = ?.static DLFileVersion
findByMimeType_First
(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.static DLFileVersion
findByMimeType_Last
(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where mimeType = ?.static DLFileVersion[]
findByMimeType_PrevAndNext
(long fileVersionId, String mimeType, OrderByComparator<DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.static DLFileVersion
findByPrimaryKey
(long fileVersionId) Returns the document library file version with the primary key or throws aNoSuchFileVersionException
if it could not be found.static List<DLFileVersion>
findByUuid
(String uuid) Returns all the document library file versions where uuid = ?.static List<DLFileVersion>
findByUuid
(String uuid, int start, int end) Returns a range of all the document library file versions where uuid = ?.static List<DLFileVersion>
findByUuid
(String uuid, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where uuid = ?.static List<DLFileVersion>
findByUuid
(String uuid, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ?.static List<DLFileVersion>
findByUuid_C
(String uuid, long companyId) Returns all the document library file versions where uuid = ? and companyId = ?.static List<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 = ?.static List<DLFileVersion>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.static List<DLFileVersion>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.static DLFileVersion
findByUuid_C_First
(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.static DLFileVersion
findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.static DLFileVersion[]
findByUuid_C_PrevAndNext
(long fileVersionId, String uuid, long companyId, OrderByComparator<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 = ?.static DLFileVersion
findByUuid_First
(String uuid, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.static 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.static DLFileVersion
findByUuid_Last
(String uuid, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ?.static DLFileVersion[]
findByUuid_PrevAndNext
(long fileVersionId, String uuid, OrderByComparator<DLFileVersion> orderByComparator) Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.static List<DLFileVersion>
findWithDynamicQuery
(DynamicQuery dynamicQuery) static List<DLFileVersion>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end) static List<DLFileVersion>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) static DLFileVersionPersistence
static DLFileVersion
remove
(long fileVersionId) Removes the document library file version with the primary key from the database.static void
Removes all the document library file versions from the database.static 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.static void
removeByC_NotS
(long companyId, int status) Removes all the document library file versions where companyId = ? and status ≠ ? from the database.static void
removeByC_SU
(long companyId, String storeUUID) Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the document library file versions where companyId = ? from the database.static void
removeByF_S
(long fileEntryId, int status) Removes all the document library file versions where fileEntryId = ? and status = ? from the database.static DLFileVersion
removeByF_V
(long fileEntryId, String version) Removes the document library file version where fileEntryId = ? and version = ? from the database.static void
removeByFileEntryId
(long fileEntryId) Removes all the document library file versions where fileEntryId = ? from the database.static 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.static 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.static void
removeByLtD_S
(Date displayDate, int status) Removes all the document library file versions where displayDate < ? and status = ? from the database.static void
removeByMimeType
(String mimeType) Removes all the document library file versions where mimeType = ? from the database.static void
removeByUuid
(String uuid) Removes all the document library file versions where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the document library file versions where uuid = ? and companyId = ? from the database.static DLFileVersion
removeByUUID_G
(String uuid, long groupId) Removes the document library file version where uuid = ? and groupId = ? from the database.static void
setPersistence
(DLFileVersionPersistence persistence) static DLFileVersion
update
(DLFileVersion dlFileVersion) static DLFileVersion
update
(DLFileVersion dlFileVersion, ServiceContext serviceContext) static DLFileVersion
updateImpl
(DLFileVersion dlFileVersion)
-
Constructor Details
-
DLFileVersionUtil
public DLFileVersionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<DLFileVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<DLFileVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileVersion> orderByComparator) -
update
-
update
-
findByUuid
Returns all the document library file versions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching document library file versions
-
findByUuid
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
.- 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 static List<DLFileVersion> findByUuid(String uuid, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByUuid(String uuid, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByUuid_First(String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByUuid_First
public static DLFileVersion fetchByUuid_First(String uuid, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ?.- 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 static DLFileVersion findByUuid_Last(String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByUuid_Last
public static DLFileVersion fetchByUuid_Last(String uuid, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ?.- 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 static DLFileVersion[] findByUuid_PrevAndNext(long fileVersionId, String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByUuid
Removes all the document library file versions where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of document library file versions where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching document library file versions
-
findByUUID_G
public static DLFileVersion findByUUID_G(String uuid, long groupId) throws NoSuchFileVersionException Returns the document library file version where uuid = ? and groupId = ? or throws aNoSuchFileVersionException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByUUID_G
Returns the document library file version where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- 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
Returns the document library file version where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- 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 static DLFileVersion removeByUUID_G(String uuid, long groupId) throws NoSuchFileVersionException Removes the document library file version where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the document library file version that was removed
- Throws:
NoSuchFileVersionException
-
countByUUID_G
Returns the number of document library file versions where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching document library file versions
-
findByUuid_C
Returns all the document library file versions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching document library file versions
-
findByUuid_C
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
.- 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 static List<DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByUuid_C_First
public static DLFileVersion fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.- 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 static DLFileVersion findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByUuid_C_Last
public static DLFileVersion fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.- 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 static DLFileVersion[] findByUuid_C_PrevAndNext(long fileVersionId, String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByUuid_C
Removes all the document library file versions where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of document library file versions where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching document library file versions
-
findByCompanyId
Returns all the document library file versions where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching document library file versions
-
findByCompanyId
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
.- 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 static List<DLFileVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByCompanyId_First(long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByCompanyId_First
public static DLFileVersion fetchByCompanyId_First(long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ?.- 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 static DLFileVersion findByCompanyId_Last(long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByCompanyId_Last
public static DLFileVersion fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ?.- 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 static DLFileVersion[] findByCompanyId_PrevAndNext(long fileVersionId, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the document library file versions where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of document library file versions where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching document library file versions
-
findByFileEntryId
Returns all the document library file versions where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry ID- Returns:
- the matching document library file versions
-
findByFileEntryId
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
.- 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 static List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByFileEntryId_First
public static DLFileVersion fetchByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ?.- 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 static DLFileVersion findByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByFileEntryId_Last
public static DLFileVersion fetchByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ?.- 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 static DLFileVersion[] findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByFileEntryId
public static void removeByFileEntryId(long fileEntryId) Removes all the document library file versions where fileEntryId = ? from the database.- Parameters:
fileEntryId
- the file entry ID
-
countByFileEntryId
public static int countByFileEntryId(long fileEntryId) Returns the number of document library file versions where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry ID- Returns:
- the number of matching document library file versions
-
findByMimeType
Returns all the document library file versions where mimeType = ?.- Parameters:
mimeType
- the mime type- Returns:
- the matching document library file versions
-
findByMimeType
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
.- 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 static List<DLFileVersion> findByMimeType(String mimeType, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByMimeType(String mimeType, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByMimeType_First(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where mimeType = ?.- Parameters:
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByMimeType_First
public static DLFileVersion fetchByMimeType_First(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where mimeType = ?.- 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 static DLFileVersion findByMimeType_Last(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where mimeType = ?.- Parameters:
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByMimeType_Last
public static DLFileVersion fetchByMimeType_Last(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where mimeType = ?.- 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 static DLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId, String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByMimeType
Removes all the document library file versions where mimeType = ? from the database.- Parameters:
mimeType
- the mime type
-
countByMimeType
Returns the number of document library file versions where mimeType = ?.- Parameters:
mimeType
- the mime type- Returns:
- the number of matching document library file versions
-
findByC_SU
Returns all the document library file versions where companyId = ? and storeUUID = ?.- Parameters:
companyId
- the company IDstoreUUID
- the store uuid- Returns:
- the matching document library file versions
-
findByC_SU
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
.- 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 static List<DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByC_SU_First(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByC_SU_First
public static DLFileVersion fetchByC_SU_First(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.- 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 static DLFileVersion findByC_SU_Last(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByC_SU_Last
public static DLFileVersion fetchByC_SU_Last(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.- 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 static DLFileVersion[] findByC_SU_PrevAndNext(long fileVersionId, long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and storeUUID = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByC_SU
Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.- Parameters:
companyId
- the company IDstoreUUID
- the store uuid
-
countByC_SU
Returns the number of document library file versions where companyId = ? and storeUUID = ?.- Parameters:
companyId
- the company IDstoreUUID
- the store uuid- Returns:
- the number of matching document library file versions
-
findByC_NotS
Returns all the document library file versions where companyId = ? and status ≠ ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching document library file versions
-
findByC_NotS
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
.- 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 static List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByC_NotS_First(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByC_NotS_First
public static DLFileVersion fetchByC_NotS_First(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.- 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 static DLFileVersion findByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByC_NotS_Last
public static DLFileVersion fetchByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.- 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 static DLFileVersion[] findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByC_NotS
public static void removeByC_NotS(long companyId, int status) Removes all the document library file versions where companyId = ? and status ≠ ? from the database.- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_NotS
public static int countByC_NotS(long companyId, int status) Returns the number of document library file versions where companyId = ? and status ≠ ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching document library file versions
-
findByF_V
public static DLFileVersion findByF_V(long fileEntryId, String version) throws NoSuchFileVersionException Returns the document library file version where fileEntryId = ? and version = ? or throws aNoSuchFileVersionException
if it could not be found.- Parameters:
fileEntryId
- the file entry IDversion
- the version- Returns:
- the matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByF_V
Returns the document library file version where fileEntryId = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- 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
Returns the document library file version where fileEntryId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- 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 static DLFileVersion removeByF_V(long fileEntryId, String version) throws NoSuchFileVersionException Removes the document library file version where fileEntryId = ? and version = ? from the database.- Parameters:
fileEntryId
- the file entry IDversion
- the version- Returns:
- the document library file version that was removed
- Throws:
NoSuchFileVersionException
-
countByF_V
Returns the number of document library file versions where fileEntryId = ? and version = ?.- Parameters:
fileEntryId
- the file entry IDversion
- the version- Returns:
- the number of matching document library file versions
-
findByF_S
Returns all the document library file versions where fileEntryId = ? and status = ?.- Parameters:
fileEntryId
- the file entry IDstatus
- the status- Returns:
- the matching document library file versions
-
findByF_S
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
.- 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 static List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByF_S_First(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByF_S_First
public static DLFileVersion fetchByF_S_First(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.- 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 static DLFileVersion findByF_S_Last(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByF_S_Last
public static DLFileVersion fetchByF_S_Last(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.- 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 static DLFileVersion[] findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
findByF_S
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
.- Parameters:
fileEntryId
- the file entry IDstatuses
- the statuses- Returns:
- the matching document library file versions
-
findByF_S
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
.- 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 static List<DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, OrderByComparator<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
.- 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 static void removeByF_S(long fileEntryId, int status) Removes all the document library file versions where fileEntryId = ? and status = ? from the database.- Parameters:
fileEntryId
- the file entry IDstatus
- the status
-
countByF_S
public static int countByF_S(long fileEntryId, int status) Returns the number of document library file versions where fileEntryId = ? and status = ?.- Parameters:
fileEntryId
- the file entry IDstatus
- the status- Returns:
- the number of matching document library file versions
-
countByF_S
public static int countByF_S(long fileEntryId, int[] statuses) Returns the number of document library file versions where fileEntryId = ? and status = any ?.- Parameters:
fileEntryId
- the file entry IDstatuses
- the statuses- Returns:
- the number of matching document library file versions
-
findByLtD_S
Returns all the document library file versions where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching document library file versions
-
findByLtD_S
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
.- 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 static List<DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByLtD_S_First(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByLtD_S_First
public static DLFileVersion fetchByLtD_S_First(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where displayDate < ? and status = ?.- 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 static DLFileVersion findByLtD_S_Last(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file version
- Throws:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByLtD_S_Last
public static DLFileVersion fetchByLtD_S_Last(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where displayDate < ? and status = ?.- 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 static DLFileVersion[] findByLtD_S_PrevAndNext(long fileVersionId, Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the document library file versions before and after the current document library file version in the ordered set where displayDate < ? and status = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByLtD_S
Removes all the document library file versions where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of document library file versions where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching document library file versions
-
findByG_F_S
Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.- Parameters:
groupId
- the group IDfolderId
- the folder IDstatus
- the status- Returns:
- the matching document library file versions
-
findByG_F_S
public static List<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
.- 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 static List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByG_F_S_First
public static DLFileVersion fetchByG_F_S_First(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- 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 static DLFileVersion findByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByG_F_S_Last
public static DLFileVersion fetchByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.- 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 static DLFileVersion[] findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws 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 = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByG_F_S
public static 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.- Parameters:
groupId
- the group IDfolderId
- the folder IDstatus
- the status
-
countByG_F_S
public static int countByG_F_S(long groupId, long folderId, int status) Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.- Parameters:
groupId
- the group IDfolderId
- the folder IDstatus
- the status- Returns:
- the number of matching document library file versions
-
findByC_E_S
Returns all the document library file versions where companyId = ? and expirationDate = ? and status = ?.- Parameters:
companyId
- the company IDexpirationDate
- the expiration datestatus
- the status- Returns:
- the matching document library file versions
-
findByC_E_S
public static List<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
.- 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 static List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByC_E_S_First(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByC_E_S_First
public static DLFileVersion fetchByC_E_S_First(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- 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 static DLFileVersion findByC_E_S_Last(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByC_E_S_Last
public static DLFileVersion fetchByC_E_S_Last(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.- 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 static DLFileVersion[] findByC_E_S_PrevAndNext(long fileVersionId, long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws 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 = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
findByC_E_S
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
.- Parameters:
companyId
- the company IDexpirationDate
- the expiration datestatuses
- the statuses- Returns:
- the matching document library file versions
-
findByC_E_S
public static List<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
.- 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 static List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, OrderByComparator<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
.- 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.- 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 = ?.- 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 ?.- Parameters:
companyId
- the company IDexpirationDate
- the expiration datestatuses
- the statuses- Returns:
- the number of matching document library file versions
-
findByG_F_T_V
public static List<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 = ?.- Parameters:
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the version- Returns:
- the matching document library file versions
-
findByG_F_T_V
public static List<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
.- 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 static List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<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
.- 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 static DLFileVersion findByG_F_T_V_First(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByG_F_T_V_First
public static DLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- 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 static DLFileVersion findByG_F_T_V_Last(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- 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:
NoSuchFileVersionException
- if a matching document library file version could not be foundNoSuchFileVersionException
-
fetchByG_F_T_V_Last
public static DLFileVersion fetchByG_F_T_V_Last(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.- 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 static DLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws 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 = ?.- 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:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
removeByG_F_T_V
Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.- 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 = ?.- Parameters:
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the version- Returns:
- the number of matching document library file versions
-
cacheResult
Caches the document library file version in the entity cache if it is enabled.- Parameters:
dlFileVersion
- the document library file version
-
cacheResult
Caches the document library file versions in the entity cache if it is enabled.- Parameters:
dlFileVersions
- the document library file versions
-
create
Creates a new document library file version with the primary key. Does not add the document library file version to the database.- Parameters:
fileVersionId
- the primary key for the new document library file version- Returns:
- the new document library file version
-
remove
Removes the document library file version with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
fileVersionId
- the primary key of the document library file version- Returns:
- the document library file version that was removed
- Throws:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
updateImpl
-
findByPrimaryKey
Returns the document library file version with the primary key or throws aNoSuchFileVersionException
if it could not be found.- Parameters:
fileVersionId
- the primary key of the document library file version- Returns:
- the document library file version
- Throws:
NoSuchFileVersionException
- if a document library file version with the primary key could not be foundNoSuchFileVersionException
-
fetchByPrimaryKey
Returns the document library file version with the primary key or returnsnull
if it could not be found.- 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
-
findAll
Returns all the document library file versions.- 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
.- 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 static List<DLFileVersion> findAll(int start, int end, OrderByComparator<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
.- 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 static List<DLFileVersion> findAll(int start, int end, OrderByComparator<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
.- 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 static void removeAll()Removes all the document library file versions from the database. -
countAll
public static int countAll()Returns the number of document library file versions.- Returns:
- the number of document library file versions
-
getPersistence
-
setPersistence
-