|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutUtil
public class DLFileShortcutUtil
The persistence utility for the d l 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.
Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this 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 d l file shortcut in the entity cache if it is enabled. |
static void |
cacheResult(List<DLFileShortcut> dlFileShortcuts)
Caches the d l file shortcuts in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(DLFileShortcut dlFileShortcut)
|
static int |
countAll()
Counts all the d l file shortcuts. |
static int |
countByG_F_S(long groupId,
long folderId,
int status)
Counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static int |
countByG_F(long groupId,
long folderId)
Counts all the d l file shortcuts where groupId = ? and folderId = ?. |
static int |
countByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status)
Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static int |
countByG_TF_TN(long groupId,
long toFolderId,
String toName)
Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Counts all the d l file shortcuts where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Counts all the d l file shortcuts where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static DLFileShortcut |
create(long fileShortcutId)
Creates a new d l file shortcut with the primary key. |
static DLFileShortcut |
fetchByPrimaryKey(long fileShortcutId)
Finds the d l file shortcut with the primary key or returns null if it could not be found. |
static DLFileShortcut |
fetchByUUID_G(String uuid,
long groupId)
Finds the d l 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)
Finds the d l file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static int |
filterCountByG_F_S(long groupId,
long folderId,
int status)
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static int |
filterCountByG_F(long groupId,
long folderId)
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ?. |
static int |
filterCountByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status)
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static int |
filterCountByG_TF_TN(long groupId,
long toFolderId,
String toName)
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
int status)
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId)
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ?. |
static List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end)
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ?. |
static List<DLFileShortcut> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?. |
static List<DLFileShortcut> |
filterFindByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status)
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static List<DLFileShortcut> |
filterFindByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static List<DLFileShortcut> |
filterFindByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static List<DLFileShortcut> |
filterFindByG_TF_TN(long groupId,
long toFolderId,
String toName)
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static List<DLFileShortcut> |
filterFindByG_TF_TN(long groupId,
long toFolderId,
String toName,
int start,
int end)
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static List<DLFileShortcut> |
filterFindByG_TF_TN(long groupId,
long toFolderId,
String toName,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static List<DLFileShortcut> |
findAll()
Finds all the d l file shortcuts. |
static List<DLFileShortcut> |
findAll(int start,
int end)
Finds a range of all the d l file shortcuts. |
static List<DLFileShortcut> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file shortcuts. |
static DLFileShortcut |
findByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ?. |
static DLFileShortcut |
findByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ?. |
static DLFileShortcut[] |
findByG_F_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ?. |
static DLFileShortcut |
findByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
static DLFileShortcut |
findByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
static DLFileShortcut[] |
findByG_F_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status)
Finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
Finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
findByG_F(long groupId,
long folderId)
Finds all the d l file shortcuts where groupId = ? and folderId = ?. |
static List<DLFileShortcut> |
findByG_F(long groupId,
long folderId,
int start,
int end)
Finds a range of all the d l file shortcuts where groupId = ? and folderId = ?. |
static List<DLFileShortcut> |
findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?. |
static DLFileShortcut |
findByG_TF_TN_First(long groupId,
long toFolderId,
String toName,
OrderByComparator orderByComparator)
Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?. |
static DLFileShortcut |
findByG_TF_TN_Last(long groupId,
long toFolderId,
String toName,
OrderByComparator orderByComparator)
Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?. |
static DLFileShortcut[] |
findByG_TF_TN_PrevAndNext(long fileShortcutId,
long groupId,
long toFolderId,
String toName,
OrderByComparator orderByComparator)
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?. |
static DLFileShortcut |
findByG_TF_TN_S_First(long groupId,
long toFolderId,
String toName,
int status,
OrderByComparator orderByComparator)
Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static DLFileShortcut |
findByG_TF_TN_S_Last(long groupId,
long toFolderId,
String toName,
int status,
OrderByComparator orderByComparator)
Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static DLFileShortcut[] |
findByG_TF_TN_S_PrevAndNext(long fileShortcutId,
long groupId,
long toFolderId,
String toName,
int status,
OrderByComparator orderByComparator)
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static List<DLFileShortcut> |
findByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status)
Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static List<DLFileShortcut> |
findByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status,
int start,
int end)
Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static List<DLFileShortcut> |
findByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?. |
static List<DLFileShortcut> |
findByG_TF_TN(long groupId,
long toFolderId,
String toName)
Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static List<DLFileShortcut> |
findByG_TF_TN(long groupId,
long toFolderId,
String toName,
int start,
int end)
Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static List<DLFileShortcut> |
findByG_TF_TN(long groupId,
long toFolderId,
String toName,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?. |
static DLFileShortcut |
findByPrimaryKey(long fileShortcutId)
Finds the d l file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found. |
static DLFileShortcut |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first d l file shortcut in the ordered set where uuid = ?. |
static DLFileShortcut |
findByUUID_G(String uuid,
long groupId)
Finds the d l file shortcut where uuid = ? and groupId = ? or throws a NoSuchFileShortcutException if it could not be found. |
static DLFileShortcut |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last d l file shortcut in the ordered set where uuid = ?. |
static DLFileShortcut[] |
findByUuid_PrevAndNext(long fileShortcutId,
String uuid,
OrderByComparator orderByComparator)
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where uuid = ?. |
static List<DLFileShortcut> |
findByUuid(String uuid)
Finds all the d l file shortcuts where uuid = ?. |
static List<DLFileShortcut> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the d l file shortcuts where uuid = ?. |
static List<DLFileShortcut> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the d l 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(DLFileShortcut dlFileShortcut)
|
static DLFileShortcut |
remove(long fileShortcutId)
Removes the d l file shortcut with the primary key from the database. |
static void |
removeAll()
Removes all the d l file shortcuts from the database. |
static void |
removeByG_F_S(long groupId,
long folderId,
int status)
Removes all the d l file shortcuts where groupId = ? and folderId = ? and status = ? from the database. |
static void |
removeByG_F(long groupId,
long folderId)
Removes all the d l file shortcuts where groupId = ? and folderId = ? from the database. |
static void |
removeByG_TF_TN_S(long groupId,
long toFolderId,
String toName,
int status)
Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ? from the database. |
static void |
removeByG_TF_TN(long groupId,
long toFolderId,
String toName)
Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? from the database. |
static void |
removeByUUID_G(String uuid,
long groupId)
Removes the d l file shortcut where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the d l file shortcuts where uuid = ? from the database. |
void |
setPersistence(DLFileShortcutPersistence persistence)
|
static DLFileShortcut |
update(DLFileShortcut dlFileShortcut,
boolean merge)
|
static DLFileShortcut |
update(DLFileShortcut dlFileShortcut,
boolean merge,
ServiceContext serviceContext)
|
static DLFileShortcut |
updateImpl(DLFileShortcut dlFileShortcut,
boolean merge)
|
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
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DLFileShortcut remove(DLFileShortcut dlFileShortcut) throws SystemException
SystemException
BasePersistence.remove(com.liferay.portal.model.BaseModel)
public static DLFileShortcut update(DLFileShortcut dlFileShortcut, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static DLFileShortcut update(DLFileShortcut dlFileShortcut, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(DLFileShortcut dlFileShortcut)
dlFileShortcut
- the d l file shortcut to cachepublic static void cacheResult(List<DLFileShortcut> dlFileShortcuts)
dlFileShortcuts
- the d l file shortcuts to cachepublic static DLFileShortcut create(long fileShortcutId)
fileShortcutId
- the primary key for the new d l file shortcut
public static DLFileShortcut remove(long fileShortcutId) throws SystemException, NoSuchFileShortcutException
fileShortcutId
- the primary key of the d l file shortcut to remove
NoSuchFileShortcutException
- if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut, boolean merge) 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 d l file shortcut to find
NoSuchFileShortcutException
- if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut fetchByPrimaryKey(long fileShortcutId) throws SystemException
null
if it could not be found.
fileShortcutId
- the primary key of the d l file shortcut to find
null
if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic 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.
uuid
- the uuid to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic 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.
uuid
- the uuid to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static DLFileShortcut findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
fileShortcutId
- the primary key of the current d l file shortcutuuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileShortcutException
NoSuchFileShortcutException
if it could not be found.
uuid
- the uuid to search withgroupId
- the group id to search with
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic 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 uuid to search withgroupId
- the group id to search with
null
if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_F(long groupId, long folderId) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search with
SystemException
- if a system exception occurredpublic 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.
groupId
- the group id to search withfolderId
- the folder id to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic 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.
groupId
- the group id to search withfolderId
- the folder id to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withfolderId
- the folder id to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withfolderId
- the folder id to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
fileShortcutId
- the primary key of the current d l file shortcutgroupId
- the group id to search withfolderId
- the folder id to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search with
SystemException
- if a system exception occurredpublic 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.
groupId
- the group id to search withfolderId
- the folder id to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic 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.
groupId
- the group id to search withfolderId
- the folder id to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_F_S(long groupId, long folderId, 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.
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_F_S(long groupId, long folderId, 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.
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut[] findByG_F_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
fileShortcutId
- the primary key of the current d l file shortcutgroupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, 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.
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, 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.
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_TF_TN(long groupId, long toFolderId, String toName) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search with
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_TF_TN(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_TF_TN(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_TF_TN_First(long groupId, long toFolderId, String toName, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_TF_TN_Last(long groupId, long toFolderId, String toName, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut[] findByG_TF_TN_PrevAndNext(long fileShortcutId, long groupId, long toFolderId, String toName, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
fileShortcutId
- the primary key of the current d l file shortcutgroupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_TF_TN(long groupId, long toFolderId, String toName) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search with
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_TF_TN(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_TF_TN(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_TF_TN_S(long groupId, long toFolderId, String toName, int status) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_TF_TN_S(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findByG_TF_TN_S(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_TF_TN_S_First(long groupId, long toFolderId, String toName, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_TF_TN_S_Last(long groupId, long toFolderId, String toName, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a matching d l file shortcut could not be found
SystemException
- if a system exception occurredpublic static DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(long fileShortcutId, long groupId, long toFolderId, String toName, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
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.
fileShortcutId
- the primary key of the current d l file shortcutgroupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchFileShortcutException
- if a d l file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId, long toFolderId, String toName, int status) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId, long toFolderId, String toName, 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.
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search withstart
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> findAll() throws SystemException
SystemException
- if a system exception occurredpublic 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.
start
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)
SystemException
- if a system exception occurredpublic 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.
start
- the lower bound of the range of d l file shortcuts to returnend
- the upper bound of the range of d l file shortcuts to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static void removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileShortcutException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchFileShortcutException
public static void removeByG_F(long groupId, long folderId) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search with
SystemException
- if a system exception occurredpublic static void removeByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByG_TF_TN(long groupId, long toFolderId, String toName) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search with
SystemException
- if a system exception occurredpublic static void removeByG_TF_TN_S(long groupId, long toFolderId, String toName, int status) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int countByG_F(long groupId, long folderId) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_F(long groupId, long folderId) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search with
SystemException
- if a system exception occurredpublic static int countByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group id to search withfolderId
- the folder id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByG_TF_TN(long groupId, long toFolderId, String toName) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_TF_TN(long groupId, long toFolderId, String toName) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search with
SystemException
- if a system exception occurredpublic static int countByG_TF_TN_S(long groupId, long toFolderId, String toName, int status) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_TF_TN_S(long groupId, long toFolderId, String toName, int status) throws SystemException
groupId
- the group id to search withtoFolderId
- the to folder id to search withtoName
- the to name to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static DLFileShortcutPersistence getPersistence()
public void setPersistence(DLFileShortcutPersistence persistence)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |