Class DLFileEntryPersistenceImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
,com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntry>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes the document library file entry persistence.void
cacheResult
(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) Caches the document library file entry in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.document.library.kernel.model.DLFileEntry> dlFileEntries) Caches the document library file entries in the entity cache if it is enabled.protected void
cacheUniqueFindersCache
(DLFileEntryModelImpl dlFileEntryModelImpl) void
Clears the cache for all document library file entries.void
clearCache
(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) Clears the cache for the document library file entry.void
clearCache
(List<com.liferay.document.library.kernel.model.DLFileEntry> dlFileEntries) void
clearCache
(Set<Serializable> primaryKeys) 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
countByCustom1ImageId
(long custom1ImageId) Returns the number of document library file entries where custom1ImageId = ?.int
countByCustom2ImageId
(long custom2ImageId) Returns the number of document library file entries where custom2ImageId = ?.int
countByERC_G
(String externalReferenceCode, long groupId) Returns the number of document library file entries where externalReferenceCode = ? and groupId = ?.int
countByF_N
(long folderId, String name) Returns the number of document library file entries where folderId = ? and name = ?.int
countByFileEntryTypeId
(long fileEntryTypeId) Returns the number of document library file entries where fileEntryTypeId = ?.int
countByG_F
(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_F_F
(long groupId, long[] folderIds, long fileEntryTypeId) Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.int
countByG_F_F
(long groupId, long folderId, long fileEntryTypeId) Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.int
countByG_F_FN
(long groupId, long folderId, String fileName) Returns the number of document library file entries where groupId = ? and folderId = ? and fileName = ?.int
countByG_F_N
(long groupId, long folderId, String name) Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?.int
countByG_F_T
(long groupId, long folderId, String title) Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?.int
countByG_U
(long groupId, long userId) Returns the number of document library file entries where groupId = ? and userId = ?.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
countByGroupId
(long groupId) Returns the number of document library file entries where groupId = ?.int
countByLargeImageId
(long largeImageId) Returns the number of document library file entries where largeImageId = ?.int
countByMimeType
(String mimeType) Returns the number of document library file entries where mimeType = ?.int
countByR_F
(long repositoryId, long folderId) Returns the number of document library file entries where repositoryId = ? and folderId = ?.int
countByRepositoryId
(long repositoryId) Returns the number of document library file entries where repositoryId = ?.int
countByS_L_C1_C2
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) Returns the number of document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.int
countBySmallImageId
(long smallImageId) Returns the number of document library file entries where smallImageId = ?.int
countByUuid
(String uuid) Returns the number of document library file entries where uuid = ?.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 = ?.com.liferay.document.library.kernel.model.DLFileEntry
create
(long fileEntryId) Creates a new document library file entry with the primary key.void
destroy()
com.liferay.document.library.kernel.model.DLFileEntry
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByCustom1ImageId_First
(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where custom1ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByCustom1ImageId_Last
(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where custom1ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByCustom2ImageId_First
(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByCustom2ImageId_Last
(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByERC_G
(String externalReferenceCode, long groupId) Returns the document library file entry where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
fetchByERC_G
(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the document library file entry where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntry
fetchByF_N_First
(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where folderId = ? and name = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByF_N_Last
(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where folderId = ? and name = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByFileEntryTypeId_First
(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByFileEntryTypeId_Last
(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_F_First
(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_F_Last
(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_First
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_FN
(long groupId, long folderId, String fileName) Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_FN
(long groupId, long folderId, String fileName, boolean useFinderCache) Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_Last
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_N
(long groupId, long folderId, String name) Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_N
(long groupId, long folderId, String name, boolean useFinderCache) Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_T
(long groupId, long folderId, String title) Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_F_T
(long groupId, long folderId, String title, boolean useFinderCache) Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_U_F_First
(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_U_F_Last
(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_U_First
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByG_U_Last
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByLargeImageId_First
(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where largeImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByLargeImageId_Last
(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where largeImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByMimeType_First
(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByMimeType_Last
(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByPrimaryKey
(long fileEntryId) Returns the document library file entry with the primary key or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
fetchByPrimaryKey
(Serializable primaryKey) Returns the document library file entry with the primary key or returnsnull
if it could not be found.Map<Serializable,
com.liferay.document.library.kernel.model.DLFileEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) com.liferay.document.library.kernel.model.DLFileEntry
fetchByR_F_First
(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByR_F_Last
(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByRepositoryId_First
(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where repositoryId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByRepositoryId_Last
(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where repositoryId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByS_L_C1_C2_First
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByS_L_C1_C2_Last
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchBySmallImageId_First
(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where smallImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchBySmallImageId_Last
(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where smallImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileEntry
fetchByUUID_G
(String uuid, long groupId) Returns the document library file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the document library file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.com.liferay.document.library.kernel.model.DLFileEntry
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where uuid = ?.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_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_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
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
filterCountByGroupId
(long groupId) Returns the number of document library file entries that the user has permission to view where groupId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByG_F
(long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByG_F
(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByG_F_F
(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByG_F_F
(long groupId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
filterFindByG_F_F_PrevAndNext
(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
filterFindByG_F_PrevAndNext
(long fileEntryId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByG_U_F
(long groupId, long userId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByG_U_F
(long groupId, long userId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
filterFindByG_U_F_PrevAndNext
(long fileEntryId, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
filterFindByG_U_PrevAndNext
(long fileEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByGroupId
(long groupId) Returns all the document library file entries that the user has permission to view where groupId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
filterFindByGroupId_PrevAndNext
(long fileEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?.protected com.liferay.document.library.kernel.model.DLFileEntry
filterGetByG_F_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
filterGetByG_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
filterGetByG_U_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
filterGetByG_U_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
filterGetByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) List<com.liferay.document.library.kernel.model.DLFileEntry>
findAll()
Returns all the document library file entries.List<com.liferay.document.library.kernel.model.DLFileEntry>
findAll
(int start, int end) Returns a range of all the document library file entries.List<com.liferay.document.library.kernel.model.DLFileEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries.List<com.liferay.document.library.kernel.model.DLFileEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCompanyId
(long companyId) Returns all the document library file entries where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the document library file entries where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByCompanyId_PrevAndNext
(long fileEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom1ImageId
(long custom1ImageId) Returns all the document library file entries where custom1ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom1ImageId
(long custom1ImageId, int start, int end) Returns a range of all the document library file entries where custom1ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom1ImageId
(long custom1ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where custom1ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom1ImageId
(long custom1ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where custom1ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByCustom1ImageId_First
(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where custom1ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByCustom1ImageId_Last
(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where custom1ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByCustom1ImageId_PrevAndNext
(long fileEntryId, long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where custom1ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom2ImageId
(long custom2ImageId) Returns all the document library file entries where custom2ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom2ImageId
(long custom2ImageId, int start, int end) Returns a range of all the document library file entries where custom2ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom2ImageId
(long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where custom2ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByCustom2ImageId
(long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByCustom2ImageId_First
(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByCustom2ImageId_Last
(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByCustom2ImageId_PrevAndNext
(long fileEntryId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByERC_G
(String externalReferenceCode, long groupId) Returns the document library file entry where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileEntryException
if it could not be found.List<com.liferay.document.library.kernel.model.DLFileEntry>
Returns all the document library file entries where folderId = ? and name = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
Returns a range of all the document library file entries where folderId = ? and name = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByF_N
(long folderId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where folderId = ? and name = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByF_N
(long folderId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where folderId = ? and name = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByF_N_First
(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where folderId = ? and name = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByF_N_Last
(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where folderId = ? and name = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByF_N_PrevAndNext
(long fileEntryId, long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByFileEntryTypeId
(long fileEntryTypeId) Returns all the document library file entries where fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByFileEntryTypeId
(long fileEntryTypeId, int start, int end) Returns a range of all the document library file entries where fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByFileEntryTypeId
(long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByFileEntryTypeId
(long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByFileEntryTypeId_First
(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByFileEntryTypeId_Last
(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByFileEntryTypeId_PrevAndNext
(long fileEntryId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F
(long groupId, long folderId) Returns all the document library file entries where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F
(long groupId, long[] folderIds) Returns all the document library file entries where groupId = ? and folderId = any ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F
(long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F
(long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?, optionally using the finder cache.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F
(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F
(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F_F
(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F_F
(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?, optionally using the finder cache.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F_F
(long groupId, long folderId, long fileEntryTypeId) Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F_F
(long groupId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_F_F
(long groupId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_F_F_First
(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_F_F_Last
(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByG_F_F_PrevAndNext
(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_F_First
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_F_FN
(long groupId, long folderId, String fileName) Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or throws aNoSuchFileEntryException
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
findByG_F_Last
(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_F_N
(long groupId, long folderId, String name) Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws aNoSuchFileEntryException
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry[]
findByG_F_PrevAndNext
(long fileEntryId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_F_T
(long groupId, long folderId, String title) Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws aNoSuchFileEntryException
if it could not be found.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U
(long groupId, long userId) Returns all the document library file entries where groupId = ? and userId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U
(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U_F
(long groupId, long userId, long folderId) Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U_F
(long groupId, long userId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U_F
(long groupId, long userId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?, optionally using the finder cache.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U_F
(long groupId, long userId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByG_U_F
(long groupId, long userId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_U_F_First
(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_U_F_Last
(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByG_U_F_PrevAndNext
(long fileEntryId, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_U_First
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByG_U_Last
(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByG_U_PrevAndNext
(long fileEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByGroupId
(long groupId) Returns all the document library file entries where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByGroupId
(long groupId, int start, int end) Returns a range of all the document library file entries where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByGroupId_PrevAndNext
(long fileEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByLargeImageId
(long largeImageId) Returns all the document library file entries where largeImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByLargeImageId
(long largeImageId, int start, int end) Returns a range of all the document library file entries where largeImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByLargeImageId
(long largeImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where largeImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByLargeImageId
(long largeImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where largeImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByLargeImageId_First
(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where largeImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByLargeImageId_Last
(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where largeImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByLargeImageId_PrevAndNext
(long fileEntryId, long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where largeImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByMimeType
(String mimeType) Returns all the document library file entries where mimeType = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByMimeType
(String mimeType, int start, int end) Returns a range of all the document library file entries where mimeType = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByMimeType
(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where mimeType = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByMimeType
(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where mimeType = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByMimeType_First
(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByMimeType_Last
(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByMimeType_PrevAndNext
(long fileEntryId, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByPrimaryKey
(long fileEntryId) Returns the document library file entry with the primary key or throws aNoSuchFileEntryException
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
findByPrimaryKey
(Serializable primaryKey) Returns the document library file entry with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByR_F
(long repositoryId, long folderId) Returns all the document library file entries where repositoryId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByR_F
(long repositoryId, long folderId, int start, int end) Returns a range of all the document library file entries where repositoryId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByR_F
(long repositoryId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByR_F
(long repositoryId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByR_F_First
(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByR_F_Last
(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByR_F_PrevAndNext
(long fileEntryId, long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ? and folderId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByRepositoryId
(long repositoryId) Returns all the document library file entries where repositoryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByRepositoryId
(long repositoryId, int start, int end) Returns a range of all the document library file entries where repositoryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByRepositoryId
(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where repositoryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByRepositoryId
(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where repositoryId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByRepositoryId_First
(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where repositoryId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByRepositoryId_Last
(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where repositoryId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByRepositoryId_PrevAndNext
(long fileEntryId, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByS_L_C1_C2
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) Returns all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByS_L_C1_C2
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end) Returns a range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByS_L_C1_C2
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByS_L_C1_C2
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByS_L_C1_C2_First
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByS_L_C1_C2_Last
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByS_L_C1_C2_PrevAndNext
(long fileEntryId, long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findBySmallImageId
(long smallImageId) Returns all the document library file entries where smallImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findBySmallImageId
(long smallImageId, int start, int end) Returns a range of all the document library file entries where smallImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findBySmallImageId
(long smallImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where smallImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findBySmallImageId
(long smallImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where smallImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findBySmallImageId_First
(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where smallImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findBySmallImageId_Last
(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where smallImageId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findBySmallImageId_PrevAndNext
(long fileEntryId, long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where smallImageId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByUuid
(String uuid) Returns all the document library file entries where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the document library file entries where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where uuid = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByUuid_C
(String uuid, long companyId) Returns all the document library file entries where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.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<com.liferay.document.library.kernel.model.DLFileEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?.List<com.liferay.document.library.kernel.model.DLFileEntry>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByUuid_C_PrevAndNext
(long fileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ? and companyId = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileEntry
findByUUID_G
(String uuid, long groupId) Returns the document library file entry where uuid = ? and groupId = ? or throws aNoSuchFileEntryException
if it could not be found.com.liferay.document.library.kernel.model.DLFileEntry
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where uuid = ?.com.liferay.document.library.kernel.model.DLFileEntry[]
findByUuid_PrevAndNext
(long fileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?.protected com.liferay.document.library.kernel.model.DLFileEntry
getByCompanyId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByCustom1ImageId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByCustom2ImageId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByF_N_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByFileEntryTypeId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByG_F_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByG_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByG_U_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByG_U_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByGroupId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByLargeImageId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByMimeType_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByR_F_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByRepositoryId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByS_L_C1_C2_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getBySmallImageId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) protected com.liferay.document.library.kernel.model.DLFileEntry
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) getCTColumnNames
(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.document.library.kernel.model.DLFileEntry
remove
(long fileEntryId) Removes the document library file entry with the primary key from the database.com.liferay.document.library.kernel.model.DLFileEntry
remove
(Serializable primaryKey) Removes the document library file entry with the primary key from the database.void
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
removeByCustom1ImageId
(long custom1ImageId) Removes all the document library file entries where custom1ImageId = ? from the database.void
removeByCustom2ImageId
(long custom2ImageId) Removes all the document library file entries where custom2ImageId = ? from the database.com.liferay.document.library.kernel.model.DLFileEntry
removeByERC_G
(String externalReferenceCode, long groupId) Removes the document library file entry where externalReferenceCode = ? and groupId = ? from the database.void
removeByF_N
(long folderId, String name) Removes all the document library file entries where folderId = ? and name = ? from the database.void
removeByFileEntryTypeId
(long fileEntryTypeId) Removes all the document library file entries where fileEntryTypeId = ? from the database.void
removeByG_F
(long groupId, long folderId) Removes all the document library file entries where groupId = ? and folderId = ? 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.com.liferay.document.library.kernel.model.DLFileEntry
removeByG_F_FN
(long groupId, long folderId, String fileName) Removes the document library file entry where groupId = ? and folderId = ? and fileName = ? from the database.com.liferay.document.library.kernel.model.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.com.liferay.document.library.kernel.model.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_U
(long groupId, long userId) Removes all the document library file entries where groupId = ? and userId = ? 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
removeByGroupId
(long groupId) Removes all the document library file entries where groupId = ? from the database.void
removeByLargeImageId
(long largeImageId) Removes all the document library file entries where largeImageId = ? from the database.void
removeByMimeType
(String mimeType) Removes all the document library file entries where mimeType = ? from the database.void
removeByR_F
(long repositoryId, long folderId) Removes all the document library file entries where repositoryId = ? and folderId = ? from the database.void
removeByRepositoryId
(long repositoryId) Removes all the document library file entries where repositoryId = ? from the database.void
removeByS_L_C1_C2
(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) Removes all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ? from the database.void
removeBySmallImageId
(long smallImageId) Removes all the document library file entries where smallImageId = ? from the database.void
removeByUuid
(String uuid) Removes all the document library file entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the document library file entries where uuid = ? and companyId = ? from the database.com.liferay.document.library.kernel.model.DLFileEntry
removeByUUID_G
(String uuid, long groupId) Removes the document library file entry where uuid = ? and groupId = ? from the database.protected com.liferay.document.library.kernel.model.DLFileEntry
removeImpl
(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) com.liferay.document.library.kernel.model.DLFileEntry
updateImpl
(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
DLFileEntryPersistenceImpl
public DLFileEntryPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the document library file entries where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching document library file entries
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByUuid(String uuid, int start, int end) Returns a range of all the document library file entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByUuid
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByUuid_First
public com.liferay.document.library.kernel.model.DLFileEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByUuid_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where uuid = ?.- Specified by:
fetchByUuid_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByUuid_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where uuid = ?.- Specified by:
findByUuid_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByUuid_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByUuid_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByUuid_PrevAndNext(long fileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByUuid
Removes all the document library file entries where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of document library file entries where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching document library file entries
-
findByUUID_G
public com.liferay.document.library.kernel.model.DLFileEntry findByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entry where uuid = ? and groupId = ? or throws aNoSuchFileEntryException
if it could not be found.- Specified by:
findByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByUUID_G
public com.liferay.document.library.kernel.model.DLFileEntry fetchByUUID_G(String uuid, long groupId) Returns the document library file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
fetchByUUID_G
public com.liferay.document.library.kernel.model.DLFileEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the document library file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
removeByUUID_G
public com.liferay.document.library.kernel.model.DLFileEntry removeByUUID_G(String uuid, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Removes the document library file entry where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the document library file entry that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
-
countByUUID_G
Returns the number of document library file entries where uuid = ? and groupId = ?.- Specified by:
countByUUID_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching document library file entries
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByUuid_C(String uuid, long companyId) Returns all the document library file entries where uuid = ? and companyId = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching document library file entries
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the document library file entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- 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)- Returns:
- the range of matching document library file entries
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByUuid_C
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByUuid_C_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByUuid_C_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByUuid_C_PrevAndNext(long fileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the document library file entries where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of document library file entries where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching document library file entries
-
findByGroupId
Returns all the document library file entries where groupId = ?.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching document library file entries
-
findByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByGroupId(long groupId, int start, int end) Returns a range of all the document library file entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByGroupId_First
public com.liferay.document.library.kernel.model.DLFileEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where groupId = ?.- Specified by:
findByGroupId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByGroupId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByGroupId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where groupId = ?.- Specified by:
findByGroupId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByGroupId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ?.- Specified by:
fetchByGroupId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByGroupId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByGroupId_PrevAndNext(long fileEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ?.- Specified by:
findByGroupId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByGroupId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByGroupId(long groupId) Returns all the document library file entries that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByGroupId(long groupId, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByGroupId
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] filterFindByGroupId_PrevAndNext(long fileEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ?.- Specified by:
filterFindByGroupId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
filterGetByGroupId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByGroupId
public void removeByGroupId(long groupId) Removes all the document library file entries where groupId = ? from the database.- Specified by:
removeByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group ID
-
countByGroupId
public int countByGroupId(long groupId) Returns the number of document library file entries where groupId = ?.- Specified by:
countByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching document library file entries
-
filterCountByGroupId
public int filterCountByGroupId(long groupId) Returns the number of document library file entries that the user has permission to view where groupId = ?.- Specified by:
filterCountByGroupId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group ID- Returns:
- the number of matching document library file entries that the user has permission to view
-
findByCompanyId
Returns all the document library file entries where companyId = ?.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company ID- Returns:
- the matching document library file entries
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCompanyId(long companyId, int start, int end) Returns a range of all the document library file entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByCompanyId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByCompanyId_First
public com.liferay.document.library.kernel.model.DLFileEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where companyId = ?.- Specified by:
findByCompanyId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByCompanyId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByCompanyId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByCompanyId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByCompanyId_PrevAndNext(long fileEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the document library file entries where companyId = ? from the database.- Specified by:
removeByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of document library file entries where companyId = ?.- Specified by:
countByCompanyId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
companyId
- the company ID- Returns:
- the number of matching document library file entries
-
findByRepositoryId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByRepositoryId(long repositoryId) Returns all the document library file entries where repositoryId = ?.- Specified by:
findByRepositoryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository ID- Returns:
- the matching document library file entries
-
findByRepositoryId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByRepositoryId(long repositoryId, int start, int end) Returns a range of all the document library file entries where repositoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByRepositoryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository 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)- Returns:
- the range of matching document library file entries
-
findByRepositoryId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where repositoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByRepositoryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByRepositoryId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByRepositoryId(long repositoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where repositoryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByRepositoryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByRepositoryId_First
public com.liferay.document.library.kernel.model.DLFileEntry findByRepositoryId_First(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where repositoryId = ?.- Specified by:
findByRepositoryId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByRepositoryId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByRepositoryId_First(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where repositoryId = ?.- Specified by:
fetchByRepositoryId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByRepositoryId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByRepositoryId_Last(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where repositoryId = ?.- Specified by:
findByRepositoryId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByRepositoryId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByRepositoryId_Last(long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where repositoryId = ?.- Specified by:
fetchByRepositoryId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByRepositoryId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByRepositoryId_PrevAndNext(long fileEntryId, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ?.- Specified by:
findByRepositoryId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entryrepositoryId
- the repository IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByRepositoryId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByRepositoryId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long repositoryId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByRepositoryId
public void removeByRepositoryId(long repositoryId) Removes all the document library file entries where repositoryId = ? from the database.- Specified by:
removeByRepositoryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository ID
-
countByRepositoryId
public int countByRepositoryId(long repositoryId) Returns the number of document library file entries where repositoryId = ?.- Specified by:
countByRepositoryId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository ID- Returns:
- the number of matching document library file entries
-
findByMimeType
Returns all the document library file entries where mimeType = ?.- Specified by:
findByMimeType
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime type- Returns:
- the matching document library file entries
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByMimeType(String mimeType, int start, int end) Returns a range of all the document library file entries where mimeType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByMimeType
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime typestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where mimeType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByMimeType
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime typestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByMimeType
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByMimeType(String mimeType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where mimeType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByMimeType
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime typestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByMimeType_First
public com.liferay.document.library.kernel.model.DLFileEntry findByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where mimeType = ?.- Specified by:
findByMimeType_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByMimeType_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByMimeType_First(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where mimeType = ?.- Specified by:
fetchByMimeType_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByMimeType_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where mimeType = ?.- Specified by:
findByMimeType_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByMimeType_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByMimeType_Last(String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where mimeType = ?.- Specified by:
fetchByMimeType_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByMimeType_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByMimeType_PrevAndNext(long fileEntryId, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where mimeType = ?.- Specified by:
findByMimeType_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrymimeType
- the mime typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByMimeType_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByMimeType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, String mimeType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByMimeType
Removes all the document library file entries where mimeType = ? from the database.- Specified by:
removeByMimeType
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime type
-
countByMimeType
Returns the number of document library file entries where mimeType = ?.- Specified by:
countByMimeType
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
mimeType
- the mime type- Returns:
- the number of matching document library file entries
-
findByFileEntryTypeId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId) Returns all the document library file entries where fileEntryTypeId = ?.- Specified by:
findByFileEntryTypeId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- the file entry type ID- Returns:
- the matching document library file entries
-
findByFileEntryTypeId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end) Returns a range of all the document library file entries where fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByFileEntryTypeId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- 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)- Returns:
- the range of matching document library file entries
-
findByFileEntryTypeId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByFileEntryTypeId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByFileEntryTypeId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByFileEntryTypeId(long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByFileEntryTypeId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByFileEntryTypeId_First
public com.liferay.document.library.kernel.model.DLFileEntry findByFileEntryTypeId_First(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.- Specified by:
findByFileEntryTypeId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByFileEntryTypeId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByFileEntryTypeId_First(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where fileEntryTypeId = ?.- Specified by:
fetchByFileEntryTypeId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByFileEntryTypeId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByFileEntryTypeId_Last(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.- Specified by:
findByFileEntryTypeId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByFileEntryTypeId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByFileEntryTypeId_Last(long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where fileEntryTypeId = ?.- Specified by:
fetchByFileEntryTypeId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByFileEntryTypeId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByFileEntryTypeId_PrevAndNext(long fileEntryId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where fileEntryTypeId = ?.- Specified by:
findByFileEntryTypeId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entryfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByFileEntryTypeId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByFileEntryTypeId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByFileEntryTypeId
public void removeByFileEntryTypeId(long fileEntryTypeId) Removes all the document library file entries where fileEntryTypeId = ? from the database.- Specified by:
removeByFileEntryTypeId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- the file entry type ID
-
countByFileEntryTypeId
public int countByFileEntryTypeId(long fileEntryTypeId) Returns the number of document library file entries where fileEntryTypeId = ?.- Specified by:
countByFileEntryTypeId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryTypeId
- the file entry type ID- Returns:
- the number of matching document library file entries
-
findBySmallImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findBySmallImageId(long smallImageId) Returns all the document library file entries where smallImageId = ?.- Specified by:
findBySmallImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image ID- Returns:
- the matching document library file entries
-
findBySmallImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findBySmallImageId(long smallImageId, int start, int end) Returns a range of all the document library file entries where smallImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findBySmallImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image 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)- Returns:
- the range of matching document library file entries
-
findBySmallImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findBySmallImageId(long smallImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where smallImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findBySmallImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findBySmallImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findBySmallImageId(long smallImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where smallImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findBySmallImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findBySmallImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry findBySmallImageId_First(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where smallImageId = ?.- Specified by:
findBySmallImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchBySmallImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchBySmallImageId_First(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where smallImageId = ?.- Specified by:
fetchBySmallImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findBySmallImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findBySmallImageId_Last(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where smallImageId = ?.- Specified by:
findBySmallImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchBySmallImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchBySmallImageId_Last(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where smallImageId = ?.- Specified by:
fetchBySmallImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findBySmallImageId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findBySmallImageId_PrevAndNext(long fileEntryId, long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where smallImageId = ?.- Specified by:
findBySmallImageId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrysmallImageId
- the small image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getBySmallImageId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getBySmallImageId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long smallImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeBySmallImageId
public void removeBySmallImageId(long smallImageId) Removes all the document library file entries where smallImageId = ? from the database.- Specified by:
removeBySmallImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image ID
-
countBySmallImageId
public int countBySmallImageId(long smallImageId) Returns the number of document library file entries where smallImageId = ?.- Specified by:
countBySmallImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image ID- Returns:
- the number of matching document library file entries
-
findByLargeImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByLargeImageId(long largeImageId) Returns all the document library file entries where largeImageId = ?.- Specified by:
findByLargeImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image ID- Returns:
- the matching document library file entries
-
findByLargeImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByLargeImageId(long largeImageId, int start, int end) Returns a range of all the document library file entries where largeImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByLargeImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image 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)- Returns:
- the range of matching document library file entries
-
findByLargeImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByLargeImageId(long largeImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where largeImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByLargeImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByLargeImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByLargeImageId(long largeImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where largeImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByLargeImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByLargeImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry findByLargeImageId_First(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where largeImageId = ?.- Specified by:
findByLargeImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByLargeImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByLargeImageId_First(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where largeImageId = ?.- Specified by:
fetchByLargeImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByLargeImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByLargeImageId_Last(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where largeImageId = ?.- Specified by:
findByLargeImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByLargeImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByLargeImageId_Last(long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where largeImageId = ?.- Specified by:
fetchByLargeImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByLargeImageId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByLargeImageId_PrevAndNext(long fileEntryId, long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where largeImageId = ?.- Specified by:
findByLargeImageId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrylargeImageId
- the large image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByLargeImageId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByLargeImageId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long largeImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByLargeImageId
public void removeByLargeImageId(long largeImageId) Removes all the document library file entries where largeImageId = ? from the database.- Specified by:
removeByLargeImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image ID
-
countByLargeImageId
public int countByLargeImageId(long largeImageId) Returns the number of document library file entries where largeImageId = ?.- Specified by:
countByLargeImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
largeImageId
- the large image ID- Returns:
- the number of matching document library file entries
-
findByCustom1ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom1ImageId(long custom1ImageId) Returns all the document library file entries where custom1ImageId = ?.- Specified by:
findByCustom1ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image ID- Returns:
- the matching document library file entries
-
findByCustom1ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom1ImageId(long custom1ImageId, int start, int end) Returns a range of all the document library file entries where custom1ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCustom1ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image 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)- Returns:
- the range of matching document library file entries
-
findByCustom1ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom1ImageId(long custom1ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where custom1ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCustom1ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByCustom1ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom1ImageId(long custom1ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where custom1ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCustom1ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByCustom1ImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry findByCustom1ImageId_First(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where custom1ImageId = ?.- Specified by:
findByCustom1ImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByCustom1ImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByCustom1ImageId_First(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where custom1ImageId = ?.- Specified by:
fetchByCustom1ImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByCustom1ImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByCustom1ImageId_Last(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where custom1ImageId = ?.- Specified by:
findByCustom1ImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByCustom1ImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByCustom1ImageId_Last(long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where custom1ImageId = ?.- Specified by:
fetchByCustom1ImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByCustom1ImageId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByCustom1ImageId_PrevAndNext(long fileEntryId, long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where custom1ImageId = ?.- Specified by:
findByCustom1ImageId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrycustom1ImageId
- the custom1 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByCustom1ImageId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByCustom1ImageId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long custom1ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByCustom1ImageId
public void removeByCustom1ImageId(long custom1ImageId) Removes all the document library file entries where custom1ImageId = ? from the database.- Specified by:
removeByCustom1ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image ID
-
countByCustom1ImageId
public int countByCustom1ImageId(long custom1ImageId) Returns the number of document library file entries where custom1ImageId = ?.- Specified by:
countByCustom1ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom1ImageId
- the custom1 image ID- Returns:
- the number of matching document library file entries
-
findByCustom2ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom2ImageId(long custom2ImageId) Returns all the document library file entries where custom2ImageId = ?.- Specified by:
findByCustom2ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image ID- Returns:
- the matching document library file entries
-
findByCustom2ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom2ImageId(long custom2ImageId, int start, int end) Returns a range of all the document library file entries where custom2ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCustom2ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image 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)- Returns:
- the range of matching document library file entries
-
findByCustom2ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom2ImageId(long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where custom2ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCustom2ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByCustom2ImageId
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByCustom2ImageId(long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where custom2ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByCustom2ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByCustom2ImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry findByCustom2ImageId_First(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where custom2ImageId = ?.- Specified by:
findByCustom2ImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByCustom2ImageId_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByCustom2ImageId_First(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where custom2ImageId = ?.- Specified by:
fetchByCustom2ImageId_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByCustom2ImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByCustom2ImageId_Last(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where custom2ImageId = ?.- Specified by:
findByCustom2ImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByCustom2ImageId_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByCustom2ImageId_Last(long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where custom2ImageId = ?.- Specified by:
fetchByCustom2ImageId_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByCustom2ImageId_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByCustom2ImageId_PrevAndNext(long fileEntryId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where custom2ImageId = ?.- Specified by:
findByCustom2ImageId_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrycustom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByCustom2ImageId_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByCustom2ImageId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByCustom2ImageId
public void removeByCustom2ImageId(long custom2ImageId) Removes all the document library file entries where custom2ImageId = ? from the database.- Specified by:
removeByCustom2ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image ID
-
countByCustom2ImageId
public int countByCustom2ImageId(long custom2ImageId) Returns the number of document library file entries where custom2ImageId = ?.- Specified by:
countByCustom2ImageId
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
custom2ImageId
- the custom2 image ID- Returns:
- the number of matching document library file entries
-
findByG_U
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U(long groupId, long userId) Returns all the document library file entries where groupId = ? and userId = ?.- Specified by:
findByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the matching document library file entries
-
findByG_U
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U(long groupId, long userId, int start, int end) Returns a range of all the document library file entries where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByG_U
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByG_U
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByG_U_First
public com.liferay.document.library.kernel.model.DLFileEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.- Specified by:
findByG_U_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_U_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and userId = ?.- Specified by:
fetchByG_U_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_U_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.- Specified by:
findByG_U_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_U_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and userId = ?.- Specified by:
fetchByG_U_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_U_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ?.- Specified by:
findByG_U_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByG_U_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByG_U
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U(long groupId, long userId) Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ?.- Specified by:
filterFindByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByG_U
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByG_U
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
filterFindByG_U_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] filterFindByG_U_PrevAndNext(long fileEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ?.- Specified by:
filterFindByG_U_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
filterGetByG_U_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry filterGetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByG_U
public void removeByG_U(long groupId, long userId) Removes all the document library file entries where groupId = ? and userId = ? from the database.- Specified by:
removeByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user ID
-
countByG_U
public int countByG_U(long groupId, long userId) Returns the number of document library file entries where groupId = ? and userId = ?.- Specified by:
countByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the number of matching document library file entries
-
filterCountByG_U
public int filterCountByG_U(long groupId, long userId) Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ?.- Specified by:
filterCountByG_U
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user ID- Returns:
- the number of matching document library file entries that the user has permission to view
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long folderId) Returns all the document library file entries where groupId = ? and folderId = ?.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the matching document library file entries
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long folderId, int start, int end) Returns a range of all the document library file entries where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByG_F_First
public com.liferay.document.library.kernel.model.DLFileEntry findByG_F_First(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.- Specified by:
findByG_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_F_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_First(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and folderId = ?.- Specified by:
fetchByG_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByG_F_Last(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.- Specified by:
findByG_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_Last(long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and folderId = ?.- Specified by:
fetchByG_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_F_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ?.- Specified by:
findByG_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByG_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F(long groupId, long folderId) Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F(long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
filterFindByG_F_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] filterFindByG_F_PrevAndNext(long fileEntryId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ?.- Specified by:
filterFindByG_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
filterGetByG_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry filterGetByG_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F(long groupId, long[] folderIds) Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDs- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F(long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long[] folderIds) Returns all the document library file entries where groupId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDs- Returns:
- the matching document library file entries
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end) Returns a range of all the document library file entries where groupId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByG_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F(long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
removeByG_F
public void removeByG_F(long groupId, long folderId) Removes all the document library file entries where groupId = ? and folderId = ? from the database.- Specified by:
removeByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID
-
countByG_F
public int countByG_F(long groupId, long folderId) Returns the number of document library file entries where groupId = ? and folderId = ?.- Specified by:
countByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the number of matching document library file entries
-
countByG_F
public int countByG_F(long groupId, long[] folderIds) Returns the number of document library file entries where groupId = ? and folderId = any ?.- Specified by:
countByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDs- Returns:
- the number of matching document library file entries
-
filterCountByG_F
public int filterCountByG_F(long groupId, long folderId) Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ?.- Specified by:
filterCountByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder ID- Returns:
- the number of matching document library file entries that the user has permission to view
-
filterCountByG_F
public int filterCountByG_F(long groupId, long[] folderIds) Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ?.- Specified by:
filterCountByG_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDs- Returns:
- the number of matching document library file entries that the user has permission to view
-
findByR_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByR_F(long repositoryId, long folderId) Returns all the document library file entries where repositoryId = ? and folderId = ?.- Specified by:
findByR_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDfolderId
- the folder ID- Returns:
- the matching document library file entries
-
findByR_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end) Returns a range of all the document library file entries where repositoryId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByR_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository 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)- Returns:
- the range of matching document library file entries
-
findByR_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByR_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByR_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByR_F(long repositoryId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where repositoryId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByR_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByR_F_First
public com.liferay.document.library.kernel.model.DLFileEntry findByR_F_First(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.- Specified by:
findByR_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByR_F_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByR_F_First(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where repositoryId = ? and folderId = ?.- Specified by:
fetchByR_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByR_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByR_F_Last(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.- Specified by:
findByR_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByR_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByR_F_Last(long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where repositoryId = ? and folderId = ?.- Specified by:
fetchByR_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByR_F_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByR_F_PrevAndNext(long fileEntryId, long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where repositoryId = ? and folderId = ?.- Specified by:
findByR_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entryrepositoryId
- the repository IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByR_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByR_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long repositoryId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByR_F
public void removeByR_F(long repositoryId, long folderId) Removes all the document library file entries where repositoryId = ? and folderId = ? from the database.- Specified by:
removeByR_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDfolderId
- the folder ID
-
countByR_F
public int countByR_F(long repositoryId, long folderId) Returns the number of document library file entries where repositoryId = ? and folderId = ?.- Specified by:
countByR_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
repositoryId
- the repository IDfolderId
- the folder ID- Returns:
- the number of matching document library file entries
-
findByF_N
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByF_N(long folderId, String name) Returns all the document library file entries where folderId = ? and name = ?.- Specified by:
findByF_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the name- Returns:
- the matching document library file entries
-
findByF_N
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByF_N(long folderId, String name, int start, int end) Returns a range of all the document library file entries where folderId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByF_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the namestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByF_N
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByF_N(long folderId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where folderId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByF_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the namestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByF_N
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByF_N(long folderId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where folderId = ? and name = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByF_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the namestart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByF_N_First
public com.liferay.document.library.kernel.model.DLFileEntry findByF_N_First(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where folderId = ? and name = ?.- Specified by:
findByF_N_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByF_N_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByF_N_First(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where folderId = ? and name = ?.- Specified by:
fetchByF_N_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByF_N_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByF_N_Last(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where folderId = ? and name = ?.- Specified by:
findByF_N_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByF_N_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByF_N_Last(long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where folderId = ? and name = ?.- Specified by:
fetchByF_N_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByF_N_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByF_N_PrevAndNext(long fileEntryId, long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where folderId = ? and name = ?.- Specified by:
findByF_N_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entryfolderId
- the folder IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByF_N_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByF_N_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long folderId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByF_N
Removes all the document library file entries where folderId = ? and name = ? from the database.- Specified by:
removeByF_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the name
-
countByF_N
Returns the number of document library file entries where folderId = ? and name = ?.- Specified by:
countByF_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
folderId
- the folder IDname
- the name- Returns:
- the number of matching document library file entries
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long folderId) Returns all the document library file entries where groupId = ? and userId = ? and folderId = ?.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID- Returns:
- the matching document library file entries
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end) Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByG_U_F_First
public com.liferay.document.library.kernel.model.DLFileEntry findByG_U_F_First(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.- Specified by:
findByG_U_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_U_F_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_U_F_First(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.- Specified by:
fetchByG_U_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_U_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByG_U_F_Last(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.- Specified by:
findByG_U_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_U_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_U_F_Last(long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.- Specified by:
fetchByG_U_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_U_F_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and userId = ? and folderId = ?.- Specified by:
findByG_U_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByG_U_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByG_U_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId) Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.- Specified by:
filterFindByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U_F(long groupId, long userId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
filterFindByG_U_F_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] filterFindByG_U_F_PrevAndNext(long fileEntryId, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.- Specified by:
filterFindByG_U_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDuserId
- the user IDfolderId
- the folder IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
filterGetByG_U_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry filterGetByG_U_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long userId, long folderId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds) Returns all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.- Specified by:
filterFindByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds) Returns all the document library file entries where groupId = ? and userId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs- Returns:
- the matching document library file entries
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end) Returns a range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByG_U_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_U_F(long groupId, long userId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and userId = ? and folderId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDsstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
removeByG_U_F
public void removeByG_U_F(long groupId, long userId, long folderId) Removes all the document library file entries where groupId = ? and userId = ? and folderId = ? from the database.- Specified by:
removeByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID
-
countByG_U_F
public int countByG_U_F(long groupId, long userId, long folderId) Returns the number of document library file entries where groupId = ? and userId = ? and folderId = ?.- Specified by:
countByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID- Returns:
- the number of matching document library file entries
-
countByG_U_F
public int countByG_U_F(long groupId, long userId, long[] folderIds) Returns the number of document library file entries where groupId = ? and userId = ? and folderId = any ?.- Specified by:
countByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs- Returns:
- the number of matching document library file entries
-
filterCountByG_U_F
public int filterCountByG_U_F(long groupId, long userId, long folderId) Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = ?.- Specified by:
filterCountByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderId
- the folder ID- Returns:
- the number of matching document library file entries that the user has permission to view
-
filterCountByG_U_F
public int filterCountByG_U_F(long groupId, long userId, long[] folderIds) Returns the number of document library file entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ?.- Specified by:
filterCountByG_U_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDuserId
- the user IDfolderIds
- the folder IDs- Returns:
- the number of matching document library file entries that the user has permission to view
-
findByG_F_N
public com.liferay.document.library.kernel.model.DLFileEntry findByG_F_N(long groupId, long folderId, String name) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entry where groupId = ? and folderId = ? and name = ? or throws aNoSuchFileEntryException
if it could not be found.- Specified by:
findByG_F_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDname
- the name- Returns:
- the matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_F_N
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_N(long groupId, long folderId, String name) Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_F_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDname
- the name- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
fetchByG_F_N
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_N(long groupId, long folderId, String name, boolean useFinderCache) Returns the document library file entry where groupId = ? and folderId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_F_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDname
- the nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
removeByG_F_N
public com.liferay.document.library.kernel.model.DLFileEntry removeByG_F_N(long groupId, long folderId, String name) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Removes the document library file entry where groupId = ? and folderId = ? and name = ? from the database.- Specified by:
removeByG_F_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDname
- the name- Returns:
- the document library file entry that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
-
countByG_F_N
Returns the number of document library file entries where groupId = ? and folderId = ? and name = ?.- Specified by:
countByG_F_N
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDname
- the name- Returns:
- the number of matching document library file entries
-
findByG_F_FN
public com.liferay.document.library.kernel.model.DLFileEntry findByG_F_FN(long groupId, long folderId, String fileName) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or throws aNoSuchFileEntryException
if it could not be found.- Specified by:
findByG_F_FN
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileName
- the file name- Returns:
- the matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_F_FN
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_FN(long groupId, long folderId, String fileName) Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_F_FN
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileName
- the file name- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
fetchByG_F_FN
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_FN(long groupId, long folderId, String fileName, boolean useFinderCache) Returns the document library file entry where groupId = ? and folderId = ? and fileName = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_F_FN
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileName
- the file nameuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
removeByG_F_FN
public com.liferay.document.library.kernel.model.DLFileEntry removeByG_F_FN(long groupId, long folderId, String fileName) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Removes the document library file entry where groupId = ? and folderId = ? and fileName = ? from the database.- Specified by:
removeByG_F_FN
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileName
- the file name- Returns:
- the document library file entry that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
-
countByG_F_FN
Returns the number of document library file entries where groupId = ? and folderId = ? and fileName = ?.- Specified by:
countByG_F_FN
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileName
- the file name- Returns:
- the number of matching document library file entries
-
findByG_F_T
public com.liferay.document.library.kernel.model.DLFileEntry findByG_F_T(long groupId, long folderId, String title) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entry where groupId = ? and folderId = ? and title = ? or throws aNoSuchFileEntryException
if it could not be found.- Specified by:
findByG_F_T
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDtitle
- the title- Returns:
- the matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_F_T
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_T(long groupId, long folderId, String title) Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByG_F_T
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDtitle
- the title- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
fetchByG_F_T
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_T(long groupId, long folderId, String title, boolean useFinderCache) Returns the document library file entry where groupId = ? and folderId = ? and title = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByG_F_T
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDtitle
- the titleuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
removeByG_F_T
public com.liferay.document.library.kernel.model.DLFileEntry removeByG_F_T(long groupId, long folderId, String title) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Removes the document library file entry where groupId = ? and folderId = ? and title = ? from the database.- Specified by:
removeByG_F_T
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDtitle
- the title- Returns:
- the document library file entry that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
-
countByG_F_T
Returns the number of document library file entries where groupId = ? and folderId = ? and title = ?.- Specified by:
countByG_F_T
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDtitle
- the title- Returns:
- the number of matching document library file entries
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId) Returns all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID- Returns:
- the matching document library file entries
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end) Returns a range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByG_F_F_First
public com.liferay.document.library.kernel.model.DLFileEntry findByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
findByG_F_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_F_F_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_F_First(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
fetchByG_F_F_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_F_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
findByG_F_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByG_F_F_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByG_F_F_Last(long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
fetchByG_F_F_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByG_F_F_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
findByG_F_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByG_F_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByG_F_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId) Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
filterFindByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F_F(long groupId, long folderId, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permissions to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
filterFindByG_F_F_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] filterFindByG_F_F_PrevAndNext(long fileEntryId, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
filterFindByG_F_F_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrygroupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
filterGetByG_F_F_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry filterGetByG_F_F_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long groupId, long folderId, long fileEntryTypeId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
filterFindByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) Returns all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.- Specified by:
filterFindByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID- Returns:
- the matching document library file entries that the user has permission to view
-
filterFindByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) Returns a range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries that the user has permission to view
-
filterFindByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> filterFindByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
filterFindByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries that the user has permission to view
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) Returns all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID- Returns:
- the matching document library file entries
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end) Returns a range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of matching document library file entries
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByG_F_F
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type IDstart
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
removeByG_F_F
public void removeByG_F_F(long groupId, long folderId, long fileEntryTypeId) Removes all the document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ? from the database.- Specified by:
removeByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID
-
countByG_F_F
public int countByG_F_F(long groupId, long folderId, long fileEntryTypeId) Returns the number of document library file entries where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
countByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID- Returns:
- the number of matching document library file entries
-
countByG_F_F
public int countByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) Returns the number of document library file entries where groupId = ? and folderId = any ? and fileEntryTypeId = ?.- Specified by:
countByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID- Returns:
- the number of matching document library file entries
-
filterCountByG_F_F
public int filterCountByG_F_F(long groupId, long folderId, long fileEntryTypeId) Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = ? and fileEntryTypeId = ?.- Specified by:
filterCountByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderId
- the folder IDfileEntryTypeId
- the file entry type ID- Returns:
- the number of matching document library file entries that the user has permission to view
-
filterCountByG_F_F
public int filterCountByG_F_F(long groupId, long[] folderIds, long fileEntryTypeId) Returns the number of document library file entries that the user has permission to view where groupId = ? and folderId = any ? and fileEntryTypeId = ?.- Specified by:
filterCountByG_F_F
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
groupId
- the group IDfolderIds
- the folder IDsfileEntryTypeId
- the file entry type ID- Returns:
- the number of matching document library file entries that the user has permission to view
-
findByS_L_C1_C2
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) Returns all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.- Specified by:
findByS_L_C1_C2
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image ID- Returns:
- the matching document library file entries
-
findByS_L_C1_C2
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end) Returns a range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByS_L_C1_C2
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image 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)- Returns:
- the range of matching document library file entries
-
findByS_L_C1_C2
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByS_L_C1_C2
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image 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 (optionallynull
)- Returns:
- the ordered range of matching document library file entries
-
findByS_L_C1_C2
public List<com.liferay.document.library.kernel.model.DLFileEntry> findByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findByS_L_C1_C2
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching document library file entries
-
findByS_L_C1_C2_First
public com.liferay.document.library.kernel.model.DLFileEntry findByS_L_C1_C2_First(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.- Specified by:
findByS_L_C1_C2_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByS_L_C1_C2_First
public com.liferay.document.library.kernel.model.DLFileEntry fetchByS_L_C1_C2_First(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the first document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.- Specified by:
fetchByS_L_C1_C2_First
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByS_L_C1_C2_Last
public com.liferay.document.library.kernel.model.DLFileEntry findByS_L_C1_C2_Last(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.- Specified by:
findByS_L_C1_C2_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByS_L_C1_C2_Last
public com.liferay.document.library.kernel.model.DLFileEntry fetchByS_L_C1_C2_Last(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns the last document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.- Specified by:
fetchByS_L_C1_C2_Last
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching document library file entry, or
null
if a matching document library file entry could not be found
-
findByS_L_C1_C2_PrevAndNext
public com.liferay.document.library.kernel.model.DLFileEntry[] findByS_L_C1_C2_PrevAndNext(long fileEntryId, long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entries before and after the current document library file entry in the ordered set where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.- Specified by:
findByS_L_C1_C2_PrevAndNext
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the current document library file entrysmallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
getByS_L_C1_C2_PrevAndNext
protected com.liferay.document.library.kernel.model.DLFileEntry getByS_L_C1_C2_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry, long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean previous) -
removeByS_L_C1_C2
public void removeByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) Removes all the document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ? from the database.- Specified by:
removeByS_L_C1_C2
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image ID
-
countByS_L_C1_C2
public int countByS_L_C1_C2(long smallImageId, long largeImageId, long custom1ImageId, long custom2ImageId) Returns the number of document library file entries where smallImageId = ? and largeImageId = ? and custom1ImageId = ? and custom2ImageId = ?.- Specified by:
countByS_L_C1_C2
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
smallImageId
- the small image IDlargeImageId
- the large image IDcustom1ImageId
- the custom1 image IDcustom2ImageId
- the custom2 image ID- Returns:
- the number of matching document library file entries
-
findByERC_G
public com.liferay.document.library.kernel.model.DLFileEntry findByERC_G(String externalReferenceCode, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entry where externalReferenceCode = ? and groupId = ? or throws aNoSuchFileEntryException
if it could not be found.- Specified by:
findByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a matching document library file entry could not be found
-
fetchByERC_G
public com.liferay.document.library.kernel.model.DLFileEntry fetchByERC_G(String externalReferenceCode, long groupId) Returns the document library file entry where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Specified by:
fetchByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
fetchByERC_G
public com.liferay.document.library.kernel.model.DLFileEntry fetchByERC_G(String externalReferenceCode, long groupId, boolean useFinderCache) Returns the document library file entry where externalReferenceCode = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching document library file entry, or
null
if a matching document library file entry could not be found
-
removeByERC_G
public com.liferay.document.library.kernel.model.DLFileEntry removeByERC_G(String externalReferenceCode, long groupId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Removes the document library file entry where externalReferenceCode = ? and groupId = ? from the database.- Specified by:
removeByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the document library file entry that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
-
countByERC_G
Returns the number of document library file entries where externalReferenceCode = ? and groupId = ?.- Specified by:
countByERC_G
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
externalReferenceCode
- the external reference codegroupId
- the group ID- Returns:
- the number of matching document library file entries
-
cacheResult
public void cacheResult(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) Caches the document library file entry in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
- Parameters:
dlFileEntry
- the document library file entry
-
cacheResult
Caches the document library file entries in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
dlFileEntries
- the document library file entries
-
clearCache
public void clearCache()Clears the cache for all document library file entries.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
clearCache
public void clearCache(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) Clears the cache for the document library file entry.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
-
cacheUniqueFindersCache
-
create
public com.liferay.document.library.kernel.model.DLFileEntry create(long fileEntryId) Creates a new document library file entry with the primary key. Does not add the document library file entry to the database.- Specified by:
create
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key for the new document library file entry- Returns:
- the new document library file entry
-
remove
public com.liferay.document.library.kernel.model.DLFileEntry remove(long fileEntryId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Removes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the document library file entry- Returns:
- the document library file entry that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
remove
public com.liferay.document.library.kernel.model.DLFileEntry remove(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Removes the document library file entry with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
remove
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
- Parameters:
primaryKey
- the primary key of the document library file entry- Returns:
- the document library file entry that was removed
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
removeImpl
protected com.liferay.document.library.kernel.model.DLFileEntry removeImpl(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) - Overrides:
removeImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
updateImpl
public com.liferay.document.library.kernel.model.DLFileEntry updateImpl(com.liferay.document.library.kernel.model.DLFileEntry dlFileEntry) - Specified by:
updateImpl
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntry findByPrimaryKey(Serializable primaryKey) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entry with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
findByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
- Parameters:
primaryKey
- the primary key of the document library file entry- Returns:
- the document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
findByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntry findByPrimaryKey(long fileEntryId) throws com.liferay.document.library.kernel.exception.NoSuchFileEntryException Returns the document library file entry with the primary key or throws aNoSuchFileEntryException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the document library file entry- Returns:
- the document library file entry
- Throws:
com.liferay.document.library.kernel.exception.NoSuchFileEntryException
- if a document library file entry with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntry fetchByPrimaryKey(Serializable primaryKey) Returns the document library file entry with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
fetchByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
- Parameters:
primaryKey
- the primary key of the document library file entry- Returns:
- the document library file entry, or
null
if a document library file entry with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.document.library.kernel.model.DLFileEntry fetchByPrimaryKey(long fileEntryId) Returns the document library file entry with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
fileEntryId
- the primary key of the document library file entry- Returns:
- the document library file entry, or
null
if a document library file entry with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.document.library.kernel.model.DLFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
findAll
Returns all the document library file entries.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Returns:
- the document library file entries
-
findAll
Returns a range of all the document library file entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
start
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)- Returns:
- the range of document library file entries
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator) Returns an ordered range of all the document library file entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
start
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of document library file entries
-
findAll
public List<com.liferay.document.library.kernel.model.DLFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the document library file entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDLFileEntryModelImpl
.- Specified by:
findAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Parameters:
start
- the lower bound of the range of document library file entriesend
- the upper bound of the range of document library file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of document library file entries
-
removeAll
public void removeAll()Removes all the document library file entries from the database.- Specified by:
removeAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
-
countAll
public int countAll()Returns the number of document library file entries.- Specified by:
countAll
in interfacecom.liferay.document.library.kernel.service.persistence.DLFileEntryPersistence
- Returns:
- the number of document library file entries
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntry>
-
getMappingTableNames
- Specified by:
getMappingTableNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntry>
-
getTableColumnsMap
- Specified by:
getTableColumnsMap
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntry>
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-
getTableName
- Specified by:
getTableName
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntry>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFileEntry>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the document library file entry persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.document.library.kernel.model.DLFileEntry>
-