|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DLFileEntryMetadataPersistence
The persistence interface for the document library file entry metadata service.
Caching information and settings can be found in portal.properties
DLFileEntryMetadataPersistenceImpl
,
DLFileEntryMetadataUtil
Method Summary | |
---|---|
void |
cacheResult(DLFileEntryMetadata dlFileEntryMetadata)
Caches the document library file entry metadata in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileEntryMetadata> dlFileEntryMetadatas)
Caches the document library file entry metadatas in the entity cache if it is enabled. |
int |
countAll()
Returns the number of document library file entry metadatas. |
int |
countByD_F(long DDMStructureId,
long fileVersionId)
Returns the number of document library file entry metadatas where DDMStructureId = ? and fileVersionId = ?. |
int |
countByF_V(long fileEntryId,
long fileVersionId)
Returns the number of document library file entry metadatas where fileEntryId = ? and fileVersionId = ?. |
int |
countByFileEntryId(long fileEntryId)
Returns the number of document library file entry metadatas where fileEntryId = ?. |
int |
countByFileEntryTypeId(long fileEntryTypeId)
Returns the number of document library file entry metadatas where fileEntryTypeId = ?. |
int |
countByFileVersionId(long fileVersionId)
Returns the number of document library file entry metadatas where fileVersionId = ?. |
int |
countByUuid(String uuid)
Returns the number of document library file entry metadatas where uuid = ?. |
DLFileEntryMetadata |
create(long fileEntryMetadataId)
Creates a new document library file entry metadata with the primary key. |
DLFileEntryMetadata |
fetchByD_F(long DDMStructureId,
long fileVersionId)
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returns null if it could not be found. |
DLFileEntryMetadata |
fetchByD_F(long DDMStructureId,
long fileVersionId,
boolean retrieveFromCache)
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntryMetadata |
fetchByF_V(long fileEntryId,
long fileVersionId)
Returns the document library file entry metadata where fileEntryId = ? and fileVersionId = ? or returns null if it could not be found. |
DLFileEntryMetadata |
fetchByF_V(long fileEntryId,
long fileVersionId,
boolean retrieveFromCache)
Returns the document library file entry metadata where fileEntryId = ? and fileVersionId = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntryMetadata |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
fetchByFileEntryTypeId_First(long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryTypeId = ?. |
DLFileEntryMetadata |
fetchByFileEntryTypeId_Last(long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryTypeId = ?. |
DLFileEntryMetadata |
fetchByFileVersionId_First(long fileVersionId,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
fetchByFileVersionId_Last(long fileVersionId,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
fetchByPrimaryKey(long fileEntryMetadataId)
Returns the document library file entry metadata with the primary key or returns null if it could not be found. |
DLFileEntryMetadata |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ?. |
List<DLFileEntryMetadata> |
findAll()
Returns all the document library file entry metadatas. |
List<DLFileEntryMetadata> |
findAll(int start,
int end)
Returns a range of all the document library file entry metadatas. |
List<DLFileEntryMetadata> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry metadatas. |
DLFileEntryMetadata |
findByD_F(long DDMStructureId,
long fileVersionId)
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or throws a NoSuchFileEntryMetadataException if it could not be found. |
DLFileEntryMetadata |
findByF_V(long fileEntryId,
long fileVersionId)
Returns the document library file entry metadata where fileEntryId = ? and fileVersionId = ? or throws a NoSuchFileEntryMetadataException if it could not be found. |
DLFileEntryMetadata |
findByFileEntryId_First(long fileEntryId,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata[] |
findByFileEntryId_PrevAndNext(long fileEntryMetadataId,
long fileEntryId,
OrderByComparator orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId)
Returns all the document library file entry metadatas where fileEntryId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end)
Returns a range of all the document library file entry metadatas where fileEntryId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?. |
DLFileEntryMetadata |
findByFileEntryTypeId_First(long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryTypeId = ?. |
DLFileEntryMetadata |
findByFileEntryTypeId_Last(long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryTypeId = ?. |
DLFileEntryMetadata[] |
findByFileEntryTypeId_PrevAndNext(long fileEntryMetadataId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryTypeId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryTypeId(long fileEntryTypeId)
Returns all the document library file entry metadatas where fileEntryTypeId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryTypeId(long fileEntryTypeId,
int start,
int end)
Returns a range of all the document library file entry metadatas where fileEntryTypeId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryTypeId(long fileEntryTypeId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry metadatas where fileEntryTypeId = ?. |
DLFileEntryMetadata |
findByFileVersionId_First(long fileVersionId,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
findByFileVersionId_Last(long fileVersionId,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata[] |
findByFileVersionId_PrevAndNext(long fileEntryMetadataId,
long fileVersionId,
OrderByComparator orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileVersionId = ?. |
List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId)
Returns all the document library file entry metadatas where fileVersionId = ?. |
List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end)
Returns a range of all the document library file entry metadatas where fileVersionId = ?. |
List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?. |
DLFileEntryMetadata |
findByPrimaryKey(long fileEntryMetadataId)
Returns the document library file entry metadata with the primary key or throws a NoSuchFileEntryMetadataException if it could not be found. |
DLFileEntryMetadata |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata[] |
findByUuid_PrevAndNext(long fileEntryMetadataId,
String uuid,
OrderByComparator orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ?. |
List<DLFileEntryMetadata> |
findByUuid(String uuid)
Returns all the document library file entry metadatas where uuid = ?. |
List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file entry metadatas where uuid = ?. |
List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entry metadatas where uuid = ?. |
DLFileEntryMetadata |
remove(long fileEntryMetadataId)
Removes the document library file entry metadata with the primary key from the database. |
void |
removeAll()
Removes all the document library file entry metadatas from the database. |
DLFileEntryMetadata |
removeByD_F(long DDMStructureId,
long fileVersionId)
Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database. |
DLFileEntryMetadata |
removeByF_V(long fileEntryId,
long fileVersionId)
Removes the document library file entry metadata where fileEntryId = ? and fileVersionId = ? from the database. |
void |
removeByFileEntryId(long fileEntryId)
Removes all the document library file entry metadatas where fileEntryId = ? from the database. |
void |
removeByFileEntryTypeId(long fileEntryTypeId)
Removes all the document library file entry metadatas where fileEntryTypeId = ? from the database. |
void |
removeByFileVersionId(long fileVersionId)
Removes all the document library file entry metadatas where fileVersionId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the document library file entry metadatas where uuid = ? from the database. |
DLFileEntryMetadata |
updateImpl(DLFileEntryMetadata dlFileEntryMetadata,
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(DLFileEntryMetadata dlFileEntryMetadata)
dlFileEntryMetadata
- the document library file entry metadatavoid cacheResult(List<DLFileEntryMetadata> dlFileEntryMetadatas)
dlFileEntryMetadatas
- the document library file entry metadatasDLFileEntryMetadata create(long fileEntryMetadataId)
fileEntryMetadataId
- the primary key for the new document library file entry metadata
DLFileEntryMetadata remove(long fileEntryMetadataId) throws SystemException, NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the document library file entry metadata
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata, boolean merge) throws SystemException
SystemException
DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId) throws SystemException, NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException
if it could not be found.
fileEntryMetadataId
- the primary key of the document library file entry metadata
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByPrimaryKey(long fileEntryMetadataId) throws SystemException
null
if it could not be found.
fileEntryMetadataId
- the primary key of the document library file entry metadata
null
if a document library file entry metadata with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<DLFileEntryMetadata> 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 entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryMetadata> 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 entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryMetadata findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata 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 entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata 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 entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatauuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByFileEntryTypeId(long fileEntryTypeId) throws SystemException
fileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByFileEntryTypeId(long fileEntryTypeId, 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.
fileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByFileEntryTypeId(long fileEntryTypeId, 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.
fileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryMetadata findByFileEntryTypeId_First(long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByFileEntryTypeId_First(long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata findByFileEntryTypeId_Last(long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByFileEntryTypeId_Last(long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata[] findByFileEntryTypeId_PrevAndNext(long fileEntryMetadataId, long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatafileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByFileEntryId(long fileEntryId) throws SystemException
fileEntryId
- the file entry ID
SystemException
- if a system exception occurredList<DLFileEntryMetadata> 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 entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryMetadata> 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 entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryMetadata findByFileEntryId_First(long fileEntryId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata 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 entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata findByFileEntryId_Last(long fileEntryId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata 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 entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId, long fileEntryId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatafileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByFileVersionId(long fileVersionId) throws SystemException
fileVersionId
- the file version ID
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByFileVersionId(long fileVersionId, 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.
fileVersionId
- the file version IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findByFileVersionId(long fileVersionId, 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.
fileVersionId
- the file version IDstart
- the lower bound of the range of document library file entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDLFileEntryMetadata findByFileVersionId_First(long fileVersionId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId, OrderByComparator orderByComparator) throws SystemException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata findByFileVersionId_Last(long fileVersionId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId, OrderByComparator orderByComparator) throws SystemException
fileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId, long fileVersionId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryMetadataException
fileEntryMetadataId
- the primary key of the current document library file entry metadatafileVersionId
- the file version IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryMetadataException
- if a document library file entry metadata with the primary key could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata findByD_F(long DDMStructureId, long fileVersionId) throws SystemException, NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException
if it could not be found.
DDMStructureId
- the d d m structure IDfileVersionId
- the file version ID
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId) throws SystemException
null
if it could not be found. Uses the finder cache.
DDMStructureId
- the d d m structure IDfileVersionId
- the file version ID
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
DDMStructureId
- the d d m structure IDfileVersionId
- the file version IDretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata findByF_V(long fileEntryId, long fileVersionId) throws SystemException, NoSuchFileEntryMetadataException
NoSuchFileEntryMetadataException
if it could not be found.
fileEntryId
- the file entry IDfileVersionId
- the file version ID
NoSuchFileEntryMetadataException
- if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByF_V(long fileEntryId, long fileVersionId) throws SystemException
null
if it could not be found. Uses the finder cache.
fileEntryId
- the file entry IDfileVersionId
- the file version ID
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredDLFileEntryMetadata fetchByF_V(long fileEntryId, long fileVersionId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fileEntryId
- the file entry IDfileVersionId
- the file version IDretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry metadata could not be found
SystemException
- if a system exception occurredList<DLFileEntryMetadata> findAll() throws SystemException
SystemException
- if a system exception occurredList<DLFileEntryMetadata> 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 entry metadatasend
- the upper bound of the range of document library file entry metadatas (not inclusive)
SystemException
- if a system exception occurredList<DLFileEntryMetadata> 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 entry metadatasend
- the upper bound of the range of document library file entry metadatas (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 occurredvoid removeByFileEntryTypeId(long fileEntryTypeId) throws SystemException
fileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredvoid removeByFileEntryId(long fileEntryId) throws SystemException
fileEntryId
- the file entry ID
SystemException
- if a system exception occurredvoid removeByFileVersionId(long fileVersionId) throws SystemException
fileVersionId
- the file version ID
SystemException
- if a system exception occurredDLFileEntryMetadata removeByD_F(long DDMStructureId, long fileVersionId) throws SystemException, NoSuchFileEntryMetadataException
DDMStructureId
- the d d m structure IDfileVersionId
- the file version ID
SystemException
- if a system exception occurred
NoSuchFileEntryMetadataException
DLFileEntryMetadata removeByF_V(long fileEntryId, long fileVersionId) throws SystemException, NoSuchFileEntryMetadataException
fileEntryId
- the file entry IDfileVersionId
- the file version ID
SystemException
- if a system exception occurred
NoSuchFileEntryMetadataException
void removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByFileEntryTypeId(long fileEntryTypeId) throws SystemException
fileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredint countByFileEntryId(long fileEntryId) throws SystemException
fileEntryId
- the file entry ID
SystemException
- if a system exception occurredint countByFileVersionId(long fileVersionId) throws SystemException
fileVersionId
- the file version ID
SystemException
- if a system exception occurredint countByD_F(long DDMStructureId, long fileVersionId) throws SystemException
DDMStructureId
- the d d m structure IDfileVersionId
- the file version ID
SystemException
- if a system exception occurredint countByF_V(long fileEntryId, long fileVersionId) throws SystemException
fileEntryId
- the file entry IDfileVersionId
- the file version ID
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 |