|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryUtil
public class DLFileEntryUtil
The persistence utility for the document library file entry service. This utility wraps DLFileEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DLFileEntryPersistence
,
DLFileEntryPersistenceImpl
Constructor Summary | |
---|---|
DLFileEntryUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(DLFileEntry dlFileEntry)
Caches the document library file entry in the entity cache if it is enabled. |
static void |
cacheResult(List<DLFileEntry> dlFileEntries)
Caches the document library file entries in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(DLFileEntry dlFileEntry)
|
static int |
countAll()
Returns the number of document library file entries. |
static int |
countByCompanyId(long companyId)
Returns the number of document library file entries where companyId = ?. |
static int |
countByF_N(long folderId,
String name)
Returns the number of document library file entries where folderId = ? and name = ?. |
static 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 = ?. |
static int |
countByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
static int |
countByG_F_N(long groupId,
long folderId,
String name)
Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?. |
static int |
countByG_F_T(long groupId,
long folderId,
String title)
Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?. |
static int |
countByG_F(long groupId,
long folderId)
Returns the number of document library file entries where groupId = ? and folderId = ?. |
static int |
countByG_F(long groupId,
long[] folderIds)
Returns the number of document library file entries where groupId = ? and folderId = any ?. |
static int |
countByG_U_F(long groupId,
long userId,
long folderId)
Returns the number of document library file entries where groupId = ? and userId = ? and folderId = ?. |
static 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 ?. |
static int |
countByG_U(long groupId,
long userId)
Returns the number of document library file entries where groupId = ? and userId = ?. |
static int |
countByGroupId(long groupId)
Returns the number of document library file entries where groupId = ?. |
static int |
countByMimeType(String mimeType)
Returns the number of document library file entries where mimeType = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file entries where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Returns the number of document library file entries where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static DLFileEntry |
create(long fileEntryId)
Creates a new document library file entry with the primary key. |
static DLFileEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where companyId = ?. |
static DLFileEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where companyId = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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. |
static 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. |
static 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. |
static 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. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static DLFileEntry |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ?. |
static DLFileEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ?. |
static DLFileEntry |
fetchByMimeType_First(String mimeType,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where mimeType = ?. |
static DLFileEntry |
fetchByMimeType_Last(String mimeType,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where mimeType = ?. |
static DLFileEntry |
fetchByPrimaryKey(long fileEntryId)
Returns the document library file entry with the primary key or returns null if it could not be found. |
static DLFileEntry |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where uuid = ?. |
static 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. |
static 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. |
static DLFileEntry |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where uuid = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 ?. |
static 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 = ?. |
static 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 ?. |
static 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 = ?. |
static int |
filterCountByGroupId(long groupId)
Returns the number of document library file entries that the user has permission to view where groupId = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 ?. |
static 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 ?. |
static 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 ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 ?. |
static 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 ?. |
static 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 ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<DLFileEntry> |
filterFindByGroupId(long groupId)
Returns all the document library file entries that the user has permission to view where groupId = ?. |
static 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 = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findAll()
Returns all the document library file entries. |
static List<DLFileEntry> |
findAll(int start,
int end)
Returns a range of all the document library file entries. |
static List<DLFileEntry> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries. |
static DLFileEntry |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where companyId = ?. |
static DLFileEntry |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where companyId = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByCompanyId(long companyId)
Returns all the document library file entries where companyId = ?. |
static List<DLFileEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the document library file entries where companyId = ?. |
static List<DLFileEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where companyId = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByF_N(long folderId,
String name)
Returns all the document library file entries where folderId = ? and name = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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. |
static 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 = ?. |
static 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. |
static List<DLFileEntry> |
findByG_F(long groupId,
long folderId)
Returns all the document library file entries where groupId = ? and folderId = ?. |
static List<DLFileEntry> |
findByG_F(long groupId,
long[] folderIds)
Returns all the document library file entries where groupId = ? and folderId = any ?. |
static 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 ?. |
static 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 ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByG_U_F(long groupId,
long userId,
long folderId)
Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?. |
static 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 ?. |
static 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 ?. |
static 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 ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByG_U(long groupId,
long userId)
Returns all the document library file entries where groupId = ? and userId = ?. |
static 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 = ?. |
static 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 = ?. |
static DLFileEntry |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ?. |
static DLFileEntry |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByGroupId(long groupId)
Returns all the document library file entries where groupId = ?. |
static List<DLFileEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entries where groupId = ?. |
static List<DLFileEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ?. |
static DLFileEntry |
findByMimeType_First(String mimeType,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where mimeType = ?. |
static DLFileEntry |
findByMimeType_Last(String mimeType,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where mimeType = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByMimeType(String mimeType)
Returns all the document library file entries where mimeType = ?. |
static List<DLFileEntry> |
findByMimeType(String mimeType,
int start,
int end)
Returns a range of all the document library file entries where mimeType = ?. |
static List<DLFileEntry> |
findByMimeType(String mimeType,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where mimeType = ?. |
static DLFileEntry |
findByPrimaryKey(long fileEntryId)
Returns the document library file entry with the primary key or throws a NoSuchFileEntryException if it could not be found. |
static DLFileEntry |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where uuid = ?. |
static 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. |
static DLFileEntry |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where uuid = ?. |
static 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 = ?. |
static List<DLFileEntry> |
findByUuid(String uuid)
Returns all the document library file entries where uuid = ?. |
static List<DLFileEntry> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file entries where uuid = ?. |
static List<DLFileEntry> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where uuid = ?. |
static List<DLFileEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<DLFileEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<DLFileEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static DLFileEntryPersistence |
getPersistence()
|
static DLFileEntry |
remove(long fileEntryId)
Removes the document library file entry with the primary key from the database. |
static void |
removeAll()
Removes all the document library file entries from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the document library file entries where companyId = ? from the database. |
static void |
removeByF_N(long folderId,
String name)
Removes all the document library file entries where folderId = ? and name = ? from the database. |
static 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. |
static 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. |
static 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. |
static void |
removeByG_F(long groupId,
long folderId)
Removes all the document library file entries where groupId = ? and folderId = ? from the database. |
static 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. |
static void |
removeByG_U(long groupId,
long userId)
Removes all the document library file entries where groupId = ? and userId = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the document library file entries where groupId = ? from the database. |
static void |
removeByMimeType(String mimeType)
Removes all the document library file entries where mimeType = ? from the database. |
static DLFileEntry |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file entry where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the document library file entries where uuid = ? from the database. |
void |
setPersistence(DLFileEntryPersistence persistence)
Deprecated. |
static DLFileEntry |
update(DLFileEntry dlFileEntry,
boolean merge)
|
static DLFileEntry |
update(DLFileEntry dlFileEntry,
boolean merge,
ServiceContext serviceContext)
|
static DLFileEntry |
updateImpl(DLFileEntry dlFileEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DLFileEntryUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DLFileEntry dlFileEntry)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<DLFileEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static DLFileEntry update(DLFileEntry dlFileEntry, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(DLFileEntry dlFileEntry)
dlFileEntry
- the document library file entrypublic static void cacheResult(List<DLFileEntry> dlFileEntries)
dlFileEntries
- the document library file entriespublic static DLFileEntry create(long fileEntryId)
fileEntryId
- the primary key for the new document library file entry
public static DLFileEntry remove(long fileEntryId) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the document library file entry
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry updateImpl(DLFileEntry dlFileEntry, boolean merge) throws SystemException
SystemException
public static DLFileEntry findByPrimaryKey(long fileEntryId) throws SystemException, NoSuchFileEntryException
NoSuchFileEntryException
if it could not be found.
fileEntryId
- the primary key of the document library file entry
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByPrimaryKey(long fileEntryId) throws SystemException
null
if it could not be found.
fileEntryId
- the primary key of the document library file entry
null
if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByUuid(String uuid, int start, int end) throws SystemException
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.
uuid
- the uuidstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
uuid
- the uuidstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileEntryException
NoSuchFileEntryException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByGroupId(long groupId, int start, int end) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByCompanyId(long companyId, int start, int end) throws SystemException
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.
companyId
- the company IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
companyId
- the company IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByMimeType(String mimeType) throws SystemException
mimeType
- the mime type
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByMimeType(String mimeType, int start, int end) throws SystemException
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.
mimeType
- the mime typestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByMimeType(String mimeType, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
mimeType
- the mime typestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByMimeType_First(String mimeType, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByMimeType_First(String mimeType, OrderByComparator orderByComparator) throws SystemException
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByMimeType_Last(String mimeType, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByMimeType_Last(String mimeType, OrderByComparator orderByComparator) throws SystemException
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId, String mimeType, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrymimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByF_N(long folderId, String name) throws SystemException
folderId
- the folder IDname
- the name
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByF_N(long folderId, String name, int start, int end) throws SystemException
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.
folderId
- the folder IDname
- the namestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByF_N(long folderId, String name, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
folderId
- the folder IDname
- the namestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByF_N_First(long folderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByF_N_First(long folderId, String name, OrderByComparator orderByComparator) throws SystemException
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByF_N_Last(long folderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByF_N_Last(long folderId, String name, OrderByComparator orderByComparator) throws SystemException
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId, long folderId, String name, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entryfolderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_U_First(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F(long groupId, long[] folderIds) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds) throws SystemException
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId) throws SystemException
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_U_F_First(long groupId, long userId, long folderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_U_F_Last(long groupId, long userId, long folderId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId) throws SystemException
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds) throws SystemException
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_F_N(long groupId, long folderId, String name) throws SystemException, NoSuchFileEntryException
NoSuchFileEntryException
if it could not be found.
groupId
- the group IDfolderId
- the folder IDname
- the name
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_N(long groupId, long folderId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDfolderId
- the folder IDname
- the name
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_N(long groupId, long folderId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDfolderId
- the folder IDname
- the nameretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_F_T(long groupId, long folderId, String title) throws SystemException, NoSuchFileEntryException
NoSuchFileEntryException
if it could not be found.
groupId
- the group IDfolderId
- the folder IDtitle
- the title
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_T(long groupId, long folderId, String title) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDfolderId
- the folder IDtitle
- the title
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_T(long groupId, long folderId, String title, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDfolderId
- the folder IDtitle
- the titleretrieveFromCache
- whether to use the finder cache
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry findByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry fetchByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching document library file entry could not be found
SystemException
- if a system exception occurredpublic static DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, OrderByComparator orderByComparator) throws SystemException, NoSuchFileEntryException
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findAll(int start, int end) throws SystemException
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.
start
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)
SystemException
- if a system exception occurredpublic static List<DLFileEntry> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static DLFileEntry removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchFileEntryException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchFileEntryException
public static void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static void removeByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static void removeByMimeType(String mimeType) throws SystemException
mimeType
- the mime type
SystemException
- if a system exception occurredpublic static void removeByF_N(long folderId, String name) throws SystemException
folderId
- the folder IDname
- the name
SystemException
- if a system exception occurredpublic static void removeByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredpublic static void removeByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static void removeByG_U_F(long groupId, long userId, long folderId) throws SystemException
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static DLFileEntry removeByG_F_N(long groupId, long folderId, String name) throws SystemException, NoSuchFileEntryException
groupId
- the group IDfolderId
- the folder IDname
- the name
SystemException
- if a system exception occurred
NoSuchFileEntryException
public static DLFileEntry removeByG_F_T(long groupId, long folderId, String title) throws SystemException, NoSuchFileEntryException
groupId
- the group IDfolderId
- the folder IDtitle
- the title
SystemException
- if a system exception occurred
NoSuchFileEntryException
public static void removeByG_F_F(long groupId, long folderId, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static int countByMimeType(String mimeType) throws SystemException
mimeType
- the mime type
SystemException
- if a system exception occurredpublic static int countByF_N(long folderId, String name) throws SystemException
folderId
- the folder IDname
- the name
SystemException
- if a system exception occurredpublic static int countByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredpublic static int filterCountByG_U(long groupId, long userId) throws SystemException
groupId
- the group IDuserId
- the user ID
SystemException
- if a system exception occurredpublic static int countByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static int countByG_F(long groupId, long[] folderIds) throws SystemException
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static int filterCountByG_F(long groupId, long folderId) throws SystemException
groupId
- the group IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static int filterCountByG_F(long groupId, long[] folderIds) throws SystemException
groupId
- the group IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static int countByG_U_F(long groupId, long userId, long folderId) throws SystemException
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static int countByG_U_F(long groupId, long userId, long[] folderIds) throws SystemException
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static int filterCountByG_U_F(long groupId, long userId, long folderId) throws SystemException
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID
SystemException
- if a system exception occurredpublic static int filterCountByG_U_F(long groupId, long userId, long[] folderIds) throws SystemException
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs
SystemException
- if a system exception occurredpublic static int countByG_F_N(long groupId, long folderId, String name) throws SystemException
groupId
- the group IDfolderId
- the folder IDname
- the name
SystemException
- if a system exception occurredpublic static int countByG_F_T(long groupId, long folderId, String title) throws SystemException
groupId
- the group IDfolderId
- the folder IDtitle
- the title
SystemException
- if a system exception occurredpublic static int countByG_F_F(long groupId, long folderId, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static int countByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static int filterCountByG_F_F(long groupId, long folderId, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static int filterCountByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) throws SystemException
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static DLFileEntryPersistence getPersistence()
public void setPersistence(DLFileEntryPersistence persistence)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |