Interface DLFileShortcutPersistence
- All Superinterfaces:
BasePersistence<DLFileShortcut>,CTPersistence<DLFileShortcut>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(DLFileShortcut dlFileShortcut) Caches the document library file shortcut in the entity cache if it is enabled.voidcacheResult(List<DLFileShortcut> dlFileShortcuts) Caches the document library file shortcuts in the entity cache if it is enabled.intcountAll()Returns the number of document library file shortcuts.intcountByC_NotS(long companyId, int status) Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.intcountByCompanyId(long companyId) Returns the number of document library file shortcuts where companyId = ?.intcountByERC_G(String externalReferenceCode, long groupId) Returns the number of document library file shortcuts where externalReferenceCode = ? and groupId = ?.intcountByG_F(long groupId, long folderId) Returns the number of document library file shortcuts where groupId = ? and folderId = ?.intcountByG_F_A(long groupId, long folderId, boolean active) Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.intcountByG_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 = ?.intcountByGroupId(long groupId) Returns the number of document library file shortcuts where groupId = ?.intcountByToFileEntryId(long toFileEntryId) Returns the number of document library file shortcuts where toFileEntryId = ?.intcountByUuid(String uuid) Returns the number of document library file shortcuts where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of document library file shortcuts where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of document library file shortcuts where uuid = ? and groupId = ?.create(long fileShortcutId) Creates a new document library file shortcut with the primary key.fetchByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.fetchByCompanyId_First(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.fetchByERC_G(String externalReferenceCode, long groupId) Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found.fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.fetchByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.fetchByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.fetchByGroupId_First(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.fetchByPrimaryKey(long fileShortcutId) Returns the document library file shortcut with the primary key or returnsnullif it could not be found.fetchByToFileEntryId_First(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ?.fetchByUUID_G(String uuid, long groupId) Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnullif it could not be found.fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.intfilterCountByG_F(long groupId, long folderId) Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.intfilterCountByG_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 = ?.intfilterCountByG_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 = ?.intfilterCountByGroupId(long groupId) Returns the number of document library file shortcuts that the user has permission to view where groupId = ?.filterFindByG_F(long groupId, long folderId) Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.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 = ?.filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?.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 = ?.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 = ?.filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ?.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 = ?.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 = ?.filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ? and status = ?.filterFindByGroupId(long groupId) Returns all the document library file shortcuts that the user has permission to view where groupId = ?.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 = ?.filterFindByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ?.findAll()Returns all the document library file shortcuts.findAll(int start, int end) Returns a range of all the document library file shortcuts.findAll(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts.findAll(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts.findByC_NotS(long companyId, int status) Returns all the document library file shortcuts where companyId = ? and status ≠ ?.findByC_NotS(long companyId, int status, int start, int end) Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?.findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.findByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.findByCompanyId(long companyId) Returns all the document library file shortcuts where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the document library file shortcuts where companyId = ?.findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where companyId = ?.findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where companyId = ?.findByCompanyId_First(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.findByERC_G(String externalReferenceCode, long groupId) Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileShortcutExceptionif it could not be found.findByG_F(long groupId, long folderId) Returns all the document library file shortcuts where groupId = ? and folderId = ?.findByG_F(long groupId, long folderId, int start, int end) Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?.findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.findByG_F_A(long groupId, long folderId, boolean active) Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.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 = ?.findByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.findByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.findByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.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 = ?.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 = ?.findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.findByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.findByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.findByGroupId(long groupId) Returns all the document library file shortcuts where groupId = ?.findByGroupId(long groupId, int start, int end) Returns a range of all the document library file shortcuts where groupId = ?.findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ?.findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ?.findByGroupId_First(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.findByPrimaryKey(long fileShortcutId) Returns the document library file shortcut with the primary key or throws aNoSuchFileShortcutExceptionif it could not be found.findByToFileEntryId(long toFileEntryId) Returns all the document library file shortcuts where toFileEntryId = ?.findByToFileEntryId(long toFileEntryId, int start, int end) Returns a range of all the document library file shortcuts where toFileEntryId = ?.findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.findByToFileEntryId_First(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.findByUuid(String uuid) Returns all the document library file shortcuts where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the document library file shortcuts where uuid = ?.findByUuid(String uuid, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where uuid = ?.findByUuid(String uuid, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the document library file shortcuts where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ?.findByUUID_G(String uuid, long groupId) Returns the document library file shortcut where uuid = ? and groupId = ? or throws aNoSuchFileShortcutExceptionif it could not be found.remove(long fileShortcutId) Removes the document library file shortcut with the primary key from the database.voidRemoves all the document library file shortcuts from the database.voidremoveByC_NotS(long companyId, int status) Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.voidremoveByCompanyId(long companyId) Removes all the document library file shortcuts where companyId = ? from the database.removeByERC_G(String externalReferenceCode, long groupId) Removes the document library file shortcut where externalReferenceCode = ? and groupId = ? from the database.voidremoveByG_F(long groupId, long folderId) Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.voidremoveByG_F_A(long groupId, long folderId, boolean active) Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database.voidremoveByG_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.voidremoveByGroupId(long groupId) Removes all the document library file shortcuts where groupId = ? from the database.voidremoveByToFileEntryId(long toFileEntryId) Removes all the document library file shortcuts where toFileEntryId = ? from the database.voidremoveByUuid(String uuid) Removes all the document library file shortcuts where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.removeByUUID_G(String uuid, long groupId) Removes the document library file shortcut where uuid = ? and groupId = ? from the database.updateImpl(DLFileShortcut dlFileShortcut) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the document library file shortcuts where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching document library file shortcuts
-
findByUuid
Returns a range of all the document library file shortcuts where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByUuid_First(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByUuid_First
Returns the first document library file shortcut in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
removeByUuid
Removes all the document library file shortcuts where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of document library file shortcuts where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching document library file shortcuts
-
findByUUID_G
Returns the document library file shortcut where uuid = ? and groupId = ? or throws aNoSuchFileShortcutExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByUUID_G
Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
fetchByUUID_G
Returns the document library file shortcut where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
removeByUUID_G
Removes the document library file shortcut where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the document library file shortcut that was removed
- Throws:
NoSuchFileShortcutException
-
countByUUID_G
Returns the number of document library file shortcuts where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching document library file shortcuts
-
findByUuid_C
Returns all the document library file shortcuts where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching document library file shortcuts
-
findByUuid_C
Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByUuid_C_First
DLFileShortcut fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
removeByUuid_C
Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of document library file shortcuts where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching document library file shortcuts
-
findByGroupId
Returns all the document library file shortcuts where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching document library file shortcuts
-
findByGroupId
Returns a range of all the document library file shortcuts where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByGroupId_First(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByGroupId_First
DLFileShortcut fetchByGroupId_First(long groupId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
filterFindByGroupId
Returns all the document library file shortcuts that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching document library file shortcuts that the user has permission to view
-
filterFindByGroupId
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the document library file shortcuts where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of document library file shortcuts where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching document library file shortcuts
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of document library file shortcuts that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching document library file shortcuts that the user has permission to view
-
findByCompanyId
Returns all the document library file shortcuts where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching document library file shortcuts
-
findByCompanyId
Returns a range of all the document library file shortcuts where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByCompanyId_First(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByCompanyId_First
DLFileShortcut fetchByCompanyId_First(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the document library file shortcuts where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of document library file shortcuts where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching document library file shortcuts
-
findByToFileEntryId
Returns all the document library file shortcuts where toFileEntryId = ?.- Parameters:
toFileEntryId- the to file entry ID- Returns:
- the matching document library file shortcuts
-
findByToFileEntryId
Returns a range of all the document library file shortcuts where toFileEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByToFileEntryId_First(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.- Parameters:
toFileEntryId- the to file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByToFileEntryId_First
DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.- Parameters:
toFileEntryId- the to file entry IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
removeByToFileEntryId
void removeByToFileEntryId(long toFileEntryId) Removes all the document library file shortcuts where toFileEntryId = ? from the database.- Parameters:
toFileEntryId- the to file entry ID
-
countByToFileEntryId
int countByToFileEntryId(long toFileEntryId) Returns the number of document library file shortcuts where toFileEntryId = ?.- Parameters:
toFileEntryId- the to file entry ID- Returns:
- the number of matching document library file shortcuts
-
findByG_F
Returns all the document library file shortcuts where groupId = ? and folderId = ?.- Parameters:
groupId- the group IDfolderId- the folder ID- Returns:
- the matching document library file shortcuts
-
findByG_F
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.- Parameters:
groupId- the group IDfolderId- the folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByG_F_First
DLFileShortcut fetchByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.- Parameters:
groupId- the group IDfolderId- the folder IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
filterFindByG_F
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.- Parameters:
groupId- the group IDfolderId- the folder ID- Returns:
- the matching document library file shortcuts that the user has permission to view
-
filterFindByG_F
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
-
removeByG_F
void removeByG_F(long groupId, long folderId) Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.- Parameters:
groupId- the group IDfolderId- the folder ID
-
countByG_F
int countByG_F(long groupId, long folderId) Returns the number of document library file shortcuts where groupId = ? and folderId = ?.- Parameters:
groupId- the group IDfolderId- the folder ID- Returns:
- the number of matching document library file shortcuts
-
filterCountByG_F
int filterCountByG_F(long groupId, long folderId) Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.- Parameters:
groupId- the group IDfolderId- the folder ID- Returns:
- the number of matching document library file shortcuts that the user has permission to view
-
findByC_NotS
Returns all the document library file shortcuts where companyId = ? and status ≠ ?.- Parameters:
companyId- the company IDstatus- the status- Returns:
- the matching document library file shortcuts
-
findByC_NotS
Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByC_NotS_First
DLFileShortcut fetchByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.- Parameters:
companyId- the company IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
removeByC_NotS
void removeByC_NotS(long companyId, int status) Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.- Parameters:
companyId- the company IDstatus- the status
-
countByC_NotS
int countByC_NotS(long companyId, int status) Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.- Parameters:
companyId- the company IDstatus- the status- Returns:
- the number of matching document library file shortcuts
-
findByG_F_A
Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the active- Returns:
- the matching document library file shortcuts
-
findByG_F_A
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByG_F_A_First
DLFileShortcut fetchByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
filterFindByG_F_A
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the active- Returns:
- the matching document library file shortcuts that the user has permission to view
-
filterFindByG_F_A
List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end) Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
-
removeByG_F_A
void removeByG_F_A(long groupId, long folderId, boolean active) Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the active
-
countByG_F_A
int countByG_F_A(long groupId, long folderId, boolean active) Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the active- Returns:
- the number of matching document library file shortcuts
-
filterCountByG_F_A
int filterCountByG_F_A(long groupId, long folderId, boolean active) Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the active- Returns:
- the number of matching document library file shortcuts that the user has permission to view
-
findByG_F_A_S
Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activestatus- the status- Returns:
- the matching document library file shortcuts
-
findByG_F_A_S
List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end) Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
DLFileShortcut findByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByG_F_A_S_First
DLFileShortcut fetchByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
filterFindByG_F_A_S
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activestatus- the status- Returns:
- the matching document library file shortcuts that the user has permission to view
-
filterFindByG_F_A_S
List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end) Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
-
removeByG_F_A_S
void removeByG_F_A_S(long groupId, long folderId, boolean active, int status) Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ? from the database.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activestatus- the status
-
countByG_F_A_S
int countByG_F_A_S(long groupId, long folderId, boolean active, int status) Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activestatus- the status- Returns:
- the number of matching document library file shortcuts
-
filterCountByG_F_A_S
int filterCountByG_F_A_S(long groupId, long folderId, boolean active, int status) Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.- Parameters:
groupId- the group IDfolderId- the folder IDactive- the activestatus- the status- Returns:
- the number of matching document library file shortcuts that the user has permission to view
-
findByERC_G
DLFileShortcut findByERC_G(String externalReferenceCode, long groupId) throws NoSuchFileShortcutException Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileShortcutExceptionif it could not be found.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching document library file shortcut
- Throws:
NoSuchFileShortcutException- if a matching document library file shortcut could not be found
-
fetchByERC_G
Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
fetchByERC_G
Returns the document library file shortcut where externalReferenceCode = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode- the external reference codegroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching document library file shortcut, or
nullif a matching document library file shortcut could not be found
-
removeByERC_G
DLFileShortcut removeByERC_G(String externalReferenceCode, long groupId) throws NoSuchFileShortcutException Removes the document library file shortcut where externalReferenceCode = ? and groupId = ? from the database.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the document library file shortcut that was removed
- Throws:
NoSuchFileShortcutException
-
countByERC_G
Returns the number of document library file shortcuts where externalReferenceCode = ? and groupId = ?.- Parameters:
externalReferenceCode- the external reference codegroupId- the group ID- Returns:
- the number of matching document library file shortcuts
-
cacheResult
Caches the document library file shortcut in the entity cache if it is enabled.- Parameters:
dlFileShortcut- the document library file shortcut
-
cacheResult
Caches the document library file shortcuts in the entity cache if it is enabled.- Parameters:
dlFileShortcuts- the document library file shortcuts
-
create
Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database.- Parameters:
fileShortcutId- the primary key for the new document library file shortcut- Returns:
- the new document library file shortcut
-
remove
Removes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
fileShortcutId- the primary key of the document library file shortcut- Returns:
- the document library file shortcut that was removed
- Throws:
NoSuchFileShortcutException- if a document library file shortcut with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the document library file shortcut with the primary key or throws aNoSuchFileShortcutExceptionif it could not be found.- Parameters:
fileShortcutId- the primary key of the document library file shortcut- Returns:
- the document library file shortcut
- Throws:
NoSuchFileShortcutException- if a document library file shortcut with the primary key could not be found
-
fetchByPrimaryKey
Returns the document library file shortcut with the primary key or returnsnullif it could not be found.- Parameters:
fileShortcutId- the primary key of the document library file shortcut- Returns:
- the document library file shortcut, or
nullif a document library file shortcut with the primary key could not be found
-
findAll
List<DLFileShortcut> findAll()Returns all the document library file shortcuts.- Returns:
- the document library file shortcuts
-
findAll
Returns a range of all the document library file shortcuts.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findAll(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator) Returns an ordered range of all the document library file shortcuts.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
List<DLFileShortcut> findAll(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file shortcuts.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.documentlibrary.model.impl.DLFileShortcutModelImpl.- 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
void removeAll()Removes all the document library file shortcuts from the database. -
countAll
int countAll()Returns the number of document library file shortcuts.- Returns:
- the number of document library file shortcuts
-