Object
com.liferay.document.library.kernel.service.persistence.DLFileEntryUtil

public class DLFileEntryUtil extends Object
The persistence utility for the document library file entry service. This utility wraps com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

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

    • DLFileEntryUtil

      public DLFileEntryUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
    • clearCache

      public static void clearCache(DLFileEntry dlFileEntry)
      See Also:
    • countWithDynamicQuery

      public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • fetchByPrimaryKeys

      public static Map<Serializable,DLFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
    • findWithDynamicQuery

      public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • findWithDynamicQuery

      public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
      See Also:
    • findWithDynamicQuery

      public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      See Also:
    • update

      public static DLFileEntry update(DLFileEntry dlFileEntry)
      See Also:
    • update

      public static DLFileEntry update(DLFileEntry dlFileEntry, ServiceContext serviceContext)
      See Also:
    • findByUuid

      public static List<DLFileEntry> findByUuid(String uuid)
      Returns all the document library file entries where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching document library file entries
    • findByUuid

      public static List<DLFileEntry> findByUuid(String uuid, int start, int end)
      Returns a range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByUuid

      public static List<DLFileEntry> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByUuid

      public static List<DLFileEntry> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByUuid_First

      public static DLFileEntry findByUuid_First(String uuid, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByUuid_First

      public static DLFileEntry fetchByUuid_First(String uuid, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByUuid_Last

      public static DLFileEntry findByUuid_Last(String uuid, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByUuid_Last

      public static DLFileEntry fetchByUuid_Last(String uuid, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByUuid_PrevAndNext

      public static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, String uuid, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByUuid

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

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

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

      public static DLFileEntry fetchByUUID_G(String uuid, long groupId)
      Returns the document library file entry 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 entry, or null if a matching document library file entry could not be found
    • fetchByUUID_G

      public static DLFileEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the document library file entry 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 entry, or null if a matching document library file entry could not be found
    • removeByUUID_G

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

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

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

      public static List<DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByUuid_C

      public static List<DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByUuid_C

      public static List<DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByUuid_C_First

      public static DLFileEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByUuid_C_First

      public static DLFileEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByUuid_C_Last

      public static DLFileEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByUuid_C_Last

      public static DLFileEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByUuid_C_PrevAndNext

      public static DLFileEntry[] findByUuid_C_PrevAndNext(long fileEntryId, String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByUuid_C

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

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

      public static List<DLFileEntry> findByGroupId(long groupId)
      Returns all the document library file entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching document library file entries
    • findByGroupId

      public static List<DLFileEntry> findByGroupId(long groupId, int start, int end)
      Returns a range of all the document library file entries where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByGroupId

      public static List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByGroupId

      public static List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByGroupId_First

      public static DLFileEntry findByGroupId_First(long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByGroupId_First

      public static DLFileEntry fetchByGroupId_First(long groupId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByGroupId_Last

      public static DLFileEntry findByGroupId_Last(long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByGroupId_Last

      public static DLFileEntry fetchByGroupId_Last(long groupId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByGroupId_PrevAndNext

      public static DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByGroupId

      public static List<DLFileEntry> filterFindByGroupId(long groupId)
      Returns all the document library file entries that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByGroupId

      public static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByGroupId

      public static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?.

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

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      public static DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the document library file entries where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of document library file entries where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching document library file entries
    • filterCountByGroupId

      public static int filterCountByGroupId(long groupId)
      Returns the number of document library file entries that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching document library file entries that the user has permission to view
    • findByCompanyId

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

      public static List<DLFileEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByCompanyId

      public static List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByCompanyId

      public static List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByCompanyId_First

      public static DLFileEntry findByCompanyId_First(long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByCompanyId_First

      public static DLFileEntry fetchByCompanyId_First(long companyId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByCompanyId_Last

      public static DLFileEntry findByCompanyId_Last(long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByCompanyId_Last

      public static DLFileEntry fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByCompanyId_PrevAndNext

      public static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByCompanyId

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

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

      public static List<DLFileEntry> findByRepositoryId(long repositoryId)
      Returns all the document library file entries where repositoryId = ?.
      Parameters:
      repositoryId - the repository ID
      Returns:
      the matching document library file entries
    • findByRepositoryId

      public static List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end)
      Returns a range of all the document library file entries where repositoryId = ?.

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

      Parameters:
      repositoryId - the repository ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByRepositoryId

      public static List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where repositoryId = ?.

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

      Parameters:
      repositoryId - the repository ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByRepositoryId

      public static List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where repositoryId = ?.

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

      Parameters:
      repositoryId - the repository ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByRepositoryId_First

      public static DLFileEntry findByRepositoryId_First(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where repositoryId = ?.
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByRepositoryId_First

      public static DLFileEntry fetchByRepositoryId_First(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where repositoryId = ?.
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByRepositoryId_Last

      public static DLFileEntry findByRepositoryId_Last(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where repositoryId = ?.
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByRepositoryId_Last

      public static DLFileEntry fetchByRepositoryId_Last(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where repositoryId = ?.
      Parameters:
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByRepositoryId_PrevAndNext

      public static DLFileEntry[] findByRepositoryId_PrevAndNext(long fileEntryId, long repositoryId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      repositoryId - the repository ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByRepositoryId

      public static void removeByRepositoryId(long repositoryId)
      Removes all the document library file entries where repositoryId = ? from the database.
      Parameters:
      repositoryId - the repository ID
    • countByRepositoryId

      public static int countByRepositoryId(long repositoryId)
      Returns the number of document library file entries where repositoryId = ?.
      Parameters:
      repositoryId - the repository ID
      Returns:
      the number of matching document library file entries
    • findByMimeType

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

      public static List<DLFileEntry> findByMimeType(String mimeType, int start, int end)
      Returns a range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      mimeType - the mime type
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByMimeType

      public static List<DLFileEntry> findByMimeType(String mimeType, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      mimeType - the mime type
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByMimeType

      public static List<DLFileEntry> findByMimeType(String mimeType, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries 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 DLFileEntryModelImpl.

      Parameters:
      mimeType - the mime type
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByMimeType_First

      public static DLFileEntry findByMimeType_First(String mimeType, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByMimeType_First

      public static DLFileEntry fetchByMimeType_First(String mimeType, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByMimeType_Last

      public static DLFileEntry findByMimeType_Last(String mimeType, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry 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 entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByMimeType_Last

      public static DLFileEntry fetchByMimeType_Last(String mimeType, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry 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 entry, or null if a matching document library file entry could not be found
    • findByMimeType_PrevAndNext

      public static DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId, String mimeType, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      mimeType - the mime type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByMimeType

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

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

      public static List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId)
      Returns all the document library file entries where fileEntryTypeId = ?.
      Parameters:
      fileEntryTypeId - the file entry type ID
      Returns:
      the matching document library file entries
    • findByFileEntryTypeId

      public static List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end)
      Returns a range of all the document library file entries where fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByFileEntryTypeId

      public static List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByFileEntryTypeId

      public static List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByFileEntryTypeId_First

      public static DLFileEntry findByFileEntryTypeId_First(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.
      Parameters:
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByFileEntryTypeId_First

      public static DLFileEntry fetchByFileEntryTypeId_First(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.
      Parameters:
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByFileEntryTypeId_Last

      public static DLFileEntry findByFileEntryTypeId_Last(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.
      Parameters:
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByFileEntryTypeId_Last

      public static DLFileEntry fetchByFileEntryTypeId_Last(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.
      Parameters:
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByFileEntryTypeId_PrevAndNext

      public static DLFileEntry[] findByFileEntryTypeId_PrevAndNext(long fileEntryId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where fileEntryTypeId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByFileEntryTypeId

      public static void removeByFileEntryTypeId(long fileEntryTypeId)
      Removes all the document library file entries where fileEntryTypeId = ? from the database.
      Parameters:
      fileEntryTypeId - the file entry type ID
    • countByFileEntryTypeId

      public static int countByFileEntryTypeId(long fileEntryTypeId)
      Returns the number of document library file entries where fileEntryTypeId = ?.
      Parameters:
      fileEntryTypeId - the file entry type ID
      Returns:
      the number of matching document library file entries
    • findBySmallImageId

      public static List<DLFileEntry> findBySmallImageId(long smallImageId)
      Returns all the document library file entries where smallImageId = ?.
      Parameters:
      smallImageId - the small image ID
      Returns:
      the matching document library file entries
    • findBySmallImageId

      public static List<DLFileEntry> findBySmallImageId(long smallImageId, int start, int end)
      Returns a range of all the document library file entries where smallImageId = ?.

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

      Parameters:
      smallImageId - the small image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findBySmallImageId

      public static List<DLFileEntry> findBySmallImageId(long smallImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where smallImageId = ?.

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

      Parameters:
      smallImageId - the small image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findBySmallImageId

      public static List<DLFileEntry> findBySmallImageId(long smallImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where smallImageId = ?.

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

      Parameters:
      smallImageId - the small image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findBySmallImageId_First

      public static DLFileEntry findBySmallImageId_First(long smallImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where smallImageId = ?.
      Parameters:
      smallImageId - the small image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchBySmallImageId_First

      public static DLFileEntry fetchBySmallImageId_First(long smallImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where smallImageId = ?.
      Parameters:
      smallImageId - the small image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findBySmallImageId_Last

      public static DLFileEntry findBySmallImageId_Last(long smallImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where smallImageId = ?.
      Parameters:
      smallImageId - the small image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchBySmallImageId_Last

      public static DLFileEntry fetchBySmallImageId_Last(long smallImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where smallImageId = ?.
      Parameters:
      smallImageId - the small image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findBySmallImageId_PrevAndNext

      public static DLFileEntry[] findBySmallImageId_PrevAndNext(long fileEntryId, long smallImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where smallImageId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      smallImageId - the small image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeBySmallImageId

      public static void removeBySmallImageId(long smallImageId)
      Removes all the document library file entries where smallImageId = ? from the database.
      Parameters:
      smallImageId - the small image ID
    • countBySmallImageId

      public static int countBySmallImageId(long smallImageId)
      Returns the number of document library file entries where smallImageId = ?.
      Parameters:
      smallImageId - the small image ID
      Returns:
      the number of matching document library file entries
    • findByLargeImageId

      public static List<DLFileEntry> findByLargeImageId(long largeImageId)
      Returns all the document library file entries where largeImageId = ?.
      Parameters:
      largeImageId - the large image ID
      Returns:
      the matching document library file entries
    • findByLargeImageId

      public static List<DLFileEntry> findByLargeImageId(long largeImageId, int start, int end)
      Returns a range of all the document library file entries where largeImageId = ?.

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

      Parameters:
      largeImageId - the large image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByLargeImageId

      public static List<DLFileEntry> findByLargeImageId(long largeImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where largeImageId = ?.

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

      Parameters:
      largeImageId - the large image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByLargeImageId

      public static List<DLFileEntry> findByLargeImageId(long largeImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where largeImageId = ?.

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

      Parameters:
      largeImageId - the large image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByLargeImageId_First

      public static DLFileEntry findByLargeImageId_First(long largeImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where largeImageId = ?.
      Parameters:
      largeImageId - the large image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByLargeImageId_First

      public static DLFileEntry fetchByLargeImageId_First(long largeImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where largeImageId = ?.
      Parameters:
      largeImageId - the large image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByLargeImageId_Last

      public static DLFileEntry findByLargeImageId_Last(long largeImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where largeImageId = ?.
      Parameters:
      largeImageId - the large image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByLargeImageId_Last

      public static DLFileEntry fetchByLargeImageId_Last(long largeImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where largeImageId = ?.
      Parameters:
      largeImageId - the large image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByLargeImageId_PrevAndNext

      public static DLFileEntry[] findByLargeImageId_PrevAndNext(long fileEntryId, long largeImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where largeImageId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      largeImageId - the large image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByLargeImageId

      public static void removeByLargeImageId(long largeImageId)
      Removes all the document library file entries where largeImageId = ? from the database.
      Parameters:
      largeImageId - the large image ID
    • countByLargeImageId

      public static int countByLargeImageId(long largeImageId)
      Returns the number of document library file entries where largeImageId = ?.
      Parameters:
      largeImageId - the large image ID
      Returns:
      the number of matching document library file entries
    • findByCustom1ImageId

      public static List<DLFileEntry> findByCustom1ImageId(long custom1ImageId)
      Returns all the document library file entries where custom1ImageId = ?.
      Parameters:
      custom1ImageId - the custom1 image ID
      Returns:
      the matching document library file entries
    • findByCustom1ImageId

      public static List<DLFileEntry> findByCustom1ImageId(long custom1ImageId, int start, int end)
      Returns a range of all the document library file entries where custom1ImageId = ?.

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

      Parameters:
      custom1ImageId - the custom1 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByCustom1ImageId

      public static List<DLFileEntry> findByCustom1ImageId(long custom1ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where custom1ImageId = ?.

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

      Parameters:
      custom1ImageId - the custom1 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByCustom1ImageId

      public static List<DLFileEntry> findByCustom1ImageId(long custom1ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where custom1ImageId = ?.

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

      Parameters:
      custom1ImageId - the custom1 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByCustom1ImageId_First

      public static DLFileEntry findByCustom1ImageId_First(long custom1ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where custom1ImageId = ?.
      Parameters:
      custom1ImageId - the custom1 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByCustom1ImageId_First

      public static DLFileEntry fetchByCustom1ImageId_First(long custom1ImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where custom1ImageId = ?.
      Parameters:
      custom1ImageId - the custom1 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByCustom1ImageId_Last

      public static DLFileEntry findByCustom1ImageId_Last(long custom1ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where custom1ImageId = ?.
      Parameters:
      custom1ImageId - the custom1 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByCustom1ImageId_Last

      public static DLFileEntry fetchByCustom1ImageId_Last(long custom1ImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where custom1ImageId = ?.
      Parameters:
      custom1ImageId - the custom1 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByCustom1ImageId_PrevAndNext

      public static DLFileEntry[] findByCustom1ImageId_PrevAndNext(long fileEntryId, long custom1ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where custom1ImageId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      custom1ImageId - the custom1 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByCustom1ImageId

      public static void removeByCustom1ImageId(long custom1ImageId)
      Removes all the document library file entries where custom1ImageId = ? from the database.
      Parameters:
      custom1ImageId - the custom1 image ID
    • countByCustom1ImageId

      public static int countByCustom1ImageId(long custom1ImageId)
      Returns the number of document library file entries where custom1ImageId = ?.
      Parameters:
      custom1ImageId - the custom1 image ID
      Returns:
      the number of matching document library file entries
    • findByCustom2ImageId

      public static List<DLFileEntry> findByCustom2ImageId(long custom2ImageId)
      Returns all the document library file entries where custom2ImageId = ?.
      Parameters:
      custom2ImageId - the custom2 image ID
      Returns:
      the matching document library file entries
    • findByCustom2ImageId

      public static List<DLFileEntry> findByCustom2ImageId(long custom2ImageId, int start, int end)
      Returns a range of all the document library file entries where custom2ImageId = ?.

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

      Parameters:
      custom2ImageId - the custom2 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByCustom2ImageId

      public static List<DLFileEntry> findByCustom2ImageId(long custom2ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where custom2ImageId = ?.

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

      Parameters:
      custom2ImageId - the custom2 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByCustom2ImageId

      public static List<DLFileEntry> findByCustom2ImageId(long custom2ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where custom2ImageId = ?.

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

      Parameters:
      custom2ImageId - the custom2 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByCustom2ImageId_First

      public static DLFileEntry findByCustom2ImageId_First(long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where custom2ImageId = ?.
      Parameters:
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByCustom2ImageId_First

      public static DLFileEntry fetchByCustom2ImageId_First(long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where custom2ImageId = ?.
      Parameters:
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByCustom2ImageId_Last

      public static DLFileEntry findByCustom2ImageId_Last(long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where custom2ImageId = ?.
      Parameters:
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByCustom2ImageId_Last

      public static DLFileEntry fetchByCustom2ImageId_Last(long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where custom2ImageId = ?.
      Parameters:
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByCustom2ImageId_PrevAndNext

      public static DLFileEntry[] findByCustom2ImageId_PrevAndNext(long fileEntryId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where custom2ImageId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByCustom2ImageId

      public static void removeByCustom2ImageId(long custom2ImageId)
      Removes all the document library file entries where custom2ImageId = ? from the database.
      Parameters:
      custom2ImageId - the custom2 image ID
    • countByCustom2ImageId

      public static int countByCustom2ImageId(long custom2ImageId)
      Returns the number of document library file entries where custom2ImageId = ?.
      Parameters:
      custom2ImageId - the custom2 image ID
      Returns:
      the number of matching document library file entries
    • findByG_U

      public static List<DLFileEntry> findByG_U(long groupId, long userId)
      Returns all the document library file entries where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the matching document library file entries
    • findByG_U

      public static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
      Returns a range of all the document library file entries where groupId = ? and userId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByG_U

      public static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByG_U

      public static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByG_U_First

      public static DLFileEntry findByG_U_First(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_U_First

      public static DLFileEntry fetchByG_U_First(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_U_Last

      public static DLFileEntry findByG_U_Last(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_U_Last

      public static DLFileEntry fetchByG_U_Last(long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_U_PrevAndNext

      public static DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByG_U

      public static List<DLFileEntry> filterFindByG_U(long groupId, long userId)
      Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByG_U

      public static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByG_U

      public static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • filterFindByG_U_PrevAndNext

      public static DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByG_U

      public static void removeByG_U(long groupId, long userId)
      Removes all the document library file entries where groupId = ? and userId = ? from the database.
      Parameters:
      groupId - the group ID
      userId - the user ID
    • countByG_U

      public static int countByG_U(long groupId, long userId)
      Returns the number of document library file entries where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the number of matching document library file entries
    • filterCountByG_U

      public static int filterCountByG_U(long groupId, long userId)
      Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      Returns:
      the number of matching document library file entries that the user has permission to view
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long folderId)
      Returns all the document library file entries where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      Returns:
      the matching document library file entries
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end)
      Returns a range of all the document library file entries where groupId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByG_F_First

      public static DLFileEntry findByG_F_First(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_F_First

      public static DLFileEntry fetchByG_F_First(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_F_Last

      public static DLFileEntry findByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_F_Last

      public static DLFileEntry fetchByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_F_PrevAndNext

      public static DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByG_F

      public static List<DLFileEntry> filterFindByG_F(long groupId, long folderId)
      Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByG_F

      public static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByG_F

      public static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • filterFindByG_F_PrevAndNext

      public static DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByG_F

      public static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds)
      Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByG_F

      public static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByG_F

      public static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds)
      Returns all the document library file entries where groupId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      Returns:
      the matching document library file entries
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end)
      Returns a range of all the document library file entries where groupId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByG_F

      public static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?, 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • removeByG_F

      public static void removeByG_F(long groupId, long folderId)
      Removes all the document library file entries where groupId = ? and folderId = ? from the database.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
    • countByG_F

      public static int countByG_F(long groupId, long folderId)
      Returns the number of document library file entries where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      Returns:
      the number of matching document library file entries
    • countByG_F

      public static int countByG_F(long groupId, long[] folderIds)
      Returns the number of document library file entries where groupId = ? and folderId = any ?.
      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      Returns:
      the number of matching document library file entries
    • filterCountByG_F

      public static int filterCountByG_F(long groupId, long folderId)
      Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      Returns:
      the number of matching document library file entries that the user has permission to view
    • filterCountByG_F

      public static int filterCountByG_F(long groupId, long[] folderIds)
      Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      Returns:
      the number of matching document library file entries that the user has permission to view
    • findByR_F

      public static List<DLFileEntry> findByR_F(long repositoryId, long folderId)
      Returns all the document library file entries where repositoryId = ? and folderId = ?.
      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      Returns:
      the matching document library file entries
    • findByR_F

      public static List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end)
      Returns a range of all the document library file entries where repositoryId = ? and folderId = ?.

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

      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByR_F

      public static List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.

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

      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByR_F

      public static List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.

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

      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByR_F_First

      public static DLFileEntry findByR_F_First(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.
      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByR_F_First

      public static DLFileEntry fetchByR_F_First(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.
      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByR_F_Last

      public static DLFileEntry findByR_F_Last(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.
      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByR_F_Last

      public static DLFileEntry fetchByR_F_Last(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.
      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByR_F_PrevAndNext

      public static DLFileEntry[] findByR_F_PrevAndNext(long fileEntryId, long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ? and folderId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      repositoryId - the repository ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByR_F

      public static void removeByR_F(long repositoryId, long folderId)
      Removes all the document library file entries where repositoryId = ? and folderId = ? from the database.
      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
    • countByR_F

      public static int countByR_F(long repositoryId, long folderId)
      Returns the number of document library file entries where repositoryId = ? and folderId = ?.
      Parameters:
      repositoryId - the repository ID
      folderId - the folder ID
      Returns:
      the number of matching document library file entries
    • findByF_N

      public static List<DLFileEntry> findByF_N(long folderId, String name)
      Returns all the document library file entries where folderId = ? and name = ?.
      Parameters:
      folderId - the folder ID
      name - the name
      Returns:
      the matching document library file entries
    • findByF_N

      public static List<DLFileEntry> findByF_N(long folderId, String name, int start, int end)
      Returns a range of all the document library file entries where folderId = ? and name = ?.

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

      Parameters:
      folderId - the folder ID
      name - the name
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByF_N

      public static List<DLFileEntry> findByF_N(long folderId, String name, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where folderId = ? and name = ?.

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

      Parameters:
      folderId - the folder ID
      name - the name
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByF_N

      public static List<DLFileEntry> findByF_N(long folderId, String name, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where folderId = ? and name = ?.

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

      Parameters:
      folderId - the folder ID
      name - the name
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByF_N_First

      public static DLFileEntry findByF_N_First(long folderId, String name, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where folderId = ? and name = ?.
      Parameters:
      folderId - the folder ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByF_N_First

      public static DLFileEntry fetchByF_N_First(long folderId, String name, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where folderId = ? and name = ?.
      Parameters:
      folderId - the folder ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByF_N_Last

      public static DLFileEntry findByF_N_Last(long folderId, String name, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where folderId = ? and name = ?.
      Parameters:
      folderId - the folder ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByF_N_Last

      public static DLFileEntry fetchByF_N_Last(long folderId, String name, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where folderId = ? and name = ?.
      Parameters:
      folderId - the folder ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByF_N_PrevAndNext

      public static DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId, long folderId, String name, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      folderId - the folder ID
      name - the name
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByF_N

      public static void removeByF_N(long folderId, String name)
      Removes all the document library file entries where folderId = ? and name = ? from the database.
      Parameters:
      folderId - the folder ID
      name - the name
    • countByF_N

      public static int countByF_N(long folderId, String name)
      Returns the number of document library file entries where folderId = ? and name = ?.
      Parameters:
      folderId - the folder ID
      name - the name
      Returns:
      the number of matching document library file entries
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId)
      Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      Returns:
      the matching document library file entries
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end)
      Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByG_U_F_First

      public static DLFileEntry findByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_U_F_First

      public static DLFileEntry fetchByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_U_F_Last

      public static DLFileEntry findByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_U_F_Last

      public static DLFileEntry fetchByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_U_F_PrevAndNext

      public static DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByG_U_F

      public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId)
      Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByG_U_F

      public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByG_U_F

      public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ?.

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

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • filterFindByG_U_F_PrevAndNext

      public static DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByG_U_F

      public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds)
      Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByG_U_F

      public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByG_U_F

      public static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds)
      Returns all the document library file entries where groupId = ? and userId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      Returns:
      the matching document library file entries
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
      Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByG_U_F

      public static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?, 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • removeByG_U_F

      public static void removeByG_U_F(long groupId, long userId, long folderId)
      Removes all the document library file entries where groupId = ? and userId = ? and folderId = ? from the database.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
    • countByG_U_F

      public static int countByG_U_F(long groupId, long userId, long folderId)
      Returns the number of document library file entries where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      Returns:
      the number of matching document library file entries
    • countByG_U_F

      public static int countByG_U_F(long groupId, long userId, long[] folderIds)
      Returns the number of document library file entries where groupId = ? and userId = ? and folderId = any ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      Returns:
      the number of matching document library file entries
    • filterCountByG_U_F

      public static int filterCountByG_U_F(long groupId, long userId, long folderId)
      Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderId - the folder ID
      Returns:
      the number of matching document library file entries that the user has permission to view
    • filterCountByG_U_F

      public static int filterCountByG_U_F(long groupId, long userId, long[] folderIds)
      Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
      Parameters:
      groupId - the group ID
      userId - the user ID
      folderIds - the folder IDs
      Returns:
      the number of matching document library file entries that the user has permission to view
    • findByG_F_N

      public static DLFileEntry findByG_F_N(long groupId, long folderId, String name) throws NoSuchFileEntryException
      Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws a NoSuchFileEntryException if it could not be found.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      name - the name
      Returns:
      the matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_F_N

      public static DLFileEntry fetchByG_F_N(long groupId, long folderId, String name)
      Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      name - the name
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • fetchByG_F_N

      public static DLFileEntry fetchByG_F_N(long groupId, long folderId, String name, boolean useFinderCache)
      Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      name - the name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • removeByG_F_N

      public static DLFileEntry removeByG_F_N(long groupId, long folderId, String name) throws NoSuchFileEntryException
      Removes the document library file entry where groupId = ? and folderId = ? and name = ? from the database.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      name - the name
      Returns:
      the document library file entry that was removed
      Throws:
      NoSuchFileEntryException
    • countByG_F_N

      public static int countByG_F_N(long groupId, long folderId, String name)
      Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      name - the name
      Returns:
      the number of matching document library file entries
    • findByG_F_FN

      public static DLFileEntry findByG_F_FN(long groupId, long folderId, String fileName) throws NoSuchFileEntryException
      Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or throws a NoSuchFileEntryException if it could not be found.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileName - the file name
      Returns:
      the matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_F_FN

      public static DLFileEntry fetchByG_F_FN(long groupId, long folderId, String fileName)
      Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileName - the file name
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • fetchByG_F_FN

      public static DLFileEntry fetchByG_F_FN(long groupId, long folderId, String fileName, boolean useFinderCache)
      Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileName - the file name
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • removeByG_F_FN

      public static DLFileEntry removeByG_F_FN(long groupId, long folderId, String fileName) throws NoSuchFileEntryException
      Removes the document library file entry where groupId = ? and folderId = ? and fileName = ? from the database.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileName - the file name
      Returns:
      the document library file entry that was removed
      Throws:
      NoSuchFileEntryException
    • countByG_F_FN

      public static int countByG_F_FN(long groupId, long folderId, String fileName)
      Returns the number of document library file entries where groupId = ? and folderId = ? and fileName = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileName - the file name
      Returns:
      the number of matching document library file entries
    • findByG_F_T

      public static DLFileEntry findByG_F_T(long groupId, long folderId, String title) throws NoSuchFileEntryException
      Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws a NoSuchFileEntryException if it could not be found.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      Returns:
      the matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_F_T

      public static DLFileEntry fetchByG_F_T(long groupId, long folderId, String title)
      Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • fetchByG_F_T

      public static DLFileEntry fetchByG_F_T(long groupId, long folderId, String title, boolean useFinderCache)
      Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • removeByG_F_T

      public static DLFileEntry removeByG_F_T(long groupId, long folderId, String title) throws NoSuchFileEntryException
      Removes the document library file entry where groupId = ? and folderId = ? and title = ? from the database.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      Returns:
      the document library file entry that was removed
      Throws:
      NoSuchFileEntryException
    • countByG_F_T

      public static int countByG_F_T(long groupId, long folderId, String title)
      Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      title - the title
      Returns:
      the number of matching document library file entries
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId)
      Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      Returns:
      the matching document library file entries
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end)
      Returns a range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByG_F_F_First

      public static DLFileEntry findByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_F_F_First

      public static DLFileEntry fetchByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_F_F_Last

      public static DLFileEntry findByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByG_F_F_Last

      public static DLFileEntry fetchByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByG_F_F_PrevAndNext

      public static DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByG_F_F

      public static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId)
      Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByG_F_F

      public static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByG_F_F

      public static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • filterFindByG_F_F_PrevAndNext

      public static DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • filterFindByG_F_F

      public static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
      Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      Returns:
      the matching document library file entries that the user has permission to view
    • filterFindByG_F_F

      public static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end)
      Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries that the user has permission to view
    • filterFindByG_F_F

      public static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries that the user has permission to view
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
      Returns all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      Returns:
      the matching document library file entries
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end)
      Returns a range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByG_F_F

      public static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?, 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 DLFileEntryModelImpl.

      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • removeByG_F_F

      public static void removeByG_F_F(long groupId, long folderId, long fileEntryTypeId)
      Removes all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ? from the database.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
    • countByG_F_F

      public static int countByG_F_F(long groupId, long folderId, long fileEntryTypeId)
      Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      Returns:
      the number of matching document library file entries
    • countByG_F_F

      public static int countByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
      Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      Returns:
      the number of matching document library file entries
    • filterCountByG_F_F

      public static int filterCountByG_F_F(long groupId, long folderId, long fileEntryTypeId)
      Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      fileEntryTypeId - the file entry type ID
      Returns:
      the number of matching document library file entries that the user has permission to view
    • filterCountByG_F_F

      public static int filterCountByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
      Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
      Parameters:
      groupId - the group ID
      folderIds - the folder IDs
      fileEntryTypeId - the file entry type ID
      Returns:
      the number of matching document library file entries that the user has permission to view
    • findByS_L_C1_C2

      public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId)
      Returns all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.
      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      Returns:
      the matching document library file entries
    • findByS_L_C1_C2

      public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end)
      Returns a range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.

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

      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of matching document library file entries
    • findByS_L_C1_C2

      public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.

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

      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching document library file entries
    • findByS_L_C1_C2

      public static List<DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.

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

      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • findByS_L_C1_C2_First

      public static DLFileEntry findByS_L_C1_C2_First(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.
      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByS_L_C1_C2_First

      public static DLFileEntry fetchByS_L_C1_C2_First(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.
      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file entry, or null if a matching document library file entry could not be found
    • findByS_L_C1_C2_Last

      public static DLFileEntry findByS_L_C1_C2_Last(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.
      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByS_L_C1_C2_Last

      public static DLFileEntry fetchByS_L_C1_C2_Last(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator)
      Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.
      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file entry, or null if a matching document library file entry could not be found
    • findByS_L_C1_C2_PrevAndNext

      public static DLFileEntry[] findByS_L_C1_C2_PrevAndNext(long fileEntryId, long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, OrderByComparator<DLFileEntry> orderByComparator) throws NoSuchFileEntryException
      Returns the document library file entries before and after the current document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.
      Parameters:
      fileEntryId - the primary key of the current document library file entry
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • removeByS_L_C1_C2

      public static void removeByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId)
      Removes all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ? from the database.
      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
    • countByS_L_C1_C2

      public static int countByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId)
      Returns the number of document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.
      Parameters:
      smallImageId - the small image ID
      largeImageId - the large image ID
      custom1ImageId - the custom1 image ID
      custom2ImageId - the custom2 image ID
      Returns:
      the number of matching document library file entries
    • findByERC_G

      public static DLFileEntry findByERC_G(String externalReferenceCode, long groupId) throws NoSuchFileEntryException
      Returns the document library file entry where externalReferenceCode = ? and groupId = ? or throws a NoSuchFileEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching document library file entry
      Throws:
      NoSuchFileEntryException - if a matching document library file entry could not be found
      NoSuchFileEntryException
    • fetchByERC_G

      public static DLFileEntry fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the document library file entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • fetchByERC_G

      public static DLFileEntry fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the document library file entry where externalReferenceCode = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching document library file entry, or null if a matching document library file entry could not be found
    • removeByERC_G

      public static DLFileEntry removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchFileEntryException
      Removes the document library file entry where externalReferenceCode = ? and groupId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the document library file entry that was removed
      Throws:
      NoSuchFileEntryException
    • countByERC_G

      public static int countByERC_G(String externalReferenceCode, long groupId)
      Returns the number of document library file entries where externalReferenceCode = ? and groupId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      groupId - the group ID
      Returns:
      the number of matching document library file entries
    • cacheResult

      public static void cacheResult(DLFileEntry dlFileEntry)
      Caches the document library file entry in the entity cache if it is enabled.
      Parameters:
      dlFileEntry - the document library file entry
    • cacheResult

      public static void cacheResult(List<DLFileEntry> dlFileEntries)
      Caches the document library file entries in the entity cache if it is enabled.
      Parameters:
      dlFileEntries - the document library file entries
    • create

      public static DLFileEntry create(long fileEntryId)
      Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.
      Parameters:
      fileEntryId - the primary key for the new document library file entry
      Returns:
      the new document library file entry
    • remove

      public static DLFileEntry remove(long fileEntryId) throws NoSuchFileEntryException
      Removes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      fileEntryId - the primary key of the document library file entry
      Returns:
      the document library file entry that was removed
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • updateImpl

      public static DLFileEntry updateImpl(DLFileEntry dlFileEntry)
    • findByPrimaryKey

      public static DLFileEntry findByPrimaryKey(long fileEntryId) throws NoSuchFileEntryException
      Returns the document library file entry with the primary key or throws a NoSuchFileEntryException if it could not be found.
      Parameters:
      fileEntryId - the primary key of the document library file entry
      Returns:
      the document library file entry
      Throws:
      NoSuchFileEntryException - if a document library file entry with the primary key could not be found
      NoSuchFileEntryException
    • fetchByPrimaryKey

      public static DLFileEntry fetchByPrimaryKey(long fileEntryId)
      Returns the document library file entry with the primary key or returns null if it could not be found.
      Parameters:
      fileEntryId - the primary key of the document library file entry
      Returns:
      the document library file entry, or null if a document library file entry with the primary key could not be found
    • findAll

      public static List<DLFileEntry> findAll()
      Returns all the document library file entries.
      Returns:
      the document library file entries
    • findAll

      public static List<DLFileEntry> findAll(int start, int end)
      Returns a range of all the document library file entries.

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

      Parameters:
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      Returns:
      the range of document library file entries
    • findAll

      public static List<DLFileEntry> findAll(int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
      Returns an ordered range of all the document library file entries.

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

      Parameters:
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of document library file entries
    • findAll

      public static List<DLFileEntry> findAll(int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file entries.

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

      Parameters:
      start - the lower bound of the range of document library file entries
      end - the upper bound of the range of document library file entries (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 entries
    • removeAll

      public static void removeAll()
      Removes all the document library file entries from the database.
    • countAll

      public static int countAll()
      Returns the number of document library file entries.
      Returns:
      the number of document library file entries
    • getPersistence

      public static DLFileEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DLFileEntryPersistence persistence)