Liferay 6.1.2-ce-ga3

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

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

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  DDMStructureLinkPersistence ddmStructureLinkPersistence
           
protected  DLContentPersistence dlContentPersistence
           
protected  DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence
           
protected  DLFileEntryPersistence dlFileEntryPersistence
           
protected  DLFileEntryTypePersistence dlFileEntryTypePersistence
           
protected  DLFileRankPersistence dlFileRankPersistence
           
protected  DLFileShortcutPersistence dlFileShortcutPersistence
           
protected  DLFileVersionPersistence dlFileVersionPersistence
           
protected  DLFolderPersistence dlFolderPersistence
           
protected  DLSyncPersistence dlSyncPersistence
           
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_F_V
           
static FinderPath FINDER_PATH_COUNT_BY_FILEENTRYID
           
static FinderPath FINDER_PATH_COUNT_BY_FILEENTRYTYPEID
           
static FinderPath FINDER_PATH_COUNT_BY_FILEVERSIONID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_FETCH_BY_D_F
           
static FinderPath FINDER_PATH_FETCH_BY_F_V
           
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_FILEENTRYTYPEID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEVERSIONID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
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_FILEENTRYTYPEID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEVERSIONID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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(DLFileEntryMetadata dlFileEntryMetadata)
           
 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(DLFileEntryMetadata dlFileEntryMetadata)
           
 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.
 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 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 fetchByPrimaryKey(Serializable primaryKey)
          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 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_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 = ?.
protected  DLFileEntryMetadata getByFileEntryId_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, long fileEntryId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntryMetadata getByFileEntryTypeId_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, long fileEntryTypeId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntryMetadata getByFileVersionId_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, long fileVersionId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntryMetadata getByUuid_PrevAndNext(Session session, DLFileEntryMetadata dlFileEntryMetadata, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 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.
 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.
protected  DLFileEntryMetadata removeImpl(DLFileEntryMetadata dlFileEntryMetadata)
          Removes the model instance from the database.
protected  DLFileEntryMetadata toUnwrappedModel(DLFileEntryMetadata dlFileEntryMetadata)
           
 DLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata, boolean merge)
          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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_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_FILEENTRYTYPEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYTYPEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYTYPEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYTYPEID

FINDER_PATH_COUNT_BY_FILEENTRYTYPEID

public static final FinderPath FINDER_PATH_COUNT_BY_FILEENTRYTYPEID

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

FINDER_PATH_FETCH_BY_F_V

public static final FinderPath FINDER_PATH_FETCH_BY_F_V

FINDER_PATH_COUNT_BY_F_V

public static final FinderPath FINDER_PATH_COUNT_BY_F_V

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

dlContentPersistence

@BeanReference(type=DLContentPersistence.class)
protected DLContentPersistence dlContentPersistence

dlFileEntryPersistence

@BeanReference(type=DLFileEntryPersistence.class)
protected DLFileEntryPersistence dlFileEntryPersistence

dlFileEntryMetadataPersistence

@BeanReference(type=DLFileEntryMetadataPersistence.class)
protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence

dlFileEntryTypePersistence

@BeanReference(type=DLFileEntryTypePersistence.class)
protected DLFileEntryTypePersistence dlFileEntryTypePersistence

dlFileRankPersistence

@BeanReference(type=DLFileRankPersistence.class)
protected DLFileRankPersistence dlFileRankPersistence

dlFileShortcutPersistence

@BeanReference(type=DLFileShortcutPersistence.class)
protected DLFileShortcutPersistence dlFileShortcutPersistence

dlFileVersionPersistence

@BeanReference(type=DLFileVersionPersistence.class)
protected DLFileVersionPersistence dlFileVersionPersistence

dlFolderPersistence

@BeanReference(type=DLFolderPersistence.class)
protected DLFolderPersistence dlFolderPersistence

dlSyncPersistence

@BeanReference(type=DLSyncPersistence.class)
protected DLSyncPersistence dlSyncPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

ddmStructureLinkPersistence

@BeanReference(type=DDMStructureLinkPersistence.class)
protected DDMStructureLinkPersistence ddmStructureLinkPersistence
Constructor Detail

DLFileEntryMetadataPersistenceImpl

public DLFileEntryMetadataPersistenceImpl()
Method Detail

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(DLFileEntryMetadata dlFileEntryMetadata)

clearUniqueFindersCache

protected void clearUniqueFindersCache(DLFileEntryMetadata dlFileEntryMetadata)

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,
                                  SystemException
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
SystemException - if a system exception occurred

remove

public DLFileEntryMetadata remove(Serializable primaryKey)
                           throws NoSuchFileEntryMetadataException,
                                  SystemException
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
SystemException - if a system exception occurred

removeImpl

protected DLFileEntryMetadata removeImpl(DLFileEntryMetadata dlFileEntryMetadata)
                                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

updateImpl

public DLFileEntryMetadata updateImpl(DLFileEntryMetadata dlFileEntryMetadata,
                                      boolean merge)
                               throws SystemException
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
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected DLFileEntryMetadata toUnwrappedModel(DLFileEntryMetadata dlFileEntryMetadata)

findByPrimaryKey

public DLFileEntryMetadata findByPrimaryKey(Serializable primaryKey)
                                     throws NoSuchModelException,
                                            SystemException
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:
NoSuchModelException - if a document library file entry metadata with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId)
                                     throws NoSuchFileEntryMetadataException,
                                            SystemException
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
SystemException - if a system exception occurred

fetchByPrimaryKey

public DLFileEntryMetadata fetchByPrimaryKey(Serializable primaryKey)
                                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

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

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
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DLFileEntryMetadata> findByUuid(String uuid)
                                     throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid

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

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
Throws:
SystemException - if a system exception occurred

findByUuid

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

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
Throws:
SystemException - if a system exception occurred

findByUuid_First

public DLFileEntryMetadata findByUuid_First(String uuid,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchFileEntryMetadataException,
                                            SystemException
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
SystemException - if a system exception occurred

fetchByUuid_First

public DLFileEntryMetadata fetchByUuid_First(String uuid,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public DLFileEntryMetadata findByUuid_Last(String uuid,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchFileEntryMetadataException,
                                           SystemException
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
SystemException - if a system exception occurred

fetchByUuid_Last

public DLFileEntryMetadata fetchByUuid_Last(String uuid,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId,
                                                    String uuid,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchFileEntryMetadataException,
                                                    SystemException
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
SystemException - if a system exception occurred

getByUuid_PrevAndNext

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

findByFileEntryTypeId

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

Specified by:
findByFileEntryTypeId in interface DLFileEntryMetadataPersistence
Parameters:
fileEntryTypeId - the file entry type ID
Returns:
the matching document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findByFileEntryTypeId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

getByFileEntryTypeId_PrevAndNext

protected DLFileEntryMetadata getByFileEntryTypeId_PrevAndNext(Session session,
                                                               DLFileEntryMetadata dlFileEntryMetadata,
                                                               long fileEntryTypeId,
                                                               OrderByComparator orderByComparator,
                                                               boolean previous)

findByFileEntryId

public List<DLFileEntryMetadata> findByFileEntryId(long fileEntryId)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByFileEntryId

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

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
Throws:
SystemException - if a system exception occurred

findByFileEntryId

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

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
Throws:
SystemException - if a system exception occurred

findByFileEntryId_First

public DLFileEntryMetadata findByFileEntryId_First(long fileEntryId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchFileEntryMetadataException,
                                                   SystemException
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
SystemException - if a system exception occurred

fetchByFileEntryId_First

public DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByFileEntryId_Last

public DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchFileEntryMetadataException,
                                                  SystemException
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
SystemException - if a system exception occurred

fetchByFileEntryId_Last

public DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByFileEntryId_PrevAndNext

public DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId,
                                                           long fileEntryId,
                                                           OrderByComparator orderByComparator)
                                                    throws NoSuchFileEntryMetadataException,
                                                           SystemException
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
SystemException - if a system exception occurred

getByFileEntryId_PrevAndNext

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

findByFileVersionId

public List<DLFileEntryMetadata> findByFileVersionId(long fileVersionId)
                                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByFileVersionId

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

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
Throws:
SystemException - if a system exception occurred

findByFileVersionId

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

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
Throws:
SystemException - if a system exception occurred

findByFileVersionId_First

public DLFileEntryMetadata findByFileVersionId_First(long fileVersionId,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchFileEntryMetadataException,
                                                     SystemException
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
SystemException - if a system exception occurred

fetchByFileVersionId_First

public DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByFileVersionId_Last

public DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchFileEntryMetadataException,
                                                    SystemException
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
SystemException - if a system exception occurred

fetchByFileVersionId_Last

public DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByFileVersionId_PrevAndNext

public DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId,
                                                             long fileVersionId,
                                                             OrderByComparator orderByComparator)
                                                      throws NoSuchFileEntryMetadataException,
                                                             SystemException
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
SystemException - if a system exception occurred

getByFileVersionId_PrevAndNext

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

findByD_F

public DLFileEntryMetadata findByD_F(long DDMStructureId,
                                     long fileVersionId)
                              throws NoSuchFileEntryMetadataException,
                                     SystemException
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
SystemException - if a system exception occurred

fetchByD_F

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

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
Throws:
SystemException - if a system exception occurred

fetchByD_F

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

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

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

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

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

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

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

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

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

Specified by:
findAll in interface DLFileEntryMetadataPersistence
Returns:
the document library file entry metadatas
Throws:
SystemException - if a system exception occurred

findAll

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

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
Throws:
SystemException - if a system exception occurred

findAll

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

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
Throws:
SystemException - if a system exception occurred

removeByUuid

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

Specified by:
removeByUuid in interface DLFileEntryMetadataPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

removeByFileEntryTypeId

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

Specified by:
removeByFileEntryTypeId in interface DLFileEntryMetadataPersistence
Parameters:
fileEntryTypeId - the file entry type ID
Throws:
SystemException - if a system exception occurred

removeByFileEntryId

public void removeByFileEntryId(long fileEntryId)
                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByFileVersionId

public void removeByFileVersionId(long fileVersionId)
                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByD_F

public DLFileEntryMetadata removeByD_F(long DDMStructureId,
                                       long fileVersionId)
                                throws NoSuchFileEntryMetadataException,
                                       SystemException
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:
SystemException - if a system exception occurred
NoSuchFileEntryMetadataException

removeByF_V

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

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

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

Specified by:
removeAll in interface DLFileEntryMetadataPersistence
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByFileEntryTypeId

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

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

public int countByFileEntryId(long fileEntryId)
                       throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByFileVersionId

public int countByFileVersionId(long fileVersionId)
                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByD_F

public int countByD_F(long DDMStructureId,
                      long fileVersionId)
               throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByF_V

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

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

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

Specified by:
countAll in interface DLFileEntryMetadataPersistence
Returns:
the number of document library file entry metadatas
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

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


destroy

public void destroy()

Liferay 6.1.2-ce-ga3