Interface DLFileVersionPersistence

All Superinterfaces:
BasePersistence<DLFileVersion>, CTPersistence<DLFileVersion>

@ProviderType public interface DLFileVersionPersistence extends BasePersistence<DLFileVersion>, CTPersistence<DLFileVersion>
The persistence interface for the document library file version service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • findByUuid

      List<DLFileVersion> findByUuid(String uuid)
      Returns all the document library file versions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching document library file versions
    • findByUuid

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

      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

      List<DLFileVersion> findByUuid(String uuid, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByUuid(String uuid, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByUuid_First(String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUuid_First

      DLFileVersion fetchByUuid_First(String uuid, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByUuid_Last

      DLFileVersion findByUuid_Last(String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUuid_Last

      DLFileVersion fetchByUuid_Last(String uuid, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByUuid_PrevAndNext

      DLFileVersion[] findByUuid_PrevAndNext(long fileVersionId, String uuid, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the document library file versions where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of document library file versions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching document library file versions
    • findByUUID_G

      DLFileVersion findByUUID_G(String uuid, long groupId) throws NoSuchFileVersionException
      Returns the document library file version where uuid = ? and groupId = ? or throws a NoSuchFileVersionException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUUID_G

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

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

      DLFileVersion removeByUUID_G(String uuid, long groupId) throws NoSuchFileVersionException
      Removes the document library file version where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the document library file version that was removed
      Throws:
      NoSuchFileVersionException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of document library file versions where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching document library file versions
    • findByUuid_C

      List<DLFileVersion> findByUuid_C(String uuid, long companyId)
      Returns all the document library file versions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching document library file versions
    • findByUuid_C

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

      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

      List<DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUuid_C_First

      DLFileVersion fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where uuid = ? and companyId = ?.
      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

      DLFileVersion findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByUuid_C_Last

      DLFileVersion fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where uuid = ? and companyId = ?.
      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

      DLFileVersion[] findByUuid_C_PrevAndNext(long fileVersionId, String uuid, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where uuid = ? and companyId = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the document library file versions where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of document library file versions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching document library file versions
    • findByCompanyId

      List<DLFileVersion> findByCompanyId(long companyId)
      Returns all the document library file versions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching document library file versions
    • findByCompanyId

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

      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

      List<DLFileVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByCompanyId_First(long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByCompanyId_First

      DLFileVersion fetchByCompanyId_First(long companyId, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ?.
      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

      DLFileVersion findByCompanyId_Last(long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByCompanyId_Last

      DLFileVersion fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ?.
      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

      DLFileVersion[] findByCompanyId_PrevAndNext(long fileVersionId, long companyId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the document library file versions where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of document library file versions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching document library file versions
    • findByFileEntryId

      List<DLFileVersion> findByFileEntryId(long fileEntryId)
      Returns all the document library file versions where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the matching document library file versions
    • findByFileEntryId

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

      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

      List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByFileEntryId(long fileEntryId, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByFileEntryId_First

      DLFileVersion fetchByFileEntryId_First(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version, or null if a matching document library file version could not be found
    • findByFileEntryId_Last

      DLFileVersion findByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByFileEntryId_Last

      DLFileVersion fetchByFileEntryId_Last(long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version, or null if a matching document library file version could not be found
    • findByFileEntryId_PrevAndNext

      DLFileVersion[] findByFileEntryId_PrevAndNext(long fileVersionId, long fileEntryId, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByFileEntryId

      void removeByFileEntryId(long fileEntryId)
      Removes all the document library file versions where fileEntryId = ? from the database.
      Parameters:
      fileEntryId - the file entry ID
    • countByFileEntryId

      int countByFileEntryId(long fileEntryId)
      Returns the number of document library file versions where fileEntryId = ?.
      Parameters:
      fileEntryId - the file entry ID
      Returns:
      the number of matching document library file versions
    • findByMimeType

      List<DLFileVersion> findByMimeType(String mimeType)
      Returns all the document library file versions where mimeType = ?.
      Parameters:
      mimeType - the mime type
      Returns:
      the matching document library file versions
    • findByMimeType

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

      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

      List<DLFileVersion> findByMimeType(String mimeType, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByMimeType(String mimeType, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByMimeType_First(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where mimeType = ?.
      Parameters:
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByMimeType_First

      DLFileVersion fetchByMimeType_First(String mimeType, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where mimeType = ?.
      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

      DLFileVersion findByMimeType_Last(String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where mimeType = ?.
      Parameters:
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByMimeType_Last

      DLFileVersion fetchByMimeType_Last(String mimeType, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where mimeType = ?.
      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

      DLFileVersion[] findByMimeType_PrevAndNext(long fileVersionId, String mimeType, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where mimeType = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByMimeType

      void removeByMimeType(String mimeType)
      Removes all the document library file versions where mimeType = ? from the database.
      Parameters:
      mimeType - the mime type
    • countByMimeType

      int countByMimeType(String mimeType)
      Returns the number of document library file versions where mimeType = ?.
      Parameters:
      mimeType - the mime type
      Returns:
      the number of matching document library file versions
    • findByC_SU

      List<DLFileVersion> findByC_SU(long companyId, String storeUUID)
      Returns all the document library file versions where companyId = ? and storeUUID = ?.
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      Returns:
      the matching document library file versions
    • findByC_SU

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

      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

      List<DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByC_SU(long companyId, String storeUUID, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByC_SU_First(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_SU_First

      DLFileVersion fetchByC_SU_First(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ? and storeUUID = ?.
      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

      DLFileVersion findByC_SU_Last(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_SU_Last

      DLFileVersion fetchByC_SU_Last(long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ? and storeUUID = ?.
      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

      DLFileVersion[] findByC_SU_PrevAndNext(long fileVersionId, long companyId, String storeUUID, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and storeUUID = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByC_SU

      void removeByC_SU(long companyId, String storeUUID)
      Removes all the document library file versions where companyId = ? and storeUUID = ? from the database.
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
    • countByC_SU

      int countByC_SU(long companyId, String storeUUID)
      Returns the number of document library file versions where companyId = ? and storeUUID = ?.
      Parameters:
      companyId - the company ID
      storeUUID - the store uuid
      Returns:
      the number of matching document library file versions
    • findByC_NotS

      List<DLFileVersion> findByC_NotS(long companyId, int status)
      Returns all the document library file versions where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the matching document library file versions
    • findByC_NotS

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

      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

      List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByC_NotS_First(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_NotS_First

      DLFileVersion fetchByC_NotS_First(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ? and status ≠ ?.
      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

      DLFileVersion findByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_NotS_Last

      DLFileVersion fetchByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ? and status ≠ ?.
      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

      DLFileVersion[] findByC_NotS_PrevAndNext(long fileVersionId, long companyId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where companyId = ? and status ≠ ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByC_NotS

      void removeByC_NotS(long companyId, int status)
      Removes all the document library file versions where companyId = ? and status ≠ ? from the database.
      Parameters:
      companyId - the company ID
      status - the status
    • countByC_NotS

      int countByC_NotS(long companyId, int status)
      Returns the number of document library file versions where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      Returns:
      the number of matching document library file versions
    • findByF_V

      DLFileVersion findByF_V(long fileEntryId, String version) throws NoSuchFileVersionException
      Returns the document library file version where fileEntryId = ? and version = ? or throws a NoSuchFileVersionException if it could not be found.
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      Returns:
      the matching document library file version
      Throws:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByF_V

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

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

      DLFileVersion removeByF_V(long fileEntryId, String version) throws NoSuchFileVersionException
      Removes the document library file version where fileEntryId = ? and version = ? from the database.
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      Returns:
      the document library file version that was removed
      Throws:
      NoSuchFileVersionException
    • countByF_V

      int countByF_V(long fileEntryId, String version)
      Returns the number of document library file versions where fileEntryId = ? and version = ?.
      Parameters:
      fileEntryId - the file entry ID
      version - the version
      Returns:
      the number of matching document library file versions
    • findByF_S

      List<DLFileVersion> findByF_S(long fileEntryId, int status)
      Returns all the document library file versions where fileEntryId = ? and status = ?.
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      Returns:
      the matching document library file versions
    • findByF_S

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

      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

      List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByF_S(long fileEntryId, int status, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByF_S_First(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByF_S_First

      DLFileVersion fetchByF_S_First(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where fileEntryId = ? and status = ?.
      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

      DLFileVersion findByF_S_Last(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByF_S_Last

      DLFileVersion fetchByF_S_Last(long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where fileEntryId = ? and status = ?.
      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

      DLFileVersion[] findByF_S_PrevAndNext(long fileVersionId, long fileEntryId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where fileEntryId = ? and status = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • findByF_S

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

      Parameters:
      fileEntryId - the file entry ID
      statuses - the statuses
      Returns:
      the matching document library file versions
    • findByF_S

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

      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

      List<DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByF_S(long fileEntryId, int[] statuses, int start, int end, OrderByComparator<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.

      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

      void removeByF_S(long fileEntryId, int status)
      Removes all the document library file versions where fileEntryId = ? and status = ? from the database.
      Parameters:
      fileEntryId - the file entry ID
      status - the status
    • countByF_S

      int countByF_S(long fileEntryId, int status)
      Returns the number of document library file versions where fileEntryId = ? and status = ?.
      Parameters:
      fileEntryId - the file entry ID
      status - the status
      Returns:
      the number of matching document library file versions
    • countByF_S

      int countByF_S(long fileEntryId, int[] statuses)
      Returns the number of document library file versions where fileEntryId = ? and status = any ?.
      Parameters:
      fileEntryId - the file entry ID
      statuses - the statuses
      Returns:
      the number of matching document library file versions
    • findByLtD_S

      List<DLFileVersion> findByLtD_S(Date displayDate, int status)
      Returns all the document library file versions where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching document library file versions
    • findByLtD_S

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

      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

      List<DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByLtD_S(Date displayDate, int status, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByLtD_S_First(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where displayDate < ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByLtD_S_First

      DLFileVersion fetchByLtD_S_First(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where displayDate < ? and status = ?.
      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

      DLFileVersion findByLtD_S_Last(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where displayDate < ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByLtD_S_Last

      DLFileVersion fetchByLtD_S_Last(Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where displayDate < ? and status = ?.
      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

      DLFileVersion[] findByLtD_S_PrevAndNext(long fileVersionId, Date displayDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the document library file versions before and after the current document library file version in the ordered set where displayDate < ? and status = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByLtD_S

      void removeByLtD_S(Date displayDate, int status)
      Removes all the document library file versions where displayDate < ? and status = ? from the database.
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      int countByLtD_S(Date displayDate, int status)
      Returns the number of document library file versions where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching document library file versions
    • findByG_F_S

      List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status)
      Returns all the document library file versions where groupId = ? and folderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      Returns:
      the matching document library file versions
    • findByG_F_S

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

      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

      List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByG_F_S(long groupId, long folderId, int status, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_S_First

      DLFileVersion fetchByG_F_S_First(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      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

      DLFileVersion findByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_S_Last

      DLFileVersion fetchByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and status = ?.
      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

      DLFileVersion[] findByG_F_S_PrevAndNext(long fileVersionId, long groupId, long folderId, int status, OrderByComparator<DLFileVersion> orderByComparator) throws 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 = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByG_F_S

      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.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
    • countByG_F_S

      int countByG_F_S(long groupId, long folderId, int status)
      Returns the number of document library file versions where groupId = ? and folderId = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      status - the status
      Returns:
      the number of matching document library file versions
    • findByC_E_S

      List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status)
      Returns all the document library file versions where companyId = ? and expirationDate = ? and status = ?.
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      Returns:
      the matching document library file versions
    • findByC_E_S

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

      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

      List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int status, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByC_E_S_First(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_E_S_First

      DLFileVersion fetchByC_E_S_First(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      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

      DLFileVersion findByC_E_S_Last(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByC_E_S_Last

      DLFileVersion fetchByC_E_S_Last(long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where companyId = ? and expirationDate = ? and status = ?.
      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

      DLFileVersion[] findByC_E_S_PrevAndNext(long fileVersionId, long companyId, Date expirationDate, int status, OrderByComparator<DLFileVersion> orderByComparator) throws 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 = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • findByC_E_S

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

      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      statuses - the statuses
      Returns:
      the matching document library file versions
    • findByC_E_S

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

      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

      List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByC_E_S(long companyId, Date expirationDate, int[] statuses, int start, int end, OrderByComparator<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.

      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

      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.
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
    • countByC_E_S

      int countByC_E_S(long companyId, Date expirationDate, int status)
      Returns the number of document library file versions where companyId = ? and expirationDate = ? and status = ?.
      Parameters:
      companyId - the company ID
      expirationDate - the expiration date
      status - the status
      Returns:
      the number of matching document library file versions
    • countByC_E_S

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

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

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

      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

      List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findByG_F_T_V(long groupId, long folderId, String title, String version, int start, int end, OrderByComparator<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.

      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

      DLFileVersion findByG_F_T_V_First(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_T_V_First

      DLFileVersion fetchByG_F_T_V_First(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the first document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      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

      DLFileVersion findByG_F_T_V_Last(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws NoSuchFileVersionException
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      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:
      NoSuchFileVersionException - if a matching document library file version could not be found
    • fetchByG_F_T_V_Last

      DLFileVersion fetchByG_F_T_V_Last(long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator)
      Returns the last document library file version in the ordered set where groupId = ? and folderId = ? and title = ? and version = ?.
      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

      DLFileVersion[] findByG_F_T_V_PrevAndNext(long fileVersionId, long groupId, long folderId, String title, String version, OrderByComparator<DLFileVersion> orderByComparator) throws 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 = ?.
      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:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • removeByG_F_T_V

      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.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      version - the version
    • countByG_F_T_V

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

      void cacheResult(DLFileVersion dlFileVersion)
      Caches the document library file version in the entity cache if it is enabled.
      Parameters:
      dlFileVersion - the document library file version
    • cacheResult

      void cacheResult(List<DLFileVersion> dlFileVersions)
      Caches the document library file versions in the entity cache if it is enabled.
      Parameters:
      dlFileVersions - the document library file versions
    • create

      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.
      Parameters:
      fileVersionId - the primary key for the new document library file version
      Returns:
      the new document library file version
    • remove

      DLFileVersion remove(long fileVersionId) throws NoSuchFileVersionException
      Removes the document library file version with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      fileVersionId - the primary key of the document library file version
      Returns:
      the document library file version that was removed
      Throws:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • updateImpl

      DLFileVersion updateImpl(DLFileVersion dlFileVersion)
    • findByPrimaryKey

      DLFileVersion findByPrimaryKey(long fileVersionId) throws NoSuchFileVersionException
      Returns the document library file version with the primary key or throws a NoSuchFileVersionException if it could not be found.
      Parameters:
      fileVersionId - the primary key of the document library file version
      Returns:
      the document library file version
      Throws:
      NoSuchFileVersionException - if a document library file version with the primary key could not be found
    • fetchByPrimaryKey

      DLFileVersion fetchByPrimaryKey(long fileVersionId)
      Returns the document library file version with the primary key or returns null if it could not be found.
      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
    • findAll

      List<DLFileVersion> findAll()
      Returns all the document library file versions.
      Returns:
      the document library file versions
    • findAll

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

      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

      List<DLFileVersion> findAll(int start, int end, OrderByComparator<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.

      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

      List<DLFileVersion> findAll(int start, int end, OrderByComparator<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.

      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

      void removeAll()
      Removes all the document library file versions from the database.
    • countAll

      int countAll()
      Returns the number of document library file versions.
      Returns:
      the number of document library file versions