Liferay 6.1.2-ce-ga3

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

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

public class DLFileEntryPersistenceImpl
extends BasePersistenceImpl<DLFileEntry>
implements DLFileEntryPersistence

The persistence implementation for the document library file entry service.

Caching information and settings can be found in portal.properties

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

Field Summary
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  DDMStructurePersistence ddmStructurePersistence
           
protected  DLContentPersistence dlContentPersistence
           
protected  DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence
           
protected  DLFileEntryPersistence dlFileEntryPersistence
           
protected  DLFileEntryTypePersistence dlFileEntryTypePersistence
           
protected  DLFileRankPersistence dlFileRankPersistence
           
protected  DLFileShortcutPersistence dlFileShortcutPersistence
           
protected  DLFileVersionPersistence dlFileVersionPersistence
           
protected  DLFolderPersistence dlFolderPersistence
           
protected  DLSyncPersistence dlSyncPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
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_F_N
           
static FinderPath FINDER_PATH_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_F
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_N
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_T
           
static FinderPath FINDER_PATH_COUNT_BY_G_U
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_F
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_MIMETYPE
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_F_N
           
static FinderPath FINDER_PATH_FETCH_BY_G_F_T
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_F_N
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_MIMETYPE
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
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_F_N
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MIMETYPE
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  ImagePersistence imagePersistence
           
protected  LockPersistence lockPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  UserPersistence userPersistence
           
protected  WebDAVPropsPersistence webDAVPropsPersistence
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
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
DLFileEntryPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the document library file entry persistence.
 void cacheResult(DLFileEntry dlFileEntry)
          Caches the document library file entry in the entity cache if it is enabled.
 void cacheResult(List<DLFileEntry> dlFileEntries)
          Caches the document library file entries in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(DLFileEntry dlFileEntry)
           
 void clearCache()
          Clears the cache for all document library file entries.
 void clearCache(DLFileEntry dlFileEntry)
          Clears the cache for the document library file entry.
 void clearCache(List<DLFileEntry> dlFileEntries)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(DLFileEntry dlFileEntry)
           
 int countAll()
          Returns the number of document library file entries.
 int countByCompanyId(long companyId)
          Returns the number of document library file entries where companyId = ?.
 int countByF_N(long folderId, String name)
          Returns the number of document library file entries where folderId = ? and name = ?.
 int countByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 int countByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 int countByG_F_N(long groupId, long folderId, String name)
          Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?.
 int countByG_F_T(long groupId, long folderId, String title)
          Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?.
 int countByG_F(long groupId, long folderId)
          Returns the number of document library file entries where groupId = ? and folderId = ?.
 int countByG_F(long groupId, long[] folderIds)
          Returns the number of document library file entries where groupId = ? and folderId = any ?.
 int countByG_U_F(long groupId, long userId, long folderId)
          Returns the number of document library file entries where groupId = ? and userId = ? and folderId = ?.
 int countByG_U_F(long groupId, long userId, long[] folderIds)
          Returns the number of document library file entries where groupId = ? and userId = ? and folderId = any ?.
 int countByG_U(long groupId, long userId)
          Returns the number of document library file entries where groupId = ? and userId = ?.
 int countByGroupId(long groupId)
          Returns the number of document library file entries where groupId = ?.
 int countByMimeType(String mimeType)
          Returns the number of document library file entries where mimeType = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of document library file entries where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of document library file entries where uuid = ?.
 DLFileEntry create(long fileEntryId)
          Creates a new document library file entry with the primary key.
 void destroy()
           
 DLFileEntry fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where companyId = ?.
 DLFileEntry fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where companyId = ?.
 DLFileEntry fetchByF_N_First(long folderId, String name, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry fetchByF_N_Last(long folderId, String name, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry fetchByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry fetchByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry fetchByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry fetchByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry fetchByG_F_N(long groupId, long folderId, String name)
          Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found.
 DLFileEntry fetchByG_F_N(long groupId, long folderId, String name, boolean retrieveFromCache)
          Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntry fetchByG_F_T(long groupId, long folderId, String title)
          Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found.
 DLFileEntry fetchByG_F_T(long groupId, long folderId, String title, boolean retrieveFromCache)
          Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntry fetchByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry fetchByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry fetchByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry fetchByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ?.
 DLFileEntry fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ?.
 DLFileEntry fetchByMimeType_First(String mimeType, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where mimeType = ?.
 DLFileEntry fetchByMimeType_Last(String mimeType, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where mimeType = ?.
 DLFileEntry fetchByPrimaryKey(long fileEntryId)
          Returns the document library file entry with the primary key or returns null if it could not be found.
 DLFileEntry fetchByPrimaryKey(Serializable primaryKey)
          Returns the document library file entry with the primary key or returns null if it could not be found.
 DLFileEntry fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where uuid = ?.
 DLFileEntry fetchByUUID_G(String uuid, long groupId)
          Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found.
 DLFileEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntry fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where uuid = ?.
 int filterCountByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 int filterCountByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 int filterCountByG_F(long groupId, long folderId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 int filterCountByG_F(long groupId, long[] folderIds)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 int filterCountByG_U_F(long groupId, long userId, long folderId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 int filterCountByG_U_F(long groupId, long userId, long[] folderIds)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 int filterCountByG_U(long groupId, long userId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of document library file entries that the user has permission to view where groupId = ?.
 DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long folderId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ?.
 DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds)
          Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?.
 List<DLFileEntry> filterFindByG_U(long groupId, long userId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ?.
 List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ?.
 List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?.
 DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?.
 List<DLFileEntry> filterFindByGroupId(long groupId)
          Returns all the document library file entries that the user has permission to view where groupId = ?.
 List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ?.
 List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?.
protected  DLFileEntry filterGetByG_F_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByG_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByG_U_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByG_U_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByGroupId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<DLFileEntry> findAll()
          Returns all the document library file entries.
 List<DLFileEntry> findAll(int start, int end)
          Returns a range of all the document library file entries.
 List<DLFileEntry> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries.
 DLFileEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where companyId = ?.
 DLFileEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where companyId = ?.
 DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?.
 List<DLFileEntry> findByCompanyId(long companyId)
          Returns all the document library file entries where companyId = ?.
 List<DLFileEntry> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the document library file entries where companyId = ?.
 List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where companyId = ?.
 DLFileEntry findByF_N_First(long folderId, String name, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry findByF_N_Last(long folderId, String name, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId, long folderId, String name, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?.
 List<DLFileEntry> findByF_N(long folderId, String name)
          Returns all the document library file entries where folderId = ? and name = ?.
 List<DLFileEntry> findByF_N(long folderId, String name, int start, int end)
          Returns a range of all the document library file entries where folderId = ? and name = ?.
 List<DLFileEntry> findByF_N(long folderId, String name, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where folderId = ? and name = ?.
 DLFileEntry findByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry findByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry findByG_F_N(long groupId, long folderId, String name)
          Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws a NoSuchFileEntryException if it could not be found.
 DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry findByG_F_T(long groupId, long folderId, String title)
          Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws a NoSuchFileEntryException if it could not be found.
 List<DLFileEntry> findByG_F(long groupId, long folderId)
          Returns all the document library file entries where groupId = ? and folderId = ?.
 List<DLFileEntry> findByG_F(long groupId, long[] folderIds)
          Returns all the document library file entries where groupId = ? and folderId = any ?.
 List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = any ?.
 List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ?.
 List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = ?.
 List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.
 DLFileEntry findByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry findByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId)
          Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds)
          Returns all the document library file entries where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?.
 List<DLFileEntry> findByG_U(long groupId, long userId)
          Returns all the document library file entries where groupId = ? and userId = ?.
 List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and userId = ?.
 List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.
 DLFileEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ?.
 DLFileEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ?.
 DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?.
 List<DLFileEntry> findByGroupId(long groupId)
          Returns all the document library file entries where groupId = ?.
 List<DLFileEntry> findByGroupId(long groupId, int start, int end)
          Returns a range of all the document library file entries where groupId = ?.
 List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ?.
 DLFileEntry findByMimeType_First(String mimeType, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where mimeType = ?.
 DLFileEntry findByMimeType_Last(String mimeType, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where mimeType = ?.
 DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId, String mimeType, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?.
 List<DLFileEntry> findByMimeType(String mimeType)
          Returns all the document library file entries where mimeType = ?.
 List<DLFileEntry> findByMimeType(String mimeType, int start, int end)
          Returns a range of all the document library file entries where mimeType = ?.
 List<DLFileEntry> findByMimeType(String mimeType, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where mimeType = ?.
 DLFileEntry findByPrimaryKey(long fileEntryId)
          Returns the document library file entry with the primary key or throws a NoSuchFileEntryException if it could not be found.
 DLFileEntry findByPrimaryKey(Serializable primaryKey)
          Returns the document library file entry with the primary key or throws a NoSuchModelException if it could not be found.
 DLFileEntry findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where uuid = ?.
 DLFileEntry findByUUID_G(String uuid, long groupId)
          Returns the document library file entry where uuid = ? and groupId = ? or throws a NoSuchFileEntryException if it could not be found.
 DLFileEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where uuid = ?.
 DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, String uuid, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?.
 List<DLFileEntry> findByUuid(String uuid)
          Returns all the document library file entries where uuid = ?.
 List<DLFileEntry> findByUuid(String uuid, int start, int end)
          Returns a range of all the document library file entries where uuid = ?.
 List<DLFileEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where uuid = ?.
protected  DLFileEntry getByCompanyId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByF_N_PrevAndNext(Session session, DLFileEntry dlFileEntry, long folderId, String name, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_F_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_U_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, long folderId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_U_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByGroupId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByMimeType_PrevAndNext(Session session, DLFileEntry dlFileEntry, String mimeType, OrderByComparator orderByComparator, boolean previous)
           
protected  DLFileEntry getByUuid_PrevAndNext(Session session, DLFileEntry dlFileEntry, String uuid, OrderByComparator orderByComparator, boolean previous)
           
 DLFileEntry remove(long fileEntryId)
          Removes the document library file entry with the primary key from the database.
 DLFileEntry remove(Serializable primaryKey)
          Removes the document library file entry with the primary key from the database.
 void removeAll()
          Removes all the document library file entries from the database.
 void removeByCompanyId(long companyId)
          Removes all the document library file entries where companyId = ? from the database.
 void removeByF_N(long folderId, String name)
          Removes all the document library file entries where folderId = ? and name = ? from the database.
 void removeByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Removes all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ? from the database.
 DLFileEntry removeByG_F_N(long groupId, long folderId, String name)
          Removes the document library file entry where groupId = ? and folderId = ? and name = ? from the database.
 DLFileEntry removeByG_F_T(long groupId, long folderId, String title)
          Removes the document library file entry where groupId = ? and folderId = ? and title = ? from the database.
 void removeByG_F(long groupId, long folderId)
          Removes all the document library file entries where groupId = ? and folderId = ? from the database.
 void removeByG_U_F(long groupId, long userId, long folderId)
          Removes all the document library file entries where groupId = ? and userId = ? and folderId = ? from the database.
 void removeByG_U(long groupId, long userId)
          Removes all the document library file entries where groupId = ? and userId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the document library file entries where groupId = ? from the database.
 void removeByMimeType(String mimeType)
          Removes all the document library file entries where mimeType = ? from the database.
 DLFileEntry removeByUUID_G(String uuid, long groupId)
          Removes the document library file entry where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the document library file entries where uuid = ? from the database.
protected  DLFileEntry removeImpl(DLFileEntry dlFileEntry)
          Removes the model instance from the database.
protected  DLFileEntry toUnwrappedModel(DLFileEntry dlFileEntry)
           
 DLFileEntry updateImpl(DLFileEntry dlFileEntry, boolean merge)
          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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_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_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

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_MIMETYPE

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_MIMETYPE

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MIMETYPE

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MIMETYPE

FINDER_PATH_COUNT_BY_MIMETYPE

public static final FinderPath FINDER_PATH_COUNT_BY_MIMETYPE

FINDER_PATH_WITH_PAGINATION_FIND_BY_F_N

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_F_N

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_F_N

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_F_N

FINDER_PATH_COUNT_BY_F_N

public static final FinderPath FINDER_PATH_COUNT_BY_F_N

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U

FINDER_PATH_COUNT_BY_G_U

public static final FinderPath FINDER_PATH_COUNT_BY_G_U

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_COUNT_BY_G_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_F

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_F

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_F

FINDER_PATH_COUNT_BY_G_U_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_F

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_F

FINDER_PATH_FETCH_BY_G_F_N

public static final FinderPath FINDER_PATH_FETCH_BY_G_F_N

FINDER_PATH_COUNT_BY_G_F_N

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_N

FINDER_PATH_FETCH_BY_G_F_T

public static final FinderPath FINDER_PATH_FETCH_BY_G_F_T

FINDER_PATH_COUNT_BY_G_F_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_T

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_F

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_F

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_F

FINDER_PATH_COUNT_BY_G_F_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_F

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F_F

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

dlContentPersistence

@BeanReference(type=DLContentPersistence.class)
protected DLContentPersistence dlContentPersistence

dlFileEntryPersistence

@BeanReference(type=DLFileEntryPersistence.class)
protected DLFileEntryPersistence dlFileEntryPersistence

dlFileEntryMetadataPersistence

@BeanReference(type=DLFileEntryMetadataPersistence.class)
protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence

dlFileEntryTypePersistence

@BeanReference(type=DLFileEntryTypePersistence.class)
protected DLFileEntryTypePersistence dlFileEntryTypePersistence

dlFileRankPersistence

@BeanReference(type=DLFileRankPersistence.class)
protected DLFileRankPersistence dlFileRankPersistence

dlFileShortcutPersistence

@BeanReference(type=DLFileShortcutPersistence.class)
protected DLFileShortcutPersistence dlFileShortcutPersistence

dlFileVersionPersistence

@BeanReference(type=DLFileVersionPersistence.class)
protected DLFileVersionPersistence dlFileVersionPersistence

dlFolderPersistence

@BeanReference(type=DLFolderPersistence.class)
protected DLFolderPersistence dlFolderPersistence

dlSyncPersistence

@BeanReference(type=DLSyncPersistence.class)
protected DLSyncPersistence dlSyncPersistence

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

lockPersistence

@BeanReference(type=LockPersistence.class)
protected LockPersistence lockPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

webDAVPropsPersistence

@BeanReference(type=WebDAVPropsPersistence.class)
protected WebDAVPropsPersistence webDAVPropsPersistence

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

ddmStructurePersistence

@BeanReference(type=DDMStructurePersistence.class)
protected DDMStructurePersistence ddmStructurePersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence
Constructor Detail

DLFileEntryPersistenceImpl

public DLFileEntryPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(DLFileEntry dlFileEntry)
Caches the document library file entry in the entity cache if it is enabled.

Specified by:
cacheResult in interface DLFileEntryPersistence
Parameters:
dlFileEntry - the document library file entry

cacheResult

public void cacheResult(List<DLFileEntry> dlFileEntries)
Caches the document library file entries in the entity cache if it is enabled.

Specified by:
cacheResult in interface DLFileEntryPersistence
Parameters:
dlFileEntries - the document library file entries

clearCache

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

The EntityCache and FinderCache are both cleared by this method.

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

clearCache

public void clearCache(DLFileEntry dlFileEntry)
Clears the cache for the document library file entry.

The EntityCache and FinderCache are both cleared by this method.

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

clearCache

public void clearCache(List<DLFileEntry> dlFileEntries)
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<DLFileEntry>
Overrides:
clearCache in class BasePersistenceImpl<DLFileEntry>
Parameters:
dlFileEntries - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(DLFileEntry dlFileEntry)

clearUniqueFindersCache

protected void clearUniqueFindersCache(DLFileEntry dlFileEntry)

create

public DLFileEntry create(long fileEntryId)
Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.

Specified by:
create in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key for the new document library file entry
Returns:
the new document library file entry

remove

public DLFileEntry remove(long fileEntryId)
                   throws NoSuchFileEntryException,
                          SystemException
Removes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the document library file entry
Returns:
the document library file entry that was removed
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

remove

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

Specified by:
remove in interface BasePersistence<DLFileEntry>
Overrides:
remove in class BasePersistenceImpl<DLFileEntry>
Parameters:
primaryKey - the primary key of the document library file entry
Returns:
the document library file entry that was removed
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected DLFileEntry removeImpl(DLFileEntry dlFileEntry)
                          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<DLFileEntry>
Parameters:
dlFileEntry - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public DLFileEntry updateImpl(DLFileEntry dlFileEntry,
                              boolean merge)
                       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 DLFileEntryPersistence
Overrides:
updateImpl in class BasePersistenceImpl<DLFileEntry>
Parameters:
dlFileEntry - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected DLFileEntry toUnwrappedModel(DLFileEntry dlFileEntry)

findByPrimaryKey

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

Specified by:
findByPrimaryKey in interface BasePersistence<DLFileEntry>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<DLFileEntry>
Parameters:
primaryKey - the primary key of the document library file entry
Returns:
the document library file entry
Throws:
NoSuchModelException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public DLFileEntry findByPrimaryKey(long fileEntryId)
                             throws NoSuchFileEntryException,
                                    SystemException
Returns the document library file entry with the primary key or throws a NoSuchFileEntryException if it could not be found.

Specified by:
findByPrimaryKey in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the document library file entry
Returns:
the document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public DLFileEntry fetchByPrimaryKey(Serializable primaryKey)
                              throws SystemException
Returns the document library file entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<DLFileEntry>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<DLFileEntry>
Parameters:
primaryKey - the primary key of the document library file entry
Returns:
the document library file entry, or null if a document library file entry with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public DLFileEntry fetchByPrimaryKey(long fileEntryId)
                              throws SystemException
Returns the document library file entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the document library file entry
Returns:
the document library file entry, or null if a document library file entry with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

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

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

findByUuid

public List<DLFileEntry> findByUuid(String uuid,
                                    int start,
                                    int end)
                             throws SystemException
Returns a range of all the document library file entries 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.

Specified by:
findByUuid in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByUuid

public List<DLFileEntry> findByUuid(String uuid,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the document library file entries 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.

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

findByUuid_First

public DLFileEntry findByUuid_First(String uuid,
                                    OrderByComparator orderByComparator)
                             throws NoSuchFileEntryException,
                                    SystemException
Returns the first document library file entry in the ordered set where uuid = ?.

Specified by:
findByUuid_First in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByUuid_First

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

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

findByUuid_Last

public DLFileEntry findByUuid_Last(String uuid,
                                   OrderByComparator orderByComparator)
                            throws NoSuchFileEntryException,
                                   SystemException
Returns the last document library file entry in the ordered set where uuid = ?.

Specified by:
findByUuid_Last in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

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

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

findByUuid_PrevAndNext

public DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId,
                                            String uuid,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchFileEntryException,
                                            SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?.

Specified by:
findByUuid_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected DLFileEntry getByUuid_PrevAndNext(Session session,
                                            DLFileEntry dlFileEntry,
                                            String uuid,
                                            OrderByComparator orderByComparator,
                                            boolean previous)

findByUUID_G

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

Specified by:
findByUUID_G in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public DLFileEntry fetchByUUID_G(String uuid,
                                 long groupId)
                          throws SystemException
Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByUUID_G in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public DLFileEntry fetchByUUID_G(String uuid,
                                 long groupId,
                                 boolean retrieveFromCache)
                          throws SystemException
Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

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

findByGroupId

public List<DLFileEntry> findByGroupId(long groupId)
                                throws SystemException
Returns all the document library file entries where groupId = ?.

Specified by:
findByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<DLFileEntry> findByGroupId(long groupId,
                                       int start,
                                       int end)
                                throws SystemException
Returns a range of all the document library file entries where groupId = ?.

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.

Specified by:
findByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByGroupId

public List<DLFileEntry> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns an ordered range of all the document library file entries where groupId = ?.

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.

Specified by:
findByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public DLFileEntry findByGroupId_First(long groupId,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFileEntryException,
                                       SystemException
Returns the first document library file entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_First in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

public DLFileEntry fetchByGroupId_First(long groupId,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the first document library file entry in the ordered set where groupId = ?.

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

findByGroupId_Last

public DLFileEntry findByGroupId_Last(long groupId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchFileEntryException,
                                      SystemException
Returns the last document library file entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

public DLFileEntry fetchByGroupId_Last(long groupId,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Returns the last document library file entry in the ordered set where groupId = ?.

Specified by:
fetchByGroupId_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId,
                                               long groupId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchFileEntryException,
                                               SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?.

Specified by:
findByGroupId_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected DLFileEntry getByGroupId_PrevAndNext(Session session,
                                               DLFileEntry dlFileEntry,
                                               long groupId,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

filterFindByGroupId

public List<DLFileEntry> filterFindByGroupId(long groupId)
                                      throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<DLFileEntry> filterFindByGroupId(long groupId,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the document library file entries that the user has permission to view where groupId = ?.

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.

Specified by:
filterFindByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<DLFileEntry> filterFindByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?.

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.

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

filterFindByGroupId_PrevAndNext

public DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId,
                                                     long groupId,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchFileEntryException,
                                                     SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected DLFileEntry filterGetByGroupId_PrevAndNext(Session session,
                                                     DLFileEntry dlFileEntry,
                                                     long groupId,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

findByCompanyId

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

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

findByCompanyId

public List<DLFileEntry> findByCompanyId(long companyId,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the document library file entries 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.

Specified by:
findByCompanyId in interface DLFileEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByCompanyId

public List<DLFileEntry> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the document library file entries 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.

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

findByCompanyId_First

public DLFileEntry findByCompanyId_First(long companyId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchFileEntryException,
                                         SystemException
Returns the first document library file entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_First in interface DLFileEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

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

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

findByCompanyId_Last

public DLFileEntry findByCompanyId_Last(long companyId,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchFileEntryException,
                                        SystemException
Returns the last document library file entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_Last in interface DLFileEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

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

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

findByCompanyId_PrevAndNext

public DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId,
                                                 long companyId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchFileEntryException,
                                                 SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?.

Specified by:
findByCompanyId_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected DLFileEntry getByCompanyId_PrevAndNext(Session session,
                                                 DLFileEntry dlFileEntry,
                                                 long companyId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

findByMimeType

public List<DLFileEntry> findByMimeType(String mimeType)
                                 throws SystemException
Returns all the document library file entries where mimeType = ?.

Specified by:
findByMimeType in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByMimeType

public List<DLFileEntry> findByMimeType(String mimeType,
                                        int start,
                                        int end)
                                 throws SystemException
Returns a range of all the document library file entries where mimeType = ?.

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.

Specified by:
findByMimeType in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByMimeType

public List<DLFileEntry> findByMimeType(String mimeType,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns an ordered range of all the document library file entries where mimeType = ?.

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.

Specified by:
findByMimeType in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByMimeType_First

public DLFileEntry findByMimeType_First(String mimeType,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchFileEntryException,
                                        SystemException
Returns the first document library file entry in the ordered set where mimeType = ?.

Specified by:
findByMimeType_First in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByMimeType_First

public DLFileEntry fetchByMimeType_First(String mimeType,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns the first document library file entry in the ordered set where mimeType = ?.

Specified by:
fetchByMimeType_First in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByMimeType_Last

public DLFileEntry findByMimeType_Last(String mimeType,
                                       OrderByComparator orderByComparator)
                                throws NoSuchFileEntryException,
                                       SystemException
Returns the last document library file entry in the ordered set where mimeType = ?.

Specified by:
findByMimeType_Last in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByMimeType_Last

public DLFileEntry fetchByMimeType_Last(String mimeType,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Returns the last document library file entry in the ordered set where mimeType = ?.

Specified by:
fetchByMimeType_Last in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByMimeType_PrevAndNext

public DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId,
                                                String mimeType,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchFileEntryException,
                                                SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?.

Specified by:
findByMimeType_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
mimeType - the mime type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByMimeType_PrevAndNext

protected DLFileEntry getByMimeType_PrevAndNext(Session session,
                                                DLFileEntry dlFileEntry,
                                                String mimeType,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

findByF_N

public List<DLFileEntry> findByF_N(long folderId,
                                   String name)
                            throws SystemException
Returns all the document library file entries where folderId = ? and name = ?.

Specified by:
findByF_N in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByF_N

public List<DLFileEntry> findByF_N(long folderId,
                                   String name,
                                   int start,
                                   int end)
                            throws SystemException
Returns a range of all the document library file entries where folderId = ? and name = ?.

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.

Specified by:
findByF_N in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByF_N

public List<DLFileEntry> findByF_N(long folderId,
                                   String name,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the document library file entries where folderId = ? and name = ?.

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.

Specified by:
findByF_N in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByF_N_First

public DLFileEntry findByF_N_First(long folderId,
                                   String name,
                                   OrderByComparator orderByComparator)
                            throws NoSuchFileEntryException,
                                   SystemException
Returns the first document library file entry in the ordered set where folderId = ? and name = ?.

Specified by:
findByF_N_First in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByF_N_First

public DLFileEntry fetchByF_N_First(long folderId,
                                    String name,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the first document library file entry in the ordered set where folderId = ? and name = ?.

Specified by:
fetchByF_N_First in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByF_N_Last

public DLFileEntry findByF_N_Last(long folderId,
                                  String name,
                                  OrderByComparator orderByComparator)
                           throws NoSuchFileEntryException,
                                  SystemException
Returns the last document library file entry in the ordered set where folderId = ? and name = ?.

Specified by:
findByF_N_Last in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByF_N_Last

public DLFileEntry fetchByF_N_Last(long folderId,
                                   String name,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the last document library file entry in the ordered set where folderId = ? and name = ?.

Specified by:
fetchByF_N_Last in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByF_N_PrevAndNext

public DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId,
                                           long folderId,
                                           String name,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchFileEntryException,
                                           SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?.

Specified by:
findByF_N_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
folderId - the folder ID
name - the name
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByF_N_PrevAndNext

protected DLFileEntry getByF_N_PrevAndNext(Session session,
                                           DLFileEntry dlFileEntry,
                                           long folderId,
                                           String name,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

findByG_U

public List<DLFileEntry> findByG_U(long groupId,
                                   long userId)
                            throws SystemException
Returns all the document library file entries where groupId = ? and userId = ?.

Specified by:
findByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U

public List<DLFileEntry> findByG_U(long groupId,
                                   long userId,
                                   int start,
                                   int end)
                            throws SystemException
Returns a range of all the document library file entries where groupId = ? and userId = ?.

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.

Specified by:
findByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U

public List<DLFileEntry> findByG_U(long groupId,
                                   long userId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.

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.

Specified by:
findByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U_First

public DLFileEntry findByG_U_First(long groupId,
                                   long userId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchFileEntryException,
                                   SystemException
Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.

Specified by:
findByG_U_First in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_U_First

public DLFileEntry fetchByG_U_First(long groupId,
                                    long userId,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.

Specified by:
fetchByG_U_First in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_Last

public DLFileEntry findByG_U_Last(long groupId,
                                  long userId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchFileEntryException,
                                  SystemException
Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.

Specified by:
findByG_U_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_U_Last

public DLFileEntry fetchByG_U_Last(long groupId,
                                   long userId,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.

Specified by:
fetchByG_U_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_PrevAndNext

public DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId,
                                           long groupId,
                                           long userId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchFileEntryException,
                                           SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?.

Specified by:
findByG_U_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_PrevAndNext

protected DLFileEntry getByG_U_PrevAndNext(Session session,
                                           DLFileEntry dlFileEntry,
                                           long groupId,
                                           long userId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

filterFindByG_U

public List<DLFileEntry> filterFindByG_U(long groupId,
                                         long userId)
                                  throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ?.

Specified by:
filterFindByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public List<DLFileEntry> filterFindByG_U(long groupId,
                                         long userId,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ?.

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.

Specified by:
filterFindByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public List<DLFileEntry> filterFindByG_U(long groupId,
                                         long userId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?.

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.

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

filterFindByG_U_PrevAndNext

public DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId,
                                                 long groupId,
                                                 long userId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchFileEntryException,
                                                 SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?.

Specified by:
filterFindByG_U_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_U_PrevAndNext

protected DLFileEntry filterGetByG_U_PrevAndNext(Session session,
                                                 DLFileEntry dlFileEntry,
                                                 long groupId,
                                                 long userId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

findByG_F

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

Specified by:
findByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long folderId,
                                   int start,
                                   int end)
                            throws SystemException
Returns a range of all the document library file entries 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.

Specified by:
findByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long folderId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the document library file entries 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.

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

findByG_F_First

public DLFileEntry findByG_F_First(long groupId,
                                   long folderId,
                                   OrderByComparator orderByComparator)
                            throws NoSuchFileEntryException,
                                   SystemException
Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.

Specified by:
findByG_F_First in interface DLFileEntryPersistence
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 entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_First

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

Specified by:
fetchByG_F_First in interface DLFileEntryPersistence
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 entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_Last

public DLFileEntry findByG_F_Last(long groupId,
                                  long folderId,
                                  OrderByComparator orderByComparator)
                           throws NoSuchFileEntryException,
                                  SystemException
Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.

Specified by:
findByG_F_Last in interface DLFileEntryPersistence
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 entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_Last

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

Specified by:
fetchByG_F_Last in interface DLFileEntryPersistence
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 entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_PrevAndNext

public DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId,
                                           long groupId,
                                           long folderId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchFileEntryException,
                                           SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?.

Specified by:
findByG_F_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
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 entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_F_PrevAndNext

protected DLFileEntry getByG_F_PrevAndNext(Session session,
                                           DLFileEntry dlFileEntry,
                                           long groupId,
                                           long folderId,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long[] folderIds)
                            throws SystemException
Returns all the document library file entries where groupId = ? and folderId = any ?.

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.

Specified by:
findByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long[] folderIds,
                                   int start,
                                   int end)
                            throws SystemException
Returns a range of all the document library file entries where groupId = ? and folderId = any ?.

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.

Specified by:
findByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long[] folderIds,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ?.

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.

Specified by:
findByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long folderId)
                                  throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.

Specified by:
filterFindByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long folderId,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the document library file entries 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.

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

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long folderId,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the document library file entries 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.

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

filterFindByG_F_PrevAndNext

public DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId,
                                                 long groupId,
                                                 long folderId,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchFileEntryException,
                                                 SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?.

Specified by:
filterFindByG_F_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
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 entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_F_PrevAndNext

protected DLFileEntry filterGetByG_F_PrevAndNext(Session session,
                                                 DLFileEntry dlFileEntry,
                                                 long groupId,
                                                 long folderId,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long[] folderIds)
                                  throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.

Specified by:
filterFindByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long[] folderIds,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.

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.

Specified by:
filterFindByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long[] folderIds,
                                         int start,
                                         int end,
                                         OrderByComparator orderByComparator)
                                  throws SystemException
Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.

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.

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

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long folderId)
                              throws SystemException
Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?.

Specified by:
findByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long folderId,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the document library file entries where groupId = ? and userId = ? 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.

Specified by:
findByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long folderId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the document library file entries where groupId = ? and userId = ? 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.

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

findByG_U_F_First

public DLFileEntry findByG_U_F_First(long groupId,
                                     long userId,
                                     long folderId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchFileEntryException,
                                     SystemException
Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

Specified by:
findByG_U_F_First in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_U_F_First

public DLFileEntry fetchByG_U_F_First(long groupId,
                                      long userId,
                                      long folderId,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

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

findByG_U_F_Last

public DLFileEntry findByG_U_F_Last(long groupId,
                                    long userId,
                                    long folderId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchFileEntryException,
                                    SystemException
Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

Specified by:
findByG_U_F_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_U_F_Last

public DLFileEntry fetchByG_U_F_Last(long groupId,
                                     long userId,
                                     long folderId,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

Specified by:
fetchByG_U_F_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_F_PrevAndNext

public DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId,
                                             long groupId,
                                             long userId,
                                             long folderId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchFileEntryException,
                                             SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.

Specified by:
findByG_U_F_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
userId - the user ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_U_F_PrevAndNext

protected DLFileEntry getByG_U_F_PrevAndNext(Session session,
                                             DLFileEntry dlFileEntry,
                                             long groupId,
                                             long userId,
                                             long folderId,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long[] folderIds)
                              throws SystemException
Returns all the document library file entries where groupId = ? and userId = ? and folderId = any ?.

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.

Specified by:
findByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderIds - the folder IDs
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long[] folderIds,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.

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.

Specified by:
findByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderIds - the folder IDs
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long[] folderIds,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.

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.

Specified by:
findByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderIds - the folder IDs
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long folderId)
                                    throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.

Specified by:
filterFindByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long folderId,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? 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.

Specified by:
filterFindByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long folderId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? 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.

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

filterFindByG_U_F_PrevAndNext

public DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId,
                                                   long groupId,
                                                   long userId,
                                                   long folderId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchFileEntryException,
                                                   SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.

Specified by:
filterFindByG_U_F_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
userId - the user ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_U_F_PrevAndNext

protected DLFileEntry filterGetByG_U_F_PrevAndNext(Session session,
                                                   DLFileEntry dlFileEntry,
                                                   long groupId,
                                                   long userId,
                                                   long folderId,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long[] folderIds)
                                    throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.

Specified by:
filterFindByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderIds - the folder IDs
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long[] folderIds,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.

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.

Specified by:
filterFindByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderIds - the folder IDs
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long[] folderIds,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.

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.

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

findByG_F_N

public DLFileEntry findByG_F_N(long groupId,
                               long folderId,
                               String name)
                        throws NoSuchFileEntryException,
                               SystemException
Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws a NoSuchFileEntryException if it could not be found.

Specified by:
findByG_F_N in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
name - the name
Returns:
the matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_N

public DLFileEntry fetchByG_F_N(long groupId,
                                long folderId,
                                String name)
                         throws SystemException
Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_F_N in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
name - the name
Returns:
the matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_F_N

public DLFileEntry fetchByG_F_N(long groupId,
                                long folderId,
                                String name,
                                boolean retrieveFromCache)
                         throws SystemException
Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_F_N in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
name - the name
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_T

public DLFileEntry findByG_F_T(long groupId,
                               long folderId,
                               String title)
                        throws NoSuchFileEntryException,
                               SystemException
Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws a NoSuchFileEntryException if it could not be found.

Specified by:
findByG_F_T in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
title - the title
Returns:
the matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_T

public DLFileEntry fetchByG_F_T(long groupId,
                                long folderId,
                                String title)
                         throws SystemException
Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_F_T in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
title - the title
Returns:
the matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_F_T

public DLFileEntry fetchByG_F_T(long groupId,
                                long folderId,
                                String title,
                                boolean retrieveFromCache)
                         throws SystemException
Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_F_T in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
title - the title
retrieveFromCache - whether to use the finder cache
Returns:
the matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long folderId,
                                     long fileEntryTypeId)
                              throws SystemException
Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.

Specified by:
findByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.

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.

Specified by:
findByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.

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.

Specified by:
findByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F_F_First

public DLFileEntry findByG_F_F_First(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchFileEntryException,
                                     SystemException
Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.

Specified by:
findByG_F_F_First in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_F_First

public DLFileEntry fetchByG_F_F_First(long groupId,
                                      long folderId,
                                      long fileEntryTypeId,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.

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

findByG_F_F_Last

public DLFileEntry findByG_F_F_Last(long groupId,
                                    long folderId,
                                    long fileEntryTypeId,
                                    OrderByComparator orderByComparator)
                             throws NoSuchFileEntryException,
                                    SystemException
Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.

Specified by:
findByG_F_F_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry
Throws:
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred

fetchByG_F_F_Last

public DLFileEntry fetchByG_F_F_Last(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.

Specified by:
fetchByG_F_F_Last in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching document library file entry, or null if a matching document library file entry could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_F_PrevAndNext

public DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId,
                                             long groupId,
                                             long folderId,
                                             long fileEntryTypeId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchFileEntryException,
                                             SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.

Specified by:
findByG_F_F_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

getByG_F_F_PrevAndNext

protected DLFileEntry getByG_F_F_PrevAndNext(Session session,
                                             DLFileEntry dlFileEntry,
                                             long groupId,
                                             long folderId,
                                             long fileEntryTypeId,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long[] folderIds,
                                     long fileEntryTypeId)
                              throws SystemException
Returns all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

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.

Specified by:
findByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long[] folderIds,
                                     long fileEntryTypeId,
                                     int start,
                                     int end)
                              throws SystemException
Returns a range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

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.

Specified by:
findByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long[] folderIds,
                                     long fileEntryTypeId,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

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.

Specified by:
findByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries
Throws:
SystemException - if a system exception occurred

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long folderId,
                                           long fileEntryTypeId)
                                    throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.

Specified by:
filterFindByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long folderId,
                                           long fileEntryTypeId,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.

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.

Specified by:
filterFindByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long folderId,
                                           long fileEntryTypeId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.

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.

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

filterFindByG_F_F_PrevAndNext

public DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId,
                                                   long groupId,
                                                   long folderId,
                                                   long fileEntryTypeId,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchFileEntryException,
                                                   SystemException
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.

Specified by:
filterFindByG_F_F_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next document library file entry
Throws:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found
SystemException - if a system exception occurred

filterGetByG_F_F_PrevAndNext

protected DLFileEntry filterGetByG_F_F_PrevAndNext(Session session,
                                                   DLFileEntry dlFileEntry,
                                                   long groupId,
                                                   long folderId,
                                                   long fileEntryTypeId,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long[] folderIds,
                                           long fileEntryTypeId)
                                    throws SystemException
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

Specified by:
filterFindByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
Returns:
the matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long[] folderIds,
                                           long fileEntryTypeId,
                                           int start,
                                           int end)
                                    throws SystemException
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

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.

Specified by:
filterFindByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long[] folderIds,
                                           long fileEntryTypeId,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

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.

Specified by:
filterFindByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

public List<DLFileEntry> findAll()
                          throws SystemException
Returns all the document library file entries.

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

findAll

public List<DLFileEntry> findAll(int start,
                                 int end)
                          throws SystemException
Returns a range of all the document library file entries.

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.

Specified by:
findAll in interface DLFileEntryPersistence
Parameters:
start - the lower bound of the range of document library file entries
end - the upper bound of the range of document library file entries (not inclusive)
Returns:
the range of document library file entries
Throws:
SystemException - if a system exception occurred

findAll

public List<DLFileEntry> findAll(int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Returns an ordered range of all the document library file entries.

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.

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

removeByUuid

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

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

removeByUUID_G

public DLFileEntry removeByUUID_G(String uuid,
                                  long groupId)
                           throws NoSuchFileEntryException,
                                  SystemException
Removes the document library file entry where uuid = ? and groupId = ? from the database.

Specified by:
removeByUUID_G in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the document library file entry that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Removes all the document library file entries where groupId = ? from the database.

Specified by:
removeByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

removeByCompanyId

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

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

removeByMimeType

public void removeByMimeType(String mimeType)
                      throws SystemException
Removes all the document library file entries where mimeType = ? from the database.

Specified by:
removeByMimeType in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
Throws:
SystemException - if a system exception occurred

removeByF_N

public void removeByF_N(long folderId,
                        String name)
                 throws SystemException
Removes all the document library file entries where folderId = ? and name = ? from the database.

Specified by:
removeByF_N in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
Throws:
SystemException - if a system exception occurred

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws SystemException
Removes all the document library file entries where groupId = ? and userId = ? from the database.

Specified by:
removeByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Throws:
SystemException - if a system exception occurred

removeByG_F

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

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

removeByG_U_F

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

Specified by:
removeByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
Throws:
SystemException - if a system exception occurred

removeByG_F_N

public DLFileEntry removeByG_F_N(long groupId,
                                 long folderId,
                                 String name)
                          throws NoSuchFileEntryException,
                                 SystemException
Removes the document library file entry where groupId = ? and folderId = ? and name = ? from the database.

Specified by:
removeByG_F_N in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
name - the name
Returns:
the document library file entry that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryException

removeByG_F_T

public DLFileEntry removeByG_F_T(long groupId,
                                 long folderId,
                                 String title)
                          throws NoSuchFileEntryException,
                                 SystemException
Removes the document library file entry where groupId = ? and folderId = ? and title = ? from the database.

Specified by:
removeByG_F_T in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
title - the title
Returns:
the document library file entry that was removed
Throws:
SystemException - if a system exception occurred
NoSuchFileEntryException

removeByG_F_F

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

Specified by:
removeByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
Throws:
SystemException - if a system exception occurred

removeAll

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

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

countByUuid

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

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

countByUUID_G

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

Specified by:
countByUUID_G in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Returns the number of document library file entries where groupId = ?.

Specified by:
countByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Returns the number of document library file entries that the user has permission to view where groupId = ?.

Specified by:
filterCountByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByCompanyId

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

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

countByMimeType

public int countByMimeType(String mimeType)
                    throws SystemException
Returns the number of document library file entries where mimeType = ?.

Specified by:
countByMimeType in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByF_N

public int countByF_N(long folderId,
                      String name)
               throws SystemException
Returns the number of document library file entries where folderId = ? and name = ?.

Specified by:
countByF_N in interface DLFileEntryPersistence
Parameters:
folderId - the folder ID
name - the name
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws SystemException
Returns the number of document library file entries where groupId = ? and userId = ?.

Specified by:
countByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_U

public int filterCountByG_U(long groupId,
                            long userId)
                     throws SystemException
Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ?.

Specified by:
filterCountByG_U in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching document library file entries that the user has permission to view
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 entries where groupId = ? and folderId = ?.

Specified by:
countByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByG_F

public int countByG_F(long groupId,
                      long[] folderIds)
               throws SystemException
Returns the number of document library file entries where groupId = ? and folderId = any ?.

Specified by:
countByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the number of matching document library file entries
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 entries that the user has permission to view where groupId = ? and folderId = ?.

Specified by:
filterCountByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_F

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

Specified by:
filterCountByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the number of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_U_F

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

Specified by:
countByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByG_U_F

public int countByG_U_F(long groupId,
                        long userId,
                        long[] folderIds)
                 throws SystemException
Returns the number of document library file entries where groupId = ? and userId = ? and folderId = any ?.

Specified by:
countByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderIds - the folder IDs
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_U_F

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

Specified by:
filterCountByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID
Returns:
the number of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_U_F

public int filterCountByG_U_F(long groupId,
                              long userId,
                              long[] folderIds)
                       throws SystemException
Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.

Specified by:
filterCountByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderIds - the folder IDs
Returns:
the number of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_F_N

public int countByG_F_N(long groupId,
                        long folderId,
                        String name)
                 throws SystemException
Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?.

Specified by:
countByG_F_N in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
name - the name
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByG_F_T

public int countByG_F_T(long groupId,
                        long folderId,
                        String title)
                 throws SystemException
Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?.

Specified by:
countByG_F_T in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
title - the title
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByG_F_F

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

Specified by:
countByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByG_F_F

public int countByG_F_F(long groupId,
                        long[] folderIds,
                        long fileEntryTypeId)
                 throws SystemException
Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

Specified by:
countByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

filterCountByG_F_F

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

Specified by:
filterCountByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID
Returns:
the number of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_F_F

public int filterCountByG_F_F(long groupId,
                              long[] folderIds,
                              long fileEntryTypeId)
                       throws SystemException
Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.

Specified by:
filterCountByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
fileEntryTypeId - the file entry type ID
Returns:
the number of matching document library file entries that the user has permission to view
Throws:
SystemException - if a system exception occurred

countAll

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

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

afterPropertiesSet

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


destroy

public void destroy()

Liferay 6.1.2-ce-ga3