Class DLFileVersionPersistenceImpl

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

public class DLFileVersionPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion> implements com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
The persistence implementation for the document library file version 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 version persistence.
    void
    cacheResult(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion)
    Caches the document library file version in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions)
    Caches the document library file versions in the entity cache if it is enabled.
    protected void
     
    void
    Clears the cache for all document library file versions.
    void
    clearCache(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion)
    Clears the cache for the document library file version.
    void
    clearCache(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of document library file versions.
    int
    countByC_E_S(long companyId, Date expirationDate, int status)
    Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.
    int
    countByC_E_S(long companyId, Date expirationDate, int[] statuses)
    Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = any ?.
    int
    countByC_NotS(long companyId, int status)
    Returns the number of document library file versions where companyId = ? and status ≠ ?.
    int
    countByC_SU(long companyId, String storeUUID)
    Returns the number of document library file versions where companyId = ? and storeUUID = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of document library file versions where companyId = ?.
    int
    countByF_S(long fileEntryId, int status)
    Returns the number of document library file versions where fileEntryId = ? and status = ?.
    int
    countByF_S(long fileEntryId, int[] statuses)
    Returns the number of document library file versions where fileEntryId = ? and status = any ?.
    int
    countByF_V(long fileEntryId, String version)
    Returns the number of document library file versions where fileEntryId = ? and version = ?.
    int
    countByFileEntryId(long fileEntryId)
    Returns the number of document library file versions where fileEntryId = ?.
    int
    countByG_F_S(long groupId, long folderId, int status)
    Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.
    int
    countByG_F_T_V(long groupId, long folderId, String title, String version)
    Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
    int
    countByLtD_S(Date displayDate, int status)
    Returns the number of document library file versions where displayDate < ? and status = ?.
    int
    Returns the number of document library file versions where mimeType = ?.
    int
    Returns the number of document library file versions where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of document library file versions where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of document library file versions where uuid = ? and groupId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    create(long fileVersionId)
    Creates a new document library file version with the primary key.
    void
     
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByF_V(long fileEntryId, String version)
    Returns the document library file version where fileEntryId = ? and version = ? or returns null if it could not be found.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByF_V(long fileEntryId, String version, boolean useFinderCache)
    Returns the document library file version where fileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where displayDate < ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where displayDate < ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where mimeType = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where mimeType = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByPrimaryKey(long fileVersionId)
    Returns the document library file version with the primary key or returns null if it could not be found.
    com.liferay.document.library.kernel.model.DLFileVersion
    Returns the document library file version with the primary key or returns null if it could not be found.
    Map<Serializable,com.liferay.document.library.kernel.model.DLFileVersion>
     
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByUUID_G(String uuid, long groupId)
    Returns the document library file version where uuid = ? and groupId = ? or returns null if it could not be found.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the document library file version where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    com.liferay.document.library.kernel.model.DLFileVersion
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    Returns all the document library file versions.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findAll(int start, int end)
    Returns a range of all the document library file versions.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int status)
    Returns all the document library file versions where companyId = ? and expirationDate = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int[] statuses)
    Returns all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end)
    Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?, optionally using the finder cache.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int status, int start, int end)
    Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByC_E_S_PrevAndNext(long fileVersionId, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_NotS(long companyId, int status)
    Returns all the document library file versions where companyId = ? and status ≠ ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_NotS(long companyId, int status, int start, int end)
    Returns a range of all the document library file versions where companyId = ? and status ≠ ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_SU(long companyId, String storeUUID)
    Returns all the document library file versions where companyId = ? and storeUUID = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_SU(long companyId, String storeUUID, int start, int end)
    Returns a range of all the document library file versions where companyId = ? and storeUUID = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByC_SU_PrevAndNext(long fileVersionId, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and storeUUID = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByCompanyId(long companyId)
    Returns all the document library file versions where companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the document library file versions where companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByCompanyId_PrevAndNext(long fileVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int status)
    Returns all the document library file versions where fileEntryId = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int[] statuses)
    Returns all the document library file versions where fileEntryId = ? and status = any ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int[] statuses, int start, int end)
    Returns a range of all the document library file versions where fileEntryId = ? and status = any ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where fileEntryId = ? and status = any ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?, optionally using the finder cache.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int status, int start, int end)
    Returns a range of all the document library file versions where fileEntryId = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByF_V(long fileEntryId, String version)
    Returns the document library file version where fileEntryId = ? and version = ? or throws a NoSuchFileVersionException if it could not be found.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByFileEntryId(long fileEntryId)
    Returns all the document library file versions where fileEntryId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByFileEntryId(long fileEntryId, int start, int end)
    Returns a range of all the document library file versions where fileEntryId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where fileEntryId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where fileEntryId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_S(long groupId, long folderId, int status)
    Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_S(long groupId, long folderId, int status, int start, int end)
    Returns a range of all the document library file versions where groupId = ? and folderId = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_T_V(long groupId, long folderId, String title, String version)
    Returns all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end)
    Returns a range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByLtD_S(Date displayDate, int status)
    Returns all the document library file versions where displayDate < ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the document library file versions where displayDate < ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where displayDate < ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where displayDate < ? and status = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByLtD_S_PrevAndNext(long fileVersionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where displayDate < ? and status = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    Returns all the document library file versions where mimeType = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByMimeType(String mimeType, int start, int end)
    Returns a range of all the document library file versions where mimeType = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where mimeType = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where mimeType = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where mimeType = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where mimeType = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByMimeType_PrevAndNext(long fileVersionId, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByPrimaryKey(long fileVersionId)
    Returns the document library file version with the primary key or throws a NoSuchFileVersionException if it could not be found.
    com.liferay.document.library.kernel.model.DLFileVersion
    Returns the document library file version 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.DLFileVersion>
    Returns all the document library file versions where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the document library file versions where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where uuid = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByUuid_C(String uuid, long companyId)
    Returns all the document library file versions where uuid = ? and companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the document library file versions where uuid = ? and companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.
    List<com.liferay.document.library.kernel.model.DLFileVersion>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the document library file versions where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByUuid_C_PrevAndNext(long fileVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the first document library file version in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByUUID_G(String uuid, long groupId)
    Returns the document library file version where uuid = ? and groupId = ? or throws a NoSuchFileVersionException if it could not be found.
    com.liferay.document.library.kernel.model.DLFileVersion
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the last document library file version in the ordered set where uuid = ?.
    com.liferay.document.library.kernel.model.DLFileVersion[]
    findByUuid_PrevAndNext(long fileVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
    Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByC_E_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByC_NotS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByC_SU_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByF_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByG_F_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByG_F_T_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByLtD_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByMimeType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
     
    protected com.liferay.document.library.kernel.model.DLFileVersion
    getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> 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.DLFileVersion
    remove(long fileVersionId)
    Removes the document library file version with the primary key from the database.
    com.liferay.document.library.kernel.model.DLFileVersion
    remove(Serializable primaryKey)
    Removes the document library file version with the primary key from the database.
    void
    Removes all the document library file versions from the database.
    void
    removeByC_E_S(long companyId, Date expirationDate, int status)
    Removes all the document library file versions where companyId = ? and expirationDate = ? and status = ? from the database.
    void
    removeByC_NotS(long companyId, int status)
    Removes all the document library file versions where companyId = ? and status ≠ ? from the database.
    void
    removeByC_SU(long companyId, String storeUUID)
    Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the document library file versions where companyId = ? from the database.
    void
    removeByF_S(long fileEntryId, int status)
    Removes all the document library file versions where fileEntryId = ? and status = ? from the database.
    com.liferay.document.library.kernel.model.DLFileVersion
    removeByF_V(long fileEntryId, String version)
    Removes the document library file version where fileEntryId = ? and version = ? from the database.
    void
    removeByFileEntryId(long fileEntryId)
    Removes all the document library file versions where fileEntryId = ? from the database.
    void
    removeByG_F_S(long groupId, long folderId, int status)
    Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database.
    void
    removeByG_F_T_V(long groupId, long folderId, String title, String version)
    Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.
    void
    removeByLtD_S(Date displayDate, int status)
    Removes all the document library file versions where displayDate < ? and status = ? from the database.
    void
    Removes all the document library file versions where mimeType = ? from the database.
    void
    Removes all the document library file versions where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the document library file versions where uuid = ? and companyId = ? from the database.
    com.liferay.document.library.kernel.model.DLFileVersion
    removeByUUID_G(String uuid, long groupId)
    Removes the document library file version where uuid = ? and groupId = ? from the database.
    protected com.liferay.document.library.kernel.model.DLFileVersion
    removeImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion)
     
    com.liferay.document.library.kernel.model.DLFileVersion
    updateImpl(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion)
     

    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

    • DLFileVersionPersistenceImpl

      public DLFileVersionPersistenceImpl()
  • Method Details

    • findByUuid

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

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid(String uuid, int start, int end)
      Returns a range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByUuid

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByUuid

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByUuid in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByUuid_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUuid_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByUuid_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where uuid = ?.
      Specified by:
      findByUuid_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUuid_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByUuid_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByUuid_PrevAndNext(long fileVersionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.
      Specified by:
      findByUuid_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByUuid_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByUuid

      public void removeByUuid(String uuid)
      Removes all the document library file versions where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of document library file versions where uuid = ?.
      Specified by:
      countByUuid in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching document library file versions
    • findByUUID_G

      public com.liferay.document.library.kernel.model.DLFileVersion findByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file version where uuid = ? and groupId = ? or throws a NoSuchFileVersionException if it could not be found.
      Specified by:
      findByUUID_G in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUUID_G

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByUUID_G(String uuid, long groupId)
      Returns the document library file version where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching document library file version, or null if a matching document library file version could not be found
    • fetchByUUID_G

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the document library file version where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByUUID_G in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file version, or null if a matching document library file version could not be found
    • removeByUUID_G

      public com.liferay.document.library.kernel.model.DLFileVersion removeByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Removes the document library file version where uuid = ? and groupId = ? from the database.
      Specified by:
      removeByUUID_G in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the document library file version that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException
    • countByUUID_G

      public int countByUUID_G(String uuid, long groupId)
      Returns the number of document library file versions where uuid = ? and groupId = ?.
      Specified by:
      countByUUID_G in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching document library file versions
    • findByUuid_C

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId)
      Returns all the document library file versions where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching document library file versions
    • findByUuid_C

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByUuid_C

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByUuid_C

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByUuid_C in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByUuid_C_First

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

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

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

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      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 version, or null if a matching document library file version could not be found
    • findByUuid_C_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByUuid_C_PrevAndNext(long fileVersionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      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 version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByUuid_C_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByUuid_C

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the document library file versions where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      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 versions where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching document library file versions
    • findByCompanyId

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId)
      Returns all the document library file versions where companyId = ?.
      Specified by:
      findByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the matching document library file versions
    • findByCompanyId

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the document library file versions where 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 DLFileVersionModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByCompanyId

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where 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 DLFileVersionModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByCompanyId

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where 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 DLFileVersionModelImpl.

      Specified by:
      findByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByCompanyId_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByCompanyId_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByCompanyId_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByCompanyId_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ?.
      Specified by:
      fetchByCompanyId_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByCompanyId_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByCompanyId_PrevAndNext(long fileVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.
      Specified by:
      findByCompanyId_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByCompanyId_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByCompanyId

      public void removeByCompanyId(long companyId)
      Removes all the document library file versions where companyId = ? from the database.
      Specified by:
      removeByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public int countByCompanyId(long companyId)
      Returns the number of document library file versions where companyId = ?.
      Specified by:
      countByCompanyId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching document library file versions
    • findByFileEntryId

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

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end)
      Returns a range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByFileEntryId

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByFileEntryId

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions 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 DLFileVersionModelImpl.

      Specified by:
      findByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByFileEntryId_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where fileEntryId = ?.
      Specified by:
      findByFileEntryId_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByFileEntryId_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where fileEntryId = ?.
      Specified by:
      fetchByFileEntryId_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByFileEntryId_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where fileEntryId = ?.
      Specified by:
      findByFileEntryId_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByFileEntryId_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where fileEntryId = ?.
      Specified by:
      fetchByFileEntryId_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByFileEntryId_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.
      Specified by:
      findByFileEntryId_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByFileEntryId_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByFileEntryId

      public void removeByFileEntryId(long fileEntryId)
      Removes all the document library file versions where fileEntryId = ? from the database.
      Specified by:
      removeByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
    • countByFileEntryId

      public int countByFileEntryId(long fileEntryId)
      Returns the number of document library file versions where fileEntryId = ?.
      Specified by:
      countByFileEntryId in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the number of matching document library file versions
    • findByMimeType

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType)
      Returns all the document library file versions where mimeType = ?.
      Specified by:
      findByMimeType in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      Returns:
      the matching document library file versions
    • findByMimeType

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType, int start, int end)
      Returns a range of all the document library file versions where mimeType = ?.

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

      Specified by:
      findByMimeType in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByMimeType

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where mimeType = ?.

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

      Specified by:
      findByMimeType in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByMimeType

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where mimeType = ?.

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

      Specified by:
      findByMimeType in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByMimeType_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where mimeType = ?.
      Specified by:
      findByMimeType_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByMimeType_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where mimeType = ?.
      Specified by:
      fetchByMimeType_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByMimeType_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where mimeType = ?.
      Specified by:
      findByMimeType_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByMimeType_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where mimeType = ?.
      Specified by:
      fetchByMimeType_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByMimeType_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.
      Specified by:
      findByMimeType_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByMimeType_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByMimeType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByMimeType

      public void removeByMimeType(String mimeType)
      Removes all the document library file versions where mimeType = ? from the database.
      Specified by:
      removeByMimeType in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
    • countByMimeType

      public int countByMimeType(String mimeType)
      Returns the number of document library file versions where mimeType = ?.
      Specified by:
      countByMimeType in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      mimeType - the mime type
      Returns:
      the number of matching document library file versions
    • findByC_SU

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID)
      Returns all the document library file versions where companyId = ? and storeUUID = ?.
      Specified by:
      findByC_SU in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      Returns:
      the matching document library file versions
    • findByC_SU

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end)
      Returns a range of all the document library file versions where companyId = ? and storeUUID = ?.

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

      Specified by:
      findByC_SU in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByC_SU

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.

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

      Specified by:
      findByC_SU in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByC_SU

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where companyId = ? and storeUUID = ?.

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

      Specified by:
      findByC_SU in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByC_SU_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.
      Specified by:
      findByC_SU_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_SU_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_SU_First(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.
      Specified by:
      fetchByC_SU_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByC_SU_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.
      Specified by:
      findByC_SU_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_SU_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_SU_Last(long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.
      Specified by:
      fetchByC_SU_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByC_SU_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByC_SU_PrevAndNext(long fileVersionId, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and storeUUID = ?.
      Specified by:
      findByC_SU_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      companyId - the company ID
      storeUUID - the store uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByC_SU_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByC_SU_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, String storeUUID, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByC_SU

      public void removeByC_SU(long companyId, String storeUUID)
      Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.
      Specified by:
      removeByC_SU in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
    • countByC_SU

      public int countByC_SU(long companyId, String storeUUID)
      Returns the number of document library file versions where companyId = ? and storeUUID = ?.
      Specified by:
      countByC_SU in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      Returns:
      the number of matching document library file versions
    • findByC_NotS

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status)
      Returns all the document library file versions where companyId = ? and status ≠ ?.
      Specified by:
      findByC_NotS in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching document library file versions
    • findByC_NotS

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end)
      Returns a range of all the document library file versions where companyId = ? and status ≠ ?.

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

      Specified by:
      findByC_NotS in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByC_NotS

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.

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

      Specified by:
      findByC_NotS in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByC_NotS

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where companyId = ? and status ≠ ?.

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

      Specified by:
      findByC_NotS in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByC_NotS_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.
      Specified by:
      findByC_NotS_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_NotS_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.
      Specified by:
      fetchByC_NotS_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByC_NotS_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.
      Specified by:
      findByC_NotS_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_NotS_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.
      Specified by:
      fetchByC_NotS_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByC_NotS_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?.
      Specified by:
      findByC_NotS_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByC_NotS_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByC_NotS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByC_NotS

      public void removeByC_NotS(long companyId, int status)
      Removes all the document library file versions where companyId = ? and status ≠ ? from the database.
      Specified by:
      removeByC_NotS in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
    • countByC_NotS

      public int countByC_NotS(long companyId, int status)
      Returns the number of document library file versions where companyId = ? and status ≠ ?.
      Specified by:
      countByC_NotS in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the number of matching document library file versions
    • findByF_V

      public com.liferay.document.library.kernel.model.DLFileVersion findByF_V(long fileEntryId, String version) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file version where fileEntryId = ? and version = ? or throws a NoSuchFileVersionException if it could not be found.
      Specified by:
      findByF_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      Returns:
      the matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByF_V

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_V(long fileEntryId, String version)
      Returns the document library file version where fileEntryId = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Specified by:
      fetchByF_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      Returns:
      the matching document library file version, or null if a matching document library file version could not be found
    • fetchByF_V

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_V(long fileEntryId, String version, boolean useFinderCache)
      Returns the document library file version where fileEntryId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Specified by:
      fetchByF_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file version, or null if a matching document library file version could not be found
    • removeByF_V

      public com.liferay.document.library.kernel.model.DLFileVersion removeByF_V(long fileEntryId, String version) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Removes the document library file version where fileEntryId = ? and version = ? from the database.
      Specified by:
      removeByF_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      Returns:
      the document library file version that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException
    • countByF_V

      public int countByF_V(long fileEntryId, String version)
      Returns the number of document library file versions where fileEntryId = ? and version = ?.
      Specified by:
      countByF_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      Returns:
      the number of matching document library file versions
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status)
      Returns all the document library file versions where fileEntryId = ? and status = ?.
      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      Returns:
      the matching document library file versions
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end)
      Returns a range of all the document library file versions where fileEntryId = ? and status = ?.

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

      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.

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

      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?.

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

      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByF_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.
      Specified by:
      findByF_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByF_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_S_First(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.
      Specified by:
      fetchByF_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByF_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.
      Specified by:
      findByF_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByF_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByF_S_Last(long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.
      Specified by:
      fetchByF_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByF_S_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?.
      Specified by:
      findByF_S_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      fileEntryId - the file entry ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByF_S_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByF_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long fileEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses)
      Returns all the document library file versions where fileEntryId = ? and status = any ?.

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

      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      statuses - the statuses
      Returns:
      the matching document library file versions
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end)
      Returns a range of all the document library file versions where fileEntryId = ? and status = any ?.

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

      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      statuses - the statuses
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where fileEntryId = ? and status = any ?.

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

      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      statuses - the statuses
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByF_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where fileEntryId = ? and status = ?, optionally using the finder cache.

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

      Specified by:
      findByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      statuses - the statuses
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • removeByF_S

      public void removeByF_S(long fileEntryId, int status)
      Removes all the document library file versions where fileEntryId = ? and status = ? from the database.
      Specified by:
      removeByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
    • countByF_S

      public int countByF_S(long fileEntryId, int status)
      Returns the number of document library file versions where fileEntryId = ? and status = ?.
      Specified by:
      countByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      Returns:
      the number of matching document library file versions
    • countByF_S

      public int countByF_S(long fileEntryId, int[] statuses)
      Returns the number of document library file versions where fileEntryId = ? and status = any ?.
      Specified by:
      countByF_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileEntryId - the file entry ID
      statuses - the statuses
      Returns:
      the number of matching document library file versions
    • findByLtD_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status)
      Returns all the document library file versions where displayDate < ? and status = ?.
      Specified by:
      findByLtD_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching document library file versions
    • findByLtD_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end)
      Returns a range of all the document library file versions where displayDate < ? and status = ?.

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

      Specified by:
      findByLtD_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByLtD_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.

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

      Specified by:
      findByLtD_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByLtD_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where displayDate < ? and status = ?.

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

      Specified by:
      findByLtD_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByLtD_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where displayDate < ? and status = ?.
      Specified by:
      findByLtD_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByLtD_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where displayDate < ? and status = ?.
      Specified by:
      fetchByLtD_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByLtD_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where displayDate < ? and status = ?.
      Specified by:
      findByLtD_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByLtD_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where displayDate < ? and status = ?.
      Specified by:
      fetchByLtD_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByLtD_S_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByLtD_S_PrevAndNext(long fileVersionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where displayDate < ? and status = ?.
      Specified by:
      findByLtD_S_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByLtD_S_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByLtD_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByLtD_S

      public void removeByLtD_S(Date displayDate, int status)
      Removes all the document library file versions where displayDate < ? and status = ? from the database.
      Specified by:
      removeByLtD_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      public int countByLtD_S(Date displayDate, int status)
      Returns the number of document library file versions where displayDate < ? and status = ?.
      Specified by:
      countByLtD_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching document library file versions
    • findByG_F_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status)
      Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.
      Specified by:
      findByG_F_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      Returns:
      the matching document library file versions
    • findByG_F_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end)
      Returns a range of all the document library file versions where groupId = ? and folderId = ? and status = ?.

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

      Specified by:
      findByG_F_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByG_F_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.

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

      Specified by:
      findByG_F_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByG_F_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and status = ?.

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

      Specified by:
      findByG_F_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByG_F_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      Specified by:
      findByG_F_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_S_First(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      Specified by:
      fetchByG_F_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByG_F_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      Specified by:
      findByG_F_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_S_Last(long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      Specified by:
      fetchByG_F_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByG_F_S_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      Specified by:
      findByG_F_S_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      groupId - the group ID
      folderId - the folder ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByG_F_S_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByG_F_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByG_F_S

      public void removeByG_F_S(long groupId, long folderId, int status)
      Removes all the document library file versions where groupId = ? and folderId = ? and status = ? from the database.
      Specified by:
      removeByG_F_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
    • countByG_F_S

      public int countByG_F_S(long groupId, long folderId, int status)
      Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.
      Specified by:
      countByG_F_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      Returns:
      the number of matching document library file versions
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status)
      Returns all the document library file versions where companyId = ? and expirationDate = ? and status = ?.
      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      Returns:
      the matching document library file versions
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end)
      Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.

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

      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.

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

      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?.

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

      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByC_E_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      Specified by:
      findByC_E_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_E_S_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_E_S_First(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      Specified by:
      fetchByC_E_S_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByC_E_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      Specified by:
      findByC_E_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_E_S_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByC_E_S_Last(long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      Specified by:
      fetchByC_E_S_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByC_E_S_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByC_E_S_PrevAndNext(long fileVersionId, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      Specified by:
      findByC_E_S_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByC_E_S_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByC_E_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long companyId, Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses)
      Returns all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.

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

      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      statuses - the statuses
      Returns:
      the matching document library file versions
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end)
      Returns a range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.

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

      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      statuses - the statuses
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = any ?.

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

      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      statuses - the statuses
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByC_E_S

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where companyId = ? and expirationDate = ? and status = ?, optionally using the finder cache.

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

      Specified by:
      findByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      statuses - the statuses
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • removeByC_E_S

      public void removeByC_E_S(long companyId, Date expirationDate, int status)
      Removes all the document library file versions where companyId = ? and expirationDate = ? and status = ? from the database.
      Specified by:
      removeByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
    • countByC_E_S

      public int countByC_E_S(long companyId, Date expirationDate, int status)
      Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.
      Specified by:
      countByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      Returns:
      the number of matching document library file versions
    • countByC_E_S

      public int countByC_E_S(long companyId, Date expirationDate, int[] statuses)
      Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = any ?.
      Specified by:
      countByC_E_S in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      statuses - the statuses
      Returns:
      the number of matching document library file versions
    • findByG_F_T_V

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version)
      Returns all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
      Specified by:
      findByG_F_T_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      Returns:
      the matching document library file versions
    • findByG_F_T_V

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end)
      Returns a range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.

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

      Specified by:
      findByG_F_T_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of matching document library file versions
    • findByG_F_T_V

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.

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

      Specified by:
      findByG_F_T_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file versions
    • findByG_F_T_V

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.

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

      Specified by:
      findByG_F_T_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • findByG_F_T_V_First

      public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      Specified by:
      findByG_F_T_V_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_T_V_First

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      Specified by:
      fetchByG_F_T_V_First in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByG_F_T_V_Last

      public com.liferay.document.library.kernel.model.DLFileVersion findByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      Specified by:
      findByG_F_T_V_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_T_V_Last

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByG_F_T_V_Last(long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      Specified by:
      fetchByG_F_T_V_Last in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByG_F_T_V_PrevAndNext

      public com.liferay.document.library.kernel.model.DLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      Specified by:
      findByG_F_T_V_PrevAndNext in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the current document library file version
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • getByG_F_T_V_PrevAndNext

      protected com.liferay.document.library.kernel.model.DLFileVersion getByG_F_T_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion, long groupId, long folderId, String title, String version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean previous)
    • removeByG_F_T_V

      public void removeByG_F_T_V(long groupId, long folderId, String title, String version)
      Removes all the document library file versions where groupId = ? and folderId = ? and title = ? and version = ? from the database.
      Specified by:
      removeByG_F_T_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
    • countByG_F_T_V

      public int countByG_F_T_V(long groupId, long folderId, String title, String version)
      Returns the number of document library file versions where groupId = ? and folderId = ? and title = ? and version = ?.
      Specified by:
      countByG_F_T_V in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
      Returns:
      the number of matching document library file versions
    • cacheResult

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

      public void cacheResult(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions)
      Caches the document library file versions in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      dlFileVersions - the document library file versions
    • clearCache

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

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

      public void clearCache(com.liferay.document.library.kernel.model.DLFileVersion dlFileVersion)
      Clears the cache for the document library file version.

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

      public void clearCache(List<com.liferay.document.library.kernel.model.DLFileVersion> dlFileVersions)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
    • 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.DLFileVersion>
    • cacheUniqueFindersCache

      protected void cacheUniqueFindersCache(DLFileVersionModelImpl dlFileVersionModelImpl)
    • create

      public com.liferay.document.library.kernel.model.DLFileVersion create(long fileVersionId)
      Creates a new document library file version with the primary key. Does not add the document library file version to the database.
      Specified by:
      create in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key for the new document library file version
      Returns:
      the new document library file version
    • remove

      public com.liferay.document.library.kernel.model.DLFileVersion remove(long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Removes the document library file version 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.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the document library file version
      Returns:
      the document library file version that was removed
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • remove

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

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

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

      public com.liferay.document.library.kernel.model.DLFileVersion findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file version 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.DLFileVersion>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
      Parameters:
      primaryKey - the primary key of the document library file version
      Returns:
      the document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.document.library.kernel.model.DLFileVersion findByPrimaryKey(long fileVersionId) throws com.liferay.document.library.kernel.exception.NoSuchFileVersionException
      Returns the document library file version with the primary key or throws a NoSuchFileVersionException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the document library file version
      Returns:
      the document library file version
      Throws:
      com.liferay.document.library.kernel.exception.NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByPrimaryKey(Serializable primaryKey)
      Returns the document library file version 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.DLFileVersion>
      Overrides:
      fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
      Parameters:
      primaryKey - the primary key of the document library file version
      Returns:
      the document library file version, or null if a document library file version with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.document.library.kernel.model.DLFileVersion fetchByPrimaryKey(long fileVersionId)
      Returns the document library file version 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.DLFileVersionPersistence
      Parameters:
      fileVersionId - the primary key of the document library file version
      Returns:
      the document library file version, or null if a document library file version with the primary key could not be found
    • fetchByPrimaryKeys

      public Map<Serializable,com.liferay.document.library.kernel.model.DLFileVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      Specified by:
      fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
      Overrides:
      fetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
    • findAll

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findAll()
      Returns all the document library file versions.
      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Returns:
      the document library file versions
    • findAll

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findAll(int start, int end)
      Returns a range of all the document library file versions.

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

      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      Returns:
      the range of document library file versions
    • findAll

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator)
      Returns an ordered range of all the document library file versions.

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

      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of document library file versions
    • findAll

      public List<com.liferay.document.library.kernel.model.DLFileVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file versions.

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

      Specified by:
      findAll in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
      Parameters:
      start - the lower bound of the range of document library file versions
      end - the upper bound of the range of document library file versions (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 versions
    • removeAll

      public void removeAll()
      Removes all the document library file versions from the database.
      Specified by:
      removeAll in interface com.liferay.document.library.kernel.service.persistence.DLFileVersionPersistence
    • countAll

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

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileVersion>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
    • 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.DLFileVersion>
    • getPKDBName

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

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
    • 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.DLFileVersion>
    • 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.DLFileVersion>
    • 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.DLFileVersion>
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileVersion>
    • getTableName

      public String getTableName()
      Specified by:
      getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileVersion>
    • 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.DLFileVersion>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the document library file version 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.DLFileVersion>