Liferay 6.0.5

com.liferay.portlet.documentlibrary.service.persistence
Class DLFileShortcutUtil

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutUtil

public class DLFileShortcutUtil
extends Object

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

See Also:
DLFileShortcutPersistence, DLFileShortcutPersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

DLFileShortcutUtil

public DLFileShortcutUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(DLFileShortcut dlFileShortcut)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                 throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                        int start,
                                                        int end)
                                                 throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                        int start,
                                                        int end,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

remove

public static DLFileShortcut remove(DLFileShortcut dlFileShortcut)
                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static DLFileShortcut update(DLFileShortcut dlFileShortcut,
                                    boolean merge)
                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

public static DLFileShortcut update(DLFileShortcut dlFileShortcut,
                                    boolean merge,
                                    ServiceContext serviceContext)
                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)

cacheResult

public static void cacheResult(DLFileShortcut dlFileShortcut)
Caches the d l file shortcut in the entity cache if it is enabled.

Parameters:
dlFileShortcut - the d l file shortcut to cache

cacheResult

public static void cacheResult(List<DLFileShortcut> dlFileShortcuts)
Caches the d l file shortcuts in the entity cache if it is enabled.

Parameters:
dlFileShortcuts - the d l file shortcuts to cache

create

public static DLFileShortcut create(long fileShortcutId)
Creates a new d l file shortcut with the primary key. Does not add the d l file shortcut to the database.

Parameters:
fileShortcutId - the primary key for the new d l file shortcut
Returns:
the new d l file shortcut

remove

public static DLFileShortcut remove(long fileShortcutId)
                             throws SystemException,
                                    NoSuchFileShortcutException
Removes the d l file shortcut with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
fileShortcutId - the primary key of the d l file shortcut to remove
Returns:
the d l file shortcut that was removed
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

public static DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut,
                                        boolean merge)
                                 throws SystemException
Throws:
SystemException

findByPrimaryKey

public static DLFileShortcut findByPrimaryKey(long fileShortcutId)
                                       throws SystemException,
                                              NoSuchFileShortcutException
Finds the d l file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.

Parameters:
fileShortcutId - the primary key of the d l file shortcut to find
Returns:
the d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public static DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
                                        throws SystemException
Finds the d l file shortcut with the primary key or returns null if it could not be found.

Parameters:
fileShortcutId - the primary key of the d l file shortcut to find
Returns:
the d l file shortcut, or null if a d l file shortcut with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<DLFileShortcut> findByUuid(String uuid)
                                       throws SystemException
Finds all the d l file shortcuts where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<DLFileShortcut> findByUuid(String uuid,
                                              int start,
                                              int end)
                                       throws SystemException
Finds a range of all the d l file shortcuts where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<DLFileShortcut> findByUuid(String uuid,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Finds an ordered range of all the d l file shortcuts where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_First

public static DLFileShortcut findByUuid_First(String uuid,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchFileShortcutException
Finds the first d l file shortcut in the ordered set where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByUuid_Last

public static DLFileShortcut findByUuid_Last(String uuid,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchFileShortcutException
Finds the last d l file shortcut in the ordered set where uuid = ?.

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.

Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public static DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId,
                                                      String uuid,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchFileShortcutException
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where uuid = ?.

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.

Parameters:
fileShortcutId - the primary key of the current d l file shortcut
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

findByUUID_G

public static DLFileShortcut findByUUID_G(String uuid,
                                          long groupId)
                                   throws SystemException,
                                          NoSuchFileShortcutException
Finds the d l file shortcut where uuid = ? and groupId = ? or throws a NoSuchFileShortcutException if it could not be found.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public static DLFileShortcut fetchByUUID_G(String uuid,
                                           long groupId)
                                    throws SystemException
Finds the d l file shortcut where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file shortcut, or null if a matching d l file shortcut could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public static DLFileShortcut fetchByUUID_G(String uuid,
                                           long groupId,
                                           boolean retrieveFromCache)
                                    throws SystemException
Finds the d l file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching d l file shortcut, or null if a matching d l file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileShortcut> findByG_F(long groupId,
                                             long folderId)
                                      throws SystemException
Finds all the d l file shortcuts where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileShortcut> findByG_F(long groupId,
                                             long folderId,
                                             int start,
                                             int end)
                                      throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and folderId = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<DLFileShortcut> findByG_F(long groupId,
                                             long folderId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_First

public static DLFileShortcut findByG_F_First(long groupId,
                                             long folderId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchFileShortcutException
Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_Last

public static DLFileShortcut findByG_F_Last(long groupId,
                                            long folderId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchFileShortcutException
Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_PrevAndNext

public static DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId,
                                                     long groupId,
                                                     long folderId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchFileShortcutException
Finds the d l file shortcuts before and after the current d l file shortcut in the ordered set where groupId = ? and folderId = ?.

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.

Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
folderId - the folder id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileShortcut> filterFindByG_F(long groupId,
                                                   long folderId)
                                            throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileShortcut> filterFindByG_F(long groupId,
                                                   long folderId,
                                                   int start,
                                                   int end)
                                            throws SystemException
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<DLFileShortcut> filterFindByG_F(long groupId,
                                                   long folderId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F_S

public static List<DLFileShortcut> findByG_F_S(long groupId,
                                               long folderId,
                                               int status)
                                        throws SystemException
Finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S

public static List<DLFileShortcut> findByG_F_S(long groupId,
                                               long folderId,
                                               int status,
                                               int start,
                                               int end)
                                        throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S

public static List<DLFileShortcut> findByG_F_S(long groupId,
                                               long folderId,
                                               int status,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_S_First

public static DLFileShortcut findByG_F_S_First(long groupId,
                                               long folderId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFileShortcutException
Finds the first d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_S_Last

public static DLFileShortcut findByG_F_S_Last(long groupId,
                                              long folderId,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchFileShortcutException
Finds the last d l file shortcut in the ordered set where groupId = ? and folderId = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_F_S_PrevAndNext

public static DLFileShortcut[] findByG_F_S_PrevAndNext(long fileShortcutId,
                                                       long groupId,
                                                       long folderId,
                                                       int status,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchFileShortcutException
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 = ?.

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.

Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F_S

public static List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                                     long folderId,
                                                     int status)
                                              throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_S

public static List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                                     long folderId,
                                                     int status,
                                                     int start,
                                                     int end)
                                              throws SystemException
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_S

public static List<DLFileShortcut> filterFindByG_F_S(long groupId,
                                                     long folderId,
                                                     int status,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_TF_TN

public static List<DLFileShortcut> findByG_TF_TN(long groupId,
                                                 long toFolderId,
                                                 String toName)
                                          throws SystemException
Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN

public static List<DLFileShortcut> findByG_TF_TN(long groupId,
                                                 long toFolderId,
                                                 String toName,
                                                 int start,
                                                 int end)
                                          throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN

public static List<DLFileShortcut> findByG_TF_TN(long groupId,
                                                 long toFolderId,
                                                 String toName,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_First

public static DLFileShortcut findByG_TF_TN_First(long groupId,
                                                 long toFolderId,
                                                 String toName,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchFileShortcutException
Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_Last

public static DLFileShortcut findByG_TF_TN_Last(long groupId,
                                                long toFolderId,
                                                String toName,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileShortcutException
Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_PrevAndNext

public static DLFileShortcut[] findByG_TF_TN_PrevAndNext(long fileShortcutId,
                                                         long groupId,
                                                         long toFolderId,
                                                         String toName,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchFileShortcutException
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 = ?.

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.

Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_TF_TN

public static List<DLFileShortcut> filterFindByG_TF_TN(long groupId,
                                                       long toFolderId,
                                                       String toName)
                                                throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN

public static List<DLFileShortcut> filterFindByG_TF_TN(long groupId,
                                                       long toFolderId,
                                                       String toName,
                                                       int start,
                                                       int end)
                                                throws SystemException
Filters by the user's permissions and finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN

public static List<DLFileShortcut> filterFindByG_TF_TN(long groupId,
                                                       long toFolderId,
                                                       String toName,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Filters by the user's permissions and finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S

public static List<DLFileShortcut> findByG_TF_TN_S(long groupId,
                                                   long toFolderId,
                                                   String toName,
                                                   int status)
                                            throws SystemException
Finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S

public static List<DLFileShortcut> findByG_TF_TN_S(long groupId,
                                                   long toFolderId,
                                                   String toName,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws SystemException
Finds a range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S

public static List<DLFileShortcut> findByG_TF_TN_S(long groupId,
                                                   long toFolderId,
                                                   String toName,
                                                   int status,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Finds an ordered range of all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_TF_TN_S_First

public static DLFileShortcut findByG_TF_TN_S_First(long groupId,
                                                   long toFolderId,
                                                   String toName,
                                                   int status,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchFileShortcutException
Finds the first d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_S_Last

public static DLFileShortcut findByG_TF_TN_S_Last(long groupId,
                                                  long toFolderId,
                                                  String toName,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchFileShortcutException
Finds the last d l file shortcut in the ordered set where groupId = ? and toFolderId = ? and toName = ? and status = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching d l file shortcut
Throws:
NoSuchFileShortcutException - if a matching d l file shortcut could not be found
SystemException - if a system exception occurred

findByG_TF_TN_S_PrevAndNext

public static DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(long fileShortcutId,
                                                           long groupId,
                                                           long toFolderId,
                                                           String toName,
                                                           int status,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchFileShortcutException
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 = ?.

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.

Parameters:
fileShortcutId - the primary key of the current d l file shortcut
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next d l file shortcut
Throws:
NoSuchFileShortcutException - if a d l file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_TF_TN_S

public static List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId,
                                                         long toFolderId,
                                                         String toName,
                                                         int status)
                                                  throws SystemException
Filters by the user's permissions and finds all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN_S

public static List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId,
                                                         long toFolderId,
                                                         String toName,
                                                         int status,
                                                         int start,
                                                         int end)
                                                  throws SystemException
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 = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_TF_TN_S

public static List<DLFileShortcut> filterFindByG_TF_TN_S(long groupId,
                                                         long toFolderId,
                                                         String toName,
                                                         int status,
                                                         int start,
                                                         int end,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
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 = ?.

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.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

public static List<DLFileShortcut> findAll()
                                    throws SystemException
Finds all the d l file shortcuts.

Returns:
the d l file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

public static List<DLFileShortcut> findAll(int start,
                                           int end)
                                    throws SystemException
Finds a range of all the d l file shortcuts.

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.

Parameters:
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
Returns:
the range of d l file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

public static List<DLFileShortcut> findAll(int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the d l file shortcuts.

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.

Parameters:
start - the lower bound of the range of d l file shortcuts to return
end - the upper bound of the range of d l file shortcuts to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of d l file shortcuts
Throws:
SystemException - if a system exception occurred

removeByUuid

public static void removeByUuid(String uuid)
                         throws SystemException
Removes all the d l file shortcuts where uuid = ? from the database.

Parameters:
uuid - the uuid to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public static void removeByUUID_G(String uuid,
                                  long groupId)
                           throws SystemException,
                                  NoSuchFileShortcutException
Removes the d l file shortcut where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Throws:
SystemException - if a system exception occurred
NoSuchFileShortcutException

removeByG_F

public static void removeByG_F(long groupId,
                               long folderId)
                        throws SystemException
Removes all the d l file shortcuts where groupId = ? and folderId = ? from the database.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Throws:
SystemException - if a system exception occurred

removeByG_F_S

public static void removeByG_F_S(long groupId,
                                 long folderId,
                                 int status)
                          throws SystemException
Removes all the d l file shortcuts where groupId = ? and folderId = ? and status = ? from the database.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByG_TF_TN

public static void removeByG_TF_TN(long groupId,
                                   long toFolderId,
                                   String toName)
                            throws SystemException
Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? from the database.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Throws:
SystemException - if a system exception occurred

removeByG_TF_TN_S

public static void removeByG_TF_TN_S(long groupId,
                                     long toFolderId,
                                     String toName,
                                     int status)
                              throws SystemException
Removes all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ? from the database.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeAll

public static void removeAll()
                      throws SystemException
Removes all the d l file shortcuts from the database.

Throws:
SystemException - if a system exception occurred

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
Counts all the d l file shortcuts where uuid = ?.

Parameters:
uuid - the uuid to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

countByUUID_G

public static int countByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
Counts all the d l file shortcuts where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long folderId)
                      throws SystemException
Counts all the d l file shortcuts where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long folderId)
                            throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F_S

public static int countByG_F_S(long groupId,
                               long folderId,
                               int status)
                        throws SystemException
Counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F_S

public static int filterCountByG_F_S(long groupId,
                                     long folderId,
                                     int status)
                              throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group id to search with
folderId - the folder id to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_TF_TN

public static int countByG_TF_TN(long groupId,
                                 long toFolderId,
                                 String toName)
                          throws SystemException
Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_TF_TN

public static int filterCountByG_TF_TN(long groupId,
                                       long toFolderId,
                                       String toName)
                                throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_TF_TN_S

public static int countByG_TF_TN_S(long groupId,
                                   long toFolderId,
                                   String toName,
                                   int status)
                            throws SystemException
Counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_TF_TN_S

public static int filterCountByG_TF_TN_S(long groupId,
                                         long toFolderId,
                                         String toName,
                                         int status)
                                  throws SystemException
Filters by the user's permissions and counts all the d l file shortcuts where groupId = ? and toFolderId = ? and toName = ? and status = ?.

Parameters:
groupId - the group id to search with
toFolderId - the to folder id to search with
toName - the to name to search with
status - the status to search with
Returns:
the number of matching d l file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Counts all the d l file shortcuts.

Returns:
the number of d l file shortcuts
Throws:
SystemException - if a system exception occurred

getPersistence

public static DLFileShortcutPersistence getPersistence()

setPersistence

public void setPersistence(DLFileShortcutPersistence persistence)

Liferay 6.0.5