|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DLFileVersionPersistence
The persistence interface for the document library file version service.
Caching information and settings can be found in portal.properties
DLFileVersionPersistenceImpl
,
DLFileVersionUtil
Method Summary | |
---|---|
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 |
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_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 |
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,
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 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,
String title,
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,
String title,
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(String mimeType,
OrderByComparator orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?. |
DLFileVersion |
fetchByMimeType_Last(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_First(String uuid,
OrderByComparator 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 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 orderByComparator)
Returns an ordered range of all the document library file versions. |
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 = ?. |
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 orderByComparator)
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 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 = ?. |
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 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 = ?. |
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 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,
String title,
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,
String title,
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,
String title,
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 = ?. |
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 orderByComparator)
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 orderByComparator)
Returns the first document library file version in the ordered set where mimeType = ?. |
DLFileVersion |
findByMimeType_Last(String mimeType,
OrderByComparator orderByComparator)
Returns the last document library file version in the ordered set where mimeType = ?. |
DLFileVersion[] |
findByMimeType_PrevAndNext(long fileVersionId,
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 = ?. |
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 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_First(String uuid,
OrderByComparator 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 orderByComparator)
Returns the last document library file version in the ordered set where uuid = ?. |
DLFileVersion[] |
findByUuid_PrevAndNext(long fileVersionId,
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 = ?. |
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 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 |
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. |
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,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void 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 version
DLFileVersion remove(long fileVersionId) throws SystemException, NoSuchFileVersionException
fileVersionId
- the primary key of the document library file version
NoSuchFileVersionException
- if a document library file version with the primary key could not be found
SystemException
- if a system exception occurredDLFileVersion updateImpl(DLFileVersion dlFileVersion, boolean merge) throws SystemException
SystemException
DLFileVersion findByPrimaryKey(long fileVersionId) throws SystemException, NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.
fileVersionId
- the primary key of the document library file version
NoSuchFileVersionException
- if a document library file version with the primary key could not be found
SystemException
- 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 version
null
if a document library file version with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileVersion> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<DLFileVersion> findByUuid(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.
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 occurredList<DLFileVersion> findByUuid(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.
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(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 found
SystemException
- if a system exception occurredDLFileVersion fetchByUuid_First(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 found
SystemException
- if a system exception occurredDLFileVersion findByUuid_Last(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 found
SystemException
- if a system exception occurredDLFileVersion fetchByUuid_Last(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 found
SystemException
- if a system exception occurredDLFileVersion[] findByUuid_PrevAndNext(long fileVersionId, 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 found
SystemException
- if a system exception occurredDLFileVersion findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchFileVersionException
- if a matching document library file version could not be found
SystemException
- if a system exception occurredDLFileVersion fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching document library file version could not be found
SystemException
- if a system exception occurredDLFileVersion fetchByUUID_G(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 cache
null
if a matching document library file version could not be found
SystemException
- if a system exception occurredList<DLFileVersion> findByFileEntryId(long fileEntryId) throws SystemException
fileEntryId
- the file entry ID
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- if a system exception occurredList<DLFileVersion> findByMimeType(String mimeType) throws SystemException
mimeType
- the mime type
SystemException
- if a system exception occurredList<DLFileVersion> findByMimeType(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.
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 occurredList<DLFileVersion> findByMimeType(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.
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(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 found
SystemException
- if a system exception occurredDLFileVersion fetchByMimeType_First(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 found
SystemException
- if a system exception occurredDLFileVersion findByMimeType_Last(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 found
SystemException
- if a system exception occurredDLFileVersion fetchByMimeType_Last(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 found
SystemException
- if a system exception occurredDLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId, 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 found
SystemException
- if a system exception occurredDLFileVersion findByF_V(long fileEntryId, String version) throws SystemException, NoSuchFileVersionException
NoSuchFileVersionException
if it could not be found.
fileEntryId
- the file entry IDversion
- the version
NoSuchFileVersionException
- if a matching document library file version could not be found
SystemException
- if a system exception occurredDLFileVersion fetchByF_V(long fileEntryId, String version) throws SystemException
null
if it could not be found. Uses the finder cache.
fileEntryId
- the file entry IDversion
- the version
null
if a matching document library file version could not be found
SystemException
- if a system exception occurredDLFileVersion fetchByF_V(long fileEntryId, 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 cache
null
if a matching document library file version could not be found
SystemException
- if a system exception occurredList<DLFileVersion> findByF_S(long fileEntryId, int status) throws SystemException
fileEntryId
- the file entry IDstatus
- the status
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- 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 found
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version) throws SystemException
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the version
SystemException
- if a system exception occurredList<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, 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.
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 occurredList<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, 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.
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, String title, 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 found
SystemException
- if a system exception occurredDLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, String title, 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 found
SystemException
- if a system exception occurredDLFileVersion findByG_F_T_V_Last(long groupId, long folderId, String title, 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 found
SystemException
- if a system exception occurredDLFileVersion fetchByG_F_T_V_Last(long groupId, long folderId, String title, 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 found
SystemException
- if a system exception occurredDLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, 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 found
SystemException
- if a system exception occurredList<DLFileVersion> findAll() throws SystemException
SystemException
- if a system exception occurredList<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.
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 occurredList<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.
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 removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredDLFileVersion removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileVersionException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchFileVersionException
void removeByFileEntryId(long fileEntryId) throws SystemException
fileEntryId
- the file entry ID
SystemException
- if a system exception occurredvoid removeByMimeType(String mimeType) throws SystemException
mimeType
- the mime type
SystemException
- if a system exception occurredDLFileVersion removeByF_V(long fileEntryId, String version) throws SystemException, NoSuchFileVersionException
fileEntryId
- the file entry IDversion
- the version
SystemException
- if a system exception occurred
NoSuchFileVersionException
void removeByF_S(long fileEntryId, int status) throws SystemException
fileEntryId
- the file entry IDstatus
- the status
SystemException
- if a system exception occurredvoid removeByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
SystemException
- if a system exception occurredvoid removeByG_F_T_V(long groupId, long folderId, String title, String version) throws SystemException
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the version
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredint countByFileEntryId(long fileEntryId) throws SystemException
fileEntryId
- the file entry ID
SystemException
- if a system exception occurredint countByMimeType(String mimeType) throws SystemException
mimeType
- the mime type
SystemException
- if a system exception occurredint countByF_V(long fileEntryId, String version) throws SystemException
fileEntryId
- the file entry IDversion
- the version
SystemException
- if a system exception occurredint countByF_S(long fileEntryId, int status) throws SystemException
fileEntryId
- the file entry IDstatus
- the status
SystemException
- if a system exception occurredint countByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
SystemException
- if a system exception occurredint countByG_F_T_V(long groupId, long folderId, String title, String version) throws SystemException
groupId
- the group IDfolderId
- the folder IDtitle
- the titleversion
- the version
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |