Interface CPAttachmentFileEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPAttachmentFileEntry>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPAttachmentFileEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPAttachmentFileEntry cpAttachmentFileEntry) Caches the cp attachment file entry in the entity cache if it is enabled.void
cacheResult
(List<CPAttachmentFileEntry> cpAttachmentFileEntries) Caches the cp attachment file entries in the entity cache if it is enabled.int
countAll()
Returns the number of cp attachment file entries.int
countByC_C
(long classNameId, long classPK) Returns the number of cp attachment file entries where classNameId = ? and classPK = ?.int
countByC_C_C
(long classNameId, long classPK, String cdnURL) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.int
countByC_C_F
(long classNameId, long classPK, long fileEntryId) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.int
countByC_C_G_T_NotST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.int
countByC_C_G_T_ST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.int
countByC_C_LtD_S
(long classNameId, long classPK, Date displayDate, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.int
countByC_C_T_NotST
(long classNameId, long classPK, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.int
countByC_C_T_ST
(long classNameId, long classPK, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cp attachment file entries where externalReferenceCode = ? and companyId = ?.int
countByFileEntryId
(long fileEntryId) Returns the number of cp attachment file entries where fileEntryId = ?.int
countByG_C_F
(long groupId, long classNameId, long fileEntryId) Returns the number of cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.int
countByLtD_S
(Date displayDate, int status) Returns the number of cp attachment file entries where displayDate < ? and status = ?.int
countByUuid
(String uuid) Returns the number of cp attachment file entries where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp attachment file entries where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp attachment file entries where uuid = ? and groupId = ?.create
(long CPAttachmentFileEntryId) Creates a new cp attachment file entry with the primary key.fetchByC_C_C_First
(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.fetchByC_C_C_Last
(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.fetchByC_C_F_First
(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.fetchByC_C_F_Last
(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.fetchByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.fetchByC_C_G_T_NotST_First
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.fetchByC_C_G_T_NotST_Last
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.fetchByC_C_G_T_ST_First
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.fetchByC_C_G_T_ST_Last
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.fetchByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.fetchByC_C_LtD_S_First
(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.fetchByC_C_LtD_S_Last
(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.fetchByC_C_T_NotST_First
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.fetchByC_C_T_NotST_Last
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.fetchByC_C_T_ST_First
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.fetchByC_C_T_ST_Last
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByFileEntryId_First
(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.fetchByFileEntryId_Last
(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.fetchByG_C_F_First
(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.fetchByG_C_F_Last
(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.fetchByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.fetchByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.fetchByPrimaryKey
(long CPAttachmentFileEntryId) Returns the cp attachment file entry with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp attachment file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp attachment file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where uuid = ?.findAll()
Returns all the cp attachment file entries.findAll
(int start, int end) Returns a range of all the cp attachment file entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries.findByC_C
(long classNameId, long classPK) Returns all the cp attachment file entries where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.findByC_C
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.findByC_C_C
(long classNameId, long classPK, String cdnURL) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.findByC_C_C
(long classNameId, long classPK, String cdnURL, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.findByC_C_C
(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.findByC_C_C
(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.findByC_C_C_First
(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.findByC_C_C_Last
(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.findByC_C_C_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.findByC_C_F
(long classNameId, long classPK, long fileEntryId) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.findByC_C_F
(long classNameId, long classPK, long fileEntryId, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.findByC_C_F
(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.findByC_C_F
(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.findByC_C_F_First
(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.findByC_C_F_Last
(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.findByC_C_F_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.findByC_C_First
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.findByC_C_G_T_NotST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.findByC_C_G_T_NotST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.findByC_C_G_T_NotST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.findByC_C_G_T_NotST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.findByC_C_G_T_NotST_First
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.findByC_C_G_T_NotST_Last
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.findByC_C_G_T_NotST_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.findByC_C_G_T_ST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.findByC_C_G_T_ST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.findByC_C_G_T_ST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.findByC_C_G_T_ST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.findByC_C_G_T_ST_First
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.findByC_C_G_T_ST_Last
(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.findByC_C_G_T_ST_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.findByC_C_Last
(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.findByC_C_LtD_S
(long classNameId, long classPK, Date displayDate, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.findByC_C_LtD_S
(long classNameId, long classPK, Date displayDate, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.findByC_C_LtD_S
(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.findByC_C_LtD_S
(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.findByC_C_LtD_S_First
(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.findByC_C_LtD_S_Last
(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.findByC_C_LtD_S_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.findByC_C_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.findByC_C_T_NotST
(long classNameId, long classPK, int type, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.findByC_C_T_NotST
(long classNameId, long classPK, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.findByC_C_T_NotST
(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.findByC_C_T_NotST
(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.findByC_C_T_NotST_First
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.findByC_C_T_NotST_Last
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.findByC_C_T_NotST_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.findByC_C_T_ST
(long classNameId, long classPK, int type, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.findByC_C_T_ST
(long classNameId, long classPK, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.findByC_C_T_ST
(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.findByC_C_T_ST
(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.findByC_C_T_ST_First
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.findByC_C_T_ST_Last
(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.findByC_C_T_ST_PrevAndNext
(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPAttachmentFileEntryException
if it could not be found.findByFileEntryId
(long fileEntryId) Returns all the cp attachment file entries where fileEntryId = ?.findByFileEntryId
(long fileEntryId, int start, int end) Returns a range of all the cp attachment file entries where fileEntryId = ?.findByFileEntryId
(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.findByFileEntryId
(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.findByFileEntryId_First
(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.findByFileEntryId_Last
(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.findByFileEntryId_PrevAndNext
(long CPAttachmentFileEntryId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where fileEntryId = ?.findByG_C_F
(long groupId, long classNameId, long fileEntryId) Returns all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.findByG_C_F
(long groupId, long classNameId, long fileEntryId, int start, int end) Returns a range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.findByG_C_F
(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.findByG_C_F
(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.findByG_C_F_First
(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.findByG_C_F_Last
(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.findByG_C_F_PrevAndNext
(long CPAttachmentFileEntryId, long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.findByLtD_S
(Date displayDate, int status) Returns all the cp attachment file entries where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the cp attachment file entries where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.findByLtD_S_First
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.findByLtD_S_Last
(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.findByLtD_S_PrevAndNext
(long CPAttachmentFileEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where displayDate < ? and status = ?.findByPrimaryKey
(long CPAttachmentFileEntryId) Returns the cp attachment file entry with the primary key or throws aNoSuchCPAttachmentFileEntryException
if it could not be found.findByUuid
(String uuid) Returns all the cp attachment file entries where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp attachment file entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp attachment file entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp attachment file entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long CPAttachmentFileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp attachment file entry where uuid = ? and groupId = ? or throws aNoSuchCPAttachmentFileEntryException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPAttachmentFileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ?.remove
(long CPAttachmentFileEntryId) Removes the cp attachment file entry with the primary key from the database.void
Removes all the cp attachment file entries from the database.void
removeByC_C
(long classNameId, long classPK) Removes all the cp attachment file entries where classNameId = ? and classPK = ? from the database.void
removeByC_C_C
(long classNameId, long classPK, String cdnURL) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ? from the database.void
removeByC_C_F
(long classNameId, long classPK, long fileEntryId) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ? from the database.void
removeByC_C_G_T_NotST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ? from the database.void
removeByC_C_G_T_ST
(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ? from the database.void
removeByC_C_LtD_S
(long classNameId, long classPK, Date displayDate, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ? from the database.void
removeByC_C_T_NotST
(long classNameId, long classPK, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ? from the database.void
removeByC_C_T_ST
(long classNameId, long classPK, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the cp attachment file entry where externalReferenceCode = ? and companyId = ? from the database.void
removeByFileEntryId
(long fileEntryId) Removes all the cp attachment file entries where fileEntryId = ? from the database.void
removeByG_C_F
(long groupId, long classNameId, long fileEntryId) Removes all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ? from the database.void
removeByLtD_S
(Date displayDate, int status) Removes all the cp attachment file entries where displayDate < ? and status = ? from the database.void
removeByUuid
(String uuid) Removes all the cp attachment file entries where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp attachment file entries where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp attachment file entry where uuid = ? and groupId = ? from the database.updateImpl
(CPAttachmentFileEntry cpAttachmentFileEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the cp attachment file entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp attachment file entries
-
findByUuid
Returns a range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByUuid
List<CPAttachmentFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByUuid
List<CPAttachmentFileEntry> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByUuid_First
CPAttachmentFileEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByUuid_First
CPAttachmentFileEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByUuid_Last
CPAttachmentFileEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByUuid_Last
CPAttachmentFileEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByUuid_PrevAndNext
CPAttachmentFileEntry[] findByUuid_PrevAndNext(long CPAttachmentFileEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByUuid
Removes all the cp attachment file entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp attachment file entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp attachment file entries
-
findByUUID_G
CPAttachmentFileEntry findByUUID_G(String uuid, long groupId) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entry where uuid = ? and groupId = ? or throws aNoSuchCPAttachmentFileEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByUUID_G
Returns the cp attachment file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
fetchByUUID_G
Returns the cp attachment file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
removeByUUID_G
CPAttachmentFileEntry removeByUUID_G(String uuid, long groupId) throws NoSuchCPAttachmentFileEntryException Removes the cp attachment file entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp attachment file entry that was removed
- Throws:
NoSuchCPAttachmentFileEntryException
-
countByUUID_G
Returns the number of cp attachment file entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp attachment file entries
-
findByUuid_C
Returns all the cp attachment file entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp attachment file entries
-
findByUuid_C
Returns a range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByUuid_C
List<CPAttachmentFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByUuid_C
List<CPAttachmentFileEntry> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByUuid_C_First
CPAttachmentFileEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByUuid_C_First
CPAttachmentFileEntry fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByUuid_C_Last
CPAttachmentFileEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByUuid_C_Last
CPAttachmentFileEntry fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByUuid_C_PrevAndNext
CPAttachmentFileEntry[] findByUuid_C_PrevAndNext(long CPAttachmentFileEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByUuid_C
Removes all the cp attachment file entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp attachment file entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp attachment file entries
-
findByFileEntryId
Returns all the cp attachment file entries where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry ID- Returns:
- the matching cp attachment file entries
-
findByFileEntryId
Returns a range of all the cp attachment file entries where fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
fileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByFileEntryId
List<CPAttachmentFileEntry> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
fileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByFileEntryId
List<CPAttachmentFileEntry> findByFileEntryId(long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
fileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByFileEntryId_First
CPAttachmentFileEntry findByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByFileEntryId_First
CPAttachmentFileEntry fetchByFileEntryId_First(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByFileEntryId_Last
CPAttachmentFileEntry findByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByFileEntryId_Last
CPAttachmentFileEntry fetchByFileEntryId_Last(long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByFileEntryId_PrevAndNext
CPAttachmentFileEntry[] findByFileEntryId_PrevAndNext(long CPAttachmentFileEntryId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where fileEntryId = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByFileEntryId
void removeByFileEntryId(long fileEntryId) Removes all the cp attachment file entries where fileEntryId = ? from the database.- Parameters:
fileEntryId
- the file entry ID
-
countByFileEntryId
int countByFileEntryId(long fileEntryId) Returns the number of cp attachment file entries where fileEntryId = ?.- Parameters:
fileEntryId
- the file entry ID- Returns:
- the number of matching cp attachment file entries
-
findByC_C
Returns all the cp attachment file entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching cp attachment file entries
-
findByC_C
Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C
List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C
List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_First
CPAttachmentFileEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_First
CPAttachmentFileEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_Last
CPAttachmentFileEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_Last
CPAttachmentFileEntry fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_PrevAndNext
CPAttachmentFileEntry[] findByC_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C
void removeByC_C(long classNameId, long classPK) Removes all the cp attachment file entries where classNameId = ? and classPK = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pk
-
countByC_C
int countByC_C(long classNameId, long classPK) Returns the number of cp attachment file entries where classNameId = ? and classPK = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching cp attachment file entries
-
findByLtD_S
Returns all the cp attachment file entries where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByLtD_S
Returns a range of all the cp attachment file entries where displayDate < ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByLtD_S
List<CPAttachmentFileEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByLtD_S
List<CPAttachmentFileEntry> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where displayDate < ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByLtD_S_First
CPAttachmentFileEntry findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByLtD_S_First
CPAttachmentFileEntry fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByLtD_S_Last
CPAttachmentFileEntry findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByLtD_S_Last
CPAttachmentFileEntry fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByLtD_S_PrevAndNext
CPAttachmentFileEntry[] findByLtD_S_PrevAndNext(long CPAttachmentFileEntryId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where displayDate < ? and status = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByLtD_S
Removes all the cp attachment file entries where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of cp attachment file entries where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching cp attachment file entries
-
findByG_C_F
Returns all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry ID- Returns:
- the matching cp attachment file entries
-
findByG_C_F
List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end) Returns a range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByG_C_F
List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByG_C_F
List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByG_C_F_First
CPAttachmentFileEntry findByG_C_F_First(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByG_C_F_First
CPAttachmentFileEntry fetchByG_C_F_First(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByG_C_F_Last
CPAttachmentFileEntry findByG_C_F_Last(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByG_C_F_Last
CPAttachmentFileEntry fetchByG_C_F_Last(long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByG_C_F_PrevAndNext
CPAttachmentFileEntry[] findByG_C_F_PrevAndNext(long CPAttachmentFileEntryId, long groupId, long classNameId, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where groupId = ? and classNameId = ? and fileEntryId = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entrygroupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByG_C_F
void removeByG_C_F(long groupId, long classNameId, long fileEntryId) Removes all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry ID
-
countByG_C_F
int countByG_C_F(long groupId, long classNameId, long fileEntryId) Returns the number of cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDfileEntryId
- the file entry ID- Returns:
- the number of matching cp attachment file entries
-
findByC_C_F
Returns all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry ID- Returns:
- the matching cp attachment file entries
-
findByC_C_F
List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C_F
List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C_F
List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_F_First
CPAttachmentFileEntry findByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_F_First
CPAttachmentFileEntry fetchByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_F_Last
CPAttachmentFileEntry findByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_F_Last
CPAttachmentFileEntry fetchByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_F_PrevAndNext
CPAttachmentFileEntry[] findByC_C_F_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and fileEntryId = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C_F
void removeByC_C_F(long classNameId, long classPK, long fileEntryId) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry ID
-
countByC_C_F
int countByC_C_F(long classNameId, long classPK, long fileEntryId) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry ID- Returns:
- the number of matching cp attachment file entries
-
findByC_C_C
Returns all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn url- Returns:
- the matching cp attachment file entries
-
findByC_C_C
List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C_C
List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C_C
List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_C_First
CPAttachmentFileEntry findByC_C_C_First(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_C_First
CPAttachmentFileEntry fetchByC_C_C_First(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_C_Last
CPAttachmentFileEntry findByC_C_C_Last(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_C_Last
CPAttachmentFileEntry fetchByC_C_C_Last(long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_C_PrevAndNext
CPAttachmentFileEntry[] findByC_C_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and cdnURL = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C_C
Removes all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn url
-
countByC_C_C
Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn url- Returns:
- the number of matching cp attachment file entries
-
findByC_C_LtD_S
List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByC_C_LtD_S
List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C_LtD_S
List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C_LtD_S
List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_LtD_S_First
CPAttachmentFileEntry findByC_C_LtD_S_First(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_LtD_S_First
CPAttachmentFileEntry fetchByC_C_LtD_S_First(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_LtD_S_Last
CPAttachmentFileEntry findByC_C_LtD_S_Last(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_LtD_S_Last
CPAttachmentFileEntry fetchByC_C_LtD_S_Last(long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_LtD_S_PrevAndNext
CPAttachmentFileEntry[] findByC_C_LtD_S_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and displayDate < ? and status = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C_LtD_S
Removes all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the status
-
countByC_C_LtD_S
Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the status- Returns:
- the number of matching cp attachment file entries
-
findByC_C_T_ST
Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByC_C_T_ST
List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C_T_ST
List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C_T_ST
List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_T_ST_First
CPAttachmentFileEntry findByC_C_T_ST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_T_ST_First
CPAttachmentFileEntry fetchByC_C_T_ST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_T_ST_Last
CPAttachmentFileEntry findByC_C_T_ST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_T_ST_Last
CPAttachmentFileEntry fetchByC_C_T_ST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_T_ST_PrevAndNext
CPAttachmentFileEntry[] findByC_C_T_ST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C_T_ST
void removeByC_C_T_ST(long classNameId, long classPK, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status
-
countByC_C_T_ST
int countByC_C_T_ST(long classNameId, long classPK, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status- Returns:
- the number of matching cp attachment file entries
-
findByC_C_T_NotST
Returns all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByC_C_T_NotST
List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C_T_NotST
List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C_T_NotST
List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_T_NotST_First
CPAttachmentFileEntry findByC_C_T_NotST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_T_NotST_First
CPAttachmentFileEntry fetchByC_C_T_NotST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_T_NotST_Last
CPAttachmentFileEntry findByC_C_T_NotST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_T_NotST_Last
CPAttachmentFileEntry fetchByC_C_T_NotST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_T_NotST_PrevAndNext
CPAttachmentFileEntry[] findByC_C_T_NotST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and type = ? and status ≠ ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C_T_NotST
void removeByC_C_T_NotST(long classNameId, long classPK, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status
-
countByC_C_T_NotST
int countByC_C_T_NotST(long classNameId, long classPK, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status- Returns:
- the number of matching cp attachment file entries
-
findByC_C_G_T_ST
List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByC_C_G_T_ST
List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C_G_T_ST
List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C_G_T_ST
List<CPAttachmentFileEntry> findByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_G_T_ST_First
CPAttachmentFileEntry findByC_C_G_T_ST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_G_T_ST_First
CPAttachmentFileEntry fetchByC_C_G_T_ST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_G_T_ST_Last
CPAttachmentFileEntry findByC_C_G_T_ST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_G_T_ST_Last
CPAttachmentFileEntry fetchByC_C_G_T_ST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_G_T_ST_PrevAndNext
CPAttachmentFileEntry[] findByC_C_G_T_ST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C_G_T_ST
void removeByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the status
-
countByC_C_G_T_ST
int countByC_C_G_T_ST(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the status- Returns:
- the number of matching cp attachment file entries
-
findByC_C_G_T_NotST
List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByC_C_G_T_NotST
List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of matching cp attachment file entries
-
findByC_C_G_T_NotST
List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching cp attachment file entries
-
findByC_C_G_T_NotST
List<CPAttachmentFileEntry> findByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusstart
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
findByC_C_G_T_NotST_First
CPAttachmentFileEntry findByC_C_G_T_NotST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_G_T_NotST_First
CPAttachmentFileEntry fetchByC_C_G_T_NotST_First(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_G_T_NotST_Last
CPAttachmentFileEntry findByC_C_G_T_NotST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByC_C_G_T_NotST_Last
CPAttachmentFileEntry fetchByC_C_G_T_NotST_Last(long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
findByC_C_G_T_NotST_PrevAndNext
CPAttachmentFileEntry[] findByC_C_G_T_NotST_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, boolean galleryEnabled, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entries before and after the current cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.- Parameters:
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryclassNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
removeByC_C_G_T_NotST
void removeByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Removes all the cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ? from the database.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the status
-
countByC_C_G_T_NotST
int countByC_C_G_T_NotST(long classNameId, long classPK, boolean galleryEnabled, int type, int status) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pkgalleryEnabled
- the gallery enabledtype
- the typestatus
- the status- Returns:
- the number of matching cp attachment file entries
-
findByERC_C
CPAttachmentFileEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPAttachmentFileEntryException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be found
-
fetchByERC_C
Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
fetchByERC_C
CPAttachmentFileEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp attachment file entry, or
null
if a matching cp attachment file entry could not be found
-
removeByERC_C
CPAttachmentFileEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPAttachmentFileEntryException Removes the cp attachment file entry where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the cp attachment file entry that was removed
- Throws:
NoSuchCPAttachmentFileEntryException
-
countByERC_C
Returns the number of cp attachment file entries where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching cp attachment file entries
-
cacheResult
Caches the cp attachment file entry in the entity cache if it is enabled.- Parameters:
cpAttachmentFileEntry
- the cp attachment file entry
-
cacheResult
Caches the cp attachment file entries in the entity cache if it is enabled.- Parameters:
cpAttachmentFileEntries
- the cp attachment file entries
-
create
Creates a new cp attachment file entry with the primary key. Does not add the cp attachment file entry to the database.- Parameters:
CPAttachmentFileEntryId
- the primary key for the new cp attachment file entry- Returns:
- the new cp attachment file entry
-
remove
CPAttachmentFileEntry remove(long CPAttachmentFileEntryId) throws NoSuchCPAttachmentFileEntryException Removes the cp attachment file entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPAttachmentFileEntryId
- the primary key of the cp attachment file entry- Returns:
- the cp attachment file entry that was removed
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
CPAttachmentFileEntry findByPrimaryKey(long CPAttachmentFileEntryId) throws NoSuchCPAttachmentFileEntryException Returns the cp attachment file entry with the primary key or throws aNoSuchCPAttachmentFileEntryException
if it could not be found.- Parameters:
CPAttachmentFileEntryId
- the primary key of the cp attachment file entry- Returns:
- the cp attachment file entry
- Throws:
NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp attachment file entry with the primary key or returnsnull
if it could not be found.- Parameters:
CPAttachmentFileEntryId
- the primary key of the cp attachment file entry- Returns:
- the cp attachment file entry, or
null
if a cp attachment file entry with the primary key could not be found
-
findAll
List<CPAttachmentFileEntry> findAll()Returns all the cp attachment file entries.- Returns:
- the cp attachment file entries
-
findAll
Returns a range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)- Returns:
- the range of cp attachment file entries
-
findAll
List<CPAttachmentFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) Returns an ordered range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment file entries (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of cp attachment file entries
-
findAll
List<CPAttachmentFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp attachment 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 fromCPAttachmentFileEntryModelImpl
.- Parameters:
start
- the lower bound of the range of cp attachment file entriesend
- the upper bound of the range of cp attachment 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 cp attachment file entries
-
removeAll
void removeAll()Removes all the cp attachment file entries from the database. -
countAll
int countAll()Returns the number of cp attachment file entries.- Returns:
- the number of cp attachment file entries
-