@ProviderType public interface DLFileVersionPersistence extends BasePersistence<DLFileVersion>
Caching information and settings can be found in portal.properties
DLFileVersionPersistenceImpl
,
DLFileVersionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DLFileVersion dlFileVersion)
Caches the document library file version in the entity cache if it is enabled.
|
void |
cacheResult(List<DLFileVersion> dlFileVersions)
Caches the document library file versions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of document library file versions.
|
int |
countByC_NotS(long companyId,
int status)
Returns the number of document library file versions where companyId = ? and status ≠ ?.
|
int |
countByCompanyId(long companyId)
Returns the number of document library file versions where companyId = ?.
|
int |
countByF_S(long fileEntryId,
int status)
Returns the number of document library file versions where fileEntryId = ? and status = ?.
|
int |
countByF_V(long fileEntryId,
String version)
Returns the number of document library file versions where fileEntryId = ? and version = ?.
|
int |
countByFileEntryId(long fileEntryId)
Returns the number of document library file versions where fileEntryId = ?.
|
int |
countByG_F_S(long groupId,
long folderId,
int status)
Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.
|
int |
countByG_F_T_V(long groupId,
long folderId,
String title,
String version)
Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
|
int |
countByMimeType(String mimeType)
Returns the number of document library file versions where mimeType = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file versions where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file versions where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of document library file versions where uuid = ?.
|
DLFileVersion |
create(long fileVersionId)
Creates a new document library file version with the primary key.
|
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 ≠ ?.
|
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 ≠ ?.
|
DLFileVersion |
fetchByCompanyId_First(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where companyId = ?.
|
DLFileVersion |
fetchByCompanyId_Last(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where companyId = ?.
|
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 = ?.
|
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 = ?.
|
DLFileVersion |
fetchByF_V(long fileEntryId,
String version)
Returns the document library file version where fileEntryId = ? and version = ? or returns
null if it could not be found. |
DLFileVersion |
fetchByF_V(long fileEntryId,
String version,
boolean retrieveFromCache)
Returns the document library file version where fileEntryId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
DLFileVersion |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ?.
|
DLFileVersion |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
DLFileVersion |
fetchByMimeType_First(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?.
|
DLFileVersion |
fetchByMimeType_Last(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where mimeType = ?.
|
DLFileVersion |
fetchByPrimaryKey(long fileVersionId)
Returns the document library file version with the primary key or returns
null if it could not be found. |
Map<Serializable,DLFileVersion> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
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 = ?.
|
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 = ?.
|
DLFileVersion |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where uuid = ?.
|
DLFileVersion |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file version where uuid = ? and groupId = ? or returns
null if it could not be found. |
DLFileVersion |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file version where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
DLFileVersion |
fetchByUuid_Last(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where uuid = ?.
|
List<DLFileVersion> |
findAll()
Returns all the document library file versions.
|
List<DLFileVersion> |
findAll(int start,
int end)
Returns a range of all the document library file versions.
|
List<DLFileVersion> |
findAll(int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator)
Returns an ordered range of all the document library file versions.
|
List<DLFileVersion> |
findAll(int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions.
|
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 ≠ ?.
|
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 ≠ ?.
|
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 ≠ ?.
|
List<DLFileVersion> |
findByC_NotS(long companyId,
int status)
Returns all the document library file versions where companyId = ? and status ≠ ?.
|
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 ≠ ?.
|
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 ≠ ?.
|
List<DLFileVersion> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.
|
DLFileVersion |
findByCompanyId_First(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where companyId = ?.
|
DLFileVersion |
findByCompanyId_Last(long companyId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where companyId = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByCompanyId(long companyId)
Returns all the document library file versions where companyId = ?.
|
List<DLFileVersion> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the document library file versions where companyId = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByF_S(long fileEntryId,
int status)
Returns all the document library file versions where fileEntryId = ? and status = ?.
|
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 = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByF_S(long fileEntryId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.
|
DLFileVersion |
findByF_V(long fileEntryId,
String version)
Returns the document library file version where fileEntryId = ? and version = ? or throws a
NoSuchFileVersionException if it could not be found. |
DLFileVersion |
findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ?.
|
DLFileVersion |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByFileEntryId(long fileEntryId)
Returns all the document library file versions where fileEntryId = ?.
|
List<DLFileVersion> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file versions where fileEntryId = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where fileEntryId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status)
Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.
|
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 = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
String title,
String version,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
|
DLFileVersion |
findByMimeType_First(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?.
|
DLFileVersion |
findByMimeType_Last(String mimeType,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where mimeType = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByMimeType(String mimeType)
Returns all the document library file versions where mimeType = ?.
|
List<DLFileVersion> |
findByMimeType(String mimeType,
int start,
int end)
Returns a range of all the document library file versions where mimeType = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByMimeType(String mimeType,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where mimeType = ?.
|
DLFileVersion |
findByPrimaryKey(long fileVersionId)
Returns the document library file version with the primary key or throws a
NoSuchFileVersionException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file versions where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.
|
DLFileVersion |
findByUuid_First(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the first document library file version in the ordered set where uuid = ?.
|
DLFileVersion |
findByUUID_G(String uuid,
long groupId)
Returns the document library file version where uuid = ? and groupId = ? or throws a
NoSuchFileVersionException if it could not be found. |
DLFileVersion |
findByUuid_Last(String uuid,
OrderByComparator<DLFileVersion> orderByComparator)
Returns the last document library file version in the ordered set where uuid = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByUuid(String uuid)
Returns all the document library file versions where uuid = ?.
|
List<DLFileVersion> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file versions where uuid = ?.
|
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 = ?.
|
List<DLFileVersion> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file versions where uuid = ?.
|
Set<String> |
getBadColumnNames() |
DLFileVersion |
remove(long fileVersionId)
Removes the document library file version with the primary key from the database.
|
void |
removeAll()
Removes all the document library file versions from the database.
|
void |
removeByC_NotS(long companyId,
int status)
Removes all the document library file versions where companyId = ? and status ≠ ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the document library file versions where companyId = ? from the database.
|
void |
removeByF_S(long fileEntryId,
int status)
Removes all the document library file versions where fileEntryId = ? and status = ? from the database.
|
DLFileVersion |
removeByF_V(long fileEntryId,
String version)
Removes the document library file version where fileEntryId = ? and version = ? from the database.
|
void |
removeByFileEntryId(long fileEntryId)
Removes all the document library file versions where fileEntryId = ? from the database.
|
void |
removeByG_F_S(long groupId,
long folderId,
int status)
Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database.
|
void |
removeByG_F_T_V(long groupId,
long folderId,
String title,
String version)
Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.
|
void |
removeByMimeType(String mimeType)
Removes all the document library file versions where mimeType = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file versions where uuid = ? and companyId = ? from the database.
|
DLFileVersion |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file version where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the document library file versions where uuid = ? from the database.
|
DLFileVersion |
updateImpl(DLFileVersion dlFileVersion) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
List<DLFileVersion> findByUuid(String uuid)
uuid
- the uuidList<DLFileVersion> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByUuid_First(String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByUuid_First(String uuid, OrderByComparator<DLFileVersion> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByUuid_Last(String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByUuid_Last(String uuid, OrderByComparator<DLFileVersion> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByUuid_PrevAndNext(long fileVersionId, String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileVersionId
- the primary key of the current document library file versionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByUuid(String uuid)
uuid
- the uuidint countByUuid(String uuid)
uuid
- the uuidDLFileVersion findByUUID_G(String uuid, long groupId) throws NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching document library file version could not be foundDLFileVersion fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file version could not be foundDLFileVersion removeByUUID_G(String uuid, long groupId) throws NoSuchFileVersionException
uuid
- the uuidgroupId
- the group IDNoSuchFileVersionException
int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDList<DLFileVersion> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByUuid_C_PrevAndNext(long fileVersionId, String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileVersionId
- the primary key of the current document library file versionuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDList<DLFileVersion> findByCompanyId(long companyId)
companyId
- the company IDList<DLFileVersion> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByCompanyId_First(long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByCompanyId_First(long companyId, OrderByComparator<DLFileVersion> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByCompanyId_Last(long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileVersion> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByCompanyId_PrevAndNext(long fileVersionId, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileVersionId
- the primary key of the current document library file versioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDList<DLFileVersion> findByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDList<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator)
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator)
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileVersionId
- the primary key of the current document library file versionfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDint countByFileEntryId(long fileEntryId)
fileEntryId
- the file entry IDList<DLFileVersion> findByMimeType(String mimeType)
mimeType
- the mime typeList<DLFileVersion> findByMimeType(String mimeType, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByMimeType(String mimeType, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByMimeType(String mimeType, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByMimeType_First(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByMimeType_First(String mimeType, OrderByComparator<DLFileVersion> orderByComparator)
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByMimeType_Last(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByMimeType_Last(String mimeType, OrderByComparator<DLFileVersion> orderByComparator)
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId, String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileVersionId
- the primary key of the current document library file versionmimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByMimeType(String mimeType)
mimeType
- the mime typeint countByMimeType(String mimeType)
mimeType
- the mime typeList<DLFileVersion> findByC_NotS(long companyId, int status)
companyId
- the company IDstatus
- the statusList<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByC_NotS_First(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByC_NotS_First(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileVersionId
- the primary key of the current document library file versioncompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByC_NotS(long companyId, int status)
companyId
- the company IDstatus
- the statusint countByC_NotS(long companyId, int status)
companyId
- the company IDstatus
- the statusDLFileVersion findByF_V(long fileEntryId, String version) throws NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.fileEntryId
- the file entry IDversion
- the versionNoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByF_V(long fileEntryId, String version)
null
if it could not be found. Uses the finder cache.fileEntryId
- the file entry IDversion
- the versionnull
if a matching document library file version could not be foundDLFileVersion fetchByF_V(long fileEntryId, String version, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fileEntryId
- the file entry IDversion
- the versionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file version could not be foundDLFileVersion removeByF_V(long fileEntryId, String version) throws NoSuchFileVersionException
fileEntryId
- the file entry IDversion
- the versionNoSuchFileVersionException
int countByF_V(long fileEntryId, String version)
fileEntryId
- the file entry IDversion
- the versionList<DLFileVersion> findByF_S(long fileEntryId, int status)
fileEntryId
- the file entry IDstatus
- the statusList<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByF_S_First(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileEntryId
- the file entry IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByF_S_First(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator)
fileEntryId
- the file entry IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByF_S_Last(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileEntryId
- the file entry IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByF_S_Last(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator)
fileEntryId
- the file entry IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
fileVersionId
- the primary key of the current document library file versionfileEntryId
- the file entry IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByF_S(long fileEntryId, int status)
fileEntryId
- the file entry IDstatus
- the statusint countByF_S(long fileEntryId, int status)
fileEntryId
- the file entry IDstatus
- the statusList<DLFileVersion> findByG_F_S(long groupId, long folderId, int status)
groupId
- the group IDfolderId
- the folder IDstatus
- the statusList<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
groupId
- the group IDfolderId
- the folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByG_F_S_First(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator)
groupId
- the group IDfolderId
- the folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
groupId
- the group IDfolderId
- the folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator)
groupId
- the group IDfolderId
- the folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
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 (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByG_F_S(long groupId, long folderId, int status)
groupId
- the group IDfolderId
- the folder IDstatus
- the statusint countByG_F_S(long groupId, long folderId, int status)
groupId
- the group IDfolderId
- the folder IDstatus
- the statusList<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version)
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the versionList<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheDLFileVersion findByG_F_T_V_First(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator)
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion findByG_F_T_V_Last(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileVersionException
- if a matching document library file version could not be foundDLFileVersion fetchByG_F_T_V_Last(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator)
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file version could not be foundDLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
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 (optionally null
)NoSuchFileVersionException
- if a document library file version with the primary key could not be foundvoid removeByG_F_T_V(long groupId, long folderId, String title, String version)
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the versionint countByG_F_T_V(long groupId, long folderId, String title, String version)
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the versionvoid cacheResult(DLFileVersion dlFileVersion)
dlFileVersion
- the document library file versionvoid cacheResult(List<DLFileVersion> dlFileVersions)
dlFileVersions
- the document library file versionsDLFileVersion create(long fileVersionId)
fileVersionId
- the primary key for the new document library file versionDLFileVersion remove(long fileVersionId) throws NoSuchFileVersionException
fileVersionId
- the primary key of the document library file versionNoSuchFileVersionException
- if a document library file version with the primary key could not be foundDLFileVersion updateImpl(DLFileVersion dlFileVersion)
DLFileVersion findByPrimaryKey(long fileVersionId) throws NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.fileVersionId
- the primary key of the document library file versionNoSuchFileVersionException
- if a document library file version with the primary key could not be foundDLFileVersion fetchByPrimaryKey(long fileVersionId)
null
if it could not be found.fileVersionId
- the primary key of the document library file versionnull
if a document library file version with the primary key could not be foundMap<Serializable,DLFileVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface BasePersistence<DLFileVersion>
List<DLFileVersion> findAll()
List<DLFileVersion> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)List<DLFileVersion> findAll(int start, int end, OrderByComparator<DLFileVersion> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)List<DLFileVersion> findAll(int start, int end, OrderByComparator<DLFileVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
Set<String> getBadColumnNames()
getBadColumnNames
in interface BasePersistence<DLFileVersion>