Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service.persistence
Interface DLFileEntryMetadataPersistence

All Superinterfaces:
BasePersistence<DLFileEntryMetadata>

public interface DLFileEntryMetadataPersistence
extends BasePersistence<DLFileEntryMetadata>

The persistence interface for the document library file entry metadata service.

Caching information and settings can be found in portal.properties

See Also:
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

cacheResult

void cacheResult(DLFileEntryMetadata dlFileEntryMetadata)
Caches the document library file entry metadata in the entity cache if it is enabled.

Parameters:
dlFileEntryMetadata - the document library file entry metadata

cacheResult

void cacheResult(List<DLFileEntryMetadata> dlFileEntryMetadatas)
Caches the document library file entry metadatas in the entity cache if it is enabled.

Parameters:
dlFileEntryMetadatas - the document library file entry metadatas

create

DLFileEntryMetadata create(long fileEntryMetadataId)
Creates a new document library file entry metadata with the primary key. Does not add the document library file entry metadata to the database.

Parameters:
fileEntryMetadataId - the primary key for the new document library file entry metadata
Returns:
the new document library file entry metadata

remove

DLFileEntryMetadata remove(long fileEntryMetadataId)
                           throws SystemException,
                                  NoSuchFileEntryMetadataException
Removes the document library file entry metadata with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
fileEntryMetadataId - the primary key of the document library file entry metadata
Returns:
the document library file entry metadata that was removed
Throws:
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

DLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata,
                               boolean merge)
                               throws SystemException
Throws:
SystemException

findByPrimaryKey

DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId)
                                     throws SystemException,
                                            NoSuchFileEntryMetadataException
Returns the document library file entry metadata with the primary key or throws a NoSuchFileEntryMetadataException if it could not be found.

Parameters:
fileEntryMetadataId - the primary key of the document library file entry metadata
Returns:
the document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

DLFileEntryMetadata fetchByPrimaryKey(long fileEntryMetadataId)
                                      throws SystemException
Returns the document library file entry metadata with the primary key or returns null if it could not be found.

Parameters:
fileEntryMetadataId - the primary key of the document library file entry metadata
Returns:
the document library file entry metadata, or null if a document library file entry metadata with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileEntryMetadata> findByUuid(String uuid)
                                     throws SystemException
Returns all the document library file entry metadatas where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileEntryMetadata> findByUuid(String uuid,
                                     int start,
                                     int end)
                                     throws SystemException
Returns a range of all the document library file entry metadatas where uuid = ?.

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.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
Returns:
the range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByUuid

List<DLFileEntryMetadata> findByUuid(String uuid,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Returns an ordered range of all the document library file entry metadatas where uuid = ?.

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.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByUuid_First

DLFileEntryMetadata findByUuid_First(String uuid,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchFileEntryMetadataException
Returns the first document library file entry metadata in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByUuid_First

DLFileEntryMetadata fetchByUuid_First(String uuid,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Returns the first document library file entry metadata in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

DLFileEntryMetadata findByUuid_Last(String uuid,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchFileEntryMetadataException
Returns the last document library file entry metadata in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

DLFileEntryMetadata fetchByUuid_Last(String uuid,
                                     OrderByComparator orderByComparator)
                                     throws SystemException
Returns the last document library file entry metadata in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId,
                                             String uuid,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchFileEntryMetadataException
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where uuid = ?.

Parameters:
fileEntryMetadataId - the primary key of the current document library file entry metadata
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
SystemException - if a system exception occurred

findByFileEntryTypeId

List<DLFileEntryMetadata> findByFileEntryTypeId(long fileEntryTypeId)
                                                throws SystemException
Returns all the document library file entry metadatas where fileEntryTypeId = ?.

Parameters:
fileEntryTypeId - the file entry type ID
Returns:
the matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileEntryTypeId

List<DLFileEntryMetadata> findByFileEntryTypeId(long fileEntryTypeId,
                                                int start,
                                                int end)
                                                throws SystemException
Returns a range of all the document library file entry metadatas where fileEntryTypeId = ?.

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.

Parameters:
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
Returns:
the range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileEntryTypeId

List<DLFileEntryMetadata> findByFileEntryTypeId(long fileEntryTypeId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                                throws SystemException
Returns an ordered range of all the document library file entry metadatas where fileEntryTypeId = ?.

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.

Parameters:
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileEntryTypeId_First

DLFileEntryMetadata findByFileEntryTypeId_First(long fileEntryTypeId,
                                                OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchFileEntryMetadataException
Returns the first document library file entry metadata in the ordered set where fileEntryTypeId = ?.

Parameters:
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByFileEntryTypeId_First

DLFileEntryMetadata fetchByFileEntryTypeId_First(long fileEntryTypeId,
                                                 OrderByComparator orderByComparator)
                                                 throws SystemException
Returns the first document library file entry metadata in the ordered set where fileEntryTypeId = ?.

Parameters:
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByFileEntryTypeId_Last

DLFileEntryMetadata findByFileEntryTypeId_Last(long fileEntryTypeId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchFileEntryMetadataException
Returns the last document library file entry metadata in the ordered set where fileEntryTypeId = ?.

Parameters:
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByFileEntryTypeId_Last

DLFileEntryMetadata fetchByFileEntryTypeId_Last(long fileEntryTypeId,
                                                OrderByComparator orderByComparator)
                                                throws SystemException
Returns the last document library file entry metadata in the ordered set where fileEntryTypeId = ?.

Parameters:
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByFileEntryTypeId_PrevAndNext

DLFileEntryMetadata[] findByFileEntryTypeId_PrevAndNext(long fileEntryMetadataId,
                                                        long fileEntryTypeId,
                                                        OrderByComparator orderByComparator)
                                                        throws SystemException,
                                                               NoSuchFileEntryMetadataException
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryTypeId = ?.

Parameters:
fileEntryMetadataId - the primary key of the current document library file entry metadata
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
SystemException - if a system exception occurred

findByFileEntryId

List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId)
                                            throws SystemException
Returns all the document library file entry metadatas where fileEntryId = ?.

Parameters:
fileEntryId - the file entry ID
Returns:
the matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileEntryId

List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
                                            int start,
                                            int end)
                                            throws SystemException
Returns a range of all the document library file entry metadatas where fileEntryId = ?.

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.

Parameters:
fileEntryId - the file entry ID
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
Returns:
the range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileEntryId

List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.

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.

Parameters:
fileEntryId - the file entry ID
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileEntryId_First

DLFileEntryMetadata findByFileEntryId_First(long fileEntryId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchFileEntryMetadataException
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.

Parameters:
fileEntryId - the file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByFileEntryId_First

DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.

Parameters:
fileEntryId - the file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByFileEntryId_Last

DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchFileEntryMetadataException
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.

Parameters:
fileEntryId - the file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByFileEntryId_Last

DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException
Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.

Parameters:
fileEntryId - the file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByFileEntryId_PrevAndNext

DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId,
                                                    long fileEntryId,
                                                    OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchFileEntryMetadataException
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileEntryId = ?.

Parameters:
fileEntryMetadataId - the primary key of the current document library file entry metadata
fileEntryId - the file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
SystemException - if a system exception occurred

findByFileVersionId

List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId)
                                              throws SystemException
Returns all the document library file entry metadatas where fileVersionId = ?.

Parameters:
fileVersionId - the file version ID
Returns:
the matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileVersionId

List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
                                              int start,
                                              int end)
                                              throws SystemException
Returns a range of all the document library file entry metadatas where fileVersionId = ?.

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.

Parameters:
fileVersionId - the file version ID
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
Returns:
the range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileVersionId

List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.

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.

Parameters:
fileVersionId - the file version ID
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileVersionId_First

DLFileEntryMetadata findByFileVersionId_First(long fileVersionId,
                                              OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchFileEntryMetadataException
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.

Parameters:
fileVersionId - the file version ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByFileVersionId_First

DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId,
                                               OrderByComparator orderByComparator)
                                               throws SystemException
Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.

Parameters:
fileVersionId - the file version ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByFileVersionId_Last

DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId,
                                             OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchFileEntryMetadataException
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.

Parameters:
fileVersionId - the file version ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByFileVersionId_Last

DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId,
                                              OrderByComparator orderByComparator)
                                              throws SystemException
Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.

Parameters:
fileVersionId - the file version ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByFileVersionId_PrevAndNext

DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId,
                                                      long fileVersionId,
                                                      OrderByComparator orderByComparator)
                                                      throws SystemException,
                                                             NoSuchFileEntryMetadataException
Returns the document library file entry metadatas before and after the current document library file entry metadata in the ordered set where fileVersionId = ?.

Parameters:
fileEntryMetadataId - the primary key of the current document library file entry metadata
fileVersionId - the file version ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
SystemException - if a system exception occurred

findByD_F

DLFileEntryMetadata findByD_F(long DDMStructureId,
                              long fileVersionId)
                              throws SystemException,
                                     NoSuchFileEntryMetadataException
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or throws a NoSuchFileEntryMetadataException if it could not be found.

Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
Returns:
the matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByD_F

DLFileEntryMetadata fetchByD_F(long DDMStructureId,
                               long fileVersionId)
                               throws SystemException
Returns the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
Returns:
the matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

fetchByD_F

DLFileEntryMetadata fetchByD_F(long DDMStructureId,
                               long fileVersionId,
                               boolean retrieveFromCache)
                               throws SystemException
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.

Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findByF_V

DLFileEntryMetadata findByF_V(long fileEntryId,
                              long fileVersionId)
                              throws SystemException,
                                     NoSuchFileEntryMetadataException
Returns the document library file entry metadata where fileEntryId = ? and fileVersionId = ? or throws a NoSuchFileEntryMetadataException if it could not be found.

Parameters:
fileEntryId - the file entry ID
fileVersionId - the file version ID
Returns:
the matching document library file entry metadata
Throws:
NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
SystemException - if a system exception occurred

fetchByF_V

DLFileEntryMetadata fetchByF_V(long fileEntryId,
                               long fileVersionId)
                               throws SystemException
Returns the document library file entry metadata where fileEntryId = ? and fileVersionId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
fileEntryId - the file entry ID
fileVersionId - the file version ID
Returns:
the matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

fetchByF_V

DLFileEntryMetadata fetchByF_V(long fileEntryId,
                               long fileVersionId,
                               boolean retrieveFromCache)
                               throws SystemException
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.

Parameters:
fileEntryId - the file entry ID
fileVersionId - the file version ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileEntryMetadata> findAll()
                                  throws SystemException
Returns all the document library file entry metadatas.

Returns:
the document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileEntryMetadata> findAll(int start,
                                  int end)
                                  throws SystemException
Returns a range of all the document library file entry metadatas.

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.

Parameters:
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
Returns:
the range of document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findAll

List<DLFileEntryMetadata> findAll(int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the document library file entry metadatas.

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.

Parameters:
start - the lower bound of the range of document library file entry metadatas
end - the upper bound of the range of document library file entry metadatas (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of document library file entry metadatas
Throws:
SystemException - if a system exception occurred

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Removes all the document library file entry metadatas where uuid = ? from the database.

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

removeByFileEntryTypeId

void removeByFileEntryTypeId(long fileEntryTypeId)
                             throws SystemException
Removes all the document library file entry metadatas where fileEntryTypeId = ? from the database.

Parameters:
fileEntryTypeId - the file entry type ID
Throws:
SystemException - if a system exception occurred

removeByFileEntryId

void removeByFileEntryId(long fileEntryId)
                         throws SystemException
Removes all the document library file entry metadatas where fileEntryId = ? from the database.

Parameters:
fileEntryId - the file entry ID
Throws:
SystemException - if a system exception occurred

removeByFileVersionId

void removeByFileVersionId(long fileVersionId)
                           throws SystemException
Removes all the document library file entry metadatas where fileVersionId = ? from the database.

Parameters:
fileVersionId - the file version ID
Throws:
SystemException - if a system exception occurred

removeByD_F

DLFileEntryMetadata removeByD_F(long DDMStructureId,
                                long fileVersionId)
                                throws SystemException,
                                       NoSuchFileEntryMetadataException
Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.

Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
Returns:
the document library file entry metadata that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryMetadataException

removeByF_V

DLFileEntryMetadata removeByF_V(long fileEntryId,
                                long fileVersionId)
                                throws SystemException,
                                       NoSuchFileEntryMetadataException
Removes the document library file entry metadata where fileEntryId = ? and fileVersionId = ? from the database.

Parameters:
fileEntryId - the file entry ID
fileVersionId - the file version ID
Returns:
the document library file entry metadata that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryMetadataException

removeAll

void removeAll()
               throws SystemException
Removes all the document library file entry metadatas from the database.

Throws:
SystemException - if a system exception occurred

countByUuid

int countByUuid(String uuid)
                throws SystemException
Returns the number of document library file entry metadatas where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

countByFileEntryTypeId

int countByFileEntryTypeId(long fileEntryTypeId)
                           throws SystemException
Returns the number of document library file entry metadatas where fileEntryTypeId = ?.

Parameters:
fileEntryTypeId - the file entry type ID
Returns:
the number of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

countByFileEntryId

int countByFileEntryId(long fileEntryId)
                       throws SystemException
Returns the number of document library file entry metadatas where fileEntryId = ?.

Parameters:
fileEntryId - the file entry ID
Returns:
the number of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

countByFileVersionId

int countByFileVersionId(long fileVersionId)
                         throws SystemException
Returns the number of document library file entry metadatas where fileVersionId = ?.

Parameters:
fileVersionId - the file version ID
Returns:
the number of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

countByD_F

int countByD_F(long DDMStructureId,
               long fileVersionId)
               throws SystemException
Returns the number of document library file entry metadatas where DDMStructureId = ? and fileVersionId = ?.

Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
Returns:
the number of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

countByF_V

int countByF_V(long fileEntryId,
               long fileVersionId)
               throws SystemException
Returns the number of document library file entry metadatas where fileEntryId = ? and fileVersionId = ?.

Parameters:
fileEntryId - the file entry ID
fileVersionId - the file version ID
Returns:
the number of matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

countAll

int countAll()
             throws SystemException
Returns the number of document library file entry metadatas.

Returns:
the number of document library file entry metadatas
Throws:
SystemException - if a system exception occurred

Liferay 6.1.2-ce-ga3