public class CPAttachmentFileEntryUtil
extends java.lang.Object
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
CPAttachmentFileEntryPersistence
Constructor and Description |
---|
CPAttachmentFileEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CPAttachmentFileEntry cpAttachmentFileEntry)
Caches the cp attachment file entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CPAttachmentFileEntry> cpAttachmentFileEntries)
Caches the cp attachment file entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CPAttachmentFileEntry cpAttachmentFileEntry) |
static int |
countAll()
Returns the number of cp attachment file entries.
|
static int |
countByC_C_C(long classNameId,
long classPK,
java.lang.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_LtD_S(long classNameId,
long classPK,
java.util.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 |
countByC_C(long classNameId,
long classPK)
Returns the number of cp attachment file entries where classNameId = ? and classPK = ?.
|
static int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of cp attachment file entries where companyId = ? and externalReferenceCode = ?.
|
static int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of cp attachment file entries where displayDate < ? and status = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp attachment file entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp attachment file entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cp attachment file entries where uuid = ?.
|
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,
java.lang.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,
java.lang.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_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,
java.util.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,
java.util.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 |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the cp attachment file entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
static CPAttachmentFileEntry |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the cp attachment file entry where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPAttachmentFileEntry |
fetchByLtD_S_First(java.util.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(java.util.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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CPAttachmentFileEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CPAttachmentFileEntry |
fetchByUuid_C_First(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
long groupId)
Returns the cp attachment file entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static CPAttachmentFileEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp attachment file entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CPAttachmentFileEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Returns the last cp attachment file entry in the ordered set where uuid = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findAll()
Returns all the cp attachment file entries.
|
static java.util.List<CPAttachmentFileEntry> |
findAll(int start,
int end)
Returns a range of all the cp attachment file entries.
|
static java.util.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 java.util.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 CPAttachmentFileEntry |
findByC_C_C_First(long classNameId,
long classPK,
java.lang.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,
java.lang.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,
java.lang.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 java.util.List<CPAttachmentFileEntry> |
findByC_C_C(long classNameId,
long classPK,
java.lang.String cdnURL)
Returns all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByC_C_C(long classNameId,
long classPK,
java.lang.String cdnURL,
int start,
int end)
Returns a range of all the cp attachment file entries where classNameId = ? and classPK = ? and cdnURL = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByC_C_C(long classNameId,
long classPK,
java.lang.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 java.util.List<CPAttachmentFileEntry> |
findByC_C_C(long classNameId,
long classPK,
java.lang.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_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 java.util.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 java.util.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 java.util.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 java.util.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_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 |
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 CPAttachmentFileEntry |
findByC_C_LtD_S_First(long classNameId,
long classPK,
java.util.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,
java.util.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,
java.util.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 java.util.List<CPAttachmentFileEntry> |
findByC_C_LtD_S(long classNameId,
long classPK,
java.util.Date displayDate,
int status)
Returns all the cp attachment file entries where classNameId = ? and classPK = ? and displayDate < ? and status = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByC_C_LtD_S(long classNameId,
long classPK,
java.util.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 java.util.List<CPAttachmentFileEntry> |
findByC_C_LtD_S(long classNameId,
long classPK,
java.util.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 java.util.List<CPAttachmentFileEntry> |
findByC_C_LtD_S(long classNameId,
long classPK,
java.util.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_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 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 java.util.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 java.util.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 java.util.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 java.util.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_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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.List<CPAttachmentFileEntry> |
findByC_C(long classNameId,
long classPK)
Returns all the cp attachment file entries where classNameId = ? and classPK = ?.
|
static java.util.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 java.util.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 java.util.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 CPAttachmentFileEntry |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the cp attachment file entry where companyId = ? and externalReferenceCode = ? or throws a
NoSuchCPAttachmentFileEntryException if it could not be found. |
static CPAttachmentFileEntry |
findByLtD_S_First(java.util.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(java.util.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,
java.util.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 java.util.List<CPAttachmentFileEntry> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the cp attachment file entries where displayDate < ? and status = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the cp attachment file entries where displayDate < ? and status = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByLtD_S(java.util.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 java.util.List<CPAttachmentFileEntry> |
findByLtD_S(java.util.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 |
findByPrimaryKey(long CPAttachmentFileEntryId)
Returns the cp attachment file entry with the primary key or throws a
NoSuchCPAttachmentFileEntryException if it could not be found. |
static CPAttachmentFileEntry |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<CPAttachmentFileEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp attachment file entries where uuid = ? and companyId = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp attachment file entries where uuid = ? and companyId = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByUuid_C(java.lang.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 java.util.List<CPAttachmentFileEntry> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.String uuid,
long groupId)
Returns the cp attachment file entry where uuid = ? and groupId = ? or throws a
NoSuchCPAttachmentFileEntryException if it could not be found. |
static CPAttachmentFileEntry |
findByUuid_Last(java.lang.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,
java.lang.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 java.util.List<CPAttachmentFileEntry> |
findByUuid(java.lang.String uuid)
Returns all the cp attachment file entries where uuid = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp attachment file entries where uuid = ?.
|
static java.util.List<CPAttachmentFileEntry> |
findByUuid(java.lang.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 java.util.List<CPAttachmentFileEntry> |
findByUuid(java.lang.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 java.util.List<CPAttachmentFileEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CPAttachmentFileEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CPAttachmentFileEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) |
static CPAttachmentFileEntryPersistence |
getPersistence() |
static CPAttachmentFileEntry |
remove(long CPAttachmentFileEntryId)
Removes the cp attachment file entry with the primary key from the database.
|
static void |
removeAll()
Removes all the cp attachment file entries from the database.
|
static void |
removeByC_C_C(long classNameId,
long classPK,
java.lang.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_LtD_S(long classNameId,
long classPK,
java.util.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 void |
removeByC_C(long classNameId,
long classPK)
Removes all the cp attachment file entries where classNameId = ? and classPK = ? from the database.
|
static CPAttachmentFileEntry |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the cp attachment file entry where companyId = ? and externalReferenceCode = ? from the database.
|
static void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the cp attachment file entries where displayDate < ? and status = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp attachment file entries where uuid = ? and companyId = ? from the database.
|
static CPAttachmentFileEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp attachment file entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cp attachment file entries where uuid = ? from the database.
|
static CPAttachmentFileEntry |
update(CPAttachmentFileEntry cpAttachmentFileEntry) |
static CPAttachmentFileEntry |
update(CPAttachmentFileEntry cpAttachmentFileEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CPAttachmentFileEntry |
updateImpl(CPAttachmentFileEntry cpAttachmentFileEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CPAttachmentFileEntry cpAttachmentFileEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CPAttachmentFileEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CPAttachmentFileEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CPAttachmentFileEntry update(CPAttachmentFileEntry cpAttachmentFileEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CPAttachmentFileEntry update(CPAttachmentFileEntry cpAttachmentFileEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CPAttachmentFileEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CPAttachmentFileEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.List<CPAttachmentFileEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPAttachmentFileEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry[] findByUuid_PrevAndNext(long CPAttachmentFileEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static CPAttachmentFileEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPAttachmentFileEntryException
NoSuchCPAttachmentFileEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPAttachmentFileEntryException
uuid
- the uuidgroupId
- the group IDNoSuchCPAttachmentFileEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<CPAttachmentFileEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPAttachmentFileEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.List<CPAttachmentFileEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPAttachmentFileEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry[] findByUuid_C_PrevAndNext(long CPAttachmentFileEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.List<CPAttachmentFileEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPAttachmentFileEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry[] findByC_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
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 (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<CPAttachmentFileEntry> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CPAttachmentFileEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.List<CPAttachmentFileEntry> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPAttachmentFileEntry findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry[] findByLtD_S_PrevAndNext(long CPAttachmentFileEntryId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
CPAttachmentFileEntryId
- the primary key of the current cp attachment file entrydisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static int countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statuspublic static java.util.List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId)
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDpublic static java.util.List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findByC_C_F(long classNameId, long classPK, long fileEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPAttachmentFileEntry findByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_F_First(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry findByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_F_Last(long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry[] findByC_C_F_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, long fileEntryId, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
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 (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByC_C_F(long classNameId, long classPK, long fileEntryId)
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDpublic static int countByC_C_F(long classNameId, long classPK, long fileEntryId)
classNameId
- the class name IDclassPK
- the class pkfileEntryId
- the file entry IDpublic static java.util.List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, java.lang.String cdnURL)
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlpublic static java.util.List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, java.lang.String cdnURL, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, java.lang.String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.List<CPAttachmentFileEntry> findByC_C_C(long classNameId, long classPK, java.lang.String cdnURL, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPAttachmentFileEntry findByC_C_C_First(long classNameId, long classPK, java.lang.String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_C_First(long classNameId, long classPK, java.lang.String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry findByC_C_C_Last(long classNameId, long classPK, java.lang.String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_C_Last(long classNameId, long classPK, java.lang.String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry[] findByC_C_C_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, java.lang.String cdnURL, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
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 (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByC_C_C(long classNameId, long classPK, java.lang.String cdnURL)
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlpublic static int countByC_C_C(long classNameId, long classPK, java.lang.String cdnURL)
classNameId
- the class name IDclassPK
- the class pkcdnURL
- the cdn urlpublic static java.util.List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, java.util.Date displayDate, int status)
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statuspublic static java.util.List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, java.util.Date displayDate, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.List<CPAttachmentFileEntry> findByC_C_LtD_S(long classNameId, long classPK, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CPAttachmentFileEntry findByC_C_LtD_S_First(long classNameId, long classPK, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_LtD_S_First(long classNameId, long classPK, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry findByC_C_LtD_S_Last(long classNameId, long classPK, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_LtD_S_Last(long classNameId, long classPK, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry[] findByC_C_LtD_S_PrevAndNext(long CPAttachmentFileEntryId, long classNameId, long classPK, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator) throws NoSuchCPAttachmentFileEntryException
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 (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByC_C_LtD_S(long classNameId, long classPK, java.util.Date displayDate, int status)
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statuspublic static int countByC_C_LtD_S(long classNameId, long classPK, java.util.Date displayDate, int status)
classNameId
- the class name IDclassPK
- the class pkdisplayDate
- the display datestatus
- the statuspublic static java.util.List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statuspublic static java.util.List<CPAttachmentFileEntry> findByC_C_T_ST(long classNameId, long classPK, int type, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_T_ST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic 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
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_T_ST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic 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
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 (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByC_C_T_ST(long classNameId, long classPK, int type, int status)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statuspublic static int countByC_C_T_ST(long classNameId, long classPK, int type, int status)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statuspublic static java.util.List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statuspublic static java.util.List<CPAttachmentFileEntry> findByC_C_T_NotST(long classNameId, long classPK, int type, int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.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)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic 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
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_T_NotST_First(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic 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
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_C_T_NotST_Last(long classNameId, long classPK, int type, int status, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp attachment file entry could not be foundpublic 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
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 (optionally null
)NoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static void removeByC_C_T_NotST(long classNameId, long classPK, int type, int status)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statuspublic static int countByC_C_T_NotST(long classNameId, long classPK, int type, int status)
classNameId
- the class name IDclassPK
- the class pktype
- the typestatus
- the statuspublic static CPAttachmentFileEntry findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCPAttachmentFileEntryException
NoSuchCPAttachmentFileEntryException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCPAttachmentFileEntryException
- if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching cp attachment file entry could not be foundpublic static CPAttachmentFileEntry removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCPAttachmentFileEntryException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCPAttachmentFileEntryException
public static int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codepublic static void cacheResult(CPAttachmentFileEntry cpAttachmentFileEntry)
cpAttachmentFileEntry
- the cp attachment file entrypublic static void cacheResult(java.util.List<CPAttachmentFileEntry> cpAttachmentFileEntries)
cpAttachmentFileEntries
- the cp attachment file entriespublic static CPAttachmentFileEntry create(long CPAttachmentFileEntryId)
CPAttachmentFileEntryId
- the primary key for the new cp attachment file entrypublic static CPAttachmentFileEntry remove(long CPAttachmentFileEntryId) throws NoSuchCPAttachmentFileEntryException
CPAttachmentFileEntryId
- the primary key of the cp attachment file entryNoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static CPAttachmentFileEntry updateImpl(CPAttachmentFileEntry cpAttachmentFileEntry)
public static CPAttachmentFileEntry findByPrimaryKey(long CPAttachmentFileEntryId) throws NoSuchCPAttachmentFileEntryException
NoSuchCPAttachmentFileEntryException
if it could not be found.CPAttachmentFileEntryId
- the primary key of the cp attachment file entryNoSuchCPAttachmentFileEntryException
- if a cp attachment file entry with the primary key could not be foundpublic static CPAttachmentFileEntry fetchByPrimaryKey(long CPAttachmentFileEntryId)
null
if it could not be found.CPAttachmentFileEntryId
- the primary key of the cp attachment file entrynull
if a cp attachment file entry with the primary key could not be foundpublic static java.util.List<CPAttachmentFileEntry> findAll()
public static java.util.List<CPAttachmentFileEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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)public static java.util.List<CPAttachmentFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)public static java.util.List<CPAttachmentFileEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPAttachmentFileEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CPAttachmentFileEntryModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CPAttachmentFileEntryPersistence getPersistence()