Liferay 7.0-ce-b4

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

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

@ProviderType
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  CompanyProvider companyProvider
           
protected  EntityCache entityCache
           
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_FILEENTRYTYPEID
           
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_FN
           
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_R_F
           
static FinderPath FINDER_PATH_COUNT_BY_REPOSITORYID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_F_FN
           
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_FILEENTRYTYPEID
           
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_R_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_REPOSITORYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_F_N
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYTYPEID
           
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_R_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPOSITORYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
protected  FinderCache finderCache
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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(DLFileEntryModelImpl dlFileEntryModelImpl, boolean isNew)
           
 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(DLFileEntryModelImpl dlFileEntryModelImpl)
           
 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 countByFileEntryTypeId(long fileEntryTypeId)
          Returns the number of document library file entries where fileEntryTypeId = ?.
 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_FN(long groupId, long folderId, String fileName)
          Returns the number of document library file entries where groupId = ? and folderId = ? and fileName = ?.
 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 countByR_F(long repositoryId, long folderId)
          Returns the number of document library file entries where repositoryId = ? and folderId = ?.
 int countByRepositoryId(long repositoryId)
          Returns the number of document library file entries where repositoryId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of document library file entries where uuid = ? and companyId = ?.
 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<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where companyId = ?.
 DLFileEntry fetchByCompanyId_Last(long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where companyId = ?.
 DLFileEntry fetchByF_N_First(long folderId, String name, OrderByComparator<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry fetchByFileEntryTypeId_First(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.
 DLFileEntry fetchByFileEntryTypeId_Last(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.
 DLFileEntry fetchByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry fetchByG_F_FN(long groupId, long folderId, String fileName)
          Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returns null if it could not be found.
 DLFileEntry fetchByG_F_FN(long groupId, long folderId, String fileName, boolean retrieveFromCache)
          Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntry fetchByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry fetchByGroupId_First(long groupId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ?.
 DLFileEntry fetchByGroupId_Last(long groupId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ?.
 DLFileEntry fetchByMimeType_First(String mimeType, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where mimeType = ?.
 DLFileEntry fetchByMimeType_Last(String mimeType, OrderByComparator<DLFileEntry> 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.
 Map<Serializable,DLFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 DLFileEntry fetchByR_F_First(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.
 DLFileEntry fetchByR_F_Last(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.
 DLFileEntry fetchByRepositoryId_First(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where repositoryId = ?.
 DLFileEntry fetchByRepositoryId_Last(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where repositoryId = ?.
 DLFileEntry fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.
 DLFileEntry fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.
 DLFileEntry fetchByUuid_First(String uuid, OrderByComparator<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByG_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByG_U_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByG_U_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry filterGetByGroupId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, OrderByComparator<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries.
 List<DLFileEntry> findAll(int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries.
 DLFileEntry findByCompanyId_First(long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where companyId = ?.
 DLFileEntry findByCompanyId_Last(long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where companyId = ?.
 DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, OrderByComparator<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where companyId = ?.
 List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where companyId = ?.
 DLFileEntry findByF_N_First(long folderId, String name, OrderByComparator<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered 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<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where folderId = ? and name = ?.
 DLFileEntry findByFileEntryTypeId_First(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.
 DLFileEntry findByFileEntryTypeId_Last(long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.
 DLFileEntry[] findByFileEntryTypeId_PrevAndNext(long fileEntryId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where fileEntryTypeId = ?.
 List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId)
          Returns all the document library file entries where fileEntryTypeId = ?.
 List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries where fileEntryTypeId = ?.
 List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.
 List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.
 DLFileEntry findByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?, optionally using the finder cache.
 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<DLFileEntry> orderByComparator)
          Returns an ordered 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<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          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<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry findByG_F_FN(long groupId, long folderId, String fileName)
          Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or throws a NoSuchFileEntryException if it could not be found.
 DLFileEntry findByG_F_Last(long groupId, long folderId, OrderByComparator<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered 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<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?, optionally using the finder cache.
 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<DLFileEntry> orderByComparator)
          Returns an ordered 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<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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[] folderIds, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?, optionally using the finder cache.
 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<DLFileEntry> orderByComparator)
          Returns an ordered 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<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered 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<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.
 DLFileEntry findByGroupId_First(long groupId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ?.
 DLFileEntry findByGroupId_Last(long groupId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ?.
 DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ?.
 List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where groupId = ?.
 DLFileEntry findByMimeType_First(String mimeType, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where mimeType = ?.
 DLFileEntry findByMimeType_Last(String mimeType, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where mimeType = ?.
 DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId, String mimeType, OrderByComparator<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where mimeType = ?.
 List<DLFileEntry> findByMimeType(String mimeType, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          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 findByR_F_First(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.
 DLFileEntry findByR_F_Last(long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.
 DLFileEntry[] findByR_F_PrevAndNext(long fileEntryId, long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ? and folderId = ?.
 List<DLFileEntry> findByR_F(long repositoryId, long folderId)
          Returns all the document library file entries where repositoryId = ? and folderId = ?.
 List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end)
          Returns a range of all the document library file entries where repositoryId = ? and folderId = ?.
 List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.
 List<DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.
 DLFileEntry findByRepositoryId_First(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where repositoryId = ?.
 DLFileEntry findByRepositoryId_Last(long repositoryId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where repositoryId = ?.
 DLFileEntry[] findByRepositoryId_PrevAndNext(long fileEntryId, long repositoryId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ?.
 List<DLFileEntry> findByRepositoryId(long repositoryId)
          Returns all the document library file entries where repositoryId = ?.
 List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end)
          Returns a range of all the document library file entries where repositoryId = ?.
 List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where repositoryId = ?.
 List<DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where repositoryId = ?.
 DLFileEntry findByUuid_C_First(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.
 DLFileEntry findByUuid_C_Last(String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.
 DLFileEntry[] findByUuid_C_PrevAndNext(long fileEntryId, String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ? and companyId = ?.
 List<DLFileEntry> findByUuid_C(String uuid, long companyId)
          Returns all the document library file entries where uuid = ? and companyId = ?.
 List<DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the document library file entries where uuid = ? and companyId = ?.
 List<DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?.
 List<DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?.
 DLFileEntry findByUuid_First(String uuid, OrderByComparator<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns the last document library file entry in the ordered set where uuid = ?.
 DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, String uuid, OrderByComparator<DLFileEntry> 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<DLFileEntry> orderByComparator)
          Returns an ordered range of all the document library file entries where uuid = ?.
 List<DLFileEntry> findByUuid(String uuid, int start, int end, OrderByComparator<DLFileEntry> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the document library file entries where uuid = ?.
 Set<String> getBadColumnNames()
           
protected  DLFileEntry getByCompanyId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long companyId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByF_N_PrevAndNext(Session session, DLFileEntry dlFileEntry, long folderId, String name, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByFileEntryTypeId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_F_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long folderId, long fileEntryTypeId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long folderId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_U_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, long folderId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByG_U_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, long userId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByGroupId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long groupId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByMimeType_PrevAndNext(Session session, DLFileEntry dlFileEntry, String mimeType, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByR_F_PrevAndNext(Session session, DLFileEntry dlFileEntry, long repositoryId, long folderId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByRepositoryId_PrevAndNext(Session session, DLFileEntry dlFileEntry, long repositoryId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByUuid_C_PrevAndNext(Session session, DLFileEntry dlFileEntry, String uuid, long companyId, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  DLFileEntry getByUuid_PrevAndNext(Session session, DLFileEntry dlFileEntry, String uuid, OrderByComparator<DLFileEntry> orderByComparator, boolean previous)
           
protected  Map<String,Integer> getTableColumnsMap()
           
 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 removeByFileEntryTypeId(long fileEntryTypeId)
          Removes all the document library file entries where fileEntryTypeId = ? 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_FN(long groupId, long folderId, String fileName)
          Removes the document library file entry where groupId = ? and folderId = ? and fileName = ? 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.
 void removeByR_F(long repositoryId, long folderId)
          Removes all the document library file entries where repositoryId = ? and folderId = ? from the database.
 void removeByRepositoryId(long repositoryId)
          Removes all the document library file entries where repositoryId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the document library file entries where uuid = ? and companyId = ? 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)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_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_REPOSITORYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_REPOSITORYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPOSITORYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_REPOSITORYID

FINDER_PATH_COUNT_BY_REPOSITORYID

public static final FinderPath FINDER_PATH_COUNT_BY_REPOSITORYID

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_FILEENTRYTYPEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_FILEENTRYTYPEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYTYPEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_FILEENTRYTYPEID

FINDER_PATH_COUNT_BY_FILEENTRYTYPEID

public static final FinderPath FINDER_PATH_COUNT_BY_FILEENTRYTYPEID

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_R_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_F

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_F

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_F

FINDER_PATH_COUNT_BY_R_F

public static final FinderPath FINDER_PATH_COUNT_BY_R_F

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_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_FN

public static final FinderPath FINDER_PATH_FETCH_BY_G_F_FN

FINDER_PATH_COUNT_BY_G_F_FN

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_FN

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

companyProvider

@BeanReference(type=CompanyProviderWrapper.class)
protected CompanyProvider companyProvider

entityCache

protected EntityCache entityCache

finderCache

protected FinderCache finderCache
Constructor Detail

DLFileEntryPersistenceImpl

public DLFileEntryPersistenceImpl()
Method Detail

findByUuid

public List<DLFileEntry> findByUuid(String uuid)
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

findByUuid

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

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

findByUuid

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

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

findByUuid

public List<DLFileEntry> findByUuid(String uuid,
                                    int start,
                                    int end,
                                    OrderByComparator<DLFileEntry> orderByComparator,
                                    boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByUuid_First

public DLFileEntry findByUuid_First(String uuid,
                                    OrderByComparator<DLFileEntry> orderByComparator)
                             throws NoSuchFileEntryException
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

fetchByUuid_First

public DLFileEntry fetchByUuid_First(String uuid,
                                     OrderByComparator<DLFileEntry> orderByComparator)
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

findByUuid_Last

public DLFileEntry findByUuid_Last(String uuid,
                                   OrderByComparator<DLFileEntry> orderByComparator)
                            throws NoSuchFileEntryException
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

fetchByUuid_Last

public DLFileEntry fetchByUuid_Last(String uuid,
                                    OrderByComparator<DLFileEntry> orderByComparator)
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

findByUuid_PrevAndNext

public DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId,
                                            String uuid,
                                            OrderByComparator<DLFileEntry> orderByComparator)
                                     throws NoSuchFileEntryException
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

getByUuid_PrevAndNext

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

removeByUuid

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

Specified by:
removeByUuid in interface DLFileEntryPersistence
Parameters:
uuid - the uuid

countByUuid

public int countByUuid(String uuid)
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

findByUUID_G

public DLFileEntry findByUUID_G(String uuid,
                                long groupId)
                         throws NoSuchFileEntryException
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

fetchByUUID_G

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

fetchByUUID_G

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

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

removeByUUID_G

public DLFileEntry removeByUUID_G(String uuid,
                                  long groupId)
                           throws NoSuchFileEntryException
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:
NoSuchFileEntryException

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
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

findByUuid_C

public List<DLFileEntry> findByUuid_C(String uuid,
                                      long companyId)
Returns all the document library file entries where uuid = ? and companyId = ?.

Specified by:
findByUuid_C in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching document library file entries

findByUuid_C

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

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

Specified by:
findByUuid_C in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
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

findByUuid_C

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

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

Specified by:
findByUuid_C in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
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

findByUuid_C

public List<DLFileEntry> findByUuid_C(String uuid,
                                      long companyId,
                                      int start,
                                      int end,
                                      OrderByComparator<DLFileEntry> orderByComparator,
                                      boolean retrieveFromCache)
Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?.

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

Specified by:
findByUuid_C in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByUuid_C_First

public DLFileEntry findByUuid_C_First(String uuid,
                                      long companyId,
                                      OrderByComparator<DLFileEntry> orderByComparator)
                               throws NoSuchFileEntryException
Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.

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

fetchByUuid_C_First

public DLFileEntry fetchByUuid_C_First(String uuid,
                                       long companyId,
                                       OrderByComparator<DLFileEntry> orderByComparator)
Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.

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

findByUuid_C_Last

public DLFileEntry findByUuid_C_Last(String uuid,
                                     long companyId,
                                     OrderByComparator<DLFileEntry> orderByComparator)
                              throws NoSuchFileEntryException
Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.

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

fetchByUuid_C_Last

public DLFileEntry fetchByUuid_C_Last(String uuid,
                                      long companyId,
                                      OrderByComparator<DLFileEntry> orderByComparator)
Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.

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

findByUuid_C_PrevAndNext

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

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

getByUuid_C_PrevAndNext

protected DLFileEntry getByUuid_C_PrevAndNext(Session session,
                                              DLFileEntry dlFileEntry,
                                              String uuid,
                                              long companyId,
                                              OrderByComparator<DLFileEntry> orderByComparator,
                                              boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

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

Specified by:
countByUuid_C in interface DLFileEntryPersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching document library file entries

findByGroupId

public List<DLFileEntry> findByGroupId(long groupId)
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

findByGroupId

public List<DLFileEntry> findByGroupId(long groupId,
                                       int start,
                                       int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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

findByGroupId

public List<DLFileEntry> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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

findByGroupId

public List<DLFileEntry> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       OrderByComparator<DLFileEntry> orderByComparator,
                                       boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByGroupId_First

public DLFileEntry findByGroupId_First(long groupId,
                                       OrderByComparator<DLFileEntry> orderByComparator)
                                throws NoSuchFileEntryException
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

fetchByGroupId_First

public DLFileEntry fetchByGroupId_First(long groupId,
                                        OrderByComparator<DLFileEntry> orderByComparator)
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

findByGroupId_Last

public DLFileEntry findByGroupId_Last(long groupId,
                                      OrderByComparator<DLFileEntry> orderByComparator)
                               throws NoSuchFileEntryException
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

fetchByGroupId_Last

public DLFileEntry fetchByGroupId_Last(long groupId,
                                       OrderByComparator<DLFileEntry> orderByComparator)
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

findByGroupId_PrevAndNext

public DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId,
                                               long groupId,
                                               OrderByComparator<DLFileEntry> orderByComparator)
                                        throws NoSuchFileEntryException
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

getByGroupId_PrevAndNext

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

filterFindByGroupId

public List<DLFileEntry> filterFindByGroupId(long groupId)
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

filterFindByGroupId

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

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

Specified by:
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

filterFindByGroupId

public List<DLFileEntry> filterFindByGroupId(long groupId,
                                             int start,
                                             int end,
                                             OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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

filterFindByGroupId_PrevAndNext

public DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId,
                                                     long groupId,
                                                     OrderByComparator<DLFileEntry> orderByComparator)
                                              throws NoSuchFileEntryException
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

filterGetByGroupId_PrevAndNext

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

removeByGroupId

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

Specified by:
removeByGroupId in interface DLFileEntryPersistence
Parameters:
groupId - the group ID

countByGroupId

public int countByGroupId(long groupId)
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

filterCountByGroupId

public int filterCountByGroupId(long groupId)
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

findByCompanyId

public List<DLFileEntry> findByCompanyId(long companyId)
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

findByCompanyId

public List<DLFileEntry> findByCompanyId(long companyId,
                                         int start,
                                         int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByCompanyId

public List<DLFileEntry> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByCompanyId

public List<DLFileEntry> findByCompanyId(long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator<DLFileEntry> orderByComparator,
                                         boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByCompanyId_First

public DLFileEntry findByCompanyId_First(long companyId,
                                         OrderByComparator<DLFileEntry> orderByComparator)
                                  throws NoSuchFileEntryException
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

fetchByCompanyId_First

public DLFileEntry fetchByCompanyId_First(long companyId,
                                          OrderByComparator<DLFileEntry> orderByComparator)
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

findByCompanyId_Last

public DLFileEntry findByCompanyId_Last(long companyId,
                                        OrderByComparator<DLFileEntry> orderByComparator)
                                 throws NoSuchFileEntryException
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

fetchByCompanyId_Last

public DLFileEntry fetchByCompanyId_Last(long companyId,
                                         OrderByComparator<DLFileEntry> orderByComparator)
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

findByCompanyId_PrevAndNext

public DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId,
                                                 long companyId,
                                                 OrderByComparator<DLFileEntry> orderByComparator)
                                          throws NoSuchFileEntryException
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

getByCompanyId_PrevAndNext

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

removeByCompanyId

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

Specified by:
removeByCompanyId in interface DLFileEntryPersistence
Parameters:
companyId - the company ID

countByCompanyId

public int countByCompanyId(long companyId)
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

findByRepositoryId

public List<DLFileEntry> findByRepositoryId(long repositoryId)
Returns all the document library file entries where repositoryId = ?.

Specified by:
findByRepositoryId in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository ID
Returns:
the matching document library file entries

findByRepositoryId

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

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

Specified by:
findByRepositoryId in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByRepositoryId

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

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

Specified by:
findByRepositoryId in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByRepositoryId

public List<DLFileEntry> findByRepositoryId(long repositoryId,
                                            int start,
                                            int end,
                                            OrderByComparator<DLFileEntry> orderByComparator,
                                            boolean retrieveFromCache)
Returns an ordered range of all the document library file entries where repositoryId = ?.

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

Specified by:
findByRepositoryId in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByRepositoryId_First

public DLFileEntry findByRepositoryId_First(long repositoryId,
                                            OrderByComparator<DLFileEntry> orderByComparator)
                                     throws NoSuchFileEntryException
Returns the first document library file entry in the ordered set where repositoryId = ?.

Specified by:
findByRepositoryId_First in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

fetchByRepositoryId_First

public DLFileEntry fetchByRepositoryId_First(long repositoryId,
                                             OrderByComparator<DLFileEntry> orderByComparator)
Returns the first document library file entry in the ordered set where repositoryId = ?.

Specified by:
fetchByRepositoryId_First in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByRepositoryId_Last

public DLFileEntry findByRepositoryId_Last(long repositoryId,
                                           OrderByComparator<DLFileEntry> orderByComparator)
                                    throws NoSuchFileEntryException
Returns the last document library file entry in the ordered set where repositoryId = ?.

Specified by:
findByRepositoryId_Last in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

fetchByRepositoryId_Last

public DLFileEntry fetchByRepositoryId_Last(long repositoryId,
                                            OrderByComparator<DLFileEntry> orderByComparator)
Returns the last document library file entry in the ordered set where repositoryId = ?.

Specified by:
fetchByRepositoryId_Last in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByRepositoryId_PrevAndNext

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

Specified by:
findByRepositoryId_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
repositoryId - the repository 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

getByRepositoryId_PrevAndNext

protected DLFileEntry getByRepositoryId_PrevAndNext(Session session,
                                                    DLFileEntry dlFileEntry,
                                                    long repositoryId,
                                                    OrderByComparator<DLFileEntry> orderByComparator,
                                                    boolean previous)

removeByRepositoryId

public void removeByRepositoryId(long repositoryId)
Removes all the document library file entries where repositoryId = ? from the database.

Specified by:
removeByRepositoryId in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository ID

countByRepositoryId

public int countByRepositoryId(long repositoryId)
Returns the number of document library file entries where repositoryId = ?.

Specified by:
countByRepositoryId in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository ID
Returns:
the number of matching document library file entries

findByMimeType

public List<DLFileEntry> findByMimeType(String mimeType)
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

findByMimeType

public List<DLFileEntry> findByMimeType(String mimeType,
                                        int start,
                                        int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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

findByMimeType

public List<DLFileEntry> findByMimeType(String mimeType,
                                        int start,
                                        int end,
                                        OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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

findByMimeType

public List<DLFileEntry> findByMimeType(String mimeType,
                                        int start,
                                        int end,
                                        OrderByComparator<DLFileEntry> orderByComparator,
                                        boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByMimeType_First

public DLFileEntry findByMimeType_First(String mimeType,
                                        OrderByComparator<DLFileEntry> orderByComparator)
                                 throws NoSuchFileEntryException
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

fetchByMimeType_First

public DLFileEntry fetchByMimeType_First(String mimeType,
                                         OrderByComparator<DLFileEntry> orderByComparator)
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

findByMimeType_Last

public DLFileEntry findByMimeType_Last(String mimeType,
                                       OrderByComparator<DLFileEntry> orderByComparator)
                                throws NoSuchFileEntryException
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

fetchByMimeType_Last

public DLFileEntry fetchByMimeType_Last(String mimeType,
                                        OrderByComparator<DLFileEntry> orderByComparator)
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

findByMimeType_PrevAndNext

public DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId,
                                                String mimeType,
                                                OrderByComparator<DLFileEntry> orderByComparator)
                                         throws NoSuchFileEntryException
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

getByMimeType_PrevAndNext

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

removeByMimeType

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

Specified by:
removeByMimeType in interface DLFileEntryPersistence
Parameters:
mimeType - the mime type

countByMimeType

public int countByMimeType(String mimeType)
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

findByFileEntryTypeId

public List<DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId)
Returns all the document library file entries where fileEntryTypeId = ?.

Specified by:
findByFileEntryTypeId in interface DLFileEntryPersistence
Parameters:
fileEntryTypeId - the file entry type ID
Returns:
the matching document library file entries

findByFileEntryTypeId

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

Specified by:
findByFileEntryTypeId in interface DLFileEntryPersistence
Parameters:
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

findByFileEntryTypeId

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

Specified by:
findByFileEntryTypeId in interface DLFileEntryPersistence
Parameters:
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

findByFileEntryTypeId

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

Specified by:
findByFileEntryTypeId in interface DLFileEntryPersistence
Parameters:
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByFileEntryTypeId_First

public DLFileEntry findByFileEntryTypeId_First(long fileEntryTypeId,
                                               OrderByComparator<DLFileEntry> orderByComparator)
                                        throws NoSuchFileEntryException
Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.

Specified by:
findByFileEntryTypeId_First in interface DLFileEntryPersistence
Parameters:
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

fetchByFileEntryTypeId_First

public DLFileEntry fetchByFileEntryTypeId_First(long fileEntryTypeId,
                                                OrderByComparator<DLFileEntry> orderByComparator)
Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.

Specified by:
fetchByFileEntryTypeId_First in interface DLFileEntryPersistence
Parameters:
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

findByFileEntryTypeId_Last

public DLFileEntry findByFileEntryTypeId_Last(long fileEntryTypeId,
                                              OrderByComparator<DLFileEntry> orderByComparator)
                                       throws NoSuchFileEntryException
Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.

Specified by:
findByFileEntryTypeId_Last in interface DLFileEntryPersistence
Parameters:
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

fetchByFileEntryTypeId_Last

public DLFileEntry fetchByFileEntryTypeId_Last(long fileEntryTypeId,
                                               OrderByComparator<DLFileEntry> orderByComparator)
Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.

Specified by:
fetchByFileEntryTypeId_Last in interface DLFileEntryPersistence
Parameters:
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

findByFileEntryTypeId_PrevAndNext

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

Specified by:
findByFileEntryTypeId_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
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

getByFileEntryTypeId_PrevAndNext

protected DLFileEntry getByFileEntryTypeId_PrevAndNext(Session session,
                                                       DLFileEntry dlFileEntry,
                                                       long fileEntryTypeId,
                                                       OrderByComparator<DLFileEntry> orderByComparator,
                                                       boolean previous)

removeByFileEntryTypeId

public void removeByFileEntryTypeId(long fileEntryTypeId)
Removes all the document library file entries where fileEntryTypeId = ? from the database.

Specified by:
removeByFileEntryTypeId in interface DLFileEntryPersistence
Parameters:
fileEntryTypeId - the file entry type ID

countByFileEntryTypeId

public int countByFileEntryTypeId(long fileEntryTypeId)
Returns the number of document library file entries where fileEntryTypeId = ?.

Specified by:
countByFileEntryTypeId in interface DLFileEntryPersistence
Parameters:
fileEntryTypeId - the file entry type ID
Returns:
the number of matching document library file entries

findByG_U

public List<DLFileEntry> findByG_U(long groupId,
                                   long userId)
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

findByG_U

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

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

Specified by:
findByG_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

findByG_U

public List<DLFileEntry> findByG_U(long groupId,
                                   long userId,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_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

findByG_U

public List<DLFileEntry> findByG_U(long groupId,
                                   long userId,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator,
                                   boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByG_U_First

public DLFileEntry findByG_U_First(long groupId,
                                   long userId,
                                   OrderByComparator<DLFileEntry> orderByComparator)
                            throws NoSuchFileEntryException
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

fetchByG_U_First

public DLFileEntry fetchByG_U_First(long groupId,
                                    long userId,
                                    OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_U_Last

public DLFileEntry findByG_U_Last(long groupId,
                                  long userId,
                                  OrderByComparator<DLFileEntry> orderByComparator)
                           throws NoSuchFileEntryException
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

fetchByG_U_Last

public DLFileEntry fetchByG_U_Last(long groupId,
                                   long userId,
                                   OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_U_PrevAndNext

public DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId,
                                           long groupId,
                                           long userId,
                                           OrderByComparator<DLFileEntry> orderByComparator)
                                    throws NoSuchFileEntryException
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

getByG_U_PrevAndNext

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

filterFindByG_U

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

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

filterFindByG_U

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

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

Specified by:
filterFindByG_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

filterFindByG_U

public List<DLFileEntry> filterFindByG_U(long groupId,
                                         long userId,
                                         int start,
                                         int end,
                                         OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_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

filterFindByG_U_PrevAndNext

public DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId,
                                                 long groupId,
                                                 long userId,
                                                 OrderByComparator<DLFileEntry> orderByComparator)
                                          throws NoSuchFileEntryException
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

filterGetByG_U_PrevAndNext

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

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
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

countByG_U

public int countByG_U(long groupId,
                      long userId)
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

filterCountByG_U

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

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

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long folderId)
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

findByG_F

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

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

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

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long folderId,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long folderId,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator,
                                   boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F in interface 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByG_F_First

public DLFileEntry findByG_F_First(long groupId,
                                   long folderId,
                                   OrderByComparator<DLFileEntry> orderByComparator)
                            throws NoSuchFileEntryException
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

fetchByG_F_First

public DLFileEntry fetchByG_F_First(long groupId,
                                    long folderId,
                                    OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_F_Last

public DLFileEntry findByG_F_Last(long groupId,
                                  long folderId,
                                  OrderByComparator<DLFileEntry> orderByComparator)
                           throws NoSuchFileEntryException
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

fetchByG_F_Last

public DLFileEntry fetchByG_F_Last(long groupId,
                                   long folderId,
                                   OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_F_PrevAndNext

public DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId,
                                           long groupId,
                                           long folderId,
                                           OrderByComparator<DLFileEntry> orderByComparator)
                                    throws NoSuchFileEntryException
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

getByG_F_PrevAndNext

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

filterFindByG_F

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

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

filterFindByG_F

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

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

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

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long folderId,
                                         int start,
                                         int end,
                                         OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

filterFindByG_F_PrevAndNext

public DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId,
                                                 long groupId,
                                                 long folderId,
                                                 OrderByComparator<DLFileEntry> orderByComparator)
                                          throws NoSuchFileEntryException
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

filterGetByG_F_PrevAndNext

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

filterFindByG_F

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

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

filterFindByG_F

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

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

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

filterFindByG_F

public List<DLFileEntry> filterFindByG_F(long groupId,
                                         long[] folderIds,
                                         int start,
                                         int end,
                                         OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long[] folderIds)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching document library file entries

findByG_F

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

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

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

findByG_F

public List<DLFileEntry> findByG_F(long groupId,
                                   long[] folderIds,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByG_F

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

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

Specified by:
findByG_F in interface 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

removeByG_F

public void removeByG_F(long groupId,
                        long folderId)
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

countByG_F

public int countByG_F(long groupId,
                      long folderId)
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

countByG_F

public int countByG_F(long groupId,
                      long[] folderIds)
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

filterCountByG_F

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

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

filterCountByG_F

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

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

findByR_F

public List<DLFileEntry> findByR_F(long repositoryId,
                                   long folderId)
Returns all the document library file entries where repositoryId = ? and folderId = ?.

Specified by:
findByR_F in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository ID
folderId - the folder ID
Returns:
the matching document library file entries

findByR_F

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

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

Specified by:
findByR_F in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByR_F

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

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

Specified by:
findByR_F in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByR_F

public List<DLFileEntry> findByR_F(long repositoryId,
                                   long folderId,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator,
                                   boolean retrieveFromCache)
Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.

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

Specified by:
findByR_F in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByR_F_First

public DLFileEntry findByR_F_First(long repositoryId,
                                   long folderId,
                                   OrderByComparator<DLFileEntry> orderByComparator)
                            throws NoSuchFileEntryException
Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.

Specified by:
findByR_F_First in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

fetchByR_F_First

public DLFileEntry fetchByR_F_First(long repositoryId,
                                    long folderId,
                                    OrderByComparator<DLFileEntry> orderByComparator)
Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.

Specified by:
fetchByR_F_First in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByR_F_Last

public DLFileEntry findByR_F_Last(long repositoryId,
                                  long folderId,
                                  OrderByComparator<DLFileEntry> orderByComparator)
                           throws NoSuchFileEntryException
Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.

Specified by:
findByR_F_Last in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

fetchByR_F_Last

public DLFileEntry fetchByR_F_Last(long repositoryId,
                                   long folderId,
                                   OrderByComparator<DLFileEntry> orderByComparator)
Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.

Specified by:
fetchByR_F_Last in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository 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

findByR_F_PrevAndNext

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

Specified by:
findByR_F_PrevAndNext in interface DLFileEntryPersistence
Parameters:
fileEntryId - the primary key of the current document library file entry
repositoryId - the repository 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

getByR_F_PrevAndNext

protected DLFileEntry getByR_F_PrevAndNext(Session session,
                                           DLFileEntry dlFileEntry,
                                           long repositoryId,
                                           long folderId,
                                           OrderByComparator<DLFileEntry> orderByComparator,
                                           boolean previous)

removeByR_F

public void removeByR_F(long repositoryId,
                        long folderId)
Removes all the document library file entries where repositoryId = ? and folderId = ? from the database.

Specified by:
removeByR_F in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository ID
folderId - the folder ID

countByR_F

public int countByR_F(long repositoryId,
                      long folderId)
Returns the number of document library file entries where repositoryId = ? and folderId = ?.

Specified by:
countByR_F in interface DLFileEntryPersistence
Parameters:
repositoryId - the repository ID
folderId - the folder ID
Returns:
the number of matching document library file entries

findByF_N

public List<DLFileEntry> findByF_N(long folderId,
                                   String name)
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

findByF_N

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

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

Specified by:
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

findByF_N

public List<DLFileEntry> findByF_N(long folderId,
                                   String name,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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

findByF_N

public List<DLFileEntry> findByF_N(long folderId,
                                   String name,
                                   int start,
                                   int end,
                                   OrderByComparator<DLFileEntry> orderByComparator,
                                   boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByF_N_First

public DLFileEntry findByF_N_First(long folderId,
                                   String name,
                                   OrderByComparator<DLFileEntry> orderByComparator)
                            throws NoSuchFileEntryException
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

fetchByF_N_First

public DLFileEntry fetchByF_N_First(long folderId,
                                    String name,
                                    OrderByComparator<DLFileEntry> orderByComparator)
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

findByF_N_Last

public DLFileEntry findByF_N_Last(long folderId,
                                  String name,
                                  OrderByComparator<DLFileEntry> orderByComparator)
                           throws NoSuchFileEntryException
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

fetchByF_N_Last

public DLFileEntry fetchByF_N_Last(long folderId,
                                   String name,
                                   OrderByComparator<DLFileEntry> orderByComparator)
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

findByF_N_PrevAndNext

public DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId,
                                           long folderId,
                                           String name,
                                           OrderByComparator<DLFileEntry> orderByComparator)
                                    throws NoSuchFileEntryException
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

getByF_N_PrevAndNext

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

removeByF_N

public void removeByF_N(long folderId,
                        String name)
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

countByF_N

public int countByF_N(long folderId,
                      String name)
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

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long folderId)
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

findByG_U_F

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

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

Specified by:
findByG_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

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long folderId,
                                     int start,
                                     int end,
                                     OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_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

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long folderId,
                                     int start,
                                     int end,
                                     OrderByComparator<DLFileEntry> orderByComparator,
                                     boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByG_U_F_First

public DLFileEntry findByG_U_F_First(long groupId,
                                     long userId,
                                     long folderId,
                                     OrderByComparator<DLFileEntry> orderByComparator)
                              throws NoSuchFileEntryException
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

fetchByG_U_F_First

public DLFileEntry fetchByG_U_F_First(long groupId,
                                      long userId,
                                      long folderId,
                                      OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_U_F_Last

public DLFileEntry findByG_U_F_Last(long groupId,
                                    long userId,
                                    long folderId,
                                    OrderByComparator<DLFileEntry> orderByComparator)
                             throws NoSuchFileEntryException
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

fetchByG_U_F_Last

public DLFileEntry fetchByG_U_F_Last(long groupId,
                                     long userId,
                                     long folderId,
                                     OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_U_F_PrevAndNext

public DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId,
                                             long groupId,
                                             long userId,
                                             long folderId,
                                             OrderByComparator<DLFileEntry> orderByComparator)
                                      throws NoSuchFileEntryException
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

getByG_U_F_PrevAndNext

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

filterFindByG_U_F

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

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

filterFindByG_U_F

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

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

Specified by:
filterFindByG_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

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long folderId,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntry> 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 = ?.

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

Specified by:
filterFindByG_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

filterFindByG_U_F_PrevAndNext

public DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId,
                                                   long groupId,
                                                   long userId,
                                                   long folderId,
                                                   OrderByComparator<DLFileEntry> orderByComparator)
                                            throws NoSuchFileEntryException
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

filterGetByG_U_F_PrevAndNext

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

filterFindByG_U_F

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

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

filterFindByG_U_F

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

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

Specified by:
filterFindByG_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

filterFindByG_U_F

public List<DLFileEntry> filterFindByG_U_F(long groupId,
                                           long userId,
                                           long[] folderIds,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntry> 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 ?.

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

Specified by:
filterFindByG_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

findByG_U_F

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

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

Specified by:
findByG_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

findByG_U_F

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

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

Specified by:
findByG_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

findByG_U_F

public List<DLFileEntry> findByG_U_F(long groupId,
                                     long userId,
                                     long[] folderIds,
                                     int start,
                                     int end,
                                     OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_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

findByG_U_F

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

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

Specified by:
findByG_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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

removeByG_U_F

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

Specified by:
removeByG_U_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
folderId - the folder ID

countByG_U_F

public int countByG_U_F(long groupId,
                        long userId,
                        long folderId)
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

countByG_U_F

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

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

filterCountByG_U_F

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

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

filterCountByG_U_F

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

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

findByG_F_N

public DLFileEntry findByG_F_N(long groupId,
                               long folderId,
                               String name)
                        throws NoSuchFileEntryException
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

fetchByG_F_N

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

fetchByG_F_N

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

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

removeByG_F_N

public DLFileEntry removeByG_F_N(long groupId,
                                 long folderId,
                                 String name)
                          throws NoSuchFileEntryException
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:
NoSuchFileEntryException

countByG_F_N

public int countByG_F_N(long groupId,
                        long folderId,
                        String name)
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

findByG_F_FN

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

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

fetchByG_F_FN

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

Specified by:
fetchByG_F_FN in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileName - the file name
Returns:
the matching document library file entry, or null if a matching document library file entry could not be found

fetchByG_F_FN

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

Specified by:
fetchByG_F_FN in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileName - the file name
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the matching document library file entry, or null if a matching document library file entry could not be found

removeByG_F_FN

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

Specified by:
removeByG_F_FN in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileName - the file name
Returns:
the document library file entry that was removed
Throws:
NoSuchFileEntryException

countByG_F_FN

public int countByG_F_FN(long groupId,
                         long folderId,
                         String fileName)
Returns the number of document library file entries where groupId = ? and folderId = ? and fileName = ?.

Specified by:
countByG_F_FN in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileName - the file name
Returns:
the number of matching document library file entries

findByG_F_T

public DLFileEntry findByG_F_T(long groupId,
                               long folderId,
                               String title)
                        throws NoSuchFileEntryException
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

fetchByG_F_T

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

fetchByG_F_T

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

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

removeByG_F_T

public DLFileEntry removeByG_F_T(long groupId,
                                 long folderId,
                                 String title)
                          throws NoSuchFileEntryException
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:
NoSuchFileEntryException

countByG_F_T

public int countByG_F_T(long groupId,
                        long folderId,
                        String title)
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

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long folderId,
                                     long fileEntryTypeId)
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

findByG_F_F

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

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

Specified by:
findByG_F_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

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     int start,
                                     int end,
                                     OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_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

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     int start,
                                     int end,
                                     OrderByComparator<DLFileEntry> orderByComparator,
                                     boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

findByG_F_F_First

public DLFileEntry findByG_F_F_First(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     OrderByComparator<DLFileEntry> orderByComparator)
                              throws NoSuchFileEntryException
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

fetchByG_F_F_First

public DLFileEntry fetchByG_F_F_First(long groupId,
                                      long folderId,
                                      long fileEntryTypeId,
                                      OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_F_F_Last

public DLFileEntry findByG_F_F_Last(long groupId,
                                    long folderId,
                                    long fileEntryTypeId,
                                    OrderByComparator<DLFileEntry> orderByComparator)
                             throws NoSuchFileEntryException
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

fetchByG_F_F_Last

public DLFileEntry fetchByG_F_F_Last(long groupId,
                                     long folderId,
                                     long fileEntryTypeId,
                                     OrderByComparator<DLFileEntry> orderByComparator)
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

findByG_F_F_PrevAndNext

public DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId,
                                             long groupId,
                                             long folderId,
                                             long fileEntryTypeId,
                                             OrderByComparator<DLFileEntry> orderByComparator)
                                      throws NoSuchFileEntryException
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

getByG_F_F_PrevAndNext

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

filterFindByG_F_F

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

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

filterFindByG_F_F

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

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

Specified by:
filterFindByG_F_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

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long folderId,
                                           long fileEntryTypeId,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntry> 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 = ?.

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

Specified by:
filterFindByG_F_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

filterFindByG_F_F_PrevAndNext

public DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId,
                                                   long groupId,
                                                   long folderId,
                                                   long fileEntryTypeId,
                                                   OrderByComparator<DLFileEntry> orderByComparator)
                                            throws NoSuchFileEntryException
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

filterGetByG_F_F_PrevAndNext

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

filterFindByG_F_F

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

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

filterFindByG_F_F

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

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

Specified by:
filterFindByG_F_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

filterFindByG_F_F

public List<DLFileEntry> filterFindByG_F_F(long groupId,
                                           long[] folderIds,
                                           long fileEntryTypeId,
                                           int start,
                                           int end,
                                           OrderByComparator<DLFileEntry> 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 = ?.

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

Specified by:
filterFindByG_F_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

findByG_F_F

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

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

Specified by:
findByG_F_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

findByG_F_F

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

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

Specified by:
findByG_F_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

findByG_F_F

public List<DLFileEntry> findByG_F_F(long groupId,
                                     long[] folderIds,
                                     long fileEntryTypeId,
                                     int start,
                                     int end,
                                     OrderByComparator<DLFileEntry> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_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

findByG_F_F

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

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

Specified by:
findByG_F_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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching document library file entries

removeByG_F_F

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

Specified by:
removeByG_F_F in interface DLFileEntryPersistence
Parameters:
groupId - the group ID
folderId - the folder ID
fileEntryTypeId - the file entry type ID

countByG_F_F

public int countByG_F_F(long groupId,
                        long folderId,
                        long fileEntryTypeId)
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

countByG_F_F

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

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

filterCountByG_F_F

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

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

filterCountByG_F_F

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

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

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(DLFileEntryModelImpl dlFileEntryModelImpl,
                                       boolean isNew)

clearUniqueFindersCache

protected void clearUniqueFindersCache(DLFileEntryModelImpl dlFileEntryModelImpl)

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

remove

public DLFileEntry remove(Serializable primaryKey)
                   throws NoSuchFileEntryException
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

removeImpl

protected DLFileEntry removeImpl(DLFileEntry dlFileEntry)
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

updateImpl

public DLFileEntry updateImpl(DLFileEntry dlFileEntry)
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
Returns:
the model instance that was updated

toUnwrappedModel

protected DLFileEntry toUnwrappedModel(DLFileEntry dlFileEntry)

findByPrimaryKey

public DLFileEntry findByPrimaryKey(Serializable primaryKey)
                             throws NoSuchFileEntryException
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:
NoSuchFileEntryException - if a document library file entry with the primary key could not be found

findByPrimaryKey

public DLFileEntry findByPrimaryKey(long fileEntryId)
                             throws NoSuchFileEntryException
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

fetchByPrimaryKey

public DLFileEntry fetchByPrimaryKey(Serializable primaryKey)
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

fetchByPrimaryKey

public DLFileEntry fetchByPrimaryKey(long fileEntryId)
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

fetchByPrimaryKeys

public Map<Serializable,DLFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<DLFileEntry>
Specified by:
fetchByPrimaryKeys in interface DLFileEntryPersistence
Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<DLFileEntry>

findAll

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

Specified by:
findAll in interface DLFileEntryPersistence
Returns:
the document library file entries

findAll

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

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

findAll

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

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

findAll

public List<DLFileEntry> findAll(int start,
                                 int end,
                                 OrderByComparator<DLFileEntry> orderByComparator,
                                 boolean retrieveFromCache)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface 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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of document library file entries

removeAll

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

Specified by:
removeAll in interface DLFileEntryPersistence

countAll

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

Specified by:
countAll in interface DLFileEntryPersistence
Returns:
the number of document library file entries

getBadColumnNames

public Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<DLFileEntry>
Specified by:
getBadColumnNames in interface DLFileEntryPersistence
Overrides:
getBadColumnNames in class BasePersistenceImpl<DLFileEntry>

getTableColumnsMap

protected Map<String,Integer> getTableColumnsMap()
Overrides:
getTableColumnsMap in class BasePersistenceImpl<DLFileEntry>

afterPropertiesSet

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


destroy

public void destroy()

Liferay 7.0-ce-b4