@ProviderType
public class DLFileShortcutUtil
extends Object
DLFileShortcutPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DLFileShortcutPersistence
,
DLFileShortcutPersistenceImpl
Constructor and Description |
---|
DLFileShortcutUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DLFileShortcut dlFileShortcut)
Caches the document library file shortcut in the entity cache if it is enabled.
|
static void |
cacheResult(List<DLFileShortcut> dlFileShortcuts)
Caches the document library file shortcuts in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DLFileShortcut dlFileShortcut) |
static int |
countAll()
Returns the number of document library file shortcuts.
|
static int |
countByC_NotS(long companyId,
int status)
Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of document library file shortcuts where companyId = ?.
|
static int |
countByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
|
static int |
countByG_F_A(long groupId,
long folderId,
boolean active)
Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.
|
static int |
countByG_F(long groupId,
long folderId)
Returns the number of document library file shortcuts where groupId = ? and folderId = ?.
|
static int |
countByToFileEntryId(long toFileEntryId)
Returns the number of document library file shortcuts where toFileEntryId = ?.
|
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file shortcuts where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file shortcuts where uuid = ? and groupId = ?.
|
static int |
countByUuid(String uuid)
Returns the number of document library file shortcuts where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static DLFileShortcut |
create(long fileShortcutId)
Creates a new document library file shortcut with the primary key.
|
static DLFileShortcut |
fetchByC_NotS_First(long companyId,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
|
static DLFileShortcut |
fetchByC_NotS_Last(long companyId,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
|
static DLFileShortcut |
fetchByCompanyId_First(long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where companyId = ?.
|
static DLFileShortcut |
fetchByCompanyId_Last(long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where companyId = ?.
|
static DLFileShortcut |
fetchByG_F_A_First(long groupId,
long folderId,
boolean active,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut |
fetchByG_F_A_Last(long groupId,
long folderId,
boolean active,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut |
fetchByG_F_A_S_First(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
|
static DLFileShortcut |
fetchByG_F_A_S_Last(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
|
static DLFileShortcut |
fetchByG_F_First(long groupId,
long folderId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.
|
static DLFileShortcut |
fetchByG_F_Last(long groupId,
long folderId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.
|
static DLFileShortcut |
fetchByPrimaryKey(long fileShortcutId)
Returns the document library file shortcut with the primary key or returns
null if it could not be found. |
static Map<Serializable,DLFileShortcut> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static DLFileShortcut |
fetchByToFileEntryId_First(long toFileEntryId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
|
static DLFileShortcut |
fetchByToFileEntryId_Last(long toFileEntryId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
|
static DLFileShortcut |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.
|
static DLFileShortcut |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.
|
static DLFileShortcut |
fetchByUuid_First(String uuid,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where uuid = ?.
|
static DLFileShortcut |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file shortcut where uuid = ? and groupId = ? or returns
null if it could not be found. |
static DLFileShortcut |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file shortcut where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DLFileShortcut |
fetchByUuid_Last(String uuid,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where uuid = ?.
|
static int |
filterCountByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
|
static int |
filterCountByG_F_A(long groupId,
long folderId,
boolean active)
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
|
static int |
filterCountByG_F(long groupId,
long folderId)
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
|
static DLFileShortcut[] |
filterFindByG_F_A_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut[] |
filterFindByG_F_A_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
filterFindByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
filterFindByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end)
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
filterFindByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
filterFindByG_F_A(long groupId,
long folderId,
boolean active)
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
|
static List<DLFileShortcut> |
filterFindByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end)
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
|
static List<DLFileShortcut> |
filterFindByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut[] |
filterFindByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId)
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
findAll()
Returns all the document library file shortcuts.
|
static List<DLFileShortcut> |
findAll(int start,
int end)
Returns a range of all the document library file shortcuts.
|
static List<DLFileShortcut> |
findAll(int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts.
|
static List<DLFileShortcut> |
findAll(int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts.
|
static DLFileShortcut |
findByC_NotS_First(long companyId,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
|
static DLFileShortcut |
findByC_NotS_Last(long companyId,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
|
static DLFileShortcut[] |
findByC_NotS_PrevAndNext(long fileShortcutId,
long companyId,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
|
static List<DLFileShortcut> |
findByC_NotS(long companyId,
int status)
Returns all the document library file shortcuts where companyId = ? and status ≠ ?.
|
static List<DLFileShortcut> |
findByC_NotS(long companyId,
int status,
int start,
int end)
Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?.
|
static List<DLFileShortcut> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.
|
static List<DLFileShortcut> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.
|
static DLFileShortcut |
findByCompanyId_First(long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where companyId = ?.
|
static DLFileShortcut |
findByCompanyId_Last(long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where companyId = ?.
|
static DLFileShortcut[] |
findByCompanyId_PrevAndNext(long fileShortcutId,
long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?.
|
static List<DLFileShortcut> |
findByCompanyId(long companyId)
Returns all the document library file shortcuts where companyId = ?.
|
static List<DLFileShortcut> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the document library file shortcuts where companyId = ?.
|
static List<DLFileShortcut> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where companyId = ?.
|
static List<DLFileShortcut> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where companyId = ?.
|
static DLFileShortcut |
findByG_F_A_First(long groupId,
long folderId,
boolean active,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut |
findByG_F_A_Last(long groupId,
long folderId,
boolean active,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut[] |
findByG_F_A_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut |
findByG_F_A_S_First(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
|
static DLFileShortcut |
findByG_F_A_S_Last(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
|
static DLFileShortcut[] |
findByG_F_A_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
int status,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
findByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
findByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end)
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
findByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
findByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
|
static List<DLFileShortcut> |
findByG_F_A(long groupId,
long folderId,
boolean active)
Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
|
static List<DLFileShortcut> |
findByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end)
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
|
static List<DLFileShortcut> |
findByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
|
static List<DLFileShortcut> |
findByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
|
static DLFileShortcut |
findByG_F_First(long groupId,
long folderId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.
|
static DLFileShortcut |
findByG_F_Last(long groupId,
long folderId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.
|
static DLFileShortcut[] |
findByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
findByG_F(long groupId,
long folderId)
Returns all the document library file shortcuts where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
findByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.
|
static List<DLFileShortcut> |
findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.
|
static DLFileShortcut |
findByPrimaryKey(long fileShortcutId)
Returns the document library file shortcut with the primary key or throws a
NoSuchFileShortcutException if it could not be found. |
static DLFileShortcut |
findByToFileEntryId_First(long toFileEntryId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
|
static DLFileShortcut |
findByToFileEntryId_Last(long toFileEntryId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
|
static DLFileShortcut[] |
findByToFileEntryId_PrevAndNext(long fileShortcutId,
long toFileEntryId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.
|
static List<DLFileShortcut> |
findByToFileEntryId(long toFileEntryId)
Returns all the document library file shortcuts where toFileEntryId = ?.
|
static List<DLFileShortcut> |
findByToFileEntryId(long toFileEntryId,
int start,
int end)
Returns a range of all the document library file shortcuts where toFileEntryId = ?.
|
static List<DLFileShortcut> |
findByToFileEntryId(long toFileEntryId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.
|
static List<DLFileShortcut> |
findByToFileEntryId(long toFileEntryId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.
|
static DLFileShortcut |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.
|
static DLFileShortcut |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.
|
static DLFileShortcut[] |
findByUuid_C_PrevAndNext(long fileShortcutId,
String uuid,
long companyId,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?.
|
static List<DLFileShortcut> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file shortcuts where uuid = ? and companyId = ?.
|
static List<DLFileShortcut> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?.
|
static List<DLFileShortcut> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.
|
static List<DLFileShortcut> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.
|
static DLFileShortcut |
findByUuid_First(String uuid,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the first document library file shortcut in the ordered set where uuid = ?.
|
static DLFileShortcut |
findByUUID_G(String uuid,
long groupId)
Returns the document library file shortcut where uuid = ? and groupId = ? or throws a
NoSuchFileShortcutException if it could not be found. |
static DLFileShortcut |
findByUuid_Last(String uuid,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the last document library file shortcut in the ordered set where uuid = ?.
|
static DLFileShortcut[] |
findByUuid_PrevAndNext(long fileShortcutId,
String uuid,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?.
|
static List<DLFileShortcut> |
findByUuid(String uuid)
Returns all the document library file shortcuts where uuid = ?.
|
static List<DLFileShortcut> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file shortcuts where uuid = ?.
|
static List<DLFileShortcut> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
Returns an ordered range of all the document library file shortcuts where uuid = ?.
|
static List<DLFileShortcut> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the document library file shortcuts where uuid = ?.
|
static List<DLFileShortcut> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<DLFileShortcut> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<DLFileShortcut> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator) |
static Set<String> |
getBadColumnNames() |
static DLFileShortcutPersistence |
getPersistence() |
static DLFileShortcut |
remove(long fileShortcutId)
Removes the document library file shortcut with the primary key from the database.
|
static void |
removeAll()
Removes all the document library file shortcuts from the database.
|
static void |
removeByC_NotS(long companyId,
int status)
Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the document library file shortcuts where companyId = ? from the database.
|
static void |
removeByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ? from the database.
|
static void |
removeByG_F_A(long groupId,
long folderId,
boolean active)
Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database.
|
static void |
removeByG_F(long groupId,
long folderId)
Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.
|
static void |
removeByToFileEntryId(long toFileEntryId)
Removes all the document library file shortcuts where toFileEntryId = ? from the database.
|
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.
|
static DLFileShortcut |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file shortcut where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(String uuid)
Removes all the document library file shortcuts where uuid = ? from the database.
|
static DLFileShortcut |
update(DLFileShortcut dlFileShortcut) |
static DLFileShortcut |
update(DLFileShortcut dlFileShortcut,
ServiceContext serviceContext) |
static DLFileShortcut |
updateImpl(DLFileShortcut dlFileShortcut) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DLFileShortcut dlFileShortcut)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
public static DLFileShortcut update(DLFileShortcut dlFileShortcut)
public static DLFileShortcut update(DLFileShortcut dlFileShortcut, ServiceContext serviceContext)
public static List<DLFileShortcut> findByUuid(String uuid)
uuid
- the uuidpublic static List<DLFileShortcut> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByUuid_First(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByUuid_First(String uuid, OrderByComparator<DLFileShortcut> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByUuid_Last(String uuid, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByUuid_Last(String uuid, OrderByComparator<DLFileShortcut> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, String uuid, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByUuid(String uuid)
uuid
- the uuidpublic static int countByUuid(String uuid)
uuid
- the uuidpublic static DLFileShortcut findByUUID_G(String uuid, long groupId) throws NoSuchFileShortcutException
NoSuchFileShortcutException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByUUID_G(String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching document library file shortcut could not be foundpublic static DLFileShortcut removeByUUID_G(String uuid, long groupId) throws NoSuchFileShortcutException
uuid
- the uuidgroupId
- the group IDNoSuchFileShortcutException
public static int countByUUID_G(String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static List<DLFileShortcut> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId, String uuid, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<DLFileShortcut> findByCompanyId(long companyId)
companyId
- the company IDpublic static List<DLFileShortcut> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByCompanyId_First(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByCompanyId_First(long companyId, OrderByComparator<DLFileShortcut> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByCompanyId_Last(long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileShortcut> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByCompanyId_PrevAndNext(long fileShortcutId, long companyId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
toFileEntryId
- the to file entry IDpublic static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByToFileEntryId_First(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
toFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator)
toFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByToFileEntryId_Last(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
toFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator)
toFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId, long toFileEntryId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcuttoFileEntryId
- the to file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByToFileEntryId(long toFileEntryId)
toFileEntryId
- the to file entry IDpublic static int countByToFileEntryId(long toFileEntryId)
toFileEntryId
- the to file entry IDpublic static List<DLFileShortcut> findByG_F(long groupId, long folderId)
groupId
- the group IDfolderId
- the folder IDpublic static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByG_F_First(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator)
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator)
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutgroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId)
groupId
- the group IDfolderId
- the folder IDpublic static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutgroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByG_F(long groupId, long folderId)
groupId
- the group IDfolderId
- the folder IDpublic static int countByG_F(long groupId, long folderId)
groupId
- the group IDfolderId
- the folder IDpublic static int filterCountByG_F(long groupId, long folderId)
groupId
- the group IDfolderId
- the folder IDpublic static List<DLFileShortcut> findByC_NotS(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByC_NotS_First(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByC_NotS_Last(long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator)
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByC_NotS_PrevAndNext(long fileShortcutId, long companyId, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutcompanyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByC_NotS(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static int countByC_NotS(long companyId, int status)
companyId
- the company IDstatus
- the statuspublic static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active)
groupId
- the group IDfolderId
- the folder IDactive
- the activepublic static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator)
groupId
- the group IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByG_F_A_Last(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByG_F_A_Last(long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator)
groupId
- the group IDfolderId
- the folder IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
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 (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active)
groupId
- the group IDfolderId
- the folder IDactive
- the activepublic static List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
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 (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByG_F_A(long groupId, long folderId, boolean active)
groupId
- the group IDfolderId
- the folder IDactive
- the activepublic static int countByG_F_A(long groupId, long folderId, boolean active)
groupId
- the group IDfolderId
- the folder IDactive
- the activepublic static int filterCountByG_F_A(long groupId, long folderId, boolean active)
groupId
- the group IDfolderId
- the folder IDactive
- the activepublic static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status)
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statuspublic static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static DLFileShortcut findByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator)
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut findByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFileShortcutException
- if a matching document library file shortcut could not be foundpublic static DLFileShortcut fetchByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator)
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching document library file shortcut could not be foundpublic static DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
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 (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status)
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statuspublic static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator<DLFileShortcut> orderByComparator) throws NoSuchFileShortcutException
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 (optionally null
)NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static void removeByG_F_A_S(long groupId, long folderId, boolean active, int status)
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statuspublic static int countByG_F_A_S(long groupId, long folderId, boolean active, int status)
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statuspublic static int filterCountByG_F_A_S(long groupId, long folderId, boolean active, int status)
groupId
- the group IDfolderId
- the folder IDactive
- the activestatus
- the statuspublic static void cacheResult(DLFileShortcut dlFileShortcut)
dlFileShortcut
- the document library file shortcutpublic static void cacheResult(List<DLFileShortcut> dlFileShortcuts)
dlFileShortcuts
- the document library file shortcutspublic static DLFileShortcut create(long fileShortcutId)
fileShortcutId
- the primary key for the new document library file shortcutpublic static DLFileShortcut remove(long fileShortcutId) throws NoSuchFileShortcutException
fileShortcutId
- the primary key of the document library file shortcutNoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut)
public static DLFileShortcut findByPrimaryKey(long fileShortcutId) throws NoSuchFileShortcutException
NoSuchFileShortcutException
if it could not be found.fileShortcutId
- the primary key of the document library file shortcutNoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be foundpublic static DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
null
if it could not be found.fileShortcutId
- the primary key of the document library file shortcutnull
if a document library file shortcut with the primary key could not be foundpublic static Map<Serializable,DLFileShortcut> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
public static List<DLFileShortcut> findAll()
public static List<DLFileShortcut> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static List<DLFileShortcut> findAll(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static List<DLFileShortcut> findAll(int start, int end, OrderByComparator<DLFileShortcut> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static Set<String> getBadColumnNames()
public static DLFileShortcutPersistence getPersistence()