|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType 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 |
countByFileEntryId(long fileEntryId)
Returns the number of document library file entry metadatas where fileEntryId = ?. |
int |
countByFileVersionId(long fileVersionId)
Returns the number of document library file entry metadatas where fileVersionId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file entry metadatas where uuid = ? and companyId = ?. |
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 |
fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
fetchByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
fetchByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> 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. |
Map<Serializable,DLFileEntryMetadata> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
DLFileEntryMetadata |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryMetadata |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryMetadata |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata |
fetchByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> 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<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas. |
List<DLFileEntryMetadata> |
findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
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 |
findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata |
findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?. |
DLFileEntryMetadata[] |
findByFileEntryId_PrevAndNext(long fileEntryMetadataId,
long fileEntryId,
OrderByComparator<DLFileEntryMetadata> 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<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?. |
List<DLFileEntryMetadata> |
findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?. |
DLFileEntryMetadata |
findByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata |
findByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?. |
DLFileEntryMetadata[] |
findByFileVersionId_PrevAndNext(long fileEntryMetadataId,
long fileVersionId,
OrderByComparator<DLFileEntryMetadata> 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<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?. |
List<DLFileEntryMetadata> |
findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
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_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryMetadata |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?. |
DLFileEntryMetadata[] |
findByUuid_C_PrevAndNext(long fileEntryMetadataId,
String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ? and companyId = ?. |
List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file entry metadatas where uuid = ? and companyId = ?. |
List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file entry metadatas where uuid = ? and companyId = ?. |
List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?. |
List<DLFileEntryMetadata> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?. |
DLFileEntryMetadata |
findByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the first document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata |
findByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Returns the last document library file entry metadata in the ordered set where uuid = ?. |
DLFileEntryMetadata[] |
findByUuid_PrevAndNext(long fileEntryMetadataId,
String uuid,
OrderByComparator<DLFileEntryMetadata> 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<DLFileEntryMetadata> orderByComparator)
Returns an ordered range of all the document library file entry metadatas where uuid = ?. |
List<DLFileEntryMetadata> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file entry metadatas where uuid = ?. |
Set<String> |
getBadColumnNames()
|
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. |
void |
removeByFileEntryId(long fileEntryId)
Removes all the document library file entry metadatas where fileEntryId = ? from the database. |
void |
removeByFileVersionId(long fileVersionId)
Removes all the document library file entry metadatas where fileVersionId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file entry metadatas where uuid = ? and companyId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the document library file entry metadatas where uuid = ? from the database. |
DLFileEntryMetadata |
updateImpl(DLFileEntryMetadata dlFileEntryMetadata)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
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, update |
| Method Detail |
|---|
List<DLFileEntryMetadata> findByUuid(String uuid)
uuid - the uuid
List<DLFileEntryMetadata> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 entry metadatasend - the upper bound of the range of document library file entry metadatas (not inclusive)
List<DLFileEntryMetadata> findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)
List<DLFileEntryMetadata> findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)retrieveFromCache - whether to retrieve from the finder cache
DLFileEntryMetadata findByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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
DLFileEntryMetadata fetchByUuid_First(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
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
DLFileEntryMetadata findByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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
DLFileEntryMetadata fetchByUuid_Last(String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
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
DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId,
String uuid,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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 foundvoid removeByUuid(String uuid)
uuid - the uuidint countByUuid(String uuid)
uuid - the uuid
List<DLFileEntryMetadata> findByUuid_C(String uuid,
long companyId)
uuid - the uuidcompanyId - the company ID
List<DLFileEntryMetadata> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 entry metadatasend - the upper bound of the range of document library file entry metadatas (not inclusive)
List<DLFileEntryMetadata> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)
List<DLFileEntryMetadata> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)retrieveFromCache - whether to retrieve from the finder cache
DLFileEntryMetadata findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
DLFileEntryMetadata fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry metadata could not be found
DLFileEntryMetadata findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
DLFileEntryMetadata fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file entry metadata could not be found
DLFileEntryMetadata[] findByUuid_C_PrevAndNext(long fileEntryMetadataId,
String uuid,
long companyId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws NoSuchFileEntryMetadataException
fileEntryMetadataId - the primary key of the current document library file entry metadatauuid - the uuidcompanyId - the company 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
void removeByUuid_C(String uuid,
long companyId)
uuid - the uuidcompanyId - the company ID
int countByUuid_C(String uuid,
long companyId)
uuid - the uuidcompanyId - the company ID
List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId)
fileEntryId - the file entry ID
List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 entry metadatasend - the upper bound of the range of document library file entry metadatas (not inclusive)
List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)
List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)retrieveFromCache - whether to retrieve from the finder cache
DLFileEntryMetadata findByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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
DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
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
DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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
DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
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
DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId,
long fileEntryId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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 foundvoid removeByFileEntryId(long fileEntryId)
fileEntryId - the file entry IDint countByFileEntryId(long fileEntryId)
fileEntryId - the file entry ID
List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId)
fileVersionId - the file version ID
List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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.
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)
List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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.
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)
List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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.
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)retrieveFromCache - whether to retrieve from the finder cache
DLFileEntryMetadata findByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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
DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
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
DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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
DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
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
DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId,
long fileVersionId,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
throws 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 foundvoid removeByFileVersionId(long fileVersionId)
fileVersionId - the file version IDint countByFileVersionId(long fileVersionId)
fileVersionId - the file version ID
DLFileEntryMetadata findByD_F(long DDMStructureId,
long fileVersionId)
throws 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
DLFileEntryMetadata fetchByD_F(long DDMStructureId,
long fileVersionId)
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
DLFileEntryMetadata fetchByD_F(long DDMStructureId,
long fileVersionId,
boolean retrieveFromCache)
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 retrieve from the finder cache
null if a matching document library file entry metadata could not be found
DLFileEntryMetadata removeByD_F(long DDMStructureId,
long fileVersionId)
throws NoSuchFileEntryMetadataException
DDMStructureId - the d d m structure IDfileVersionId - the file version ID
NoSuchFileEntryMetadataException
int countByD_F(long DDMStructureId,
long fileVersionId)
DDMStructureId - the d d m structure IDfileVersionId - the file version ID
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 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 foundDLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata)
DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId)
throws 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 foundDLFileEntryMetadata fetchByPrimaryKey(long fileEntryMetadataId)
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 foundMap<Serializable,DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<DLFileEntryMetadata>List<DLFileEntryMetadata> findAll()
List<DLFileEntryMetadata> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 entry metadatasend - the upper bound of the range of document library file entry metadatas (not inclusive)
List<DLFileEntryMetadata> findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)
List<DLFileEntryMetadata> findAll(int start,
int end,
OrderByComparator<DLFileEntryMetadata> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl. 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 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)retrieveFromCache - whether to retrieve from the finder cache
void removeAll()
int countAll()
Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<DLFileEntryMetadata>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||