@ProviderType public interface CPInstancePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstance>
Caching information and settings can be found in portal.properties
CPInstanceUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPInstance cpInstance)
Caches the cp instance in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPInstance> cpInstances)
Caches the cp instances in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cp instances.
|
int |
countByC_C(long CPDefinitionId,
java.lang.String CPInstanceUuid)
Returns the number of cp instances where CPDefinitionId = ? and CPInstanceUuid = ?.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of cp instances where companyId = ? and externalReferenceCode = ?.
|
int |
countByC_LtD_S(long CPDefinitionId,
java.util.Date displayDate,
int status)
Returns the number of cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.
|
int |
countByC_SKU(long companyId,
java.lang.String sku)
Returns the number of cp instances where companyId = ? and sku = ?.
|
int |
countByC_ST(long CPDefinitionId,
int status)
Returns the number of cp instances where CPDefinitionId = ? and status = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of cp instances where companyId = ?.
|
int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of cp instances where CPDefinitionId = ?.
|
int |
countByCPDI_SKU(long CPDefinitionId,
java.lang.String sku)
Returns the number of cp instances where CPDefinitionId = ? and sku = ?.
|
int |
countByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns the number of cp instances where CPInstanceUuid = ?.
|
int |
countByG_ST(long groupId,
int status)
Returns the number of cp instances where groupId = ? and status = ?.
|
int |
countByGroupId(long groupId)
Returns the number of cp instances where groupId = ?.
|
int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of cp instances where displayDate < ? and status = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp instances where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp instances where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp instances where uuid = ?.
|
CPInstance |
create(long CPInstanceId)
Creates a new cp instance with the primary key.
|
CPInstance |
fetchByC_C(long CPDefinitionId,
java.lang.String CPInstanceUuid)
Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returns
null if it could not be found. |
CPInstance |
fetchByC_C(long CPDefinitionId,
java.lang.String CPInstanceUuid,
boolean useFinderCache)
Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returns
null if it could not be found, optionally using the finder cache. |
CPInstance |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the cp instance where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CPInstance |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the cp instance where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CPInstance |
fetchByC_LtD_S_First(long CPDefinitionId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.
|
CPInstance |
fetchByC_LtD_S_Last(long CPDefinitionId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.
|
CPInstance |
fetchByC_SKU_First(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where companyId = ? and sku = ?.
|
CPInstance |
fetchByC_SKU_Last(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where companyId = ? and sku = ?.
|
CPInstance |
fetchByC_ST_First(long CPDefinitionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPDefinitionId = ? and status = ?.
|
CPInstance |
fetchByC_ST_Last(long CPDefinitionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPDefinitionId = ? and status = ?.
|
CPInstance |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where companyId = ?.
|
CPInstance |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where companyId = ?.
|
CPInstance |
fetchByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPDefinitionId = ?.
|
CPInstance |
fetchByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPDefinitionId = ?.
|
CPInstance |
fetchByCPDI_SKU(long CPDefinitionId,
java.lang.String sku)
Returns the cp instance where CPDefinitionId = ? and sku = ? or returns
null if it could not be found. |
CPInstance |
fetchByCPDI_SKU(long CPDefinitionId,
java.lang.String sku,
boolean useFinderCache)
Returns the cp instance where CPDefinitionId = ? and sku = ? or returns
null if it could not be found, optionally using the finder cache. |
CPInstance |
fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPInstanceUuid = ?.
|
CPInstance |
fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPInstanceUuid = ?.
|
CPInstance |
fetchByG_ST_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where groupId = ? and status = ?.
|
CPInstance |
fetchByG_ST_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where groupId = ? and status = ?.
|
CPInstance |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where groupId = ?.
|
CPInstance |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where groupId = ?.
|
CPInstance |
fetchByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where displayDate < ? and status = ?.
|
CPInstance |
fetchByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where displayDate < ? and status = ?.
|
CPInstance |
fetchByPrimaryKey(long CPInstanceId)
Returns the cp instance with the primary key or returns
null if it could not be found. |
CPInstance |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where uuid = ? and companyId = ?.
|
CPInstance |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where uuid = ? and companyId = ?.
|
CPInstance |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where uuid = ?.
|
CPInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp instance where uuid = ? and groupId = ? or returns
null if it could not be found. |
CPInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp instance where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPInstance |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where uuid = ?.
|
java.util.List<CPInstance> |
findAll()
Returns all the cp instances.
|
java.util.List<CPInstance> |
findAll(int start,
int end)
Returns a range of all the cp instances.
|
java.util.List<CPInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances.
|
java.util.List<CPInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances.
|
CPInstance |
findByC_C(long CPDefinitionId,
java.lang.String CPInstanceUuid)
Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or throws a
NoSuchCPInstanceException if it could not be found. |
CPInstance |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the cp instance where companyId = ? and externalReferenceCode = ? or throws a
NoSuchCPInstanceException if it could not be found. |
CPInstance |
findByC_LtD_S_First(long CPDefinitionId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.
|
CPInstance |
findByC_LtD_S_Last(long CPDefinitionId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.
|
CPInstance[] |
findByC_LtD_S_PrevAndNext(long CPInstanceId,
long CPDefinitionId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByC_LtD_S(long CPDefinitionId,
java.util.Date displayDate,
int status)
Returns all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByC_LtD_S(long CPDefinitionId,
java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByC_LtD_S(long CPDefinitionId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByC_LtD_S(long CPDefinitionId,
java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.
|
CPInstance |
findByC_SKU_First(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where companyId = ? and sku = ?.
|
CPInstance |
findByC_SKU_Last(long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where companyId = ? and sku = ?.
|
CPInstance[] |
findByC_SKU_PrevAndNext(long CPInstanceId,
long companyId,
java.lang.String sku,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where companyId = ? and sku = ?.
|
java.util.List<CPInstance> |
findByC_SKU(long companyId,
java.lang.String sku)
Returns all the cp instances where companyId = ? and sku = ?.
|
java.util.List<CPInstance> |
findByC_SKU(long companyId,
java.lang.String sku,
int start,
int end)
Returns a range of all the cp instances where companyId = ? and sku = ?.
|
java.util.List<CPInstance> |
findByC_SKU(long companyId,
java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where companyId = ? and sku = ?.
|
java.util.List<CPInstance> |
findByC_SKU(long companyId,
java.lang.String sku,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where companyId = ? and sku = ?.
|
CPInstance |
findByC_ST_First(long CPDefinitionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPDefinitionId = ? and status = ?.
|
CPInstance |
findByC_ST_Last(long CPDefinitionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPDefinitionId = ? and status = ?.
|
CPInstance[] |
findByC_ST_PrevAndNext(long CPInstanceId,
long CPDefinitionId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where CPDefinitionId = ? and status = ?.
|
java.util.List<CPInstance> |
findByC_ST(long CPDefinitionId,
int status)
Returns all the cp instances where CPDefinitionId = ? and status = ?.
|
java.util.List<CPInstance> |
findByC_ST(long CPDefinitionId,
int status,
int start,
int end)
Returns a range of all the cp instances where CPDefinitionId = ? and status = ?.
|
java.util.List<CPInstance> |
findByC_ST(long CPDefinitionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where CPDefinitionId = ? and status = ?.
|
java.util.List<CPInstance> |
findByC_ST(long CPDefinitionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where CPDefinitionId = ? and status = ?.
|
CPInstance |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where companyId = ?.
|
CPInstance |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where companyId = ?.
|
CPInstance[] |
findByCompanyId_PrevAndNext(long CPInstanceId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where companyId = ?.
|
java.util.List<CPInstance> |
findByCompanyId(long companyId)
Returns all the cp instances where companyId = ?.
|
java.util.List<CPInstance> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the cp instances where companyId = ?.
|
java.util.List<CPInstance> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where companyId = ?.
|
java.util.List<CPInstance> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where companyId = ?.
|
CPInstance |
findByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPDefinitionId = ?.
|
CPInstance |
findByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPDefinitionId = ?.
|
CPInstance[] |
findByCPDefinitionId_PrevAndNext(long CPInstanceId,
long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where CPDefinitionId = ?.
|
java.util.List<CPInstance> |
findByCPDefinitionId(long CPDefinitionId)
Returns all the cp instances where CPDefinitionId = ?.
|
java.util.List<CPInstance> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end)
Returns a range of all the cp instances where CPDefinitionId = ?.
|
java.util.List<CPInstance> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where CPDefinitionId = ?.
|
java.util.List<CPInstance> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where CPDefinitionId = ?.
|
CPInstance |
findByCPDI_SKU(long CPDefinitionId,
java.lang.String sku)
Returns the cp instance where CPDefinitionId = ? and sku = ? or throws a
NoSuchCPInstanceException if it could not be found. |
CPInstance |
findByCPInstanceUuid_First(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where CPInstanceUuid = ?.
|
CPInstance |
findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where CPInstanceUuid = ?.
|
CPInstance[] |
findByCPInstanceUuid_PrevAndNext(long CPInstanceId,
java.lang.String CPInstanceUuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where CPInstanceUuid = ?.
|
java.util.List<CPInstance> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid)
Returns all the cp instances where CPInstanceUuid = ?.
|
java.util.List<CPInstance> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end)
Returns a range of all the cp instances where CPInstanceUuid = ?.
|
java.util.List<CPInstance> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where CPInstanceUuid = ?.
|
java.util.List<CPInstance> |
findByCPInstanceUuid(java.lang.String CPInstanceUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where CPInstanceUuid = ?.
|
CPInstance |
findByG_ST_First(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where groupId = ? and status = ?.
|
CPInstance |
findByG_ST_Last(long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where groupId = ? and status = ?.
|
CPInstance[] |
findByG_ST_PrevAndNext(long CPInstanceId,
long groupId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where groupId = ? and status = ?.
|
java.util.List<CPInstance> |
findByG_ST(long groupId,
int status)
Returns all the cp instances where groupId = ? and status = ?.
|
java.util.List<CPInstance> |
findByG_ST(long groupId,
int status,
int start,
int end)
Returns a range of all the cp instances where groupId = ? and status = ?.
|
java.util.List<CPInstance> |
findByG_ST(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where groupId = ? and status = ?.
|
java.util.List<CPInstance> |
findByG_ST(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where groupId = ? and status = ?.
|
CPInstance |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where groupId = ?.
|
CPInstance |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where groupId = ?.
|
CPInstance[] |
findByGroupId_PrevAndNext(long CPInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where groupId = ?.
|
java.util.List<CPInstance> |
findByGroupId(long groupId)
Returns all the cp instances where groupId = ?.
|
java.util.List<CPInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the cp instances where groupId = ?.
|
java.util.List<CPInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where groupId = ?.
|
java.util.List<CPInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where groupId = ?.
|
CPInstance |
findByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where displayDate < ? and status = ?.
|
CPInstance |
findByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where displayDate < ? and status = ?.
|
CPInstance[] |
findByLtD_S_PrevAndNext(long CPInstanceId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the cp instances where displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the cp instances where displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where displayDate < ? and status = ?.
|
java.util.List<CPInstance> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where displayDate < ? and status = ?.
|
CPInstance |
findByPrimaryKey(long CPInstanceId)
Returns the cp instance with the primary key or throws a
NoSuchCPInstanceException if it could not be found. |
CPInstance |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where uuid = ? and companyId = ?.
|
CPInstance |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where uuid = ? and companyId = ?.
|
CPInstance[] |
findByUuid_C_PrevAndNext(long CPInstanceId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CPInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp instances where uuid = ? and companyId = ?.
|
java.util.List<CPInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp instances where uuid = ? and companyId = ?.
|
java.util.List<CPInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where uuid = ? and companyId = ?.
|
java.util.List<CPInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where uuid = ? and companyId = ?.
|
CPInstance |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the first cp instance in the ordered set where uuid = ?.
|
CPInstance |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp instance where uuid = ? and groupId = ? or throws a
NoSuchCPInstanceException if it could not be found. |
CPInstance |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the last cp instance in the ordered set where uuid = ?.
|
CPInstance[] |
findByUuid_PrevAndNext(long CPInstanceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns the cp instances before and after the current cp instance in the ordered set where uuid = ?.
|
java.util.List<CPInstance> |
findByUuid(java.lang.String uuid)
Returns all the cp instances where uuid = ?.
|
java.util.List<CPInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp instances where uuid = ?.
|
java.util.List<CPInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
Returns an ordered range of all the cp instances where uuid = ?.
|
java.util.List<CPInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp instances where uuid = ?.
|
CPInstance |
remove(long CPInstanceId)
Removes the cp instance with the primary key from the database.
|
void |
removeAll()
Removes all the cp instances from the database.
|
CPInstance |
removeByC_C(long CPDefinitionId,
java.lang.String CPInstanceUuid)
Removes the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? from the database.
|
CPInstance |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the cp instance where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByC_LtD_S(long CPDefinitionId,
java.util.Date displayDate,
int status)
Removes all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ? from the database.
|
void |
removeByC_SKU(long companyId,
java.lang.String sku)
Removes all the cp instances where companyId = ? and sku = ? from the database.
|
void |
removeByC_ST(long CPDefinitionId,
int status)
Removes all the cp instances where CPDefinitionId = ? and status = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the cp instances where companyId = ? from the database.
|
void |
removeByCPDefinitionId(long CPDefinitionId)
Removes all the cp instances where CPDefinitionId = ? from the database.
|
CPInstance |
removeByCPDI_SKU(long CPDefinitionId,
java.lang.String sku)
Removes the cp instance where CPDefinitionId = ? and sku = ? from the database.
|
void |
removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
Removes all the cp instances where CPInstanceUuid = ? from the database.
|
void |
removeByG_ST(long groupId,
int status)
Removes all the cp instances where groupId = ? and status = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the cp instances where groupId = ? from the database.
|
void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the cp instances where displayDate < ? and status = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp instances where uuid = ? and companyId = ? from the database.
|
CPInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp instance where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp instances where uuid = ? from the database.
|
CPInstance |
updateImpl(CPInstance cpInstance) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CPInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPInstance> 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 CPInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByUuid_PrevAndNext(long CPInstanceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCPInstance findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPInstanceException
NoSuchCPInstanceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance 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 instance could not be foundCPInstance 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 instance could not be foundCPInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchCPInstanceException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CPInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPInstance> 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 CPInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByUuid_C_PrevAndNext(long CPInstanceId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instanceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPInstance> findByGroupId(long groupId)
groupId
- the group IDjava.util.List<CPInstance> findByGroupId(long groupId, 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 CPInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByGroupId_PrevAndNext(long CPInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<CPInstance> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPInstance> findByCompanyId(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 CPInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByCompanyId_PrevAndNext(long CPInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instancecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CPInstance> findByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.util.List<CPInstance> findByCPDefinitionId(long CPDefinitionId, 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByCPDefinitionId_PrevAndNext(long CPInstanceId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instanceCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDint countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.util.List<CPInstance> findByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidjava.util.List<CPInstance> findByCPInstanceUuid(java.lang.String CPInstanceUuid, 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 CPInstanceModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByCPInstanceUuid(java.lang.String CPInstanceUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPInstanceUuid
- the cp instance uuidstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByCPInstanceUuid_First(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByCPInstanceUuid_Last(java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByCPInstanceUuid_PrevAndNext(long CPInstanceId, java.lang.String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instanceCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidint countByCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuidjava.util.List<CPInstance> findByG_ST(long groupId, int status)
groupId
- the group IDstatus
- the statusjava.util.List<CPInstance> findByG_ST(long groupId, 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 CPInstanceModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByG_ST(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByG_ST(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
groupId
- the group IDstatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByG_ST_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByG_ST_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByG_ST_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByG_ST_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByG_ST_PrevAndNext(long CPInstanceId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instancegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByG_ST(long groupId, int status)
groupId
- the group IDstatus
- the statusint countByG_ST(long groupId, int status)
groupId
- the group IDstatus
- the statusjava.util.List<CPInstance> findByC_SKU(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skujava.util.List<CPInstance> findByC_SKU(long companyId, java.lang.String sku, 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 CPInstanceModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByC_SKU(long companyId, java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByC_SKU(long companyId, java.lang.String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
companyId
- the company IDsku
- the skustart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByC_SKU_First(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByC_SKU_First(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByC_SKU_Last(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByC_SKU_Last(long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByC_SKU_PrevAndNext(long CPInstanceId, long companyId, java.lang.String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instancecompanyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByC_SKU(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skuint countByC_SKU(long companyId, java.lang.String sku)
companyId
- the company IDsku
- the skuCPInstance findByC_C(long CPDefinitionId, java.lang.String CPInstanceUuid) throws NoSuchCPInstanceException
NoSuchCPInstanceException
if it could not be found.CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuidNoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByC_C(long CPDefinitionId, java.lang.String CPInstanceUuid)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuidnull
if a matching cp instance could not be foundCPInstance fetchByC_C(long CPDefinitionId, java.lang.String CPInstanceUuid, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuiduseFinderCache
- whether to use the finder cachenull
if a matching cp instance could not be foundCPInstance removeByC_C(long CPDefinitionId, java.lang.String CPInstanceUuid) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuidNoSuchCPInstanceException
int countByC_C(long CPDefinitionId, java.lang.String CPInstanceUuid)
CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuidCPInstance findByCPDI_SKU(long CPDefinitionId, java.lang.String sku) throws NoSuchCPInstanceException
NoSuchCPInstanceException
if it could not be found.CPDefinitionId
- the cp definition IDsku
- the skuNoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByCPDI_SKU(long CPDefinitionId, java.lang.String sku)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDsku
- the skunull
if a matching cp instance could not be foundCPInstance fetchByCPDI_SKU(long CPDefinitionId, java.lang.String sku, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDsku
- the skuuseFinderCache
- whether to use the finder cachenull
if a matching cp instance could not be foundCPInstance removeByCPDI_SKU(long CPDefinitionId, java.lang.String sku) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDsku
- the skuNoSuchCPInstanceException
int countByCPDI_SKU(long CPDefinitionId, java.lang.String sku)
CPDefinitionId
- the cp definition IDsku
- the skujava.util.List<CPInstance> findByC_ST(long CPDefinitionId, int status)
CPDefinitionId
- the cp definition IDstatus
- the statusjava.util.List<CPInstance> findByC_ST(long CPDefinitionId, 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByC_ST(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByC_ST(long CPDefinitionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDstatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByC_ST_First(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByC_ST_First(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByC_ST_Last(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByC_ST_Last(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByC_ST_PrevAndNext(long CPInstanceId, long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instanceCPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByC_ST(long CPDefinitionId, int status)
CPDefinitionId
- the cp definition IDstatus
- the statusint countByC_ST(long CPDefinitionId, int status)
CPDefinitionId
- the cp definition IDstatus
- the statusjava.util.List<CPInstance> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CPInstance> 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 CPInstanceModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByLtD_S_PrevAndNext(long CPInstanceId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instancedisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusint countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CPInstance> findByC_LtD_S(long CPDefinitionId, java.util.Date displayDate, int status)
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusjava.util.List<CPInstance> findByC_LtD_S(long CPDefinitionId, 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findByC_LtD_S(long CPDefinitionId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findByC_LtD_S(long CPDefinitionId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPInstance findByC_LtD_S_First(long CPDefinitionId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByC_LtD_S_First(long CPDefinitionId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance findByC_LtD_S_Last(long CPDefinitionId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance fetchByC_LtD_S_Last(long CPDefinitionId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator)
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp instance could not be foundCPInstance[] findByC_LtD_S_PrevAndNext(long CPInstanceId, long CPDefinitionId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the current cp instanceCPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPInstanceException
- if a cp instance with the primary key could not be foundvoid removeByC_LtD_S(long CPDefinitionId, java.util.Date displayDate, int status)
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusint countByC_LtD_S(long CPDefinitionId, java.util.Date displayDate, int status)
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusCPInstance findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCPInstanceException
NoSuchCPInstanceException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCPInstanceException
- if a matching cp instance could not be foundCPInstance 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 instance could not be foundCPInstance 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 instance could not be foundCPInstance removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchCPInstanceException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchCPInstanceException
int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(CPInstance cpInstance)
cpInstance
- the cp instancevoid cacheResult(java.util.List<CPInstance> cpInstances)
cpInstances
- the cp instancesCPInstance create(long CPInstanceId)
CPInstanceId
- the primary key for the new cp instanceCPInstance remove(long CPInstanceId) throws NoSuchCPInstanceException
CPInstanceId
- the primary key of the cp instanceNoSuchCPInstanceException
- if a cp instance with the primary key could not be foundCPInstance updateImpl(CPInstance cpInstance)
CPInstance findByPrimaryKey(long CPInstanceId) throws NoSuchCPInstanceException
NoSuchCPInstanceException
if it could not be found.CPInstanceId
- the primary key of the cp instanceNoSuchCPInstanceException
- if a cp instance with the primary key could not be foundCPInstance fetchByPrimaryKey(long CPInstanceId)
null
if it could not be found.CPInstanceId
- the primary key of the cp instancenull
if a cp instance with the primary key could not be foundjava.util.List<CPInstance> findAll()
java.util.List<CPInstance> 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 CPInstanceModelImpl
.
start
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)java.util.List<CPInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
start
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> 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 CPInstanceModelImpl
.
start
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()