Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileShortcut>
      extended by com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<DLFileShortcut>, DLFileShortcutPersistence

public class DLFileShortcutPersistenceImpl
extends BasePersistenceImpl<DLFileShortcut>
implements DLFileShortcutPersistence

The persistence implementation for the document library file shortcut service.

Caching information and settings can be found in portal.properties

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

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_A
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_A_S
           
static FinderPath FINDER_PATH_COUNT_BY_TOFILEENTRYID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_NOTS
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_A
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_A_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TOFILEENTRYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_A
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_A_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TOFILEENTRYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
DLFileShortcutPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the document library file shortcut persistence.
 void cacheResult(DLFileShortcut dlFileShortcut)
          Caches the document library file shortcut in the entity cache if it is enabled.
 void cacheResult(List<DLFileShortcut> dlFileShortcuts)
          Caches the document library file shortcuts in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(DLFileShortcut dlFileShortcut)
           
 void clearCache()
          Clears the cache for all document library file shortcuts.
 void clearCache(DLFileShortcut dlFileShortcut)
          Clears the cache for the document library file shortcut.
 void clearCache(List<DLFileShortcut> dlFileShortcuts)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(DLFileShortcut dlFileShortcut)
           
 int countAll()
          Returns the number of document library file shortcuts.
 int countByC_NotS(long companyId, int status)
          Returns the number of document library file shortcuts where companyId = ? and status ≠ ?.
 int countByCompanyId(long companyId)
          Returns the number of document library file shortcuts where companyId = ?.
 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 = ?.
 int countByG_F_A(long groupId, long folderId, boolean active)
          Returns the number of document library file shortcuts where groupId = ? and folderId = ? and active = ?.
 int countByG_F(long groupId, long folderId)
          Returns the number of document library file shortcuts where groupId = ? and folderId = ?.
 int countByToFileEntryId(long toFileEntryId)
          Returns the number of document library file shortcuts where toFileEntryId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of document library file shortcuts where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of document library file shortcuts where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of document library file shortcuts where uuid = ?.
 DLFileShortcut create(long fileShortcutId)
          Creates a new document library file shortcut with the primary key.
 void destroy()
           
 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 ≠ ?.
 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 ≠ ?.
 DLFileShortcut fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where companyId = ?.
 DLFileShortcut fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where companyId = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 DLFileShortcut fetchByPrimaryKey(long fileShortcutId)
          Returns the document library file shortcut with the primary key or returns null if it could not be found.
 DLFileShortcut fetchByPrimaryKey(Serializable primaryKey)
          Returns the document library file shortcut with the primary key or returns null if it could not be found.
 DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
 DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
 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 = ?.
 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 = ?.
 DLFileShortcut fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ?.
 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.
 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.
 DLFileShortcut fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
protected  DLFileShortcut filterGetByG_F_A_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut filterGetByG_F_A_S_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut filterGetByG_F_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
 List<DLFileShortcut> findAll()
          Returns all the document library file shortcuts.
 List<DLFileShortcut> findAll(int start, int end)
          Returns a range of all the document library file shortcuts.
 List<DLFileShortcut> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts.
 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 ≠ ?.
 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 ≠ ?.
 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 ≠ ?.
 List<DLFileShortcut> findByC_NotS(long companyId, int status)
          Returns all the document library file shortcuts where companyId = ? and status ≠ ?.
 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 ≠ ?.
 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 ≠ ?.
 DLFileShortcut findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where companyId = ?.
 DLFileShortcut findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where companyId = ?.
 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 = ?.
 List<DLFileShortcut> findByCompanyId(long companyId)
          Returns all the document library file shortcuts where companyId = ?.
 List<DLFileShortcut> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the document library file shortcuts where companyId = ?.
 List<DLFileShortcut> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where companyId = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<DLFileShortcut> findByG_F_A(long groupId, long folderId, boolean active)
          Returns all the document library file shortcuts where groupId = ? and folderId = ? and active = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<DLFileShortcut> findByG_F(long groupId, long folderId)
          Returns all the document library file shortcuts where groupId = ? and folderId = ?.
 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 = ?.
 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 = ?.
 DLFileShortcut findByPrimaryKey(long fileShortcutId)
          Returns the document library file shortcut with the primary key or throws a NoSuchFileShortcutException if it could not be found.
 DLFileShortcut findByPrimaryKey(Serializable primaryKey)
          Returns the document library file shortcut with the primary key or throws a NoSuchModelException if it could not be found.
 DLFileShortcut findByToFileEntryId_First(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.
 DLFileShortcut findByToFileEntryId_Last(long toFileEntryId, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.
 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 = ?.
 List<DLFileShortcut> findByToFileEntryId(long toFileEntryId)
          Returns all the document library file shortcuts where toFileEntryId = ?.
 List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end)
          Returns a range of all the document library file shortcuts where toFileEntryId = ?.
 List<DLFileShortcut> findByToFileEntryId(long toFileEntryId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where toFileEntryId = ?.
 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 = ?.
 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 = ?.
 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 = ?.
 List<DLFileShortcut> findByUuid_C(String uuid, long companyId)
          Returns all the document library file shortcuts where uuid = ? and companyId = ?.
 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 = ?.
 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 = ?.
 DLFileShortcut findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file shortcut in the ordered set where uuid = ?.
 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.
 DLFileShortcut findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file shortcut in the ordered set where uuid = ?.
 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 = ?.
 List<DLFileShortcut> findByUuid(String uuid)
          Returns all the document library file shortcuts where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid, int start, int end)
          Returns a range of all the document library file shortcuts where uuid = ?.
 List<DLFileShortcut> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file shortcuts where uuid = ?.
protected  Set<String> getBadColumnNames()
           
protected  DLFileShortcut getByC_NotS_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long companyId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByCompanyId_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByG_F_A_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByG_F_A_S_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, boolean active, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByG_F_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long groupId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByToFileEntryId_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, long toFileEntryId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByUuid_C_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileShortcut getByUuid_PrevAndNext(Session session, DLFileShortcut dlFileShortcut, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 DLFileShortcut remove(long fileShortcutId)
          Removes the document library file shortcut with the primary key from the database.
 DLFileShortcut remove(Serializable primaryKey)
          Removes the document library file shortcut with the primary key from the database.
 void removeAll()
          Removes all the document library file shortcuts from the database.
 void removeByC_NotS(long companyId, int status)
          Removes all the document library file shortcuts where companyId = ? and status ≠ ? from the database.
 void removeByCompanyId(long companyId)
          Removes all the document library file shortcuts where companyId = ? from the database.
 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.
 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.
 void removeByG_F(long groupId, long folderId)
          Removes all the document library file shortcuts where groupId = ? and folderId = ? from the database.
 void removeByToFileEntryId(long toFileEntryId)
          Removes all the document library file shortcuts where toFileEntryId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the document library file shortcuts where uuid = ? and companyId = ? from the database.
 DLFileShortcut removeByUUID_G(String uuid, long groupId)
          Removes the document library file shortcut where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the document library file shortcuts where uuid = ? from the database.
protected  DLFileShortcut removeImpl(DLFileShortcut dlFileShortcut)
          Removes the model instance from the database.
protected  DLFileShortcut toUnwrappedModel(DLFileShortcut dlFileShortcut)
           
 DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_TOFILEENTRYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TOFILEENTRYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TOFILEENTRYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TOFILEENTRYID

FINDER_PATH_COUNT_BY_TOFILEENTRYID

public static final FinderPath FINDER_PATH_COUNT_BY_TOFILEENTRYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F

FINDER_PATH_COUNT_BY_G_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_F

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_NOTS

FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTS

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTS

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_A

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_A

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_A

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_A

FINDER_PATH_COUNT_BY_G_F_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_A

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_A_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_A_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_A_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_A_S

FINDER_PATH_COUNT_BY_G_F_A_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_A_S
Constructor Detail

DLFileShortcutPersistenceImpl

public DLFileShortcutPersistenceImpl()
Method Detail

findByUuid

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

Specified by:
findByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUuid

public 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.

Specified by:
findByUuid in interface DLFileShortcutPersistence
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 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.

Specified by:
findByUuid in interface DLFileShortcutPersistence
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 DLFileShortcut findByUuid_First(String uuid,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFileShortcutException,
                                       SystemException
Returns the first document library file shortcut in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface DLFileShortcutPersistence
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 DLFileShortcut fetchByUuid_First(String uuid,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the first document library file shortcut in the ordered set where uuid = ?.

Specified by:
fetchByUuid_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByUuid_Last(String uuid,
                                      OrderByComparator orderByComparator)
                               throws NoSuchFileShortcutException,
                                      SystemException
Returns the last document library file shortcut in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface DLFileShortcutPersistence
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 DLFileShortcut fetchByUuid_Last(String uuid,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns the last document library file shortcut in the ordered set where uuid = ?.

Specified by:
fetchByUuid_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByUuid_PrevAndNext(long fileShortcutId,
                                               String uuid,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchFileShortcutException,
                                               SystemException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface DLFileShortcutPersistence
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

getByUuid_PrevAndNext

protected DLFileShortcut getByUuid_PrevAndNext(Session session,
                                               DLFileShortcut dlFileShortcut,
                                               String uuid,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

removeByUuid

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

Specified by:
removeByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

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

Specified by:
countByUuid in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByUUID_G

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

Specified by:
findByUUID_G in interface DLFileShortcutPersistence
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 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.

Specified by:
fetchByUUID_G in interface DLFileShortcutPersistence
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 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.

Specified by:
fetchByUUID_G in interface DLFileShortcutPersistence
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 DLFileShortcut removeByUUID_G(String uuid,
                                     long groupId)
                              throws NoSuchFileShortcutException,
                                     SystemException
Removes the document library file shortcut where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface DLFileShortcutPersistence
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 int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
Returns the number of document library file shortcuts where uuid = ? and groupId = ?.

Specified by:
countByUUID_G in interface DLFileShortcutPersistence
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 List<DLFileShortcut> findByUuid_C(String uuid,
                                         long companyId)
                                  throws SystemException
Returns all the document library file shortcuts where uuid = ? and companyId = ?.

Specified by:
findByUuid_C in interface DLFileShortcutPersistence
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 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.

Specified by:
findByUuid_C in interface DLFileShortcutPersistence
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 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.

Specified by:
findByUuid_C in interface DLFileShortcutPersistence
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 DLFileShortcut findByUuid_C_First(String uuid,
                                         long companyId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchFileShortcutException,
                                         SystemException
Returns the first document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_First in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByUuid_C_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByUuid_C_Last(String uuid,
                                        long companyId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchFileShortcutException,
                                        SystemException
Returns the last document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_Last in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByUuid_C_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByUuid_C_PrevAndNext(long fileShortcutId,
                                                 String uuid,
                                                 long companyId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchFileShortcutException,
                                                 SystemException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where uuid = ? and companyId = ?.

Specified by:
findByUuid_C_PrevAndNext in interface DLFileShortcutPersistence
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

getByUuid_C_PrevAndNext

protected DLFileShortcut getByUuid_C_PrevAndNext(Session session,
                                                 DLFileShortcut dlFileShortcut,
                                                 String uuid,
                                                 long companyId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface DLFileShortcutPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

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

Specified by:
countByUuid_C in interface DLFileShortcutPersistence
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 List<DLFileShortcut> findByCompanyId(long companyId)
                                     throws SystemException
Returns all the document library file shortcuts where companyId = ?.

Specified by:
findByCompanyId in interface DLFileShortcutPersistence
Parameters:
companyId - the company ID
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByCompanyId

public 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.

Specified by:
findByCompanyId in interface DLFileShortcutPersistence
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 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.

Specified by:
findByCompanyId in interface DLFileShortcutPersistence
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 DLFileShortcut findByCompanyId_First(long companyId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchFileShortcutException,
                                            SystemException
Returns the first document library file shortcut in the ordered set where companyId = ?.

Specified by:
findByCompanyId_First in interface DLFileShortcutPersistence
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 DLFileShortcut fetchByCompanyId_First(long companyId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the first document library file shortcut in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByCompanyId_Last(long companyId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchFileShortcutException,
                                           SystemException
Returns the last document library file shortcut in the ordered set where companyId = ?.

Specified by:
findByCompanyId_Last in interface DLFileShortcutPersistence
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 DLFileShortcut fetchByCompanyId_Last(long companyId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Returns the last document library file shortcut in the ordered set where companyId = ?.

Specified by:
fetchByCompanyId_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByCompanyId_PrevAndNext(long fileShortcutId,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchFileShortcutException,
                                                    SystemException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ?.

Specified by:
findByCompanyId_PrevAndNext in interface DLFileShortcutPersistence
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

getByCompanyId_PrevAndNext

protected DLFileShortcut getByCompanyId_PrevAndNext(Session session,
                                                    DLFileShortcut dlFileShortcut,
                                                    long companyId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

removeByCompanyId

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

Specified by:
removeByCompanyId in interface DLFileShortcutPersistence
Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

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

Specified by:
countByCompanyId in interface DLFileShortcutPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

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

Specified by:
findByToFileEntryId in interface DLFileShortcutPersistence
Parameters:
toFileEntryId - the to file entry ID
Returns:
the matching document library file shortcuts
Throws:
SystemException - if a system exception occurred

findByToFileEntryId

public 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.

Specified by:
findByToFileEntryId in interface DLFileShortcutPersistence
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 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.

Specified by:
findByToFileEntryId in interface DLFileShortcutPersistence
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 DLFileShortcut findByToFileEntryId_First(long toFileEntryId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchFileShortcutException,
                                                SystemException
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.

Specified by:
findByToFileEntryId_First in interface DLFileShortcutPersistence
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 DLFileShortcut fetchByToFileEntryId_First(long toFileEntryId,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first document library file shortcut in the ordered set where toFileEntryId = ?.

Specified by:
fetchByToFileEntryId_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByToFileEntryId_Last(long toFileEntryId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchFileShortcutException,
                                               SystemException
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.

Specified by:
findByToFileEntryId_Last in interface DLFileShortcutPersistence
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 DLFileShortcut fetchByToFileEntryId_Last(long toFileEntryId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last document library file shortcut in the ordered set where toFileEntryId = ?.

Specified by:
fetchByToFileEntryId_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByToFileEntryId_PrevAndNext(long fileShortcutId,
                                                        long toFileEntryId,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchFileShortcutException,
                                                        SystemException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where toFileEntryId = ?.

Specified by:
findByToFileEntryId_PrevAndNext in interface DLFileShortcutPersistence
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

getByToFileEntryId_PrevAndNext

protected DLFileShortcut getByToFileEntryId_PrevAndNext(Session session,
                                                        DLFileShortcut dlFileShortcut,
                                                        long toFileEntryId,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

removeByToFileEntryId

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

Specified by:
removeByToFileEntryId in interface DLFileShortcutPersistence
Parameters:
toFileEntryId - the to file entry ID
Throws:
SystemException - if a system exception occurred

countByToFileEntryId

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

Specified by:
countByToFileEntryId in interface DLFileShortcutPersistence
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 List<DLFileShortcut> findByG_F(long groupId,
                                      long folderId)
                               throws SystemException
Returns all the document library file shortcuts where groupId = ? and folderId = ?.

Specified by:
findByG_F in interface DLFileShortcutPersistence
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 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.

Specified by:
findByG_F in interface DLFileShortcutPersistence
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 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.

Specified by:
findByG_F in interface DLFileShortcutPersistence
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 DLFileShortcut findByG_F_First(long groupId,
                                      long folderId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchFileShortcutException,
                                      SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Specified by:
findByG_F_First in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByG_F_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByG_F_Last(long groupId,
                                     long folderId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchFileShortcutException,
                                     SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Specified by:
findByG_F_Last in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByG_F_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByG_F_PrevAndNext(long fileShortcutId,
                                              long groupId,
                                              long folderId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchFileShortcutException,
                                              SystemException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where groupId = ? and folderId = ?.

Specified by:
findByG_F_PrevAndNext in interface DLFileShortcutPersistence
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

getByG_F_PrevAndNext

protected DLFileShortcut getByG_F_PrevAndNext(Session session,
                                              DLFileShortcut dlFileShortcut,
                                              long groupId,
                                              long folderId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_F

public 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 = ?.

Specified by:
filterFindByG_F in interface DLFileShortcutPersistence
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 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.

Specified by:
filterFindByG_F in interface DLFileShortcutPersistence
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 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.

Specified by:
filterFindByG_F in interface DLFileShortcutPersistence
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 DLFileShortcut[] filterFindByG_F_PrevAndNext(long fileShortcutId,
                                                    long groupId,
                                                    long folderId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchFileShortcutException,
                                                    SystemException
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 = ?.

Specified by:
filterFindByG_F_PrevAndNext in interface DLFileShortcutPersistence
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

filterGetByG_F_PrevAndNext

protected DLFileShortcut filterGetByG_F_PrevAndNext(Session session,
                                                    DLFileShortcut dlFileShortcut,
                                                    long groupId,
                                                    long folderId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

removeByG_F

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

Specified by:
removeByG_F in interface DLFileShortcutPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Throws:
SystemException - if a system exception occurred

countByG_F

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

Specified by:
countByG_F in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
filterCountByG_F in interface DLFileShortcutPersistence
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 List<DLFileShortcut> findByC_NotS(long companyId,
                                         int status)
                                  throws SystemException
Returns all the document library file shortcuts where companyId = ? and status ≠ ?.

Specified by:
findByC_NotS in interface DLFileShortcutPersistence
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 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.

Specified by:
findByC_NotS in interface DLFileShortcutPersistence
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 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.

Specified by:
findByC_NotS in interface DLFileShortcutPersistence
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 DLFileShortcut findByC_NotS_First(long companyId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchFileShortcutException,
                                         SystemException
Returns the first document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Specified by:
findByC_NotS_First in interface DLFileShortcutPersistence
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 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 ≠ ?.

Specified by:
fetchByC_NotS_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByC_NotS_Last(long companyId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchFileShortcutException,
                                        SystemException
Returns the last document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Specified by:
findByC_NotS_Last in interface DLFileShortcutPersistence
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 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 ≠ ?.

Specified by:
fetchByC_NotS_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByC_NotS_PrevAndNext(long fileShortcutId,
                                                 long companyId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchFileShortcutException,
                                                 SystemException
Returns the document library file shortcuts before and after the current document library file shortcut in the ordered set where companyId = ? and status ≠ ?.

Specified by:
findByC_NotS_PrevAndNext in interface DLFileShortcutPersistence
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

getByC_NotS_PrevAndNext

protected DLFileShortcut getByC_NotS_PrevAndNext(Session session,
                                                 DLFileShortcut dlFileShortcut,
                                                 long companyId,
                                                 int status,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

removeByC_NotS

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

Specified by:
removeByC_NotS in interface DLFileShortcutPersistence
Parameters:
companyId - the company ID
status - the status
Throws:
SystemException - if a system exception occurred

countByC_NotS

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

Specified by:
countByC_NotS in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
findByG_F_A in interface DLFileShortcutPersistence
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 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.

Specified by:
findByG_F_A in interface DLFileShortcutPersistence
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 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.

Specified by:
findByG_F_A in interface DLFileShortcutPersistence
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 DLFileShortcut findByG_F_A_First(long groupId,
                                        long folderId,
                                        boolean active,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchFileShortcutException,
                                        SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.

Specified by:
findByG_F_A_First in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByG_F_A_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByG_F_A_Last(long groupId,
                                       long folderId,
                                       boolean active,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFileShortcutException,
                                       SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ?.

Specified by:
findByG_F_A_Last in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByG_F_A_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByG_F_A_PrevAndNext(long fileShortcutId,
                                                long groupId,
                                                long folderId,
                                                boolean active,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchFileShortcutException,
                                                SystemException
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 = ?.

Specified by:
findByG_F_A_PrevAndNext in interface DLFileShortcutPersistence
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

getByG_F_A_PrevAndNext

protected DLFileShortcut getByG_F_A_PrevAndNext(Session session,
                                                DLFileShortcut dlFileShortcut,
                                                long groupId,
                                                long folderId,
                                                boolean active,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_F_A

public 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 = ?.

Specified by:
filterFindByG_F_A in interface DLFileShortcutPersistence
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 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.

Specified by:
filterFindByG_F_A in interface DLFileShortcutPersistence
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 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.

Specified by:
filterFindByG_F_A in interface DLFileShortcutPersistence
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 DLFileShortcut[] filterFindByG_F_A_PrevAndNext(long fileShortcutId,
                                                      long groupId,
                                                      long folderId,
                                                      boolean active,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchFileShortcutException,
                                                      SystemException
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 = ?.

Specified by:
filterFindByG_F_A_PrevAndNext in interface DLFileShortcutPersistence
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

filterGetByG_F_A_PrevAndNext

protected DLFileShortcut filterGetByG_F_A_PrevAndNext(Session session,
                                                      DLFileShortcut dlFileShortcut,
                                                      long groupId,
                                                      long folderId,
                                                      boolean active,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

removeByG_F_A

public 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.

Specified by:
removeByG_F_A in interface DLFileShortcutPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
active - the active
Throws:
SystemException - if a system exception occurred

countByG_F_A

public 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 = ?.

Specified by:
countByG_F_A in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
filterCountByG_F_A in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
findByG_F_A_S in interface DLFileShortcutPersistence
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 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.

Specified by:
findByG_F_A_S in interface DLFileShortcutPersistence
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 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.

Specified by:
findByG_F_A_S in interface DLFileShortcutPersistence
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 DLFileShortcut findByG_F_A_S_First(long groupId,
                                          long folderId,
                                          boolean active,
                                          int status,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchFileShortcutException,
                                          SystemException
Returns the first document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.

Specified by:
findByG_F_A_S_First in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByG_F_A_S_First in interface DLFileShortcutPersistence
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 DLFileShortcut findByG_F_A_S_Last(long groupId,
                                         long folderId,
                                         boolean active,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchFileShortcutException,
                                         SystemException
Returns the last document library file shortcut in the ordered set where groupId = ? and folderId = ? and active = ? and status = ?.

Specified by:
findByG_F_A_S_Last in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
fetchByG_F_A_S_Last in interface DLFileShortcutPersistence
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 DLFileShortcut[] findByG_F_A_S_PrevAndNext(long fileShortcutId,
                                                  long groupId,
                                                  long folderId,
                                                  boolean active,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchFileShortcutException,
                                                  SystemException
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 = ?.

Specified by:
findByG_F_A_S_PrevAndNext in interface DLFileShortcutPersistence
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

getByG_F_A_S_PrevAndNext

protected DLFileShortcut getByG_F_A_S_PrevAndNext(Session session,
                                                  DLFileShortcut dlFileShortcut,
                                                  long groupId,
                                                  long folderId,
                                                  boolean active,
                                                  int status,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

filterFindByG_F_A_S

public 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 = ?.

Specified by:
filterFindByG_F_A_S in interface DLFileShortcutPersistence
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 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.

Specified by:
filterFindByG_F_A_S in interface DLFileShortcutPersistence
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 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.

Specified by:
filterFindByG_F_A_S in interface DLFileShortcutPersistence
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 DLFileShortcut[] filterFindByG_F_A_S_PrevAndNext(long fileShortcutId,
                                                        long groupId,
                                                        long folderId,
                                                        boolean active,
                                                        int status,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchFileShortcutException,
                                                        SystemException
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 = ?.

Specified by:
filterFindByG_F_A_S_PrevAndNext in interface DLFileShortcutPersistence
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

filterGetByG_F_A_S_PrevAndNext

protected DLFileShortcut filterGetByG_F_A_S_PrevAndNext(Session session,
                                                        DLFileShortcut dlFileShortcut,
                                                        long groupId,
                                                        long folderId,
                                                        boolean active,
                                                        int status,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

removeByG_F_A_S

public 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.

Specified by:
removeByG_F_A_S in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
countByG_F_A_S in interface DLFileShortcutPersistence
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 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 = ?.

Specified by:
filterCountByG_F_A_S in interface DLFileShortcutPersistence
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 void cacheResult(DLFileShortcut dlFileShortcut)
Caches the document library file shortcut in the entity cache if it is enabled.

Specified by:
cacheResult in interface DLFileShortcutPersistence
Parameters:
dlFileShortcut - the document library file shortcut

cacheResult

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

Specified by:
cacheResult in interface DLFileShortcutPersistence
Parameters:
dlFileShortcuts - the document library file shortcuts

clearCache

public void clearCache()
Clears the cache for all document library file shortcuts.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileShortcut>
Overrides:
clearCache in class BasePersistenceImpl<DLFileShortcut>

clearCache

public void clearCache(DLFileShortcut dlFileShortcut)
Clears the cache for the document library file shortcut.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileShortcut>
Overrides:
clearCache in class BasePersistenceImpl<DLFileShortcut>
Parameters:
dlFileShortcut - the instance of this model to clear the cache for

clearCache

public void clearCache(List<DLFileShortcut> dlFileShortcuts)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<DLFileShortcut>
Overrides:
clearCache in class BasePersistenceImpl<DLFileShortcut>
Parameters:
dlFileShortcuts - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(DLFileShortcut dlFileShortcut)

clearUniqueFindersCache

protected void clearUniqueFindersCache(DLFileShortcut dlFileShortcut)

create

public 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.

Specified by:
create in interface DLFileShortcutPersistence
Parameters:
fileShortcutId - the primary key for the new document library file shortcut
Returns:
the new document library file shortcut

remove

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

Specified by:
remove in interface DLFileShortcutPersistence
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

remove

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

Specified by:
remove in interface BasePersistence<DLFileShortcut>
Overrides:
remove in class BasePersistenceImpl<DLFileShortcut>
Parameters:
primaryKey - 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

removeImpl

protected DLFileShortcut removeImpl(DLFileShortcut dlFileShortcut)
                             throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<DLFileShortcut>
Parameters:
dlFileShortcut - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public DLFileShortcut updateImpl(DLFileShortcut dlFileShortcut)
                          throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface DLFileShortcutPersistence
Overrides:
updateImpl in class BasePersistenceImpl<DLFileShortcut>
Parameters:
dlFileShortcut - the model instance to update
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected DLFileShortcut toUnwrappedModel(DLFileShortcut dlFileShortcut)

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface BasePersistence<DLFileShortcut>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<DLFileShortcut>
Parameters:
primaryKey - 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

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface DLFileShortcutPersistence
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 DLFileShortcut fetchByPrimaryKey(Serializable primaryKey)
                                 throws SystemException
Returns the document library file shortcut with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<DLFileShortcut>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<DLFileShortcut>
Parameters:
primaryKey - 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

fetchByPrimaryKey

public 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.

Specified by:
fetchByPrimaryKey in interface DLFileShortcutPersistence
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 List<DLFileShortcut> findAll()
                             throws SystemException
Returns all the document library file shortcuts.

Specified by:
findAll in interface DLFileShortcutPersistence
Returns:
the document library file shortcuts
Throws:
SystemException - if a system exception occurred

findAll

public 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.

Specified by:
findAll in interface DLFileShortcutPersistence
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 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.

Specified by:
findAll in interface DLFileShortcutPersistence
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 void removeAll()
               throws SystemException
Removes all the document library file shortcuts from the database.

Specified by:
removeAll in interface DLFileShortcutPersistence
Throws:
SystemException - if a system exception occurred

countAll

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

Specified by:
countAll in interface DLFileShortcutPersistence
Returns:
the number of document library file shortcuts
Throws:
SystemException - if a system exception occurred

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<DLFileShortcut>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the document library file shortcut persistence.


destroy

public void destroy()

Liferay 6.2-ce-ga5