Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.service.persistence
Interface DLFileEntryPersistence

All Superinterfaces:
BasePersistence<DLFileEntry>
All Known Implementing Classes:
DLFileEntryPersistenceImpl

public interface DLFileEntryPersistence
extends BasePersistence<DLFileEntry>

The persistence interface for the document library file entry service.

Caching information and settings can be found in portal.properties

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

Method Summary
 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.
 int countAll()
          Returns the number of document library file entries.
 int countByCompanyId(long companyId)
          Returns the number of document library file entries where companyId = ?.
 int countByF_N(long folderId, String name)
          Returns the number of document library file entries where folderId = ? and name = ?.
 int countByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 int countByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 int countByG_F_N(long groupId, long folderId, String name)
          Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?.
 int countByG_F_T(long groupId, long folderId, String title)
          Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?.
 int countByG_F(long groupId, long folderId)
          Returns the number of document library file entries where groupId = ? and folderId = ?.
 int countByG_F(long groupId, long[] folderIds)
          Returns the number of document library file entries where groupId = ? and folderId = any ?.
 int countByG_U_F(long groupId, long userId, long folderId)
          Returns the number of document library file entries where groupId = ? and userId = ? and folderId = ?.
 int countByG_U_F(long groupId, long userId, long[] folderIds)
          Returns the number of document library file entries where groupId = ? and userId = ? and folderId = any ?.
 int countByG_U(long groupId, long userId)
          Returns the number of document library file entries where groupId = ? and userId = ?.
 int countByGroupId(long groupId)
          Returns the number of document library file entries where groupId = ?.
 int countByMimeType(String mimeType)
          Returns the number of document library file entries where mimeType = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of document library file entries where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of document library file entries where uuid = ?.
 DLFileEntry create(long fileEntryId)
          Creates a new document library file entry with the primary key.
 DLFileEntry fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where companyId = ?.
 DLFileEntry fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where companyId = ?.
 DLFileEntry fetchByF_N_First(long folderId, String name, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry fetchByF_N_Last(long folderId, String name, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry fetchByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry fetchByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry fetchByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry fetchByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry fetchByG_F_N(long groupId, long folderId, String name)
          Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found.
 DLFileEntry fetchByG_F_N(long groupId, long folderId, String name, boolean retrieveFromCache)
          Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntry fetchByG_F_T(long groupId, long folderId, String title)
          Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found.
 DLFileEntry fetchByG_F_T(long groupId, long folderId, String title, boolean retrieveFromCache)
          Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntry fetchByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry fetchByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry fetchByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry fetchByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ?.
 DLFileEntry fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ?.
 DLFileEntry fetchByMimeType_First(String mimeType, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where mimeType = ?.
 DLFileEntry fetchByMimeType_Last(String mimeType, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where mimeType = ?.
 DLFileEntry fetchByPrimaryKey(long fileEntryId)
          Returns the document library file entry with the primary key or returns null if it could not be found.
 DLFileEntry fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where uuid = ?.
 DLFileEntry fetchByUUID_G(String uuid, long groupId)
          Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found.
 DLFileEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 DLFileEntry fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where uuid = ?.
 int filterCountByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 int filterCountByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 int filterCountByG_F(long groupId, long folderId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 int filterCountByG_F(long groupId, long[] folderIds)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 int filterCountByG_U_F(long groupId, long userId, long folderId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 int filterCountByG_U_F(long groupId, long userId, long[] folderIds)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 int filterCountByG_U(long groupId, long userId)
          Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of document library file entries that the user has permission to view where groupId = ?.
 DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long folderId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds)
          Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ?.
 DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds)
          Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?.
 List<DLFileEntry> filterFindByG_U(long groupId, long userId)
          Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ?.
 List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ?.
 List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?.
 DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?.
 List<DLFileEntry> filterFindByGroupId(long groupId)
          Returns all the document library file entries that the user has permission to view where groupId = ?.
 List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the document library file entries that the user has permission to view where groupId = ?.
 List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?.
 List<DLFileEntry> findAll()
          Returns all the document library file entries.
 List<DLFileEntry> findAll(int start, int end)
          Returns a range of all the document library file entries.
 List<DLFileEntry> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries.
 DLFileEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where companyId = ?.
 DLFileEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where companyId = ?.
 DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?.
 List<DLFileEntry> findByCompanyId(long companyId)
          Returns all the document library file entries where companyId = ?.
 List<DLFileEntry> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the document library file entries where companyId = ?.
 List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where companyId = ?.
 DLFileEntry findByF_N_First(long folderId, String name, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry findByF_N_Last(long folderId, String name, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where folderId = ? and name = ?.
 DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId, long folderId, String name, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?.
 List<DLFileEntry> findByF_N(long folderId, String name)
          Returns all the document library file entries where folderId = ? and name = ?.
 List<DLFileEntry> findByF_N(long folderId, String name, int start, int end)
          Returns a range of all the document library file entries where folderId = ? and name = ?.
 List<DLFileEntry> findByF_N(long folderId, String name, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where folderId = ? and name = ?.
 DLFileEntry findByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry findByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId)
          Returns all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.
 DLFileEntry findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry findByG_F_N(long groupId, long folderId, String name)
          Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws a NoSuchFileEntryException if it could not be found.
 DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?.
 DLFileEntry findByG_F_T(long groupId, long folderId, String title)
          Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws a NoSuchFileEntryException if it could not be found.
 List<DLFileEntry> findByG_F(long groupId, long folderId)
          Returns all the document library file entries where groupId = ? and folderId = ?.
 List<DLFileEntry> findByG_F(long groupId, long[] folderIds)
          Returns all the document library file entries where groupId = ? and folderId = any ?.
 List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = any ?.
 List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ?.
 List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and folderId = ?.
 List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.
 DLFileEntry findByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry findByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId)
          Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds)
          Returns all the document library file entries where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.
 List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.
 DLFileEntry findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.
 DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?.
 List<DLFileEntry> findByG_U(long groupId, long userId)
          Returns all the document library file entries where groupId = ? and userId = ?.
 List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the document library file entries where groupId = ? and userId = ?.
 List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.
 DLFileEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where groupId = ?.
 DLFileEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where groupId = ?.
 DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?.
 List<DLFileEntry> findByGroupId(long groupId)
          Returns all the document library file entries where groupId = ?.
 List<DLFileEntry> findByGroupId(long groupId, int start, int end)
          Returns a range of all the document library file entries where groupId = ?.
 List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where groupId = ?.
 DLFileEntry findByMimeType_First(String mimeType, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where mimeType = ?.
 DLFileEntry findByMimeType_Last(String mimeType, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where mimeType = ?.
 DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId, String mimeType, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?.
 List<DLFileEntry> findByMimeType(String mimeType)
          Returns all the document library file entries where mimeType = ?.
 List<DLFileEntry> findByMimeType(String mimeType, int start, int end)
          Returns a range of all the document library file entries where mimeType = ?.
 List<DLFileEntry> findByMimeType(String mimeType, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where mimeType = ?.
 DLFileEntry findByPrimaryKey(long fileEntryId)
          Returns the document library file entry with the primary key or throws a NoSuchFileEntryException if it could not be found.
 DLFileEntry findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first document library file entry in the ordered set where uuid = ?.
 DLFileEntry findByUUID_G(String uuid, long groupId)
          Returns the document library file entry where uuid = ? and groupId = ? or throws a NoSuchFileEntryException if it could not be found.
 DLFileEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last document library file entry in the ordered set where uuid = ?.
 DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, String uuid, OrderByComparator orderByComparator)
          Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?.
 List<DLFileEntry> findByUuid(String uuid)
          Returns all the document library file entries where uuid = ?.
 List<DLFileEntry> findByUuid(String uuid, int start, int end)
          Returns a range of all the document library file entries where uuid = ?.
 List<DLFileEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the document library file entries where uuid = ?.
 DLFileEntry remove(long fileEntryId)
          Removes the document library file entry with the primary key from the database.
 void removeAll()
          Removes all the document library file entries from the database.
 void removeByCompanyId(long companyId)
          Removes all the document library file entries where companyId = ? from the database.
 void removeByF_N(long folderId, String name)
          Removes all the document library file entries where folderId = ? and name = ? from the database.
 void removeByG_F_F(long groupId, long folderId, long fileEntryTypeId)
          Removes all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ? from the database.
 DLFileEntry removeByG_F_N(long groupId, long folderId, String name)
          Removes the document library file entry where groupId = ? and folderId = ? and name = ? from the database.
 DLFileEntry removeByG_F_T(long groupId, long folderId, String title)
          Removes the document library file entry where groupId = ? and folderId = ? and title = ? from the database.
 void removeByG_F(long groupId, long folderId)
          Removes all the document library file entries where groupId = ? and folderId = ? from the database.
 void removeByG_U_F(long groupId, long userId, long folderId)
          Removes all the document library file entries where groupId = ? and userId = ? and folderId = ? from the database.
 void removeByG_U(long groupId, long userId)
          Removes all the document library file entries where groupId = ? and userId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the document library file entries where groupId = ? from the database.
 void removeByMimeType(String mimeType)
          Removes all the document library file entries where mimeType = ? from the database.
 DLFileEntry removeByUUID_G(String uuid, long groupId)
          Removes the document library file entry where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the document library file entries where uuid = ? from the database.
 DLFileEntry updateImpl(DLFileEntry dlFileEntry, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

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

Parameters:
dlFileEntry - the document library file entry

cacheResult

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

Parameters:
dlFileEntries - the document library file entries

create

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.

Parameters:
fileEntryId - the primary key for the new document library file entry
Returns:
the new document library file entry

remove

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

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

updateImpl

DLFileEntry updateImpl(DLFileEntry dlFileEntry,
                       boolean merge)
                       throws SystemException
Throws:
SystemException

findByPrimaryKey

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

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

fetchByPrimaryKey

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

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

findByUuid

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

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

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByUuid_First

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

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

fetchByUuid_First

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

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

findByUuid_Last

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

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

fetchByUuid_Last

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

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

findByUuid_PrevAndNext

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

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

findByUUID_G

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

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

fetchByUUID_G

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

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

fetchByUUID_G

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

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

findByGroupId

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

Parameters:
groupId - the group ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByGroupId_First

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

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

fetchByGroupId_First

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

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

findByGroupId_Last

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

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

fetchByGroupId_Last

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

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

findByGroupId_PrevAndNext

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

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

filterFindByGroupId

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

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

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByGroupId_PrevAndNext

DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId,
                                              long groupId,
                                              OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     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 = ?.

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

findByCompanyId

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

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

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByCompanyId_First

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

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

fetchByCompanyId_First

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

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

findByCompanyId_Last

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

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

fetchByCompanyId_Last

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

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

findByCompanyId_PrevAndNext

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

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

findByMimeType

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

Parameters:
mimeType - the mime type
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByMimeType

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByMimeType

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByMimeType_First

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

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

fetchByMimeType_First

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

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

findByMimeType_Last

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

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

fetchByMimeType_Last

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

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

findByMimeType_PrevAndNext

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

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

findByF_N

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

Parameters:
folderId - the folder ID
name - the name
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByF_N

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByF_N

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByF_N_First

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

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

fetchByF_N_First

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

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

findByF_N_Last

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

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

fetchByF_N_Last

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

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

findByF_N_PrevAndNext

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

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

findByG_U

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

Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_U_First

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

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

fetchByG_U_First

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

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

findByG_U_Last

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

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

fetchByG_U_Last

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

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

findByG_U_PrevAndNext

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

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

filterFindByG_U

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

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

filterFindByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_U_PrevAndNext

DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId,
                                          long groupId,
                                          long userId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 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 = ?.

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

findByG_F

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

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

findByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F_First

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

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

fetchByG_F_First

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

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

findByG_F_Last

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

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

fetchByG_F_Last

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

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

findByG_F_PrevAndNext

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

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

findByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching document library file entries
Throws:
SystemException - if a system exception occurred

findByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F

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

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

filterFindByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F_PrevAndNext

DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId,
                                          long groupId,
                                          long folderId,
                                          OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 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 = ?.

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

filterFindByG_F

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

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

filterFindByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_U_F

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

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

findByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_U_F_First

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

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

fetchByG_U_F_First

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

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

findByG_U_F_Last

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

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

fetchByG_U_F_Last

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

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

findByG_U_F_PrevAndNext

DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId,
                                      long groupId,
                                      long userId,
                                      long folderId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             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 = ?.

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

findByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_U_F

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

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

filterFindByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_U_F_PrevAndNext

DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId,
                                            long groupId,
                                            long userId,
                                            long folderId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   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 = ?.

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

filterFindByG_U_F

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

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

filterFindByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_U_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F_N

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

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

fetchByG_F_N

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

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

fetchByG_F_N

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

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

findByG_F_T

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

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

fetchByG_F_T

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

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

fetchByG_F_T

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

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

findByG_F_F

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

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

findByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F_F_First

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

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

fetchByG_F_F_First

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

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

findByG_F_F_Last

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

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

fetchByG_F_F_Last

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

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

findByG_F_F_PrevAndNext

DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId,
                                      long groupId,
                                      long folderId,
                                      long fileEntryTypeId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             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 = ?.

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

findByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F_F

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

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

filterFindByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F_F_PrevAndNext

DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId,
                                            long groupId,
                                            long folderId,
                                            long fileEntryTypeId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   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 = ?.

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

filterFindByG_F_F

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

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

filterFindByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_F_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findAll

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

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

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

removeByUuid

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

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

removeByUUID_G

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

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

removeByGroupId

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

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

removeByCompanyId

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

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

removeByMimeType

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

Parameters:
mimeType - the mime type
Throws:
SystemException - if a system exception occurred

removeByF_N

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

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

removeByG_U

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

Parameters:
groupId - the group ID
userId - the user ID
Throws:
SystemException - if a system exception occurred

removeByG_F

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

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

removeByG_U_F

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

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

removeByG_F_N

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

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

removeByG_F_T

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

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

removeByG_F_F

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

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

removeAll

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

Throws:
SystemException - if a system exception occurred

countByUuid

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

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

countByUUID_G

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

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

countByGroupId

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

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

filterCountByGroupId

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

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

countByCompanyId

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

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

countByMimeType

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

Parameters:
mimeType - the mime type
Returns:
the number of matching document library file entries
Throws:
SystemException - if a system exception occurred

countByF_N

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

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

countByG_U

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

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

filterCountByG_U

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

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

countByG_F

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

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

countByG_F

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

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

filterCountByG_F

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

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

filterCountByG_F

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

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

countByG_U_F

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

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

countByG_U_F

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

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

filterCountByG_U_F

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

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

filterCountByG_U_F

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

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

countByG_F_N

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

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

countByG_F_T

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

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

countByG_F_F

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

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

countByG_F_F

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

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

filterCountByG_F_F

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

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

filterCountByG_F_F

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

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

countAll

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

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

Liferay 6.1.2-ce-ga3