Liferay 6.2-ce-ga5

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

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

@ProviderType
public class DLFileShortcutUtil
extends Object

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

See Also:
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 countByC_NotS(long companyId, int status)
          Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.
static int countByCompanyId(long companyId)
          Returns the number of document library file shortcuts where companyId = ?.
static int countByG_F_A_S(long groupId, long folderId, boolean active, int status)
          Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
static int countByG_F_A(long groupId, long folderId, boolean active)
          Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.
static int countByG_F(long groupId, long folderId)
          Returns the number of document library file shortcuts where groupId = ? and folderId = ?.
static int countByToFileEntryId(long toFileEntryId)
          Returns the number of document library file shortcuts where toFileEntryId = ?.
static int countByUuid_C(String uuid, long companyId)
          Returns the number of document library file shortcuts where uuid = ? and companyId = ?.
static int countByUUID_G(String uuid, long groupId)
          Returns the number of document library file shortcuts where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Returns the number of document library file shortcuts where uuid = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static DLFileShortcut create(long fileShortcutId)
          Creates a new document library file shortcut with the primary key.
static DLFileShortcut fetchByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
static DLFileShortcut fetchByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
static DLFileShortcut fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where companyId = ?.
static DLFileShortcut fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where companyId = ?.
static DLFileShortcut fetchByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut fetchByG_F_A_Last(long groupId, long folderId, boolean active, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut fetchByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
static DLFileShortcut fetchByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
static DLFileShortcut fetchByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.
static DLFileShortcut fetchByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.
static DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
          Returns the document library file shortcut with the primary key or returns null if it could not be found.
static DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
static DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
static DLFileShortcut fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.
static DLFileShortcut fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.
static DLFileShortcut fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ?.
static DLFileShortcut fetchByUUID_G(String uuid, long groupId)
          Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found.
static DLFileShortcut fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
static DLFileShortcut fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ?.
static int filterCountByG_F_A_S(long groupId, long folderId, boolean active, int status)
          Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
static int filterCountByG_F_A(long groupId, long folderId, boolean active)
          Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
static int filterCountByG_F(long groupId, long folderId)
          Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
static DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status)
          Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end)
          Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> filterFindByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active)
          Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
static List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end)
          Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.
static List<DLFileShortcut> filterFindByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId)
          Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.
static List<DLFileShortcut> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ?.
static List<DLFileShortcut> findAll()
          Returns all the document library file shortcuts.
static List<DLFileShortcut> findAll(int start, int end)
          Returns a range of all the document library file shortcuts.
static List<DLFileShortcut> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts.
static DLFileShortcut findByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
static DLFileShortcut findByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
static DLFileShortcut[] findByC_NotS_PrevAndNext(long fileShortcutId, long companyId, int status, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?.
static List<DLFileShortcut> findByC_NotS(long companyId, int status)
          Returns all the document library file shortcuts where companyId = ? and status ≠ ?.
static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end)
          Returns a range of all the document library file shortcuts where companyId = ? and status ≠ ?.
static List<DLFileShortcut> findByC_NotS(long companyId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where companyId = ? and status ≠ ?.
static DLFileShortcut findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where companyId = ?.
static DLFileShortcut findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where companyId = ?.
static DLFileShortcut[] findByCompanyId_PrevAndNext(long fileShortcutId, long companyId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?.
static List<DLFileShortcut> findByCompanyId(long companyId)
          Returns all the document library file shortcuts where companyId = ?.
static List<DLFileShortcut> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the document library file shortcuts where companyId = ?.
static List<DLFileShortcut> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where companyId = ?.
static DLFileShortcut findByG_F_A_First(long groupId, long folderId, boolean active, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut findByG_F_A_Last(long groupId, long folderId, boolean active, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut findByG_F_A_S_First(long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
static DLFileShortcut findByG_F_A_S_Last(long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
static DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId, long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status)
          Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end)
          Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> findByG_F_A_S(long groupId, long folderId, boolean active, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.
static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active)
          Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end)
          Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
static List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
static DLFileShortcut findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.
static DLFileShortcut findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.
static DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.
static List<DLFileShortcut> findByG_F(long groupId, long folderId)
          Returns all the document library file shortcuts where groupId = ? and folderId = ?.
static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file shortcuts where groupId = ? and folderId = ?.
static List<DLFileShortcut> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ?.
static DLFileShortcut findByPrimaryKey(long fileShortcutId)
          Returns the document library file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.
static DLFileShortcut findByToFileEntryId_First(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
static DLFileShortcut findByToFileEntryId_Last(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
static DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId, long toFileEntryId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.
static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
          Returns all the document library file shortcuts where toFileEntryId = ?.
static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end)
          Returns a range of all the document library file shortcuts where toFileEntryId = ?.
static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.
static DLFileShortcut findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.
static DLFileShortcut findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.
static DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?.
static List<DLFileShortcut> findByUuid_C(String uuid, long companyId)
          Returns all the document library file shortcuts where uuid = ? and companyId = ?.
static List<DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?.
static List<DLFileShortcut> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.
static DLFileShortcut findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ?.
static DLFileShortcut findByUUID_G(String uuid, long groupId)
          Returns the document library file shortcut where uuid = ? and groupId = ? or throws a NoSuchFileShortcutException if it could not be found.
static DLFileShortcut findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ?.
static DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId, String uuid, OrderByComparator orderByComparator)
          Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?.
static List<DLFileShortcut> findByUuid(String uuid)
          Returns all the document library file shortcuts where uuid = ?.
static List<DLFileShortcut> findByUuid(String uuid, int start, int end)
          Returns a range of all the document library file shortcuts where uuid = ?.
static List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where uuid = ?.
static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<DLFileShortcut> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static DLFileShortcutPersistence getPersistence()
           
static DLFileShortcut remove(long fileShortcutId)
          Removes the document library file shortcut with the primary key from the database.
static void removeAll()
          Removes all the document library file shortcuts from the database.
static void removeByC_NotS(long companyId, int status)
          Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.
static void removeByCompanyId(long companyId)
          Removes all the document library file shortcuts where companyId = ? from the database.
static void removeByG_F_A_S(long groupId, long folderId, boolean active, int status)
          Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ? from the database.
static void removeByG_F_A(long groupId, long folderId, boolean active)
          Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database.
static void removeByG_F(long groupId, long folderId)
          Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.
static void removeByToFileEntryId(long toFileEntryId)
          Removes all the document library file shortcuts where toFileEntryId = ? from the database.
static void removeByUuid_C(String uuid, long companyId)
          Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.
static DLFileShortcut removeByUUID_G(String uuid, long groupId)
          Removes the document library file shortcut where uuid = ? and groupId = ? from the database.
static void removeByUuid(String uuid)
          Removes all the document library file shortcuts where uuid = ? from the database.
 void setPersistence(DLFileShortcutPersistence persistence)
          Deprecated. As of 6.2.0
static DLFileShortcut update(DLFileShortcut dlFileShortcut)
           
static DLFileShortcut update(DLFileShortcut dlFileShortcut, ServiceContext serviceContext)
           
static DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 static 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)

update

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

update

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

findByUuid

public static List<DLFileShortcut> findByUuid(String uuid)
                                       throws SystemException
Returns all the document library file shortcuts where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<DLFileShortcut> findByUuid(String uuid,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the document library 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library 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
Returns an ordered range of all the document library 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_First

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

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByUuid_First

public static DLFileShortcut fetchByUuid_First(String uuid,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first document library file shortcut in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

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

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

public static DLFileShortcut fetchByUuid_Last(String uuid,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last document library file shortcut in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

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

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

removeByUuid

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

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

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
Returns the number of document library file shortcuts where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library 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
Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file shortcut, or null if a matching document library 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
Returns the document library file shortcut where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

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

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the document library file shortcut that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileShortcutException

countByUUID_G

public static int countByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
Returns the number of document library file shortcuts where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<DLFileShortcut> findByUuid_C(String uuid,
                                                long companyId)
                                         throws SystemException
Returns all the document library file shortcuts where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<DLFileShortcut> findByUuid_C(String uuid,
                                                long companyId,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the document library file shortcuts where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<DLFileShortcut> findByUuid_C(String uuid,
                                                long companyId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the document library file shortcuts where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

public static DLFileShortcut findByUuid_C_First(String uuid,
                                                long companyId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

public static DLFileShortcut fetchByUuid_C_First(String uuid,
                                                 long companyId,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

public static DLFileShortcut findByUuid_C_Last(String uuid,
                                               long companyId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

public static DLFileShortcut fetchByUuid_C_Last(String uuid,
                                                long companyId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

public static DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId,
                                                        String uuid,
                                                        long companyId,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid_C

public static void removeByUuid_C(String uuid,
                                  long companyId)
                           throws SystemException
Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

public static int countByUuid_C(String uuid,
                                long companyId)
                         throws SystemException
Returns the number of document library file shortcuts where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<DLFileShortcut> findByCompanyId(long companyId)
                                            throws SystemException
Returns all the document library file shortcuts where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<DLFileShortcut> findByCompanyId(long companyId,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the document library file shortcuts where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<DLFileShortcut> findByCompanyId(long companyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the document library file shortcuts where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public static DLFileShortcut findByCompanyId_First(long companyId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

public static DLFileShortcut fetchByCompanyId_First(long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the first document library file shortcut in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

public static DLFileShortcut findByCompanyId_Last(long companyId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

public static DLFileShortcut fetchByCompanyId_Last(long companyId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns the last document library file shortcut in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public static DLFileShortcut[] findByCompanyId_PrevAndNext(long fileShortcutId,
                                                           long companyId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws SystemException
Removes all the document library file shortcuts where companyId = ? from the database.

Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws SystemException
Returns the number of document library file shortcuts where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
                                                throws SystemException
Returns all the document library file shortcuts where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
                                                       int start,
                                                       int end)
                                                throws SystemException
Returns a range of all the document library file shortcuts where toFileEntryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
toFileEntryId - the to file entry ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

public static List<DLFileShortcut> findByToFileEntryId(long toFileEntryId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
toFileEntryId - the to file entry ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId_First

public static DLFileShortcut findByToFileEntryId_First(long toFileEntryId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByToFileEntryId_First

public static DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByToFileEntryId_Last

public static DLFileShortcut findByToFileEntryId_Last(long toFileEntryId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByToFileEntryId_Last

public static DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByToFileEntryId_PrevAndNext

public static DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId,
                                                               long toFileEntryId,
                                                               OrderByComparator orderByComparator)
                                                        throws SystemException,
                                                               NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
toFileEntryId - the to file entry ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeByToFileEntryId

public static void removeByToFileEntryId(long toFileEntryId)
                                  throws SystemException
Removes all the document library file shortcuts where toFileEntryId = ? from the database.

Parameters:
toFileEntryId - the to file entry ID
Throws:
SystemException - if a system exception occurred

countByToFileEntryId

public static int countByToFileEntryId(long toFileEntryId)
                                throws SystemException
Returns the number of document library file shortcuts where toFileEntryId = ?.

Parameters:
toFileEntryId - the to file entry ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F

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

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching document library 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
Returns a range of all the document library 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library 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
Returns an ordered range of all the document library 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library 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
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_First

public static DLFileShortcut fetchByG_F_First(long groupId,
                                              long folderId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_Last

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

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_Last

public static DLFileShortcut fetchByG_F_Last(long groupId,
                                             long folderId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
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
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library 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
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching document library 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
Returns a range of all the document library file shortcuts that the user has permission to view 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library 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
Returns an ordered range of all the document library file shortcuts that the user has permissions to view 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_PrevAndNext

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

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeByG_F

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

Parameters:
groupId - the group ID
folderId - the folder ID
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long folderId)
                      throws SystemException
Returns the number of document library file shortcuts where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long folderId)
                            throws SystemException
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_NotS

public static List<DLFileShortcut> findByC_NotS(long companyId,
                                                int status)
                                         throws SystemException
Returns all the document library file shortcuts where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByC_NotS

public static List<DLFileShortcut> findByC_NotS(long companyId,
                                                int status,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the document library file shortcuts where companyId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByC_NotS

public static List<DLFileShortcut> findByC_NotS(long companyId,
                                                int status,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the document library file shortcuts where companyId = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByC_NotS_First

public static DLFileShortcut findByC_NotS_First(long companyId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByC_NotS_First

public static DLFileShortcut fetchByC_NotS_First(long companyId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByC_NotS_Last

public static DLFileShortcut findByC_NotS_Last(long companyId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByC_NotS_Last

public static DLFileShortcut fetchByC_NotS_Last(long companyId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByC_NotS_PrevAndNext

public static DLFileShortcut[] findByC_NotS_PrevAndNext(long fileShortcutId,
                                                        long companyId,
                                                        int status,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeByC_NotS

public static void removeByC_NotS(long companyId,
                                  int status)
                           throws SystemException
Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.

Parameters:
companyId - the company ID
status - the status
Throws:
SystemException - if a system exception occurred

countByC_NotS

public static int countByC_NotS(long companyId,
                                int status)
                         throws SystemException
Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_A

public static List<DLFileShortcut> findByG_F_A(long groupId,
                                               long folderId,
                                               boolean active)
                                        throws SystemException
Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_A

public static List<DLFileShortcut> findByG_F_A(long groupId,
                                               long folderId,
                                               boolean active,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_A

public static List<DLFileShortcut> findByG_F_A(long groupId,
                                               long folderId,
                                               boolean active,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_A_First

public static DLFileShortcut findByG_F_A_First(long groupId,
                                               long folderId,
                                               boolean active,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_A_First

public static DLFileShortcut fetchByG_F_A_First(long groupId,
                                                long folderId,
                                                boolean active,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_A_Last

public static DLFileShortcut findByG_F_A_Last(long groupId,
                                              long folderId,
                                              boolean active,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_A_Last

public static DLFileShortcut fetchByG_F_A_Last(long groupId,
                                               long folderId,
                                               boolean active,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_A_PrevAndNext

public static DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId,
                                                       long groupId,
                                                       long folderId,
                                                       boolean active,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F_A

public static List<DLFileShortcut> filterFindByG_F_A(long groupId,
                                                     long folderId,
                                                     boolean active)
                                              throws SystemException
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
Returns:
the matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_A

public static List<DLFileShortcut> filterFindByG_F_A(long groupId,
                                                     long folderId,
                                                     boolean active,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_A

public static List<DLFileShortcut> filterFindByG_F_A(long groupId,
                                                     long folderId,
                                                     boolean active,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_A_PrevAndNext

public static DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId,
                                                             long groupId,
                                                             long folderId,
                                                             boolean active,
                                                             OrderByComparator orderByComparator)
                                                      throws SystemException,
                                                             NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
active - the active
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeByG_F_A

public static void removeByG_F_A(long groupId,
                                 long folderId,
                                 boolean active)
                          throws SystemException
Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? from the database.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
Throws:
SystemException - if a system exception occurred

countByG_F_A

public static int countByG_F_A(long groupId,
                               long folderId,
                               boolean active)
                        throws SystemException
Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F_A

public static int filterCountByG_F_A(long groupId,
                                     long folderId,
                                     boolean active)
                              throws SystemException
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
Returns:
the number of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F_A_S

public static List<DLFileShortcut> findByG_F_A_S(long groupId,
                                                 long folderId,
                                                 boolean active,
                                                 int status)
                                          throws SystemException
Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_A_S

public static List<DLFileShortcut> findByG_F_A_S(long groupId,
                                                 long folderId,
                                                 boolean active,
                                                 int status,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_A_S

public static List<DLFileShortcut> findByG_F_A_S(long groupId,
                                                 long folderId,
                                                 boolean active,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the document library file shortcuts where groupId = ? and folderId = ? and active = ? 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByG_F_A_S_First

public static DLFileShortcut findByG_F_A_S_First(long groupId,
                                                 long folderId,
                                                 boolean active,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchFileShortcutException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_A_S_First

public static DLFileShortcut fetchByG_F_A_S_First(long groupId,
                                                  long folderId,
                                                  boolean active,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_A_S_Last

public static DLFileShortcut findByG_F_A_S_Last(long groupId,
                                                long folderId,
                                                boolean active,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchFileShortcutException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut
Throws:
NoSuchFileShortcutException - if a matching document library file shortcut could not be found
SystemException - if a system exception occurred

fetchByG_F_A_S_Last

public static DLFileShortcut fetchByG_F_A_S_Last(long groupId,
                                                 long folderId,
                                                 boolean active,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file shortcut, or null if a matching document library file shortcut could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_A_S_PrevAndNext

public static DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId,
                                                         long groupId,
                                                         long folderId,
                                                         boolean active,
                                                         int status,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F_A_S

public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId,
                                                       long folderId,
                                                       boolean active,
                                                       int status)
                                                throws SystemException
Returns all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
Returns:
the matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_A_S

public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId,
                                                       long folderId,
                                                       boolean active,
                                                       int status,
                                                       int start,
                                                       int end)
                                                throws SystemException
Returns a range of all the document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_A_S

public static List<DLFileShortcut> filterFindByG_F_A_S(long groupId,
                                                       long folderId,
                                                       boolean active,
                                                       int status,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Returns an ordered range of all the document library file shortcuts that the user has permissions to view where groupId = ? and folderId = ? and active = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_A_S_PrevAndNext

public static DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(long fileShortcutId,
                                                               long groupId,
                                                               long folderId,
                                                               boolean active,
                                                               int status,
                                                               OrderByComparator orderByComparator)
                                                        throws SystemException,
                                                               NoSuchFileShortcutException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
fileShortcutId - the primary key of the current document library file shortcut
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library file shortcut with the primary key could not be found
SystemException - if a system exception occurred

removeByG_F_A_S

public static void removeByG_F_A_S(long groupId,
                                   long folderId,
                                   boolean active,
                                   int status)
                            throws SystemException
Removes all the document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ? from the database.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
Throws:
SystemException - if a system exception occurred

countByG_F_A_S

public static int countByG_F_A_S(long groupId,
                                 long folderId,
                                 boolean active,
                                 int status)
                          throws SystemException
Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

filterCountByG_F_A_S

public static int filterCountByG_F_A_S(long groupId,
                                       long folderId,
                                       boolean active,
                                       int status)
                                throws SystemException
Returns the number of document library file shortcuts that the user has permission to view where groupId = ? and folderId = ? and active = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
status - the status
Returns:
the number of matching document library file shortcuts that the user has permission to view
Throws:
SystemException - if a system exception occurred

cacheResult

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

Parameters:
dlFileShortcut - the document library file shortcut

cacheResult

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

Parameters:
dlFileShortcuts - the document library file shortcuts

create

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

Parameters:
fileShortcutId - the primary key for the new document library file shortcut
Returns:
the new document library file shortcut

remove

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

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

updateImpl

public static DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut)
                                 throws SystemException
Throws:
SystemException

findByPrimaryKey

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

Parameters:
fileShortcutId - the primary key of the document library file shortcut
Returns:
the document library file shortcut
Throws:
NoSuchFileShortcutException - if a document library 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
Returns the document library file shortcut with the primary key or returns null if it could not be found.

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

findAll

public static List<DLFileShortcut> findAll()
                                    throws SystemException
Returns all the document library file shortcuts.

Returns:
the document library file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

public static List<DLFileShortcut> findAll(int start,
                                           int end)
                                    throws SystemException
Returns a range of all the document library 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findAll

public static List<DLFileShortcut> findAll(int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the document library 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileShortcutModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

removeAll

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

Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Returns the number of document library file shortcuts.

Returns:
the number of document library file shortcuts
Throws:
SystemException - if a system exception occurred

getPersistence

public static DLFileShortcutPersistence getPersistence()

setPersistence

public void setPersistence(DLFileShortcutPersistence persistence)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5