Class DLFileShortcutPersistenceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
,com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes the document library file shortcut persistence.void
cacheResult
(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) Caches the document library file shortcut in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.document.library.kernel.model.DLFileShortcut> dlFileShortcuts) Caches the document library file shortcuts in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(DLFileShortcutModelImpl dlFileShortcutModelImpl) void
Clears the cache for all document library file shortcuts.void
clearCache
(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) Clears the cache for the document library file shortcut.void
clearCache
(List<com.liferay.document.library.kernel.model.DLFileShortcut> dlFileShortcuts) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of document library file shortcuts.int
countByC_NotS
(long companyId, int status) Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.int
countByCompanyId
(long companyId) Returns the number of document library file shortcuts where companyId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of document library file shortcuts where externalReferenceCode = ? and groupId = ?.int
countByG_F
(long groupId, long folderId) Returns the number of document library file shortcuts where groupId = ? and folderId = ?.int
countByG_F_A
(long groupId, long folderId, boolean active) Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.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 = ?.int
countByGroupId
(long groupId) Returns the number of document library file shortcuts where groupId = ?.int
countByToFileEntryId
(long toFileEntryId) Returns the number of document library file shortcuts where toFileEntryId = ?.int
countByUuid
(String uuid) Returns the number of document library file shortcuts where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of document library file shortcuts where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of document library file shortcuts where uuid = ? and groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
create
(long fileShortcutId) Creates a new document library file shortcut with the primary key.void
destroy()
com.liferay.document.library.kernel.model.DLFileShortcut
fetchByC_NotS_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByC_NotS_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.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.com.liferay.document.library.kernel.model.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.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByG_F_A_First
(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByG_F_A_Last
(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByG_F_A_S_First
(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByG_F_A_S_Last
(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByG_F_First
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByG_F_Last
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByPrimaryKey
(long fileShortcutId) Returns the document library file shortcut with the primary key or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByPrimaryKey
(Serializable primaryKey) Returns the document library file shortcut with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.document.library.kernel.model.DLFileShortcut> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) com.liferay.document.library.kernel.model.DLFileShortcut
fetchByToFileEntryId_First
(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByToFileEntryId_Last
(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.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.com.liferay.document.library.kernel.model.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.com.liferay.document.library.kernel.model.DLFileShortcut
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ?.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 = ?.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 = ?.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 = ?.int
filterCountByGroupId
(long groupId) Returns the number of document library file shortcuts that the user has permission to view where groupId = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
filterFindByG_F
(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
filterFindByG_F_A
(long groupId, long folderId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
filterFindByG_F_A_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
filterFindByG_F_A_S
(long groupId, long folderId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
filterFindByG_F_A_S_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
filterFindByG_F_PrevAndNext
(long fileShortcutId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
filterFindByGroupId
(long groupId) Returns all the document library file shortcuts that the user has permission to view where groupId = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
filterFindByGroupId_PrevAndNext
(long fileShortcutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.protected com.liferay.document.library.kernel.model.DLFileShortcut
filterGetByG_F_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
filterGetByG_F_A_S_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
filterGetByG_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
filterGetByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) List<com.liferay.document.library.kernel.model.DLFileShortcut>
findAll()
Returns all the document library file shortcuts.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findAll
(int start, int end) Returns a range of all the document library file shortcuts.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByC_NotS
(long companyId, int status) Returns all the document library file shortcuts where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.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 ≠ ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByC_NotS
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByC_NotS
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByC_NotS_First
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByC_NotS_Last
(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByC_NotS_PrevAndNext
(long fileShortcutId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 ≠ ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByCompanyId
(long companyId) Returns all the document library file shortcuts where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the document library file shortcuts where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByCompanyId_PrevAndNext
(long fileShortcutId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.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.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F
(long groupId, long folderId) Returns all the document library file shortcuts where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F
(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F
(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F_A
(long groupId, long folderId, boolean active) Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F_A
(long groupId, long folderId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F_A
(long groupId, long folderId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByG_F_A_First
(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByG_F_A_Last
(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByG_F_A_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F_A_S
(long groupId, long folderId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByG_F_A_S
(long groupId, long folderId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByG_F_A_S_First
(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByG_F_A_S_Last
(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByG_F_A_S_PrevAndNext
(long fileShortcutId, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByG_F_First
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByG_F_Last
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByG_F_PrevAndNext
(long fileShortcutId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByGroupId
(long groupId) Returns all the document library file shortcuts where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByGroupId
(long groupId, int start, int end) Returns a range of all the document library file shortcuts where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByGroupId_PrevAndNext
(long fileShortcutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByPrimaryKey
(long fileShortcutId) Returns the document library file shortcut with the primary key or throws aNoSuchFileShortcutException
if it could not be found.com.liferay.document.library.kernel.model.DLFileShortcut
findByPrimaryKey
(Serializable primaryKey) Returns the document library file shortcut with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByToFileEntryId
(long toFileEntryId) Returns all the document library file shortcuts where toFileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByToFileEntryId
(long toFileEntryId, int start, int end) Returns a range of all the document library file shortcuts where toFileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByToFileEntryId
(long toFileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByToFileEntryId
(long toFileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByToFileEntryId_First
(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByToFileEntryId_Last
(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByToFileEntryId_PrevAndNext
(long fileShortcutId, long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByUuid
(String uuid) Returns all the document library file shortcuts where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByUuid
(String uuid, int start, int end) Returns a range of all the document library file shortcuts where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByUuid_C
(String uuid, long companyId) Returns all the document library file shortcuts where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.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 = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileShortcut>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByUuid_C_PrevAndNext
(long fileShortcutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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 = ?.com.liferay.document.library.kernel.model.DLFileShortcut
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.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.com.liferay.document.library.kernel.model.DLFileShortcut
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileShortcut[]
findByUuid_PrevAndNext
(long fileShortcutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?.protected com.liferay.document.library.kernel.model.DLFileShortcut
getByC_NotS_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByCompanyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByG_F_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByG_F_A_S_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByG_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByToFileEntryId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileShortcut
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.document.library.kernel.model.DLFileShortcut
remove
(long fileShortcutId) Removes the document library file shortcut with the primary key from the database.com.liferay.document.library.kernel.model.DLFileShortcut
remove
(Serializable primaryKey) Removes the document library file shortcut with the primary key from the database.void
Removes all the document library file shortcuts from the database.void
removeByC_NotS
(long companyId, int status) Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.void
removeByCompanyId
(long companyId) Removes all the document library file shortcuts where companyId = ? from the database.com.liferay.document.library.kernel.model.DLFileShortcut
removeByERC_G
(String externalReferenceCode, long groupId) Removes the document library file shortcut where externalReferenceCode = ? and groupId = ? from the database.void
removeByG_F
(long groupId, long folderId) Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.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.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.void
removeByGroupId
(long groupId) Removes all the document library file shortcuts where groupId = ? from the database.void
removeByToFileEntryId
(long toFileEntryId) Removes all the document library file shortcuts where toFileEntryId = ? from the database.void
removeByUuid
(String uuid) Removes all the document library file shortcuts where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.com.liferay.document.library.kernel.model.DLFileShortcut
removeByUUID_G
(String uuid, long groupId) Removes the document library file shortcut where uuid = ? and groupId = ? from the database.protected com.liferay.document.library.kernel.model.DLFileShortcut
removeImpl
(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) com.liferay.document.library.kernel.model.DLFileShortcut
updateImpl
(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
DLFileShortcutPersistenceImpl
public DLFileShortcutPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the document library file shortcuts where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching document library file shortcuts
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByUuid(String uuid, int start, int end) Returns a range of all the document library file shortcuts where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByUuid_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ?.- Specified by:
fetchByUuid_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where uuid = ?.- Specified by:
findByUuid_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByUuid_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByUuid
Removes all the document library file shortcuts where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of document library file shortcuts where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching document library file shortcuts
-
findByUUID_G
public com.liferay.document.library.kernel.model.DLFileShortcut findByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcut where uuid = ? and groupId = ? or throws aNoSuchFileShortcutException
if it could not be found.- Specified by:
findByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByUUID_G
public com.liferay.document.library.kernel.model.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. Uses the finder cache.- Specified by:
fetchByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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
public com.liferay.document.library.kernel.model.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.- Specified by:
fetchByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut removeByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Removes the document library file shortcut where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the document library file shortcut that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
-
countByUUID_G
Returns the number of document library file shortcuts where uuid = ? and groupId = ?.- Specified by:
countByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching document library file shortcuts
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByUuid_C(String uuid, long companyId) Returns all the document library file shortcuts where uuid = ? and companyId = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching document library file shortcuts
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of document library file shortcuts where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 = ?.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching document library file shortcuts
-
findByGroupId
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByGroupId(long groupId, int start, int end) Returns a range of all the document library file shortcuts where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ?.- Specified by:
findByGroupId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByGroupId_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where groupId = ?.- Specified by:
findByGroupId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByGroupId_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByGroupId_PrevAndNext(long fileShortcutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
filterFindByGroupId
public List<com.liferay.document.library.kernel.model.DLFileShortcut> filterFindByGroupId(long groupId) Returns all the document library file shortcuts that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching document library file shortcuts that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.document.library.kernel.model.DLFileShortcut> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] filterFindByGroupId_PrevAndNext(long fileShortcutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.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 = ?.- Specified by:
filterFindByGroupId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
filterGetByGroupId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the document library file shortcuts where groupId = ? from the database.- Specified by:
removeByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of document library file shortcuts where groupId = ?.- Specified by:
countByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching document library file shortcuts
-
filterCountByGroupId
public int filterCountByGroupId(long groupId) Returns the number of document library file shortcuts that the user has permission to view where groupId = ?.- Specified by:
filterCountByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching document library file shortcuts that the user has permission to view
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByCompanyId(long companyId) Returns all the document library file shortcuts where companyId = ?.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company ID- Returns:
- the matching document library file shortcuts
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByCompanyId(long companyId, int start, int end) Returns a range of all the document library file shortcuts where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where companyId = ?.- Specified by:
findByCompanyId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByCompanyId_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByCompanyId_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByCompanyId_PrevAndNext(long fileShortcutId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the document library file shortcuts where companyId = ? from the database.- Specified by:
removeByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of document library file shortcuts where companyId = ?.- Specified by:
countByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching document library file shortcuts
-
findByToFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByToFileEntryId(long toFileEntryId) Returns all the document library file shortcuts where toFileEntryId = ?.- Specified by:
findByToFileEntryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
toFileEntryId
- the to file entry ID- Returns:
- the matching document library file shortcuts
-
findByToFileEntryId
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end) Returns a range of all the document library file shortcuts where toFileEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByToFileEntryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByToFileEntryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByToFileEntryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByToFileEntryId_First(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.- Specified by:
findByToFileEntryId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
toFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByToFileEntryId_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.- Specified by:
fetchByToFileEntryId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByToFileEntryId_Last(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.- Specified by:
findByToFileEntryId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
toFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByToFileEntryId_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.- Specified by:
fetchByToFileEntryId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId, long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.- Specified by:
findByToFileEntryId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByToFileEntryId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByToFileEntryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long toFileEntryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByToFileEntryId
public void removeByToFileEntryId(long toFileEntryId) Removes all the document library file shortcuts where toFileEntryId = ? from the database.- Specified by:
removeByToFileEntryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
toFileEntryId
- the to file entry ID
-
countByToFileEntryId
public int countByToFileEntryId(long toFileEntryId) Returns the number of document library file shortcuts where toFileEntryId = ?.- Specified by:
countByToFileEntryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
toFileEntryId
- the to file entry ID- Returns:
- the number of matching document library file shortcuts
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F(long groupId, long folderId) Returns all the document library file shortcuts where groupId = ? and folderId = ?.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the matching document library file shortcuts
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end) Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByG_F_First(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.- Specified by:
findByG_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByG_F_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByG_F_First(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.- Specified by:
fetchByG_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByG_F_Last(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.- Specified by:
findByG_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByG_F_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByG_F_Last(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.- Specified by:
fetchByG_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.- Specified by:
findByG_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByG_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
filterFindByG_F
public List<com.liferay.document.library.kernel.model.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 = ?.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the matching document library file shortcuts that the user has permission to view
-
filterFindByG_F
public List<com.liferay.document.library.kernel.model.DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end) Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.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 = ?.- Specified by:
filterFindByG_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
filterGetByG_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut filterGetByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByG_F
public void removeByG_F(long groupId, long folderId) Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.- Specified by:
removeByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID
-
countByG_F
public int countByG_F(long groupId, long folderId) Returns the number of document library file shortcuts where groupId = ? and folderId = ?.- Specified by:
countByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the number of matching document library file shortcuts
-
filterCountByG_F
public 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 = ?.- Specified by:
filterCountByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByC_NotS(long companyId, int status) Returns all the document library file shortcuts where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the matching document library file shortcuts
-
findByC_NotS
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end) Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByC_NotS
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByC_NotS
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByC_NotS
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByC_NotS_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByC_NotS_First(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.- Specified by:
fetchByC_NotS_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByC_NotS_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByC_NotS_Last(long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.- Specified by:
fetchByC_NotS_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByC_NotS_PrevAndNext(long fileShortcutId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?.- Specified by:
findByC_NotS_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByC_NotS_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByC_NotS_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByC_NotS
public void removeByC_NotS(long companyId, int status) Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.- Specified by:
removeByC_NotS
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company IDstatus
- the status
-
countByC_NotS
public int countByC_NotS(long companyId, int status) Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.- Specified by:
countByC_NotS
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
companyId
- the company IDstatus
- the status- Returns:
- the number of matching document library file shortcuts
-
findByG_F_A
public List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active) Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.- Specified by:
findByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the active- Returns:
- the matching document library file shortcuts
-
findByG_F_A
public List<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByG_F_A_First(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.- Specified by:
findByG_F_A_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByG_F_A_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByG_F_A_First(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.- Specified by:
fetchByG_F_A_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByG_F_A_Last(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.- Specified by:
findByG_F_A_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByG_F_A_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByG_F_A_Last(long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.- Specified by:
fetchByG_F_A_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.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 = ?.- Specified by:
findByG_F_A_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByG_F_A_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByG_F_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
filterFindByG_F_A
public List<com.liferay.document.library.kernel.model.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 = ?.- Specified by:
filterFindByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.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
.- Specified by:
filterFindByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
filterFindByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.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 = ?.- Specified by:
filterFindByG_F_A_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
filterGetByG_F_A_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut filterGetByG_F_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByG_F_A
public 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.- Specified by:
removeByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the active
-
countByG_F_A
public int countByG_F_A(long groupId, long folderId, boolean active) Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.- Specified by:
countByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the active- Returns:
- the number of matching document library file shortcuts
-
filterCountByG_F_A
public 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 = ?.- Specified by:
filterCountByG_F_A
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.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 = ?.- Specified by:
findByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the status- Returns:
- the matching document library file shortcuts
-
findByG_F_A_S
public List<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByG_F_A_S_First(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.- Specified by:
findByG_F_A_S_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByG_F_A_S_First
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByG_F_A_S_First(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.- Specified by:
fetchByG_F_A_S_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.- Specified by:
findByG_F_A_S_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByG_F_A_S_Last
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.- Specified by:
fetchByG_F_A_S_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.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 = ?.- Specified by:
findByG_F_A_S_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
getByG_F_A_S_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut getByG_F_A_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
filterFindByG_F_A_S
public List<com.liferay.document.library.kernel.model.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 = ?.- Specified by:
filterFindByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.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
.- Specified by:
filterFindByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
filterFindByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator) throws com.liferay.document.library.kernel.exception.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 = ?.- Specified by:
filterFindByG_F_A_S_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
filterGetByG_F_A_S_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileShortcut filterGetByG_F_A_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileShortcut> orderByComparator, boolean previous) -
removeByG_F_A_S
public 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.- Specified by:
removeByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the status
-
countByG_F_A_S
public 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 = ?.- Specified by:
countByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 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 = ?.- Specified by:
filterCountByG_F_A_S
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileShortcutException
if it could not be found.- Specified by:
findByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a matching document library file shortcut could not be found
-
fetchByERC_G
public com.liferay.document.library.kernel.model.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. Uses the finder cache.- Specified by:
fetchByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.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.- Specified by:
fetchByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 com.liferay.document.library.kernel.model.DLFileShortcut removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Removes the document library file shortcut where externalReferenceCode = ? and groupId = ? from the database.- Specified by:
removeByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the document library file shortcut that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
-
countByERC_G
Returns the number of document library file shortcuts where externalReferenceCode = ? and groupId = ?.- Specified by:
countByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching document library file shortcuts
-
cacheResult
public void cacheResult(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) Caches the document library file shortcut in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
- Parameters:
dlFileShortcut
- the document library file shortcut
-
cacheResult
public void cacheResult(List<com.liferay.document.library.kernel.model.DLFileShortcut> dlFileShortcuts) Caches the document library file shortcuts in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
dlFileShortcuts
- the document library file shortcuts
-
clearCache
public void clearCache()Clears the cache for all document library file shortcuts.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
clearCache
public void clearCache(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) Clears the cache for the document library file shortcut.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
clearCache
public void clearCache(List<com.liferay.document.library.kernel.model.DLFileShortcut> dlFileShortcuts) - Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
-
cacheUniqueFindersCache
-
create
public com.liferay.document.library.kernel.model.DLFileShortcut create(long fileShortcutId) Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database.- Specified by:
create
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
fileShortcutId
- the primary key for the new document library file shortcut- Returns:
- the new document library file shortcut
-
remove
public com.liferay.document.library.kernel.model.DLFileShortcut remove(long fileShortcutId) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
fileShortcutId
- the primary key of the document library file shortcut- Returns:
- the document library file shortcut that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
remove
public com.liferay.document.library.kernel.model.DLFileShortcut remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
remove
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
- Parameters:
primaryKey
- the primary key of the document library file shortcut- Returns:
- the document library file shortcut that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
removeImpl
protected com.liferay.document.library.kernel.model.DLFileShortcut removeImpl(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) - Overrides:
removeImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
updateImpl
public com.liferay.document.library.kernel.model.DLFileShortcut updateImpl(com.liferay.document.library.kernel.model.DLFileShortcut dlFileShortcut) - Specified by:
updateImpl
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileShortcut findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcut with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
findByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
- Parameters:
primaryKey
- the primary key of the document library file shortcut- Returns:
- the document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileShortcut findByPrimaryKey(long fileShortcutId) throws com.liferay.document.library.kernel.exception.NoSuchFileShortcutException Returns the document library file shortcut with the primary key or throws aNoSuchFileShortcutException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Parameters:
fileShortcutId
- the primary key of the document library file shortcut- Returns:
- the document library file shortcut
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByPrimaryKey(Serializable primaryKey) Returns the document library file shortcut with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
fetchByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
- Parameters:
primaryKey
- 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
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileShortcut fetchByPrimaryKey(long fileShortcutId) Returns the document library file shortcut with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.document.library.kernel.model.DLFileShortcut> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
findAll
Returns all the document library file shortcuts.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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
.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 List<com.liferay.document.library.kernel.model.DLFileShortcut> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.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
.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- 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 void removeAll()Removes all the document library file shortcuts from the database.- Specified by:
removeAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
-
countAll
public int countAll()Returns the number of document library file shortcuts.- Specified by:
countAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileShortcutPersistence
- Returns:
- the number of document library file shortcuts
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileShortcut>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the document library file shortcut persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileShortcut>
-