Class DLFileShortcutUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(DLFileShortcut dlFileShortcut) Caches the document library file shortcut in the entity cache if it is enabled.static void
cacheResult
(List<DLFileShortcut> dlFileShortcuts) Caches the document library file shortcuts in the entity cache if it is enabled.static void
static void
clearCache
(DLFileShortcut dlFileShortcut) static int
countAll()
Returns the number of document library file shortcuts.static int
countByC_NotS
(long companyId, int status) Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.static int
countByCompanyId
(long companyId) Returns the number of document library file shortcuts where companyId = ?.static int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of document library file shortcuts where externalReferenceCode = ? and groupId = ?.static int
countByG_F
(long groupId, long folderId) Returns the number of document library file shortcuts where groupId = ? and folderId = ?.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 = ?.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 = ?.static int
countByGroupId
(long groupId) Returns the number of document library file shortcuts where groupId = ?.static int
countByToFileEntryId
(long toFileEntryId) Returns the number of document library file shortcuts where toFileEntryId = ?.static int
countByUuid
(String uuid) Returns the number of document library file shortcuts where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of document library file shortcuts where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of document library file shortcuts where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(DynamicQuery dynamicQuery) static DLFileShortcut
create
(long fileShortcutId) Creates a new document library file shortcut with the primary key.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 ≠ ?.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 ≠ ?.static DLFileShortcut
fetchByCompanyId_First
(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.static DLFileShortcut
fetchByCompanyId_Last
(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ?.static DLFileShortcut
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.static DLFileShortcut
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static DLFileShortcut
fetchByGroupId_First
(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.static DLFileShortcut
fetchByGroupId_Last
(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ?.static DLFileShortcut
fetchByPrimaryKey
(long fileShortcutId) Returns the document library file shortcut with the primary key or returnsnull
if it could not be found.static Map<Serializable,
DLFileShortcut> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static DLFileShortcut
fetchByToFileEntryId_First
(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.static DLFileShortcut
fetchByToFileEntryId_Last
(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.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 = ?.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 = ?.static DLFileShortcut
fetchByUuid_First
(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ?.static DLFileShortcut
fetchByUUID_G
(String uuid, long groupId) Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnull
if it could not be found.static DLFileShortcut
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static DLFileShortcut
fetchByUuid_Last
(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ?.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 = ?.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 = ?.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 = ?.static int
filterCountByGroupId
(long groupId) Returns the number of document library file shortcuts that the user has permission to view where groupId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static DLFileShortcut[]
filterFindByG_F_A_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) 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 = ?.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 = ?.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 = ?.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 = ?.static DLFileShortcut[]
filterFindByG_F_A_S_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) 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 = ?.static DLFileShortcut[]
filterFindByG_F_PrevAndNext
(long fileShortcutId, long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) 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 = ?.static List<DLFileShortcut>
filterFindByGroupId
(long groupId) Returns all the document library file shortcuts that the user has permission to view where groupId = ?.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 = ?.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 = ?.static DLFileShortcut[]
filterFindByGroupId_PrevAndNext
(long fileShortcutId, long groupId, OrderByComparator<DLFileShortcut> orderByComparator) 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 = ?.static List<DLFileShortcut>
findAll()
Returns all the document library file shortcuts.static List<DLFileShortcut>
findAll
(int start, int end) Returns a range of all the document library file shortcuts.static List<DLFileShortcut>
findAll
(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts.static List<DLFileShortcut>
findAll
(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts.static List<DLFileShortcut>
findByC_NotS
(long companyId, int status) Returns all the document library file shortcuts where companyId = ? and status ≠ ?.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 ≠ ?.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 ≠ ?.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 ≠ ?.static DLFileShortcut
findByC_NotS_First
(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.static DLFileShortcut
findByC_NotS_Last
(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.static DLFileShortcut[]
findByC_NotS_PrevAndNext
(long fileShortcutId, long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?.static List<DLFileShortcut>
findByCompanyId
(long companyId) Returns all the document library file shortcuts where companyId = ?.static List<DLFileShortcut>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the document library file shortcuts where companyId = ?.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 = ?.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 = ?.static DLFileShortcut
findByCompanyId_First
(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.static DLFileShortcut
findByCompanyId_Last
(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ?.static DLFileShortcut[]
findByCompanyId_PrevAndNext
(long fileShortcutId, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?.static DLFileShortcut
findByERC_G
(String externalReferenceCode, long groupId) Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileShortcutException
if it could not be found.static List<DLFileShortcut>
findByG_F
(long groupId, long folderId) Returns all the document library file shortcuts where groupId = ? and folderId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static DLFileShortcut
findByG_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 = ?.static DLFileShortcut
findByG_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 = ?.static DLFileShortcut[]
findByG_F_A_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) 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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static DLFileShortcut
findByG_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 = ?.static DLFileShortcut
findByG_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 = ?.static DLFileShortcut[]
findByG_F_A_S_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) 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 = ?.static DLFileShortcut
findByG_F_First
(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.static DLFileShortcut
findByG_F_Last
(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.static DLFileShortcut[]
findByG_F_PrevAndNext
(long fileShortcutId, long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.static List<DLFileShortcut>
findByGroupId
(long groupId) Returns all the document library file shortcuts where groupId = ?.static List<DLFileShortcut>
findByGroupId
(long groupId, int start, int end) Returns a range of all the document library file shortcuts where groupId = ?.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 = ?.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 = ?.static DLFileShortcut
findByGroupId_First
(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.static DLFileShortcut
findByGroupId_Last
(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ?.static DLFileShortcut[]
findByGroupId_PrevAndNext
(long fileShortcutId, long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ?.static DLFileShortcut
findByPrimaryKey
(long fileShortcutId) Returns the document library file shortcut with the primary key or throws aNoSuchFileShortcutException
if it could not be found.static List<DLFileShortcut>
findByToFileEntryId
(long toFileEntryId) Returns all the document library file shortcuts where toFileEntryId = ?.static List<DLFileShortcut>
findByToFileEntryId
(long toFileEntryId, int start, int end) Returns a range of all the document library file shortcuts where toFileEntryId = ?.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 = ?.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 = ?.static DLFileShortcut
findByToFileEntryId_First
(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.static DLFileShortcut
findByToFileEntryId_Last
(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.static DLFileShortcut[]
findByToFileEntryId_PrevAndNext
(long fileShortcutId, long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.static List<DLFileShortcut>
findByUuid
(String uuid) Returns all the document library file shortcuts where uuid = ?.static List<DLFileShortcut>
findByUuid
(String uuid, int start, int end) Returns a range of all the document library file shortcuts where uuid = ?.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 = ?.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 = ?.static List<DLFileShortcut>
findByUuid_C
(String uuid, long companyId) Returns all the document library file shortcuts where uuid = ? and companyId = ?.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 = ?.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 = ?.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 = ?.static DLFileShortcut
findByUuid_C_First
(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.static DLFileShortcut
findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.static DLFileShortcut[]
findByUuid_C_PrevAndNext
(long fileShortcutId, String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?.static DLFileShortcut
findByUuid_First
(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ?.static DLFileShortcut
findByUUID_G
(String uuid, long groupId) Returns the document library file shortcut where uuid = ? and groupId = ? or throws aNoSuchFileShortcutException
if it could not be found.static DLFileShortcut
findByUuid_Last
(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ?.static DLFileShortcut[]
findByUuid_PrevAndNext
(long fileShortcutId, String uuid, OrderByComparator<DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?.static List<DLFileShortcut>
findWithDynamicQuery
(DynamicQuery dynamicQuery) static List<DLFileShortcut>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end) static List<DLFileShortcut>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) static DLFileShortcutPersistence
static DLFileShortcut
remove
(long fileShortcutId) Removes the document library file shortcut with the primary key from the database.static void
Removes all the document library file shortcuts from the database.static void
removeByC_NotS
(long companyId, int status) Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.static void
removeByCompanyId
(long companyId) Removes all the document library file shortcuts where companyId = ? from the database.static DLFileShortcut
removeByERC_G
(String externalReferenceCode, long groupId) Removes the document library file shortcut where externalReferenceCode = ? and groupId = ? from the database.static void
removeByG_F
(long groupId, long folderId) Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.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.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.static void
removeByGroupId
(long groupId) Removes all the document library file shortcuts where groupId = ? from the database.static void
removeByToFileEntryId
(long toFileEntryId) Removes all the document library file shortcuts where toFileEntryId = ? from the database.static void
removeByUuid
(String uuid) Removes all the document library file shortcuts where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.static DLFileShortcut
removeByUUID_G
(String uuid, long groupId) Removes the document library file shortcut where uuid = ? and groupId = ? from the database.static void
setPersistence
(DLFileShortcutPersistence persistence) static DLFileShortcut
update
(DLFileShortcut dlFileShortcut) static DLFileShortcut
update
(DLFileShortcut dlFileShortcut, ServiceContext serviceContext) static DLFileShortcut
updateImpl
(DLFileShortcut dlFileShortcut)
-
Constructor Details
-
DLFileShortcutUtil
public DLFileShortcutUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) -
update
-
update
-
findByUuid
Returns all the document library file shortcuts where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching document library file shortcuts
-
findByUuid
Returns a range of all the document library file shortcuts where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
removeByUuid
Removes all the document library file shortcuts where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
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 aNoSuchFileShortcutException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
fetchByUUID_G
Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- 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
Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- 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 uuidgroupId
- the group ID- Returns:
- the document library file shortcut that was removed
- Throws:
NoSuchFileShortcutException
-
countByUUID_G
Returns the number of document library file shortcuts where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching document library file shortcuts
-
findByUuid_C
Returns all the document library file shortcuts where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching document library file shortcuts
-
findByUuid_C
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
removeByUuid_C
Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of document library file shortcuts where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching document library file shortcuts
-
findByGroupId
Returns all the document library file shortcuts where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching document library file shortcuts
-
findByGroupId
Returns a range of all the document library file shortcuts where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
filterFindByGroupId
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
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 shortcutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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
Returns all the document library file shortcuts where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching document library file shortcuts
-
findByCompanyId
Returns a range of all the document library file shortcuts where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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
Returns all the document library file shortcuts where toFileEntryId = ?.- Parameters:
toFileEntryId
- the to file entry ID- Returns:
- the matching document library file shortcuts
-
findByToFileEntryId
Returns a range of all the document library file shortcuts where toFileEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
toFileEntryId
- the to file entry IDstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
toFileEntryId
- the to file entry IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
toFileEntryId
- the to file entry IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcuttoFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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
Returns all the document library file shortcuts where groupId = ? and folderId = ?.- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the matching document library file shortcuts
-
findByG_F
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutgroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
filterFindByG_F
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the matching document library file shortcuts that the user has permission to view
-
filterFindByG_F
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 shortcutgroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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 IDfolderId
- 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 IDfolderId
- 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 IDfolderId
- the folder ID- Returns:
- the number of matching document library file shortcuts that the user has permission to view
-
findByC_NotS
Returns all the document library file shortcuts where companyId = ? and status ≠ ?.- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching document library file shortcuts
-
findByC_NotS
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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
companyId
- the company IDstatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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 IDstatus
- 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 IDstatus
- the status- Returns:
- the number of matching document library file shortcuts
-
findByG_F_A
Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutgroupId
- the group IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
filterFindByG_F_A
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 shortcutgroupId
- the group IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDactive
- 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 IDfolderId
- the folder IDactive
- 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 IDfolderId
- the folder IDactive
- 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 IDfolderId
- the folder IDactive
- the activestatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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 IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 shortcutgroupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDactive
- the activestatus
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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 shortcutgroupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- 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 foundNoSuchFileShortcutException
-
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 IDfolderId
- the folder IDactive
- the activestatus
- 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 IDfolderId
- the folder IDactive
- the activestatus
- 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 IDfolderId
- the folder IDactive
- the activestatus
- 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 aNoSuchFileShortcutException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching document library file shortcut
- Throws:
NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundNoSuchFileShortcutException
-
fetchByERC_G
Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- 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 codegroupId
- the group ID- Returns:
- the document library file shortcut that was removed
- Throws:
NoSuchFileShortcutException
-
countByERC_G
Returns the number of document library file shortcuts where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching document library file shortcuts
-
cacheResult
Caches the document library file shortcut in the entity cache if it is enabled.- Parameters:
dlFileShortcut
- the document library file shortcut
-
cacheResult
Caches the document library file shortcuts in the entity cache if it is enabled.- Parameters:
dlFileShortcuts
- the document library file shortcuts
-
create
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
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 foundNoSuchFileShortcutException
-
updateImpl
-
findByPrimaryKey
public static DLFileShortcut findByPrimaryKey(long fileShortcutId) throws NoSuchFileShortcutException Returns the document library file shortcut with the primary key or throws aNoSuchFileShortcutException
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 foundNoSuchFileShortcutException
-
fetchByPrimaryKey
Returns the document library file shortcut with the primary key or returnsnull
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
Returns all the document library file shortcuts.- Returns:
- the document library file shortcuts
-
findAll
Returns a range of all the document library file shortcuts.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
start
- the lower bound of the range of document library file shortcutsend
- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
start
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileShortcutModelImpl
.- Parameters:
start
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)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
-
setPersistence
-