|
Liferay 6.1.2-ce-ga3 | |||||||||
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 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_S(long groupId,
long folderId,
int status)
Returns the number of document library file shortcuts where groupId = ? and folderId = ? and status = ?. |
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_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_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 |
fetchByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
static DLFileShortcut |
fetchByG_F_S_Last(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
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_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_S(long groupId,
long folderId,
int status)
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. |
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_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 DLFileShortcut[] |
filterFindByG_F_S_PrevAndNext(long fileShortcutId,
long groupId,
long folderId,
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 status = ?. |
static List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
int status)
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
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 status = ?. |
static List<DLFileShortcut> |
filterFindByG_F_S(long groupId,
long folderId,
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 status = ?. |
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_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 DLFileShortcut |
findByG_F_S_First(long groupId,
long folderId,
int status,
OrderByComparator orderByComparator)
Returns the first document library 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)
Returns the last document library 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)
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status)
Returns all the document library file shortcuts where groupId = ? and folderId = ? and status = ?. |
static List<DLFileShortcut> |
findByG_F_S(long groupId,
long folderId,
int status,
int start,
int end)
Returns a range of all the document library 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)
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and status = ?. |
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_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_S(long groupId,
long folderId,
int status)
Removes all the document library file shortcuts where groupId = ? and folderId = ? and status = ? 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 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. |
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 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 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 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 document library file shortcut
NoSuchFileShortcutException
- if a document library 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 document library file shortcut
null
if a document library 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
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 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 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 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 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 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 occurredpublic static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId) throws SystemException
toFileEntryId
- the to file entry ID
SystemException
- if a system exception occurredpublic 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.
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 occurredpublic 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.
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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic static List<DLFileShortcut> findByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
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 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 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 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic 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 occurredpublic static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
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 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 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 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 occurredpublic 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 occurredpublic static List<DLFileShortcut> findByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
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 IDfolderId
- the folder IDstatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)
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 IDfolderId
- the folder IDstatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileShortcut findByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDstatus
- 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 occurredpublic static DLFileShortcut fetchByG_F_S_First(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- 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 occurredpublic static DLFileShortcut findByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
groupId
- the group IDfolderId
- the folder IDstatus
- 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 occurredpublic static DLFileShortcut fetchByG_F_S_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- 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 occurredpublic static DLFileShortcut[] findByG_F_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutgroupId
- the group IDfolderId
- the folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileShortcut> filterFindByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
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 IDfolderId
- the folder IDstatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)
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 IDfolderId
- the folder IDstatus
- the statusstart
- the lower bound of the range of document library file shortcutsend
- the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileShortcut[] filterFindByG_F_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchFileShortcutException
fileShortcutId
- the primary key of the current document library file shortcutgroupId
- the group IDfolderId
- the folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileShortcutException
- if a document library file shortcut with the primary key could not be found
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 document library file shortcutsend
- the upper bound of the range of document library file shortcuts (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 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 occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic 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 void removeByToFileEntryId(long toFileEntryId) throws SystemException
toFileEntryId
- the to file entry ID
SystemException
- if a system exception occurredpublic static void removeByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static void removeByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
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
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByToFileEntryId(long toFileEntryId) throws SystemException
toFileEntryId
- the to file entry ID
SystemException
- if a system exception occurredpublic static int countByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static int filterCountByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static int countByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
SystemException
- if a system exception occurredpublic static int filterCountByG_F_S(long groupId, long folderId, int status) throws SystemException
groupId
- the group IDfolderId
- the folder IDstatus
- the status
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.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |