Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service.persistence.impl
Class DLFileEntryMetadataPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileEntryMetadata>
      extended by com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryMetadataPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<DLFileEntryMetadata>, DLFileEntryMetadataPersistence

@ProviderType
public class DLFileEntryMetadataPersistenceImpl
extends BasePersistenceImpl<DLFileEntryMetadata>
implements DLFileEntryMetadataPersistence

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

Caching information and settings can be found in portal.properties

See Also:
DLFileEntryMetadataPersistence, DLFileEntryMetadataUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  CompanyProvider companyProvider
           
protected  EntityCache entityCache
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_D_F
           
static FinderPath FINDER_PATH_COUNT_BY_FILEENTRYID
           
static FinderPath FINDER_PATH_COUNT_BY_FILEVERSIONID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_FETCH_BY_D_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEVERSIONID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEVERSIONID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
protected  FinderCache finderCache
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
DLFileEntryMetadataPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the document library file entry metadata persistence.
 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.
protected  void cacheUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl, boolean isNew)
           
 void clearCache()
          Clears the cache for all document library file entry metadatas.
 void clearCache(DLFileEntryMetadata dlFileEntryMetadata)
          Clears the cache for the document library file entry metadata.
 void clearCache(List<DLFileEntryMetadata> dlFileEntryMetadatas)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl)
           
 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.
 void destroy()
           
 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.
 DLFileEntryMetadata fetchByPrimaryKey(Serializable primaryKey)
          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 findByPrimaryKey(Serializable primaryKey)
          Returns the document library file entry metadata with the primary key or throws a NoSuchModelException 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()
           
protected  DLFileEntryMetadata getByFileEntryId_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, long fileEntryId, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean previous)
           
protected  DLFileEntryMetadata getByFileVersionId_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, long fileVersionId, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean previous)
           
protected  DLFileEntryMetadata getByUuid_C_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, String uuid, long companyId, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean previous)
           
protected  DLFileEntryMetadata getByUuid_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, String uuid, OrderByComparator<DLFileEntryMetadata> orderByComparator, boolean previous)
           
protected  Map<String,Integer> getTableColumnsMap()
           
 DLFileEntryMetadata remove(long fileEntryMetadataId)
          Removes the document library file entry metadata with the primary key from the database.
 DLFileEntryMetadata remove(Serializable primaryKey)
          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.
protected  DLFileEntryMetadata removeImpl(DLFileEntryMetadata dlFileEntryMetadata)
          Removes the model instance from the database.
protected  DLFileEntryMetadata toUnwrappedModel(DLFileEntryMetadata dlFileEntryMetadata)
           
 DLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYID

FINDER_PATH_COUNT_BY_FILEENTRYID

public static final FinderPath FINDER_PATH_COUNT_BY_FILEENTRYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEVERSIONID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEVERSIONID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEVERSIONID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEVERSIONID

FINDER_PATH_COUNT_BY_FILEVERSIONID

public static final FinderPath FINDER_PATH_COUNT_BY_FILEVERSIONID

FINDER_PATH_FETCH_BY_D_F

public static final FinderPath FINDER_PATH_FETCH_BY_D_F

FINDER_PATH_COUNT_BY_D_F

public static final FinderPath FINDER_PATH_COUNT_BY_D_F

companyProvider

@BeanReference(type=CompanyProviderWrapper.class)
protected CompanyProvider companyProvider

entityCache

protected EntityCache entityCache

finderCache

protected FinderCache finderCache
Constructor Detail

DLFileEntryMetadataPersistenceImpl

public DLFileEntryMetadataPersistenceImpl()
Method Detail

findByUuid

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

Specified by:
findByUuid in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
Returns:
the matching document library file entry metadatas

findByUuid

public List<DLFileEntryMetadata> findByUuid(String uuid,
                                            int start,
                                            int end)
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. 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.

Specified by:
findByUuid in interface DLFileEntryMetadataPersistence
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

findByUuid

public 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 = ?.

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.

Specified by:
findByUuid in interface DLFileEntryMetadataPersistence
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

findByUuid

public 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 = ?.

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.

Specified by:
findByUuid in interface DLFileEntryMetadataPersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry metadatas

findByUuid_First

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

Specified by:
findByUuid_First in interface DLFileEntryMetadataPersistence
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

fetchByUuid_First

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

Specified by:
fetchByUuid_First in interface DLFileEntryMetadataPersistence
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

findByUuid_Last

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

Specified by:
findByUuid_Last in interface DLFileEntryMetadataPersistence
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

fetchByUuid_Last

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

Specified by:
fetchByUuid_Last in interface DLFileEntryMetadataPersistence
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

findByUuid_PrevAndNext

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

Specified by:
findByUuid_PrevAndNext in interface DLFileEntryMetadataPersistence
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

getByUuid_PrevAndNext

protected DLFileEntryMetadata getByUuid_PrevAndNext(Session session,
                                                    DLFileEntryMetadata dlFileEntryMetadata,
                                                    String uuid,
                                                    OrderByComparator<DLFileEntryMetadata> orderByComparator,
                                                    boolean previous)

removeByUuid

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

Specified by:
removeByUuid in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid

countByUuid

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

Specified by:
countByUuid in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching document library file entry metadatas

findByUuid_C

public List<DLFileEntryMetadata> findByUuid_C(String uuid,
                                              long companyId)
Returns all the document library file entry metadatas where uuid = ? and companyId = ?.

Specified by:
findByUuid_C in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching document library file entry metadatas

findByUuid_C

public 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 = ?.

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.

Specified by:
findByUuid_C in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C

public 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 = ?.

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.

Specified by:
findByUuid_C in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C

public 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 = ?.

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.

Specified by:
findByUuid_C in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry metadatas

findByUuid_C_First

public DLFileEntryMetadata findByUuid_C_First(String uuid,
                                              long companyId,
                                              OrderByComparator<DLFileEntryMetadata> orderByComparator)
                                       throws NoSuchFileEntryMetadataException
Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_First in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company 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

fetchByUuid_C_First

public 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 = ?.

Specified by:
fetchByUuid_C_First in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C_Last

public DLFileEntryMetadata findByUuid_C_Last(String uuid,
                                             long companyId,
                                             OrderByComparator<DLFileEntryMetadata> orderByComparator)
                                      throws NoSuchFileEntryMetadataException
Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_Last in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company 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

fetchByUuid_C_Last

public 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 = ?.

Specified by:
fetchByUuid_C_Last in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company 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

findByUuid_C_PrevAndNext

public DLFileEntryMetadata[] findByUuid_C_PrevAndNext(long fileEntryMetadataId,
                                                      String uuid,
                                                      long companyId,
                                                      OrderByComparator<DLFileEntryMetadata> orderByComparator)
                                               throws NoSuchFileEntryMetadataException
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 = ?.

Specified by:
findByUuid_C_PrevAndNext in interface DLFileEntryMetadataPersistence
Parameters:
fileEntryMetadataId - the primary key of the current document library file entry metadata
uuid - the uuid
companyId - the company 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

getByUuid_C_PrevAndNext

protected DLFileEntryMetadata getByUuid_C_PrevAndNext(Session session,
                                                      DLFileEntryMetadata dlFileEntryMetadata,
                                                      String uuid,
                                                      long companyId,
                                                      OrderByComparator<DLFileEntryMetadata> orderByComparator,
                                                      boolean previous)

removeByUuid_C

public void removeByUuid_C(String uuid,
                           long companyId)
Removes all the document library file entry metadatas where uuid = ? and companyId = ? from the database.

Specified by:
removeByUuid_C in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

public int countByUuid_C(String uuid,
                         long companyId)
Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.

Specified by:
countByUuid_C in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching document library file entry metadatas

findByFileEntryId

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

Specified by:
findByFileEntryId in interface DLFileEntryMetadataPersistence
Parameters:
fileEntryId - the file entry ID
Returns:
the matching document library file entry metadatas

findByFileEntryId

public List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId,
                                                   int start,
                                                   int end)
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. 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.

Specified by:
findByFileEntryId in interface DLFileEntryMetadataPersistence
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

findByFileEntryId

public 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 = ?.

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.

Specified by:
findByFileEntryId in interface DLFileEntryMetadataPersistence
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

findByFileEntryId

public 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 = ?.

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.

Specified by:
findByFileEntryId in interface DLFileEntryMetadataPersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry metadatas

findByFileEntryId_First

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

Specified by:
findByFileEntryId_First in interface DLFileEntryMetadataPersistence
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

fetchByFileEntryId_First

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

Specified by:
fetchByFileEntryId_First in interface DLFileEntryMetadataPersistence
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

findByFileEntryId_Last

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

Specified by:
findByFileEntryId_Last in interface DLFileEntryMetadataPersistence
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

fetchByFileEntryId_Last

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

Specified by:
fetchByFileEntryId_Last in interface DLFileEntryMetadataPersistence
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

findByFileEntryId_PrevAndNext

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

Specified by:
findByFileEntryId_PrevAndNext in interface DLFileEntryMetadataPersistence
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

getByFileEntryId_PrevAndNext

protected DLFileEntryMetadata getByFileEntryId_PrevAndNext(Session session,
                                                           DLFileEntryMetadata dlFileEntryMetadata,
                                                           long fileEntryId,
                                                           OrderByComparator<DLFileEntryMetadata> orderByComparator,
                                                           boolean previous)

removeByFileEntryId

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

Specified by:
removeByFileEntryId in interface DLFileEntryMetadataPersistence
Parameters:
fileEntryId - the file entry ID

countByFileEntryId

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

Specified by:
countByFileEntryId in interface DLFileEntryMetadataPersistence
Parameters:
fileEntryId - the file entry ID
Returns:
the number of matching document library file entry metadatas

findByFileVersionId

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

Specified by:
findByFileVersionId in interface DLFileEntryMetadataPersistence
Parameters:
fileVersionId - the file version ID
Returns:
the matching document library file entry metadatas

findByFileVersionId

public List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId,
                                                     int start,
                                                     int end)
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. 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.

Specified by:
findByFileVersionId in interface DLFileEntryMetadataPersistence
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

findByFileVersionId

public 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 = ?.

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.

Specified by:
findByFileVersionId in interface DLFileEntryMetadataPersistence
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

findByFileVersionId

public 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 = ?.

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.

Specified by:
findByFileVersionId in interface DLFileEntryMetadataPersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entry metadatas

findByFileVersionId_First

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

Specified by:
findByFileVersionId_First in interface DLFileEntryMetadataPersistence
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

fetchByFileVersionId_First

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

Specified by:
fetchByFileVersionId_First in interface DLFileEntryMetadataPersistence
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

findByFileVersionId_Last

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

Specified by:
findByFileVersionId_Last in interface DLFileEntryMetadataPersistence
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

fetchByFileVersionId_Last

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

Specified by:
fetchByFileVersionId_Last in interface DLFileEntryMetadataPersistence
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

findByFileVersionId_PrevAndNext

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

Specified by:
findByFileVersionId_PrevAndNext in interface DLFileEntryMetadataPersistence
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

getByFileVersionId_PrevAndNext

protected DLFileEntryMetadata getByFileVersionId_PrevAndNext(Session session,
                                                             DLFileEntryMetadata dlFileEntryMetadata,
                                                             long fileVersionId,
                                                             OrderByComparator<DLFileEntryMetadata> orderByComparator,
                                                             boolean previous)

removeByFileVersionId

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

Specified by:
removeByFileVersionId in interface DLFileEntryMetadataPersistence
Parameters:
fileVersionId - the file version ID

countByFileVersionId

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

Specified by:
countByFileVersionId in interface DLFileEntryMetadataPersistence
Parameters:
fileVersionId - the file version ID
Returns:
the number of matching document library file entry metadatas

findByD_F

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

Specified by:
findByD_F in interface DLFileEntryMetadataPersistence
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

fetchByD_F

public 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. Uses the finder cache.

Specified by:
fetchByD_F in interface DLFileEntryMetadataPersistence
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

fetchByD_F

public 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.

Specified by:
fetchByD_F in interface DLFileEntryMetadataPersistence
Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
retrieveFromCache - whether to retrieve from 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

removeByD_F

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

Specified by:
removeByD_F in interface DLFileEntryMetadataPersistence
Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
Returns:
the document library file entry metadata that was removed
Throws:
NoSuchFileEntryMetadataException

countByD_F

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

Specified by:
countByD_F in interface DLFileEntryMetadataPersistence
Parameters:
DDMStructureId - the d d m structure ID
fileVersionId - the file version ID
Returns:
the number of matching document library file entry metadatas

cacheResult

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

Specified by:
cacheResult in interface DLFileEntryMetadataPersistence
Parameters:
dlFileEntryMetadata - the document library file entry metadata

cacheResult

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

Specified by:
cacheResult in interface DLFileEntryMetadataPersistence
Parameters:
dlFileEntryMetadatas - the document library file entry metadatas

clearCache

public void clearCache()
Clears the cache for all document library file entry metadatas.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileEntryMetadata>
Overrides:
clearCache in class BasePersistenceImpl<DLFileEntryMetadata>

clearCache

public void clearCache(DLFileEntryMetadata dlFileEntryMetadata)
Clears the cache for the document library file entry metadata.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileEntryMetadata>
Overrides:
clearCache in class BasePersistenceImpl<DLFileEntryMetadata>
Parameters:
dlFileEntryMetadata - the instance of this model to clear the cache for

clearCache

public void clearCache(List<DLFileEntryMetadata> dlFileEntryMetadatas)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileEntryMetadata>
Overrides:
clearCache in class BasePersistenceImpl<DLFileEntryMetadata>
Parameters:
dlFileEntryMetadatas - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl,
                                       boolean isNew)

clearUniqueFindersCache

protected void clearUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl)

create

public 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.

Specified by:
create in interface DLFileEntryMetadataPersistence
Parameters:
fileEntryMetadataId - the primary key for the new document library file entry metadata
Returns:
the new document library file entry metadata

remove

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

Specified by:
remove in interface DLFileEntryMetadataPersistence
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

remove

public DLFileEntryMetadata remove(Serializable primaryKey)
                           throws NoSuchFileEntryMetadataException
Removes the document library file entry metadata with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<DLFileEntryMetadata>
Overrides:
remove in class BasePersistenceImpl<DLFileEntryMetadata>
Parameters:
primaryKey - 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

removeImpl

protected DLFileEntryMetadata removeImpl(DLFileEntryMetadata dlFileEntryMetadata)
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<DLFileEntryMetadata>
Parameters:
dlFileEntryMetadata - the model instance to remove
Returns:
the model instance that was removed

updateImpl

public DLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata)
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface DLFileEntryMetadataPersistence
Overrides:
updateImpl in class BasePersistenceImpl<DLFileEntryMetadata>
Parameters:
dlFileEntryMetadata - the model instance to update
Returns:
the model instance that was updated

toUnwrappedModel

protected DLFileEntryMetadata toUnwrappedModel(DLFileEntryMetadata dlFileEntryMetadata)

findByPrimaryKey

public DLFileEntryMetadata findByPrimaryKey(Serializable primaryKey)
                                     throws NoSuchFileEntryMetadataException
Returns the document library file entry metadata with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<DLFileEntryMetadata>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<DLFileEntryMetadata>
Parameters:
primaryKey - 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

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface DLFileEntryMetadataPersistence
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

fetchByPrimaryKey

public DLFileEntryMetadata fetchByPrimaryKey(Serializable primaryKey)
Returns the document library file entry metadata with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<DLFileEntryMetadata>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<DLFileEntryMetadata>
Parameters:
primaryKey - 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

fetchByPrimaryKey

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

Specified by:
fetchByPrimaryKey in interface DLFileEntryMetadataPersistence
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

fetchByPrimaryKeys

public Map<Serializable,DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<DLFileEntryMetadata>
Specified by:
fetchByPrimaryKeys in interface DLFileEntryMetadataPersistence
Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<DLFileEntryMetadata>

findAll

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

Specified by:
findAll in interface DLFileEntryMetadataPersistence
Returns:
the document library file entry metadatas

findAll

public List<DLFileEntryMetadata> findAll(int start,
                                         int end)
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. 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.

Specified by:
findAll in interface DLFileEntryMetadataPersistence
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

findAll

public List<DLFileEntryMetadata> findAll(int start,
                                         int end,
                                         OrderByComparator<DLFileEntryMetadata> orderByComparator)
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. 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.

Specified by:
findAll in interface DLFileEntryMetadataPersistence
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

findAll

public List<DLFileEntryMetadata> findAll(int start,
                                         int end,
                                         OrderByComparator<DLFileEntryMetadata> orderByComparator,
                                         boolean retrieveFromCache)
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. 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.

Specified by:
findAll in interface DLFileEntryMetadataPersistence
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of document library file entry metadatas

removeAll

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

Specified by:
removeAll in interface DLFileEntryMetadataPersistence

countAll

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

Specified by:
countAll in interface DLFileEntryMetadataPersistence
Returns:
the number of document library file entry metadatas

getBadColumnNames

public Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<DLFileEntryMetadata>
Specified by:
getBadColumnNames in interface DLFileEntryMetadataPersistence
Overrides:
getBadColumnNames in class BasePersistenceImpl<DLFileEntryMetadata>

getTableColumnsMap

protected Map<String,Integer> getTableColumnsMap()
Overrides:
getTableColumnsMap in class BasePersistenceImpl<DLFileEntryMetadata>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the document library file entry metadata persistence.


destroy

public void destroy()

Liferay 7.0-ce-b4