|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutUtil
public class DLFileShortcutUtil
The persistence utility for the document library file shortcut service. This utility wraps 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 Summary | |
|---|---|
DLFileShortcutUtil()
|
|
| Method Summary | |
|---|---|
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 |
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 = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static DLFileShortcut |
create(long fileShortcutId)
Creates a new document library file shortcut with the primary key. |
static DLFileShortcut |
fetchByG_F_A_First(long groupId,
long folderId,
boolean active,
OrderByComparator 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 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 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 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 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 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 DLFileShortcut |
fetchByToFileEntryId_First(long toFileEntryId,
OrderByComparator orderByComparator)
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. |
static DLFileShortcut |
fetchByToFileEntryId_Last(long toFileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. |
static DLFileShortcut |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator 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 orderByComparator)
Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?. |
static DLFileShortcut |
fetchByUuid_First(String uuid,
OrderByComparator 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 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 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 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 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 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 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 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 orderByComparator)
Returns an ordered range of all the document library file shortcuts. |
static DLFileShortcut |
findByG_F_A_First(long groupId,
long folderId,
boolean active,
OrderByComparator 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 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 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 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 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 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 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(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 orderByComparator)
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 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 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 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 orderByComparator)
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 orderByComparator)
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?. |
static DLFileShortcut |
findByToFileEntryId_Last(long toFileEntryId,
OrderByComparator orderByComparator)
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?. |
static DLFileShortcut[] |
findByToFileEntryId_PrevAndNext(long fileShortcutId,
long toFileEntryId,
OrderByComparator 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 orderByComparator)
Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?. |
static DLFileShortcut |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator 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 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 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 orderByComparator)
Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?. |
static DLFileShortcut |
findByUuid_First(String uuid,
OrderByComparator 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 orderByComparator)
Returns the last document library file shortcut in the ordered set where uuid = ?. |
static DLFileShortcut[] |
findByUuid_PrevAndNext(long fileShortcutId,
String uuid,
OrderByComparator 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 orderByComparator)
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 orderByComparator)
|
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 |
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. |
void |
setPersistence(DLFileShortcutPersistence persistence)
Deprecated. As of 6.2.0 |
static DLFileShortcut |
update(DLFileShortcut dlFileShortcut)
|
static DLFileShortcut |
update(DLFileShortcut dlFileShortcut,
ServiceContext serviceContext)
|
static DLFileShortcut |
updateImpl(DLFileShortcut dlFileShortcut)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DLFileShortcutUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(DLFileShortcut dlFileShortcut)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DLFileShortcut update(DLFileShortcut dlFileShortcut)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel)
public static DLFileShortcut update(DLFileShortcut dlFileShortcut,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)
public static List<DLFileShortcut> findByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByUuid(String uuid,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileShortcutException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public static DLFileShortcut findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchFileShortcutException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public static DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId,
String uuid,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
public static int countByUuid(String uuid)
throws SystemException
uuid - the uuid
SystemException - if a system exception occurred
public static DLFileShortcut findByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchFileShortcutException
NoSuchFileShortcutException if it could not be found.
uuid - the uuidgroupId - the group ID
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
uuid - the uuidgroupId - the group ID
null if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
uuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching document library file shortcut could not be found
SystemException - if a system exception occurred
public static DLFileShortcut removeByUUID_G(String uuid,
long groupId)
throws SystemException,
NoSuchFileShortcutException
uuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchFileShortcutException
public static int countByUUID_G(String uuid,
long groupId)
throws SystemException
uuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByUuid_C(String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByUuid_C(String uuid,
long companyId,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByUuid_C(String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public static int countByUuid_C(String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
throws SystemException
toFileEntryId - the to file entry ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut findByToFileEntryId_First(long toFileEntryId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut findByToFileEntryId_Last(long toFileEntryId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId,
long toFileEntryId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByToFileEntryId(long toFileEntryId)
throws SystemException
toFileEntryId - the to file entry ID
SystemException - if a system exception occurred
public static int countByToFileEntryId(long toFileEntryId)
throws SystemException
toFileEntryId - the to file entry ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F(long groupId,
long folderId)
throws SystemException
groupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F(long groupId,
long folderId,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut findByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut findByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F(long groupId,
long folderId)
throws SystemException
groupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F(long groupId,
long folderId,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByG_F(long groupId,
long folderId)
throws SystemException
groupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public static int countByG_F(long groupId,
long folderId)
throws SystemException
groupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public static int filterCountByG_F(long groupId,
long folderId)
throws SystemException
groupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F_A(long groupId,
long folderId,
boolean active)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the active
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut findByG_F_A_First(long groupId,
long folderId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByG_F_A_First(long groupId,
long folderId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut findByG_F_A_Last(long groupId,
long folderId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByG_F_A_Last(long groupId,
long folderId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F_A(long groupId,
long folderId,
boolean active)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the active
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F_A(long groupId,
long folderId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByG_F_A(long groupId,
long folderId,
boolean active)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the active
SystemException - if a system exception occurred
public static int countByG_F_A(long groupId,
long folderId,
boolean active)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the active
SystemException - if a system exception occurred
public static int filterCountByG_F_A(long groupId,
long folderId,
boolean active)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the active
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the activestatus - the status
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> findByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut findByG_F_A_S_First(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByG_F_A_S_First(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut findByG_F_A_S_Last(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByG_F_A_S_Last(long groupId,
long folderId,
boolean active,
int status,
OrderByComparator orderByComparator)
throws SystemException
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 found
SystemException - if a system exception occurred
public static DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
int status,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the activestatus - the status
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId,
long folderId,
boolean active,
int status,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
boolean active,
int status,
OrderByComparator orderByComparator)
throws SystemException,
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 found
SystemException - if a system exception occurred
public static void removeByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the activestatus - the status
SystemException - if a system exception occurred
public static int countByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the activestatus - the status
SystemException - if a system exception occurred
public static int filterCountByG_F_A_S(long groupId,
long folderId,
boolean active,
int status)
throws SystemException
groupId - the group IDfolderId - the folder IDactive - the activestatus - the status
SystemException - if a system exception occurredpublic 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 shortcut
public static DLFileShortcut remove(long fileShortcutId)
throws SystemException,
NoSuchFileShortcutException
fileShortcutId - the primary key of the document library file shortcut
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public static DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut)
throws SystemException
SystemException
public static DLFileShortcut findByPrimaryKey(long fileShortcutId)
throws SystemException,
NoSuchFileShortcutException
NoSuchFileShortcutException if it could not be found.
fileShortcutId - the primary key of the document library file shortcut
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public static DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
throws SystemException
null if it could not be found.
fileShortcutId - the primary key of the document library file shortcut
null if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred
public static List<DLFileShortcut> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<DLFileShortcut> findAll(int start,
int end)
throws SystemException
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)
SystemException - if a system exception occurred
public static List<DLFileShortcut> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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)
SystemException - if a system exception occurred
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static DLFileShortcutPersistence getPersistence()
public void setPersistence(DLFileShortcutPersistence persistence)
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||