Class CPAttachmentFileEntryUtil
com.liferay.commerce.product.service.persistence.impl.CPAttachmentFileEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CPAttachmentFileEntry cpAttachmentFileEntry) Caches the cp attachment file entry in the entity cache if it is enabled.static void
cacheResult
(List<CPAttachmentFileEntry> cpAttachmentFileEntries) Caches the cp attachment file entries in the entity cache if it is enabled.static void
static void
clearCache
(CPAttachmentFileEntry cpAttachmentFileEntry) static int
countAll()
Returns the number of cp attachment file entries.static int
countByC_C
(long classNameId, long classPK) Returns the number of cp attachment file entries where classNameId = ? and classPK = ?.static int
countByC_C_C
(long classNameId, long classPK, String cdnURL) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.static int
countByC_C_F
(long classNameId, long classPK, long fileEntryId) Returns the number of cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.static 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 ≠ ?.static 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 = ?.static 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 = ?.static 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 ≠ ?.static 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 = ?.static int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cp attachment file entries where externalReferenceCode = ? and companyId = ?.static int
countByFileEntryId
(long fileEntryId) Returns the number of cp attachment file entries where fileEntryId = ?.static int
countByG_C_F
(long groupId, long classNameId, long fileEntryId) Returns the number of cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.static int
countByLtD_S
(Date displayDate, int status) Returns the number of cp attachment file entries where displayDate < ? and status = ?.static int
countByUuid
(String uuid) Returns the number of cp attachment file entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cp attachment file entries where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of cp attachment file entries where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CPAttachmentFileEntry
create
(long CPAttachmentFileEntryId) Creates a new cp attachment file entry with the primary key.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 ≠ ?.static 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 ≠ ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 ≠ ?.static 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 ≠ ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
fetchByERC_C
(String externalReferenceCode, long companyId) Returns the cp attachment file entry where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.static 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.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
fetchByPrimaryKey
(long CPAttachmentFileEntryId) Returns the cp attachment file entry with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CPAttachmentFileEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static 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 = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
fetchByUUID_G
(String uuid, long groupId) Returns the cp attachment file entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.static CPAttachmentFileEntry
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.static 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 = ?.static List<CPAttachmentFileEntry>
findAll()
Returns all the cp attachment file entries.static List<CPAttachmentFileEntry>
findAll
(int start, int end) Returns a range of all the cp attachment file entries.static 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.static 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.static List<CPAttachmentFileEntry>
findByC_C
(long classNameId, long classPK) Returns all the cp attachment file entries where classNameId = ? and classPK = ?.static List<CPAttachmentFileEntry>
findByC_C
(long classNameId, long classPK, int start, int end) Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ?.static 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 = ?.static 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 = ?.static List<CPAttachmentFileEntry>
findByC_C_C
(long classNameId, long classPK, String cdnURL) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static List<CPAttachmentFileEntry>
findByC_C_F
(long classNameId, long classPK, long fileEntryId) Returns all the cp attachment file entries where classNameId = ? and classPK = ? and fileEntryId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static CPAttachmentFileEntry
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 = ?.static 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 ≠ ?.static 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 ≠ ?.static 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 ≠ ?.static 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 ≠ ?.static 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) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.static 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) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status ≠ ?.static 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) 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 ≠ ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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) Returns the first cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.static 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) Returns the last cp attachment file entry in the ordered set where classNameId = ? and classPK = ? and galleryEnabled = ? and type = ? and status = ?.static 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) 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 = ?.static CPAttachmentFileEntry
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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static List<CPAttachmentFileEntry>
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 ≠ ?.static 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 ≠ ?.static 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 ≠ ?.static 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 ≠ ?.static CPAttachmentFileEntry
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 ≠ ?.static CPAttachmentFileEntry
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 ≠ ?.static CPAttachmentFileEntry[]
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 ≠ ?.static List<CPAttachmentFileEntry>
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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static CPAttachmentFileEntry
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.static List<CPAttachmentFileEntry>
findByFileEntryId
(long fileEntryId) Returns all the cp attachment file entries where fileEntryId = ?.static List<CPAttachmentFileEntry>
findByFileEntryId
(long fileEntryId, int start, int end) Returns a range of all the cp attachment file entries where fileEntryId = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static List<CPAttachmentFileEntry>
findByG_C_F
(long groupId, long classNameId, long fileEntryId) Returns all the cp attachment file entries where groupId = ? and classNameId = ? and fileEntryId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static List<CPAttachmentFileEntry>
findByLtD_S
(Date displayDate, int status) Returns all the cp attachment file entries where displayDate < ? and status = ?.static List<CPAttachmentFileEntry>
findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the cp attachment file entries where displayDate < ? and status = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static CPAttachmentFileEntry
findByPrimaryKey
(long CPAttachmentFileEntryId) Returns the cp attachment file entry with the primary key or throws aNoSuchCPAttachmentFileEntryException
if it could not be found.static List<CPAttachmentFileEntry>
findByUuid
(String uuid) Returns all the cp attachment file entries where uuid = ?.static List<CPAttachmentFileEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the cp attachment file entries where uuid = ?.static 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 = ?.static 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 = ?.static List<CPAttachmentFileEntry>
findByUuid_C
(String uuid, long companyId) Returns all the cp attachment file entries where uuid = ? and companyId = ?.static List<CPAttachmentFileEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp attachment file entries where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry
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.static CPAttachmentFileEntry
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 = ?.static CPAttachmentFileEntry[]
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 = ?.static List<CPAttachmentFileEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CPAttachmentFileEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CPAttachmentFileEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) static CPAttachmentFileEntry
remove
(long CPAttachmentFileEntryId) Removes the cp attachment file entry with the primary key from the database.static void
Removes all the cp attachment file entries from the database.static void
removeByC_C
(long classNameId, long classPK) Removes all the cp attachment file entries where classNameId = ? and classPK = ? from the database.static 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.static 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.static 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.static 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.static 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.static 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.static 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.static CPAttachmentFileEntry
removeByERC_C
(String externalReferenceCode, long companyId) Removes the cp attachment file entry where externalReferenceCode = ? and companyId = ? from the database.static void
removeByFileEntryId
(long fileEntryId) Removes all the cp attachment file entries where fileEntryId = ? from the database.static 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.static void
removeByLtD_S
(Date displayDate, int status) Removes all the cp attachment file entries where displayDate < ? and status = ? from the database.static void
removeByUuid
(String uuid) Removes all the cp attachment file entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cp attachment file entries where uuid = ? and companyId = ? from the database.static CPAttachmentFileEntry
removeByUUID_G
(String uuid, long groupId) Removes the cp attachment file entry where uuid = ? and groupId = ? from the database.static void
setPersistence
(CPAttachmentFileEntryPersistence persistence) static CPAttachmentFileEntry
update
(CPAttachmentFileEntry cpAttachmentFileEntry) static CPAttachmentFileEntry
update
(CPAttachmentFileEntry cpAttachmentFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CPAttachmentFileEntry
updateImpl
(CPAttachmentFileEntry cpAttachmentFileEntry)
-
Constructor Details
-
CPAttachmentFileEntryUtil
public CPAttachmentFileEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CPAttachmentFileEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CPAttachmentFileEntry update(CPAttachmentFileEntry cpAttachmentFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
public static CPAttachmentFileEntry 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.- 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
public static 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
public static List<CPAttachmentFileEntry> findByUuid_C(String uuid, long companyId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByFileEntryId_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByFileEntryId_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByFileEntryId
public static void removeByFileEntryId(long fileEntryId) Removes all the cp attachment file entries where fileEntryId = ? from the database.- Parameters:
fileEntryId
- the file entry ID
-
countByFileEntryId
public static 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
public static List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByC_C
public static 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
public static 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
public static List<CPAttachmentFileEntry> findByLtD_S(Date displayDate, int status, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByLtD_S_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByLtD_S_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
public static List<CPAttachmentFileEntry> findByG_C_F(long groupId, long classNameId, long fileEntryId) 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByG_C_F_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByG_C_F_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByG_C_F
public static 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
public static 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
public static List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId) 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_F_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_F_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByC_C_F
public static 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
public static 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
public static List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, String cdnURL) 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_C_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_C_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_LtD_S_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_LtD_S_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
public static List<CPAttachmentFileEntry> 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 = ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByC_C_T_ST
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_T_ST_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_T_ST_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByC_C_T_ST
public static 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
public static 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
public static List<CPAttachmentFileEntry> 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 ≠ ?.- Parameters:
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the status- Returns:
- the matching cp attachment file entries
-
findByC_C_T_NotST
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_T_NotST_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_T_NotST_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByC_C_T_NotST
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_G_T_ST_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_G_T_ST_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByC_C_G_T_ST
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_G_T_NotST_First
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
fetchByC_C_G_T_NotST_Last
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
removeByC_C_G_T_NotST
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
public static 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
public static 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
public static 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 foundNoSuchCPAttachmentFileEntryException
-
updateImpl
-
findByPrimaryKey
public static 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 foundNoSuchCPAttachmentFileEntryException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the cp attachment file entries from the database. -
countAll
public static int countAll()Returns the number of cp attachment file entries.- Returns:
- the number of cp attachment file entries
-
getPersistence
-
setPersistence
-