Class DLFileEntryMetadataPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryMetadataPersistenceImpl
All Implemented Interfaces:
com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence, com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>

public class DLFileEntryMetadataPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata> implements com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
The persistence implementation for the document library file entry metadata service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the document library file entry metadata persistence.
    void
    cacheResult(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
    Caches the document library file entry metadata in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas)
    Caches the document library file entry metadatas in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all document library file entry metadatas.
    void
    clearCache(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
    Clears the cache for the document library file entry metadata.
    void
    clearCache(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    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
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of document library file entry metadatas where externalReferenceCode = ? and companyId = ?.
    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
    Returns the number of document library file entry metadatas where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of document library file entry metadatas where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    create(long fileEntryMetadataId)
    Creates a new document library file entry metadata with the primary key.
    void
     
    com.liferay.document.library.kernel.model.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.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByD_F(long DDMStructureId, long fileVersionId, boolean useFinderCache)
    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.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByPrimaryKey(long fileEntryMetadataId)
    Returns the document library file entry metadata with the primary key or returns null if it could not be found.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    Returns the document library file entry metadata with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.document.library.kernel.model.DLFileEntryMetadata>
     
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    Returns all the document library file entry metadatas.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findAll(int start, int end)
    Returns a range of all the document library file entry metadatas.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns an ordered range of all the document library file entry metadatas.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry metadatas.
    com.liferay.document.library.kernel.model.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.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or throws a NoSuchFileEntryMetadataException if it could not be found.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileEntryId(long fileEntryId)
    Returns all the document library file entry metadatas where fileEntryId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileEntryId(long fileEntryId, int start, int end)
    Returns a range of all the document library file entry metadatas where fileEntryId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry metadatas where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata[]
    findByFileEntryId_PrevAndNext(long fileEntryMetadataId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileVersionId(long fileVersionId)
    Returns all the document library file entry metadatas where fileVersionId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileVersionId(long fileVersionId, int start, int end)
    Returns a range of all the document library file entry metadatas where fileVersionId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry metadatas where fileVersionId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata[]
    findByFileVersionId_PrevAndNext(long fileEntryMetadataId, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.
    com.liferay.document.library.kernel.model.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.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    Returns the document library file entry metadata with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    Returns all the document library file entry metadatas where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the document library file entry metadatas where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns an ordered range of all the document library file entry metadatas where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry metadatas where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByUuid_C(String uuid, long companyId)
    Returns all the document library file entry metadatas where uuid = ? and companyId = ?.
    List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file entry metadatas where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata[]
    findByUuid_C_PrevAndNext(long fileEntryMetadataId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the first document library file entry metadata in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
    Returns the last document library file entry metadata in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata[]
    findByUuid_PrevAndNext(long fileEntryMetadataId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.
     
    protected com.liferay.document.library.kernel.model.DLFileEntryMetadata
    getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileEntryMetadata
    getByFileVersionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileEntryMetadata
    getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileEntryMetadata
    getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean previous)
     
    getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
     
    protected String
     
    protected String
     
     
     
     
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    remove(long fileEntryMetadataId)
    Removes the document library file entry metadata with the primary key from the database.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    remove(Serializable primaryKey)
    Removes the document library file entry metadata with the primary key from the database.
    void
    Removes all the document library file entry metadatas from the database.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    removeByD_F(long DDMStructureId, long fileVersionId)
    Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the document library file entry metadata where externalReferenceCode = ? and companyId = ? 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
    Removes all the document library file entry metadatas where uuid = ? 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.
    protected com.liferay.document.library.kernel.model.DLFileEntryMetadata
    removeImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
     
    com.liferay.document.library.kernel.model.DLFileEntryMetadata
    updateImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, 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.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • 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
  • Constructor Details

    • DLFileEntryMetadataPersistenceImpl

      public DLFileEntryMetadataPersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid)
      Returns all the document library file entry metadatas where uuid = ?.
      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching document library file entry metadatas
    • findByUuid

      public List<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry metadatas
    • findByUuid_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the first document library file entry metadata in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByUuid_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
      Returns the first document library file entry metadata in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the last document library file entry metadata in the ordered set where uuid = ?.
      Specified by:
      findByUuid_Last in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByUuid_Last

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
      Returns the last document library file entry metadata in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_Last in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByUuid_PrevAndNext(long fileEntryMetadataId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • getByUuid_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching document library file entry metadatas
    • findByUuid_C

      public List<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching document library file entry metadatas
    • findByUuid_C

      public List<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry metadatas
    • findByUuid_C_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the first document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_First in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByUuid_C_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the last document library file entry metadata in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_Last in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByUuid_C_Last

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByUuid_C_PrevAndNext(long fileEntryMetadataId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • getByUuid_C_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching document library file entry metadatas
    • findByFileEntryId

      public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId)
      Returns all the document library file entry metadatas where fileEntryId = ?.
      Specified by:
      findByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the matching document library file entry metadatas
    • findByFileEntryId

      public List<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry metadatas
    • findByFileEntryId_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.
      Specified by:
      findByFileEntryId_First in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByFileEntryId_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
      Returns the first document library file entry metadata in the ordered set where fileEntryId = ?.
      Specified by:
      fetchByFileEntryId_First in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.
      Specified by:
      findByFileEntryId_Last in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByFileEntryId_Last

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
      Returns the last document library file entry metadata in the ordered set where fileEntryId = ?.
      Specified by:
      fetchByFileEntryId_Last in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByFileEntryId_PrevAndNext(long fileEntryMetadataId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • getByFileEntryId_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the number of matching document library file entry metadatas
    • findByFileVersionId

      public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId)
      Returns all the document library file entry metadatas where fileVersionId = ?.
      Specified by:
      findByFileVersionId in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      fileVersionId - the file version ID
      Returns:
      the matching document library file entry metadatas
    • findByFileVersionId

      public List<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByFileVersionId in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByFileVersionId in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findByFileVersionId(long fileVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findByFileVersionId in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching document library file entry metadatas
    • findByFileVersionId_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.
      Specified by:
      findByFileVersionId_First in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByFileVersionId_First

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileVersionId_First(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
      Returns the first document library file entry metadata in the ordered set where fileVersionId = ?.
      Specified by:
      fetchByFileVersionId_First in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata findByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.
      Specified by:
      findByFileVersionId_Last in interface com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByFileVersionId_Last

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByFileVersionId_Last(long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator)
      Returns the last document library file entry metadata in the ordered set where fileVersionId = ?.
      Specified by:
      fetchByFileVersionId_Last in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.model.DLFileEntryMetadata[] findByFileVersionId_PrevAndNext(long fileEntryMetadataId, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.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:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • getByFileVersionId_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileEntryMetadata getByFileVersionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata, long fileVersionId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      fileVersionId - the file version ID
      Returns:
      the number of matching document library file entry metadatas
    • findByD_F

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByD_F(long DDMStructureId, long fileVersionId) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      DDMStructureId - the ddm structure ID
      fileVersionId - the file version ID
      Returns:
      the matching document library file entry metadata
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByD_F

      public com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      DDMStructureId - the ddm 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 com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByD_F(long DDMStructureId, long fileVersionId, boolean useFinderCache)
      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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      DDMStructureId - the ddm structure ID
      fileVersionId - the file version ID
      useFinderCache - 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
    • removeByD_F

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata removeByD_F(long DDMStructureId, long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Removes the document library file entry metadata where DDMStructureId = ? and fileVersionId = ? from the database.
      Specified by:
      removeByD_F in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      DDMStructureId - the ddm structure ID
      fileVersionId - the file version ID
      Returns:
      the document library file entry metadata that was removed
      Throws:
      com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      DDMStructureId - the ddm structure ID
      fileVersionId - the file version ID
      Returns:
      the number of matching document library file entry metadatas
    • findByERC_C

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByERC_C(String externalReferenceCode, long companyId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or throws a NoSuchFileEntryMetadataException if it could not be found.
      Specified by:
      findByERC_C in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching document library file entry metadata
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a matching document library file entry metadata could not be found
    • fetchByERC_C

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByERC_C in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching document library file entry metadata, or null if a matching document library file entry metadata could not be found
    • fetchByERC_C

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the document library file entry metadata where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByERC_C in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - 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
    • removeByERC_C

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata removeByERC_C(String externalReferenceCode, long companyId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Removes the document library file entry metadata where externalReferenceCode = ? and companyId = ? from the database.
      Specified by:
      removeByERC_C in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the document library file entry metadata that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
    • countByERC_C

      public int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of document library file entry metadatas where externalReferenceCode = ? and companyId = ?.
      Specified by:
      countByERC_C in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching document library file entry metadatas
    • cacheResult

      public void cacheResult(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
      Caches the document library file entry metadata in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Parameters:
      dlFileEntryMetadata - the document library file entry metadata
    • cacheResult

      public void cacheResult(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas)
      Caches the document library file entry metadatas in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.document.library.kernel.service.persistence.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 com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • clearCache

      public void clearCache(com.liferay.document.library.kernel.model.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 com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • clearCache

      public void clearCache(List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> dlFileEntryMetadatas)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(DLFileEntryMetadataModelImpl dlFileEntryMetadataModelImpl)
    • create

      public com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      fileEntryMetadataId - the primary key for the new document library file entry metadata
      Returns:
      the new document library file entry metadata
    • remove

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata remove(long fileEntryMetadataId) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      fileEntryMetadataId - the primary key of the document library file entry metadata
      Returns:
      the document library file entry metadata that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • remove

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.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 com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Parameters:
      primaryKey - the primary key of the document library file entry metadata
      Returns:
      the document library file entry metadata that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • removeImpl

      protected com.liferay.document.library.kernel.model.DLFileEntryMetadata removeImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • updateImpl

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata updateImpl(com.liferay.document.library.kernel.model.DLFileEntryMetadata dlFileEntryMetadata)
      Specified by:
      updateImpl in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • findByPrimaryKey

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException
      Returns the document library file entry metadata with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Parameters:
      primaryKey - the primary key of the document library file entry metadata
      Returns:
      the document library file entry metadata
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.document.library.kernel.model.DLFileEntryMetadata findByPrimaryKey(long fileEntryMetadataId) throws com.liferay.document.library.kernel.exception.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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Parameters:
      fileEntryMetadataId - the primary key of the document library file entry metadata
      Returns:
      the document library file entry metadata
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileEntryMetadataException - if a document library file entry metadata with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.document.library.kernel.model.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 com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.persistence.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,com.liferay.document.library.kernel.model.DLFileEntryMetadata> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • findAll

      public List<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll()
      Returns all the document library file entry metadatas.
      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Returns:
      the document library file entry metadatas
    • findAll

      public List<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.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<com.liferay.document.library.kernel.model.DLFileEntryMetadata> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntryMetadata> orderByComparator, boolean useFinderCache)
      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, then the query will include the default ORDER BY logic from DLFileEntryMetadataModelImpl.

      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.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)
      useFinderCache - whether to use 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 com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
    • countAll

      public int countAll()
      Returns the number of document library file entry metadatas.
      Specified by:
      countAll in interface com.liferay.document.library.kernel.service.persistence.DLFileEntryMetadataPersistence
      Returns:
      the number of document library file entry metadatas
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getCTColumnNames

      public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
      Specified by:
      getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getMappingTableNames

      public List<String> getMappingTableNames()
      Specified by:
      getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getTableColumnsMap

      public Map<String,Integer> getTableColumnsMap()
      Specified by:
      getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • getUniqueIndexColumnNames

      public List<String[]> getUniqueIndexColumnNames()
      Specified by:
      getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntryMetadata>
    • afterPropertiesSet

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

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntryMetadata>