@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(java.util.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,
java.lang.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,
java.lang.String title,
java.lang.String version)
Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
|
int |
countByMimeType(java.lang.String mimeType)
Returns the number of document library file versions where mimeType = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of document library file versions where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of document library file versions where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.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 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 orderByComparator)
Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.
|
DLFileVersion |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where companyId = ?.
|
DLFileVersion |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where companyId = ?.
|
DLFileVersion |
fetchByF_S_First(long fileEntryId,
int status,
OrderByComparator 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 orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.
|
DLFileVersion |
fetchByF_V(long fileEntryId,
java.lang.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,
java.lang.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 orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ?.
|
DLFileVersion |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator 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 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 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,
java.lang.String title,
java.lang.String version,
OrderByComparator 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,
java.lang.String title,
java.lang.String version,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
|
DLFileVersion |
fetchByMimeType_First(java.lang.String mimeType,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?.
|
DLFileVersion |
fetchByMimeType_Last(java.lang.String mimeType,
OrderByComparator 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. |
DLFileVersion |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.
|
DLFileVersion |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.
|
DLFileVersion |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where uuid = ?.
|
DLFileVersion |
fetchByUUID_G(java.lang.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(java.lang.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(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where uuid = ?.
|
java.util.List<DLFileVersion> |
findAll()
Returns all the document library file versions.
|
java.util.List<DLFileVersion> |
findAll(int start,
int end)
Returns a range of all the document library file versions.
|
java.util.List<DLFileVersion> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file versions.
|
DLFileVersion |
findByC_NotS_First(long companyId,
int status,
OrderByComparator 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 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 orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?.
|
java.util.List<DLFileVersion> |
findByC_NotS(long companyId,
int status)
Returns all the document library file versions where companyId = ? and status ≠ ?.
|
java.util.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 ≠ ?.
|
java.util.List<DLFileVersion> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.
|
DLFileVersion |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where companyId = ?.
|
DLFileVersion |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where companyId = ?.
|
DLFileVersion[] |
findByCompanyId_PrevAndNext(long fileVersionId,
long companyId,
OrderByComparator orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.
|
java.util.List<DLFileVersion> |
findByCompanyId(long companyId)
Returns all the document library file versions where companyId = ?.
|
java.util.List<DLFileVersion> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the document library file versions where companyId = ?.
|
java.util.List<DLFileVersion> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file versions where companyId = ?.
|
DLFileVersion |
findByF_S_First(long fileEntryId,
int status,
OrderByComparator 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 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 orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?.
|
java.util.List<DLFileVersion> |
findByF_S(long fileEntryId,
int status)
Returns all the document library file versions where fileEntryId = ? and status = ?.
|
java.util.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 = ?.
|
java.util.List<DLFileVersion> |
findByF_S(long fileEntryId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.
|
DLFileVersion |
findByF_V(long fileEntryId,
java.lang.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 orderByComparator)
Returns the first document library file version in the ordered set where fileEntryId = ?.
|
DLFileVersion |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where fileEntryId = ?.
|
DLFileVersion[] |
findByFileEntryId_PrevAndNext(long fileVersionId,
long fileEntryId,
OrderByComparator orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.
|
java.util.List<DLFileVersion> |
findByFileEntryId(long fileEntryId)
Returns all the document library file versions where fileEntryId = ?.
|
java.util.List<DLFileVersion> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file versions where fileEntryId = ?.
|
java.util.List<DLFileVersion> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator orderByComparator)
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 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 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 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 = ?.
|
java.util.List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status)
Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.
|
java.util.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 = ?.
|
java.util.List<DLFileVersion> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
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,
java.lang.String title,
java.lang.String version,
OrderByComparator 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,
java.lang.String title,
java.lang.String version,
OrderByComparator 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,
java.lang.String title,
java.lang.String version,
OrderByComparator 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 = ?.
|
java.util.List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
java.lang.String title,
java.lang.String version)
Returns all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
|
java.util.List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
java.lang.String title,
java.lang.String version,
int start,
int end)
Returns a range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
|
java.util.List<DLFileVersion> |
findByG_F_T_V(long groupId,
long folderId,
java.lang.String title,
java.lang.String version,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
|
DLFileVersion |
findByMimeType_First(java.lang.String mimeType,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?.
|
DLFileVersion |
findByMimeType_Last(java.lang.String mimeType,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where mimeType = ?.
|
DLFileVersion[] |
findByMimeType_PrevAndNext(long fileVersionId,
java.lang.String mimeType,
OrderByComparator orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.
|
java.util.List<DLFileVersion> |
findByMimeType(java.lang.String mimeType)
Returns all the document library file versions where mimeType = ?.
|
java.util.List<DLFileVersion> |
findByMimeType(java.lang.String mimeType,
int start,
int end)
Returns a range of all the document library file versions where mimeType = ?.
|
java.util.List<DLFileVersion> |
findByMimeType(java.lang.String mimeType,
int start,
int end,
OrderByComparator orderByComparator)
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(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.
|
DLFileVersion |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.
|
DLFileVersion[] |
findByUuid_C_PrevAndNext(long fileVersionId,
java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<DLFileVersion> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the document library file versions where uuid = ? and companyId = ?.
|
java.util.List<DLFileVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file versions where uuid = ? and companyId = ?.
|
java.util.List<DLFileVersion> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.
|
DLFileVersion |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where uuid = ?.
|
DLFileVersion |
findByUUID_G(java.lang.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(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where uuid = ?.
|
DLFileVersion[] |
findByUuid_PrevAndNext(long fileVersionId,
java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.
|
java.util.List<DLFileVersion> |
findByUuid(java.lang.String uuid)
Returns all the document library file versions where uuid = ?.
|
java.util.List<DLFileVersion> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the document library file versions where uuid = ?.
|
java.util.List<DLFileVersion> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file versions where uuid = ?.
|
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,
java.lang.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,
java.lang.String title,
java.lang.String version)
Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.
|
void |
removeByMimeType(java.lang.String mimeType)
Removes all the document library file versions where mimeType = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the document library file versions where uuid = ? and companyId = ? from the database.
|
DLFileVersion |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the document library file version where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.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, update, updatejava.util.List<DLFileVersion> findByUuid(java.lang.String uuid) throws SystemException
uuid - the uuidSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByUuid(java.lang.String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchFileVersionException - if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion fetchByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileVersionException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchFileVersionException - if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion fetchByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion[] findByUuid_PrevAndNext(long fileVersionId, java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredint countByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredDLFileVersion findByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchFileVersionException
NoSuchFileVersionException if it could not be found.uuid - the uuidgroupId - the group IDNoSuchFileVersionException - if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion fetchByUUID_G(java.lang.String uuid, long groupId) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.uuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cachenull if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion removeByUUID_G(java.lang.String uuid, long groupId) throws SystemException, NoSuchFileVersionException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredNoSuchFileVersionExceptionint countByUUID_G(java.lang.String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group IDSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByUuid_C(java.lang.String uuid, long companyId) throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByUuid_C(java.lang.String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion[] findByUuid_C_PrevAndNext(long fileVersionId, java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredint countByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByCompanyId(long companyId) throws SystemException
companyId - the company IDSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion[] findByCompanyId_PrevAndNext(long fileVersionId, long companyId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredint countByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByFileEntryId(long fileEntryId) throws SystemException
fileEntryId - the file entry IDSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByFileEntryId_First(long fileEntryId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByFileEntryId_First(long fileEntryId, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion findByFileEntryId_Last(long fileEntryId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByFileEntryId_Last(long fileEntryId, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion[] findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByFileEntryId(long fileEntryId)
throws SystemException
fileEntryId - the file entry IDSystemException - if a system exception occurredint countByFileEntryId(long fileEntryId)
throws SystemException
fileEntryId - the file entry IDSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByMimeType(java.lang.String mimeType) throws SystemException
mimeType - the mime typeSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByMimeType(java.lang.String mimeType, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByMimeType(java.lang.String mimeType, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByMimeType_First(java.lang.String mimeType, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByMimeType_First(java.lang.String mimeType, OrderByComparator orderByComparator) throws SystemException
mimeType - the mime typeorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion findByMimeType_Last(java.lang.String mimeType, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByMimeType_Last(java.lang.String mimeType, OrderByComparator orderByComparator) throws SystemException
mimeType - the mime typeorderByComparator - the comparator to order the set by (optionally null)null if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId, java.lang.String mimeType, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByMimeType(java.lang.String mimeType)
throws SystemException
mimeType - the mime typeSystemException - if a system exception occurredint countByMimeType(java.lang.String mimeType)
throws SystemException
mimeType - the mime typeSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByC_NotS(long companyId, int status) throws SystemException
companyId - the company IDstatus - the statusSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion findByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion[] findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByC_NotS(long companyId,
int status)
throws SystemException
companyId - the company IDstatus - the statusSystemException - if a system exception occurredint countByC_NotS(long companyId,
int status)
throws SystemException
companyId - the company IDstatus - the statusSystemException - if a system exception occurredDLFileVersion findByF_V(long fileEntryId, java.lang.String version) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByF_V(long fileEntryId, java.lang.String version) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion fetchByF_V(long fileEntryId, java.lang.String version, boolean retrieveFromCache) throws SystemException
null if it could not be found, optionally using the finder cache.fileEntryId - the file entry IDversion - the versionretrieveFromCache - whether to use the finder cachenull if a matching document library file version could not be foundSystemException - if a system exception occurredDLFileVersion removeByF_V(long fileEntryId, java.lang.String version) throws SystemException, NoSuchFileVersionException
fileEntryId - the file entry IDversion - the versionSystemException - if a system exception occurredNoSuchFileVersionExceptionint countByF_V(long fileEntryId,
java.lang.String version)
throws SystemException
fileEntryId - the file entry IDversion - the versionSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByF_S(long fileEntryId, int status) throws SystemException
fileEntryId - the file entry IDstatus - the statusSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByF_S_First(long fileEntryId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByF_S_First(long fileEntryId, int status, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion findByF_S_Last(long fileEntryId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByF_S_Last(long fileEntryId, int status, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion[] findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByF_S(long fileEntryId,
int status)
throws SystemException
fileEntryId - the file entry IDstatus - the statusSystemException - if a system exception occurredint countByF_S(long fileEntryId,
int status)
throws SystemException
fileEntryId - the file entry IDstatus - the statusSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId - the group IDfolderId - the folder IDstatus - the statusSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion findByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion[] findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByG_F_S(long groupId,
long folderId,
int status)
throws SystemException
groupId - the group IDfolderId - the folder IDstatus - the statusSystemException - if a system exception occurredint countByG_F_S(long groupId,
long folderId,
int status)
throws SystemException
groupId - the group IDfolderId - the folder IDstatus - the statusSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, java.lang.String title, java.lang.String version) throws SystemException
groupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionSystemException - if a system exception occurredjava.util.List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, java.lang.String title, java.lang.String version, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, java.lang.String title, java.lang.String version, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredDLFileVersion findByG_F_T_V_First(long groupId, long folderId, java.lang.String title, java.lang.String version, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, java.lang.String title, java.lang.String version, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion findByG_F_T_V_Last(long groupId, long folderId, java.lang.String title, java.lang.String version, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByG_F_T_V_Last(long groupId, long folderId, java.lang.String title, java.lang.String version, OrderByComparator orderByComparator) throws SystemException
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 foundSystemException - if a system exception occurredDLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, java.lang.String title, java.lang.String version, OrderByComparator orderByComparator) throws SystemException, 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 foundSystemException - if a system exception occurredvoid removeByG_F_T_V(long groupId,
long folderId,
java.lang.String title,
java.lang.String version)
throws SystemException
groupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionSystemException - if a system exception occurredint countByG_F_T_V(long groupId,
long folderId,
java.lang.String title,
java.lang.String version)
throws SystemException
groupId - the group IDfolderId - the folder IDtitle - the titleversion - the versionSystemException - if a system exception occurredvoid cacheResult(DLFileVersion dlFileVersion)
dlFileVersion - the document library file versionvoid cacheResult(java.util.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 SystemException, NoSuchFileVersionException
fileVersionId - the primary key of the document library file versionNoSuchFileVersionException - if a document library file version with the primary key could not be foundSystemException - if a system exception occurredDLFileVersion updateImpl(DLFileVersion dlFileVersion) throws SystemException
SystemExceptionDLFileVersion findByPrimaryKey(long fileVersionId) throws SystemException, 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 foundSystemException - if a system exception occurredDLFileVersion fetchByPrimaryKey(long fileVersionId) throws SystemException
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 foundSystemException - if a system exception occurredjava.util.List<DLFileVersion> findAll() throws SystemException
SystemException - if a system exception occurredjava.util.List<DLFileVersion> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredjava.util.List<DLFileVersion> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. 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)SystemException - if a system exception occurredvoid removeAll()
throws SystemException
SystemException - if a system exception occurredint countAll()
throws SystemException
SystemException - if a system exception occurred