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

public class DLFileShortcutUtil extends Object
The persistence utility for the document library file shortcut service. This utility wraps com.liferay.portlet.documentlibrary.service.persistence.impl.DLFileShortcutPersistenceImpl 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

    • DLFileShortcutUtil

      public DLFileShortcutUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
    • clearCache

      public static void clearCache(DLFileShortcut dlFileShortcut)
      See Also:
    • countWithDynamicQuery

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

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

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

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

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

      public static DLFileShortcut update(DLFileShortcut dlFileShortcut)
      See Also:
    • update

      public static DLFileShortcut update(DLFileShortcut dlFileShortcut, ServiceContext serviceContext)
      See Also:
    • findByUuid

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId, String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      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 shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the document library file shortcuts 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 shortcuts where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching document library file shortcuts
    • findByGroupId

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

      public static List<DLFileShortcut> findByGroupId(long groupId, int start, int end)
      Returns a range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns an ordered range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static DLFileShortcut findByGroupId_First(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the first document library file shortcut 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 shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByGroupId_First

      public static DLFileShortcut fetchByGroupId_First(long groupId, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the first document library file shortcut 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 shortcut, or null if a matching document library file shortcut could not be found
    • findByGroupId_Last

      public static DLFileShortcut findByGroupId_Last(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the last document library file shortcut 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 shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByGroupId_Last

      public static DLFileShortcut fetchByGroupId_Last(long groupId, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the last document library file shortcut 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 shortcut, or null if a matching document library file shortcut could not be found
    • findByGroupId_PrevAndNext

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

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

      public static List<DLFileShortcut> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns an ordered range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
      Returns all the document library file shortcuts where toFileEntryId = ?.
      Parameters:
      toFileEntryId - the to file entry ID
      Returns:
      the matching document library file shortcuts
    • findByToFileEntryId

      public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end)
      Returns a range of all the document library file shortcuts where toFileEntryId = ?.

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

      Parameters:
      toFileEntryId - the to file entry ID
      start - the lower bound of the range of document library file shortcuts
      end - the upper bound of the range of document library file shortcuts (not inclusive)
      Returns:
      the range of matching document library file shortcuts
    • findByToFileEntryId

      public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.

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

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

      public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.

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

      Parameters:
      toFileEntryId - the to file entry ID
      start - the lower bound of the range of document library file shortcuts
      end - the upper bound of the range of document library file shortcuts (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 shortcuts
    • findByToFileEntryId_First

      public static DLFileShortcut findByToFileEntryId_First(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
      Parameters:
      toFileEntryId - the to file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByToFileEntryId_First

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

      public static DLFileShortcut findByToFileEntryId_Last(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
      Parameters:
      toFileEntryId - the to file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByToFileEntryId_Last

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

      public static DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId, long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      toFileEntryId - the to file entry ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • removeByToFileEntryId

      public static void removeByToFileEntryId(long toFileEntryId)
      Removes all the document library file shortcuts where toFileEntryId = ? from the database.
      Parameters:
      toFileEntryId - the to file entry ID
    • countByToFileEntryId

      public static int countByToFileEntryId(long toFileEntryId)
      Returns the number of document library file shortcuts where toFileEntryId = ?.
      Parameters:
      toFileEntryId - the to file entry ID
      Returns:
      the number of matching document library file shortcuts
    • findByG_F

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

      public static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end)
      Returns a range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns an ordered range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static DLFileShortcut findByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the first document library file shortcut 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 shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByG_F_First

      public static DLFileShortcut fetchByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the first document library file shortcut 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 shortcut, or null if a matching document library file shortcut could not be found
    • findByG_F_Last

      public static DLFileShortcut findByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the last document library file shortcut 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 shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByG_F_Last

      public static DLFileShortcut fetchByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the last document library file shortcut 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 shortcut, or null if a matching document library file shortcut could not be found
    • findByG_F_PrevAndNext

      public static DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      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 shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • filterFindByG_F

      public static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId)
      Returns all the document library file shortcuts 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 shortcuts that the user has permission to view
    • filterFindByG_F

      public static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end)
      Returns a range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns an ordered range of all the document library file shortcuts 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 DLFileShortcutModelImpl.

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

      public static DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      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 shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • removeByG_F

      public static void removeByG_F(long groupId, long folderId)
      Removes all the document library file shortcuts 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 shortcuts where groupId = ? and folderId = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      Returns:
      the number of matching document library file shortcuts
    • filterCountByG_F

      public static int filterCountByG_F(long groupId, long folderId)
      Returns the number of document library file shortcuts 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 shortcuts that the user has permission to view
    • findByC_NotS

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

      public static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end)
      Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

      public static DLFileShortcut findByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByC_NotS_First

      public static DLFileShortcut fetchByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
    • findByC_NotS_Last

      public static DLFileShortcut findByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByC_NotS_Last

      public static DLFileShortcut fetchByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
    • findByC_NotS_PrevAndNext

      public static DLFileShortcut[] findByC_NotS_PrevAndNext(long fileShortcutId, long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      companyId - the company ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • removeByC_NotS

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

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

      public static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active)
      Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      Returns:
      the matching document library file shortcuts
    • findByG_F_A

      public static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end)
      Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.

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

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

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

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

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

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

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

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

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

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

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

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

      public static DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      groupId - the group ID
      folderId - the folder ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • filterFindByG_F_A

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

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

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

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

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

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

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

      public static DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      groupId - the group ID
      folderId - the folder ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • removeByG_F_A

      public static void removeByG_F_A(long groupId, long folderId, boolean active)
      Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
    • countByG_F_A

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

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

      public static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status)
      Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      Returns:
      the matching document library file shortcuts
    • findByG_F_A_S

      public static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end)
      Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

      public static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

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

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

      public static DLFileShortcut findByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByG_F_A_S_First

      public static DLFileShortcut fetchByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
    • findByG_F_A_S_Last

      public static DLFileShortcut findByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a matching document library file shortcut could not be found
      NoSuchFileShortcutException
    • fetchByG_F_A_S_Last

      public static DLFileShortcut fetchByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator)
      Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
    • findByG_F_A_S_PrevAndNext

      public static DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • filterFindByG_F_A_S

      public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status)
      Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      Returns:
      the matching document library file shortcuts that the user has permission to view
    • filterFindByG_F_A_S

      public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end)
      Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

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

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DLFileShortcutModelImpl.

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

      public static DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
      Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      fileShortcutId - the primary key of the current document library file shortcut
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • removeByG_F_A_S

      public static void removeByG_F_A_S(long groupId, long folderId, boolean active, int status)
      Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
    • countByG_F_A_S

      public static int countByG_F_A_S(long groupId, long folderId, boolean active, int status)
      Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
      Parameters:
      groupId - the group ID
      folderId - the folder ID
      active - the active
      status - the status
      Returns:
      the number of matching document library file shortcuts
    • filterCountByG_F_A_S

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

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

      public static DLFileShortcut fetchByERC_G(String externalReferenceCode, long groupId)
      Returns the document library file shortcut 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 shortcut, or null if a matching document library file shortcut could not be found
    • fetchByERC_G

      public static DLFileShortcut fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache)
      Returns the document library file shortcut 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 shortcut, or null if a matching document library file shortcut could not be found
    • removeByERC_G

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

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

      public static void cacheResult(DLFileShortcut dlFileShortcut)
      Caches the document library file shortcut in the entity cache if it is enabled.
      Parameters:
      dlFileShortcut - the document library file shortcut
    • cacheResult

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

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

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

      public static DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut)
    • findByPrimaryKey

      public static DLFileShortcut findByPrimaryKey(long fileShortcutId) throws NoSuchFileShortcutException
      Returns the document library file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.
      Parameters:
      fileShortcutId - the primary key of the document library file shortcut
      Returns:
      the document library file shortcut
      Throws:
      NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
      NoSuchFileShortcutException
    • fetchByPrimaryKey

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static DLFileShortcutPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DLFileShortcutPersistence persistence)