|
Liferay 6.2.0-ce-b2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<DLFileEntry>
com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistenceImpl
public class DLFileEntryPersistenceImpl
The persistence implementation for the document library file entry service.
Caching information and settings can be found in portal.properties
DLFileEntryPersistence,
DLFileEntryUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
DLFileEntryPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the document library file entry persistence. |
void |
cacheResult(DLFileEntry dlFileEntry)
Caches the document library file entry in the entity cache if it is enabled. |
void |
cacheResult(List<DLFileEntry> dlFileEntries)
Caches the document library file entries in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(DLFileEntry dlFileEntry)
|
void |
clearCache()
Clears the cache for all document library file entries. |
void |
clearCache(DLFileEntry dlFileEntry)
Clears the cache for the document library file entry. |
void |
clearCache(List<DLFileEntry> dlFileEntries)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DLFileEntry dlFileEntry)
|
int |
countAll()
Returns the number of document library file entries. |
int |
countByCompanyId(long companyId)
Returns the number of document library file entries where companyId = ?. |
int |
countByF_N(long folderId,
String name)
Returns the number of document library file entries where folderId = ? and name = ?. |
int |
countByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId)
Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
int |
countByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
int |
countByG_F_N(long groupId,
long folderId,
String name)
Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?. |
int |
countByG_F_T(long groupId,
long folderId,
String title)
Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?. |
int |
countByG_F(long groupId,
long folderId)
Returns the number of document library file entries where groupId = ? and folderId = ?. |
int |
countByG_F(long groupId,
long[] folderIds)
Returns the number of document library file entries where groupId = ? and folderId = any ?. |
int |
countByG_U_F(long groupId,
long userId,
long folderId)
Returns the number of document library file entries where groupId = ? and userId = ? and folderId = ?. |
int |
countByG_U_F(long groupId,
long userId,
long[] folderIds)
Returns the number of document library file entries where groupId = ? and userId = ? and folderId = any ?. |
int |
countByG_U(long groupId,
long userId)
Returns the number of document library file entries where groupId = ? and userId = ?. |
int |
countByGroupId(long groupId)
Returns the number of document library file entries where groupId = ?. |
int |
countByMimeType(String mimeType)
Returns the number of document library file entries where mimeType = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of document library file entries where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of document library file entries where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of document library file entries where uuid = ?. |
DLFileEntry |
create(long fileEntryId)
Creates a new document library file entry with the primary key. |
void |
destroy()
|
DLFileEntry |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where companyId = ?. |
DLFileEntry |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where companyId = ?. |
DLFileEntry |
fetchByF_N_First(long folderId,
String name,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where folderId = ? and name = ?. |
DLFileEntry |
fetchByF_N_Last(long folderId,
String name,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where folderId = ? and name = ?. |
DLFileEntry |
fetchByG_F_F_First(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
DLFileEntry |
fetchByG_F_F_Last(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
DLFileEntry |
fetchByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?. |
DLFileEntry |
fetchByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?. |
DLFileEntry |
fetchByG_F_N(long groupId,
long folderId,
String name)
Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found. |
DLFileEntry |
fetchByG_F_N(long groupId,
long folderId,
String name,
boolean retrieveFromCache)
Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntry |
fetchByG_F_T(long groupId,
long folderId,
String title)
Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found. |
DLFileEntry |
fetchByG_F_T(long groupId,
long folderId,
String title,
boolean retrieveFromCache)
Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntry |
fetchByG_U_F_First(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. |
DLFileEntry |
fetchByG_U_F_Last(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. |
DLFileEntry |
fetchByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and userId = ?. |
DLFileEntry |
fetchByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and userId = ?. |
DLFileEntry |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ?. |
DLFileEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ?. |
DLFileEntry |
fetchByMimeType_First(String mimeType,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where mimeType = ?. |
DLFileEntry |
fetchByMimeType_Last(String mimeType,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where mimeType = ?. |
DLFileEntry |
fetchByPrimaryKey(long fileEntryId)
Returns the document library file entry with the primary key or returns null if it could not be found. |
DLFileEntry |
fetchByPrimaryKey(Serializable primaryKey)
Returns the document library file entry with the primary key or returns null if it could not be found. |
DLFileEntry |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?. |
DLFileEntry |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?. |
DLFileEntry |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where uuid = ?. |
DLFileEntry |
fetchByUUID_G(String uuid,
long groupId)
Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found. |
DLFileEntry |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the document library file entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
DLFileEntry |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where uuid = ?. |
int |
filterCountByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId)
Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
int |
filterCountByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
int |
filterCountByG_F(long groupId,
long folderId)
Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ?. |
int |
filterCountByG_F(long groupId,
long[] folderIds)
Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ?. |
int |
filterCountByG_U_F(long groupId,
long userId,
long folderId)
Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. |
int |
filterCountByG_U_F(long groupId,
long userId,
long[] folderIds)
Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. |
int |
filterCountByG_U(long groupId,
long userId)
Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of document library file entries that the user has permission to view where groupId = ?. |
DLFileEntry[] |
filterFindByG_F_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
filterFindByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId)
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
filterFindByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
filterFindByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
filterFindByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
filterFindByG_F_F(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
filterFindByG_F_F(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
DLFileEntry[] |
filterFindByG_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?. |
List<DLFileEntry> |
filterFindByG_F(long groupId,
long folderId)
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ?. |
List<DLFileEntry> |
filterFindByG_F(long groupId,
long[] folderIds)
Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?. |
List<DLFileEntry> |
filterFindByG_F(long groupId,
long[] folderIds,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?. |
List<DLFileEntry> |
filterFindByG_F(long groupId,
long[] folderIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?. |
List<DLFileEntry> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ?. |
List<DLFileEntry> |
filterFindByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ?. |
DLFileEntry[] |
filterFindByG_U_F_PrevAndNext(long fileEntryId,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. |
List<DLFileEntry> |
filterFindByG_U_F(long groupId,
long userId,
long folderId)
Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. |
List<DLFileEntry> |
filterFindByG_U_F(long groupId,
long userId,
long[] folderIds)
Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. |
List<DLFileEntry> |
filterFindByG_U_F(long groupId,
long userId,
long[] folderIds,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. |
List<DLFileEntry> |
filterFindByG_U_F(long groupId,
long userId,
long[] folderIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?. |
List<DLFileEntry> |
filterFindByG_U_F(long groupId,
long userId,
long folderId,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?. |
List<DLFileEntry> |
filterFindByG_U_F(long groupId,
long userId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ?. |
DLFileEntry[] |
filterFindByG_U_PrevAndNext(long fileEntryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?. |
List<DLFileEntry> |
filterFindByG_U(long groupId,
long userId)
Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ?. |
List<DLFileEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ?. |
List<DLFileEntry> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?. |
DLFileEntry[] |
filterFindByGroupId_PrevAndNext(long fileEntryId,
long groupId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?. |
List<DLFileEntry> |
filterFindByGroupId(long groupId)
Returns all the document library file entries that the user has permission to view where groupId = ?. |
List<DLFileEntry> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entries that the user has permission to view where groupId = ?. |
List<DLFileEntry> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?. |
protected DLFileEntry |
filterGetByG_F_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
filterGetByG_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
filterGetByG_U_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
filterGetByG_U_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
filterGetByGroupId_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<DLFileEntry> |
findAll()
Returns all the document library file entries. |
List<DLFileEntry> |
findAll(int start,
int end)
Returns a range of all the document library file entries. |
List<DLFileEntry> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries. |
DLFileEntry |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where companyId = ?. |
DLFileEntry |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where companyId = ?. |
DLFileEntry[] |
findByCompanyId_PrevAndNext(long fileEntryId,
long companyId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?. |
List<DLFileEntry> |
findByCompanyId(long companyId)
Returns all the document library file entries where companyId = ?. |
List<DLFileEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the document library file entries where companyId = ?. |
List<DLFileEntry> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where companyId = ?. |
DLFileEntry |
findByF_N_First(long folderId,
String name,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where folderId = ? and name = ?. |
DLFileEntry |
findByF_N_Last(long folderId,
String name,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where folderId = ? and name = ?. |
DLFileEntry[] |
findByF_N_PrevAndNext(long fileEntryId,
long folderId,
String name,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?. |
List<DLFileEntry> |
findByF_N(long folderId,
String name)
Returns all the document library file entries where folderId = ? and name = ?. |
List<DLFileEntry> |
findByF_N(long folderId,
String name,
int start,
int end)
Returns a range of all the document library file entries where folderId = ? and name = ?. |
List<DLFileEntry> |
findByF_N(long folderId,
String name,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where folderId = ? and name = ?. |
DLFileEntry |
findByG_F_F_First(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
DLFileEntry |
findByG_F_F_Last(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
DLFileEntry[] |
findByG_F_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
findByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId)
Returns all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
findByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId,
int start,
int end)
Returns a range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
findByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
findByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
findByG_F_F(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end)
Returns a range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
List<DLFileEntry> |
findByG_F_F(long groupId,
long folderId,
long fileEntryTypeId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?. |
DLFileEntry |
findByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?. |
DLFileEntry |
findByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?. |
DLFileEntry |
findByG_F_N(long groupId,
long folderId,
String name)
Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws a NoSuchFileEntryException if it could not be found. |
DLFileEntry[] |
findByG_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?. |
DLFileEntry |
findByG_F_T(long groupId,
long folderId,
String title)
Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws a NoSuchFileEntryException if it could not be found. |
List<DLFileEntry> |
findByG_F(long groupId,
long folderId)
Returns all the document library file entries where groupId = ? and folderId = ?. |
List<DLFileEntry> |
findByG_F(long groupId,
long[] folderIds)
Returns all the document library file entries where groupId = ? and folderId = any ?. |
List<DLFileEntry> |
findByG_F(long groupId,
long[] folderIds,
int start,
int end)
Returns a range of all the document library file entries where groupId = ? and folderId = any ?. |
List<DLFileEntry> |
findByG_F(long groupId,
long[] folderIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ?. |
List<DLFileEntry> |
findByG_F(long groupId,
long folderId,
int start,
int end)
Returns a range of all the document library file entries where groupId = ? and folderId = ?. |
List<DLFileEntry> |
findByG_F(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?. |
DLFileEntry |
findByG_U_F_First(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. |
DLFileEntry |
findByG_U_F_Last(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. |
DLFileEntry[] |
findByG_U_F_PrevAndNext(long fileEntryId,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?. |
List<DLFileEntry> |
findByG_U_F(long groupId,
long userId,
long folderId)
Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?. |
List<DLFileEntry> |
findByG_U_F(long groupId,
long userId,
long[] folderIds)
Returns all the document library file entries where groupId = ? and userId = ? and folderId = any ?. |
List<DLFileEntry> |
findByG_U_F(long groupId,
long userId,
long[] folderIds,
int start,
int end)
Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?. |
List<DLFileEntry> |
findByG_U_F(long groupId,
long userId,
long[] folderIds,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?. |
List<DLFileEntry> |
findByG_U_F(long groupId,
long userId,
long folderId,
int start,
int end)
Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = ?. |
List<DLFileEntry> |
findByG_U_F(long groupId,
long userId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?. |
DLFileEntry |
findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ? and userId = ?. |
DLFileEntry |
findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ? and userId = ?. |
DLFileEntry[] |
findByG_U_PrevAndNext(long fileEntryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?. |
List<DLFileEntry> |
findByG_U(long groupId,
long userId)
Returns all the document library file entries where groupId = ? and userId = ?. |
List<DLFileEntry> |
findByG_U(long groupId,
long userId,
int start,
int end)
Returns a range of all the document library file entries where groupId = ? and userId = ?. |
List<DLFileEntry> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ? and userId = ?. |
DLFileEntry |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where groupId = ?. |
DLFileEntry |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where groupId = ?. |
DLFileEntry[] |
findByGroupId_PrevAndNext(long fileEntryId,
long groupId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?. |
List<DLFileEntry> |
findByGroupId(long groupId)
Returns all the document library file entries where groupId = ?. |
List<DLFileEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the document library file entries where groupId = ?. |
List<DLFileEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where groupId = ?. |
DLFileEntry |
findByMimeType_First(String mimeType,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where mimeType = ?. |
DLFileEntry |
findByMimeType_Last(String mimeType,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where mimeType = ?. |
DLFileEntry[] |
findByMimeType_PrevAndNext(long fileEntryId,
String mimeType,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?. |
List<DLFileEntry> |
findByMimeType(String mimeType)
Returns all the document library file entries where mimeType = ?. |
List<DLFileEntry> |
findByMimeType(String mimeType,
int start,
int end)
Returns a range of all the document library file entries where mimeType = ?. |
List<DLFileEntry> |
findByMimeType(String mimeType,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where mimeType = ?. |
DLFileEntry |
findByPrimaryKey(long fileEntryId)
Returns the document library file entry with the primary key or throws a NoSuchFileEntryException if it could not be found. |
DLFileEntry |
findByPrimaryKey(Serializable primaryKey)
Returns the document library file entry with the primary key or throws a NoSuchModelException if it could not be found. |
DLFileEntry |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?. |
DLFileEntry |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?. |
DLFileEntry[] |
findByUuid_C_PrevAndNext(long fileEntryId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ? and companyId = ?. |
List<DLFileEntry> |
findByUuid_C(String uuid,
long companyId)
Returns all the document library file entries where uuid = ? and companyId = ?. |
List<DLFileEntry> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the document library file entries where uuid = ? and companyId = ?. |
List<DLFileEntry> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?. |
DLFileEntry |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first document library file entry in the ordered set where uuid = ?. |
DLFileEntry |
findByUUID_G(String uuid,
long groupId)
Returns the document library file entry where uuid = ? and groupId = ? or throws a NoSuchFileEntryException if it could not be found. |
DLFileEntry |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last document library file entry in the ordered set where uuid = ?. |
DLFileEntry[] |
findByUuid_PrevAndNext(long fileEntryId,
String uuid,
OrderByComparator orderByComparator)
Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?. |
List<DLFileEntry> |
findByUuid(String uuid)
Returns all the document library file entries where uuid = ?. |
List<DLFileEntry> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the document library file entries where uuid = ?. |
List<DLFileEntry> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the document library file entries where uuid = ?. |
protected Set<String> |
getBadColumnNames()
|
protected DLFileEntry |
getByCompanyId_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByF_N_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long folderId,
String name,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByG_F_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByG_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByG_U_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByG_U_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByGroupId_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByMimeType_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
String mimeType,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByUuid_C_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DLFileEntry |
getByUuid_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
DLFileEntry |
remove(long fileEntryId)
Removes the document library file entry with the primary key from the database. |
DLFileEntry |
remove(Serializable primaryKey)
Removes the document library file entry with the primary key from the database. |
void |
removeAll()
Removes all the document library file entries from the database. |
void |
removeByCompanyId(long companyId)
Removes all the document library file entries where companyId = ? from the database. |
void |
removeByF_N(long folderId,
String name)
Removes all the document library file entries where folderId = ? and name = ? from the database. |
void |
removeByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
Removes all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ? from the database. |
DLFileEntry |
removeByG_F_N(long groupId,
long folderId,
String name)
Removes the document library file entry where groupId = ? and folderId = ? and name = ? from the database. |
DLFileEntry |
removeByG_F_T(long groupId,
long folderId,
String title)
Removes the document library file entry where groupId = ? and folderId = ? and title = ? from the database. |
void |
removeByG_F(long groupId,
long folderId)
Removes all the document library file entries where groupId = ? and folderId = ? from the database. |
void |
removeByG_U_F(long groupId,
long userId,
long folderId)
Removes all the document library file entries where groupId = ? and userId = ? and folderId = ? from the database. |
void |
removeByG_U(long groupId,
long userId)
Removes all the document library file entries where groupId = ? and userId = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the document library file entries where groupId = ? from the database. |
void |
removeByMimeType(String mimeType)
Removes all the document library file entries where mimeType = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the document library file entries where uuid = ? and companyId = ? from the database. |
DLFileEntry |
removeByUUID_G(String uuid,
long groupId)
Removes the document library file entry where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the document library file entries where uuid = ? from the database. |
protected DLFileEntry |
removeImpl(DLFileEntry dlFileEntry)
Removes the model instance from the database. |
protected DLFileEntry |
toUnwrappedModel(DLFileEntry dlFileEntry)
|
DLFileEntry |
updateImpl(DLFileEntry dlFileEntry)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_MIMETYPE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_MIMETYPE
public static final FinderPath FINDER_PATH_COUNT_BY_MIMETYPE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_F_N
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_F_N
public static final FinderPath FINDER_PATH_COUNT_BY_F_N
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
public static final FinderPath FINDER_PATH_COUNT_BY_G_U
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_F
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_F
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_U_F
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_U_F
public static final FinderPath FINDER_PATH_FETCH_BY_G_F_N
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_N
public static final FinderPath FINDER_PATH_FETCH_BY_G_F_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_T
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_F
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_F_F
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F_F
| Constructor Detail |
|---|
public DLFileEntryPersistenceImpl()
| Method Detail |
|---|
public List<DLFileEntry> findByUuid(String uuid)
throws SystemException
findByUuid in interface DLFileEntryPersistenceuuid - the uuid
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileEntryPersistenceuuid - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface DLFileEntryPersistenceuuid - 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 occurred
public DLFileEntry findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByUuid_First in interface DLFileEntryPersistenceuuid - 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 occurred
public DLFileEntry fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_First in interface DLFileEntryPersistenceuuid - 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 occurred
public DLFileEntry findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByUuid_Last in interface DLFileEntryPersistenceuuid - 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 occurred
public DLFileEntry fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_Last in interface DLFileEntryPersistenceuuid - 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 occurred
public DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByUuid_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByUuid_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface DLFileEntryPersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface DLFileEntryPersistenceuuid - the uuid
SystemException - if a system exception occurred
public DLFileEntry findByUUID_G(String uuid,
long groupId)
throws NoSuchFileEntryException,
SystemException
NoSuchFileEntryException if it could not be found.
findByUUID_G in interface DLFileEntryPersistenceuuid - the uuidgroupId - the group ID
NoSuchFileEntryException - if a matching document library file entry could not be found
SystemException - if a system exception occurred
public DLFileEntry fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface DLFileEntryPersistenceuuid - the uuidgroupId - the group ID
null if a matching document library file entry could not be found
SystemException - if a system exception occurred
public DLFileEntry fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface DLFileEntryPersistenceuuid - 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 occurred
public DLFileEntry removeByUUID_G(String uuid,
long groupId)
throws NoSuchFileEntryException,
SystemException
removeByUUID_G in interface DLFileEntryPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchFileEntryException
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface DLFileEntryPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public List<DLFileEntry> findByUuid_C(String uuid,
long companyId)
throws SystemException
findByUuid_C in interface DLFileEntryPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<DLFileEntry> findByUuid_C(String uuid,
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileEntryPersistenceuuid - the uuidcompanyId - 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 occurred
public List<DLFileEntry> findByUuid_C(String uuid,
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface DLFileEntryPersistenceuuid - the uuidcompanyId - 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 occurred
public DLFileEntry findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByUuid_C_First in interface DLFileEntryPersistenceuuid - the uuidcompanyId - 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 occurred
public DLFileEntry fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_First in interface DLFileEntryPersistenceuuid - the uuidcompanyId - 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 occurred
public DLFileEntry findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByUuid_C_Last in interface DLFileEntryPersistenceuuid - the uuidcompanyId - 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 occurred
public DLFileEntry fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_Last in interface DLFileEntryPersistenceuuid - the uuidcompanyId - 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 occurred
public DLFileEntry[] findByUuid_C_PrevAndNext(long fileEntryId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByUuid_C_PrevAndNext in interface DLFileEntryPersistencefileEntryId - the primary key of the current document library file entryuuid - the uuidcompanyId - 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 occurred
protected DLFileEntry getByUuid_C_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
throws SystemException
removeByUuid_C in interface DLFileEntryPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public int countByUuid_C(String uuid,
long companyId)
throws SystemException
countByUuid_C in interface DLFileEntryPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<DLFileEntry> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface DLFileEntryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByGroupId_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByGroupId_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByGroupId_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByGroupId_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface DLFileEntryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
filterFindByGroupId_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry filterGetByGroupId_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface DLFileEntryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface DLFileEntryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface DLFileEntryPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<DLFileEntry> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface DLFileEntryPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface DLFileEntryPersistencecompanyId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface DLFileEntryPersistencecompanyId - 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 occurred
public DLFileEntry findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByCompanyId_First in interface DLFileEntryPersistencecompanyId - 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 occurred
public DLFileEntry fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_First in interface DLFileEntryPersistencecompanyId - 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 occurred
public DLFileEntry findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByCompanyId_Last in interface DLFileEntryPersistencecompanyId - 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 occurred
public DLFileEntry fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_Last in interface DLFileEntryPersistencecompanyId - 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 occurred
public DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByCompanyId_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByCompanyId_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface DLFileEntryPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface DLFileEntryPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public List<DLFileEntry> findByMimeType(String mimeType)
throws SystemException
findByMimeType in interface DLFileEntryPersistencemimeType - the mime type
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByMimeType in interface DLFileEntryPersistencemimeType - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByMimeType in interface DLFileEntryPersistencemimeType - 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 occurred
public DLFileEntry findByMimeType_First(String mimeType,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByMimeType_First in interface DLFileEntryPersistencemimeType - 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 occurred
public DLFileEntry fetchByMimeType_First(String mimeType,
OrderByComparator orderByComparator)
throws SystemException
fetchByMimeType_First in interface DLFileEntryPersistencemimeType - 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 occurred
public DLFileEntry findByMimeType_Last(String mimeType,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByMimeType_Last in interface DLFileEntryPersistencemimeType - 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 occurred
public DLFileEntry fetchByMimeType_Last(String mimeType,
OrderByComparator orderByComparator)
throws SystemException
fetchByMimeType_Last in interface DLFileEntryPersistencemimeType - 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 occurred
public DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId,
String mimeType,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByMimeType_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByMimeType_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
String mimeType,
OrderByComparator orderByComparator,
boolean previous)
public void removeByMimeType(String mimeType)
throws SystemException
removeByMimeType in interface DLFileEntryPersistencemimeType - the mime type
SystemException - if a system exception occurred
public int countByMimeType(String mimeType)
throws SystemException
countByMimeType in interface DLFileEntryPersistencemimeType - the mime type
SystemException - if a system exception occurred
public List<DLFileEntry> findByF_N(long folderId,
String name)
throws SystemException
findByF_N in interface DLFileEntryPersistencefolderId - the folder IDname - the name
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByF_N in interface DLFileEntryPersistencefolderId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByF_N in interface DLFileEntryPersistencefolderId - 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 occurred
public DLFileEntry findByF_N_First(long folderId,
String name,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByF_N_First in interface DLFileEntryPersistencefolderId - 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 occurred
public DLFileEntry fetchByF_N_First(long folderId,
String name,
OrderByComparator orderByComparator)
throws SystemException
fetchByF_N_First in interface DLFileEntryPersistencefolderId - 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 occurred
public DLFileEntry findByF_N_Last(long folderId,
String name,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByF_N_Last in interface DLFileEntryPersistencefolderId - 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 occurred
public DLFileEntry fetchByF_N_Last(long folderId,
String name,
OrderByComparator orderByComparator)
throws SystemException
fetchByF_N_Last in interface DLFileEntryPersistencefolderId - 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 occurred
public DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId,
long folderId,
String name,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByF_N_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByF_N_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long folderId,
String name,
OrderByComparator orderByComparator,
boolean previous)
public void removeByF_N(long folderId,
String name)
throws SystemException
removeByF_N in interface DLFileEntryPersistencefolderId - the folder IDname - the name
SystemException - if a system exception occurred
public int countByF_N(long folderId,
String name)
throws SystemException
countByF_N in interface DLFileEntryPersistencefolderId - the folder IDname - the name
SystemException - if a system exception occurred
public List<DLFileEntry> findByG_U(long groupId,
long userId)
throws SystemException
findByG_U in interface DLFileEntryPersistencegroupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_U_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_U_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_U_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_U_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_U_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByG_U_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByG_U(long groupId,
long userId)
throws SystemException
filterFindByG_U in interface DLFileEntryPersistencegroupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId,
long groupId,
long userId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
filterFindByG_U_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry filterGetByG_U_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByG_U(long groupId,
long userId)
throws SystemException
removeByG_U in interface DLFileEntryPersistencegroupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public int countByG_U(long groupId,
long userId)
throws SystemException
countByG_U in interface DLFileEntryPersistencegroupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public int filterCountByG_U(long groupId,
long userId)
throws SystemException
filterCountByG_U in interface DLFileEntryPersistencegroupId - the group IDuserId - the user ID
SystemException - if a system exception occurred
public List<DLFileEntry> findByG_F(long groupId,
long folderId)
throws SystemException
findByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_F_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_F_First(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_F_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_F_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_F_Last(long groupId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_F_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_F_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByG_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByG_F(long groupId,
long folderId)
throws SystemException
filterFindByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
filterFindByG_F_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry filterGetByG_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByG_F(long groupId,
long[] folderIds)
throws SystemException
filterFindByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F in interface DLFileEntryPersistencegroupId - 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 occurred
public void removeByG_F(long groupId,
long folderId)
throws SystemException
removeByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public int countByG_F(long groupId,
long folderId)
throws SystemException
countByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public int countByG_F(long groupId,
long[] folderIds)
throws SystemException
countByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public int filterCountByG_F(long groupId,
long folderId)
throws SystemException
filterCountByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder ID
SystemException - if a system exception occurred
public int filterCountByG_F(long groupId,
long[] folderIds)
throws SystemException
filterCountByG_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public List<DLFileEntry> findByG_U_F(long groupId,
long userId,
long folderId)
throws SystemException
findByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderId - the folder ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_U_F_First(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_U_F_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_U_F_First(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_U_F_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_U_F_Last(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_U_F_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_U_F_Last(long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_U_F_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_U_F_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByG_U_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByG_U_F(long groupId,
long userId,
long folderId)
throws SystemException
filterFindByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderId - the folder ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
filterFindByG_U_F_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry filterGetByG_U_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long userId,
long folderId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByG_U_F(long groupId,
long userId,
long[] folderIds)
throws SystemException
filterFindByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_U_F in interface DLFileEntryPersistencegroupId - 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 occurred
public void removeByG_U_F(long groupId,
long userId,
long folderId)
throws SystemException
removeByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderId - the folder ID
SystemException - if a system exception occurred
public int countByG_U_F(long groupId,
long userId,
long folderId)
throws SystemException
countByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderId - the folder ID
SystemException - if a system exception occurred
public int countByG_U_F(long groupId,
long userId,
long[] folderIds)
throws SystemException
countByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public int filterCountByG_U_F(long groupId,
long userId,
long folderId)
throws SystemException
filterCountByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderId - the folder ID
SystemException - if a system exception occurred
public int filterCountByG_U_F(long groupId,
long userId,
long[] folderIds)
throws SystemException
filterCountByG_U_F in interface DLFileEntryPersistencegroupId - the group IDuserId - the user IDfolderIds - the folder IDs
SystemException - if a system exception occurred
public DLFileEntry findByG_F_N(long groupId,
long folderId,
String name)
throws NoSuchFileEntryException,
SystemException
NoSuchFileEntryException if it could not be found.
findByG_F_N in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_F_N in interface DLFileEntryPersistencegroupId - 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 occurred
public 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.
fetchByG_F_N in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry removeByG_F_N(long groupId,
long folderId,
String name)
throws NoSuchFileEntryException,
SystemException
removeByG_F_N in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDname - the name
SystemException - if a system exception occurred
NoSuchFileEntryException
public int countByG_F_N(long groupId,
long folderId,
String name)
throws SystemException
countByG_F_N in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDname - the name
SystemException - if a system exception occurred
public DLFileEntry findByG_F_T(long groupId,
long folderId,
String title)
throws NoSuchFileEntryException,
SystemException
NoSuchFileEntryException if it could not be found.
findByG_F_T in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_F_T(long groupId,
long folderId,
String title)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_F_T in interface DLFileEntryPersistencegroupId - 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 occurred
public 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.
fetchByG_F_T in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry removeByG_F_T(long groupId,
long folderId,
String title)
throws NoSuchFileEntryException,
SystemException
removeByG_F_T in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDtitle - the title
SystemException - if a system exception occurred
NoSuchFileEntryException
public int countByG_F_T(long groupId,
long folderId,
String title)
throws SystemException
countByG_F_T in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDtitle - the title
SystemException - if a system exception occurred
public List<DLFileEntry> findByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
throws SystemException
findByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_F_F_First(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_F_F_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_F_F_First(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_F_F_First in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry findByG_F_F_Last(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_F_F_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry fetchByG_F_F_Last(long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_F_F_Last in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
findByG_F_F_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry getByG_F_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
throws SystemException
filterFindByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator)
throws NoSuchFileEntryException,
SystemException
filterFindByG_F_F_PrevAndNext in interface DLFileEntryPersistencefileEntryId - 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 occurred
protected DLFileEntry filterGetByG_F_F_PrevAndNext(Session session,
DLFileEntry dlFileEntry,
long groupId,
long folderId,
long fileEntryTypeId,
OrderByComparator orderByComparator,
boolean previous)
public List<DLFileEntry> filterFindByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId)
throws SystemException
filterFindByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDsfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDsfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_F_F in interface DLFileEntryPersistencegroupId - 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 occurred
public void removeByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
throws SystemException
removeByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public int countByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
throws SystemException
countByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public int countByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId)
throws SystemException
countByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDsfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public int filterCountByG_F_F(long groupId,
long folderId,
long fileEntryTypeId)
throws SystemException
filterCountByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderId - the folder IDfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurred
public int filterCountByG_F_F(long groupId,
long[] folderIds,
long fileEntryTypeId)
throws SystemException
filterCountByG_F_F in interface DLFileEntryPersistencegroupId - the group IDfolderIds - the folder IDsfileEntryTypeId - the file entry type ID
SystemException - if a system exception occurredpublic void cacheResult(DLFileEntry dlFileEntry)
cacheResult in interface DLFileEntryPersistencedlFileEntry - the document library file entrypublic void cacheResult(List<DLFileEntry> dlFileEntries)
cacheResult in interface DLFileEntryPersistencedlFileEntries - the document library file entriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileEntry>clearCache in class BasePersistenceImpl<DLFileEntry>public void clearCache(DLFileEntry dlFileEntry)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DLFileEntry>clearCache in class BasePersistenceImpl<DLFileEntry>dlFileEntry - the instance of this model to clear the cache forpublic void clearCache(List<DLFileEntry> dlFileEntries)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DLFileEntry>clearCache in class BasePersistenceImpl<DLFileEntry>dlFileEntries - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(DLFileEntry dlFileEntry)
protected void clearUniqueFindersCache(DLFileEntry dlFileEntry)
public DLFileEntry create(long fileEntryId)
create in interface DLFileEntryPersistencefileEntryId - the primary key for the new document library file entry
public DLFileEntry remove(long fileEntryId)
throws NoSuchFileEntryException,
SystemException
remove in interface DLFileEntryPersistencefileEntryId - 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 occurred
public DLFileEntry remove(Serializable primaryKey)
throws NoSuchFileEntryException,
SystemException
remove in interface BasePersistence<DLFileEntry>remove in class BasePersistenceImpl<DLFileEntry>primaryKey - 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 occurred
protected DLFileEntry removeImpl(DLFileEntry dlFileEntry)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DLFileEntry>dlFileEntry - the model instance to remove
SystemException - if a system exception occurred
public DLFileEntry updateImpl(DLFileEntry dlFileEntry)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DLFileEntryPersistenceupdateImpl in class BasePersistenceImpl<DLFileEntry>dlFileEntry - the model instance to update
SystemException - if a system exception occurredprotected DLFileEntry toUnwrappedModel(DLFileEntry dlFileEntry)
public DLFileEntry findByPrimaryKey(Serializable primaryKey)
throws NoSuchFileEntryException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DLFileEntry>findByPrimaryKey in class BasePersistenceImpl<DLFileEntry>primaryKey - 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 occurred
public DLFileEntry findByPrimaryKey(long fileEntryId)
throws NoSuchFileEntryException,
SystemException
NoSuchFileEntryException if it could not be found.
findByPrimaryKey in interface DLFileEntryPersistencefileEntryId - 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 occurred
public DLFileEntry fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DLFileEntry>fetchByPrimaryKey in class BasePersistenceImpl<DLFileEntry>primaryKey - 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 occurred
public DLFileEntry fetchByPrimaryKey(long fileEntryId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface DLFileEntryPersistencefileEntryId - 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 occurred
public List<DLFileEntry> findAll()
throws SystemException
findAll in interface DLFileEntryPersistenceSystemException - if a system exception occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileEntryPersistencestart - 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 occurred
public 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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface DLFileEntryPersistencestart - 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 occurred
public void removeAll()
throws SystemException
removeAll in interface DLFileEntryPersistenceSystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface DLFileEntryPersistenceSystemException - if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames in class BasePersistenceImpl<DLFileEntry>public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2.0-ce-b2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||