Interface CPInstancePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstance>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstance>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(CPInstance cpInstance) Caches the cp instance in the entity cache if it is enabled.void
cacheResult
(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, String CPInstanceUuid) Returns the number of cp instances where CPDefinitionId = ? and CPInstanceUuid = ?.int
countByC_LtD_S
(long CPDefinitionId, Date displayDate, int status) Returns the number of cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.int
countByC_S
(long companyId, 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_S
(long CPDefinitionId, String sku) Returns the number of cp instances where CPDefinitionId = ? and sku = ?.int
countByCPInstanceUuid
(String CPInstanceUuid) Returns the number of cp instances where CPInstanceUuid = ?.int
countByERC_C
(String externalReferenceCode, long companyId) Returns the number of cp instances where externalReferenceCode = ? and companyId = ?.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
(Date displayDate, int status) Returns the number of cp instances where displayDate < ? and status = ?.int
countByR_R_S
(String replacementCPInstanceUuid, long replacementCProductId, int status) Returns the number of cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.int
countByUuid
(String uuid) Returns the number of cp instances where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of cp instances where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of cp instances where uuid = ? and groupId = ?.create
(long CPInstanceId) Creates a new cp instance with the primary key.fetchByC_C
(long CPDefinitionId, String CPInstanceUuid) Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returnsnull
if it could not be found.fetchByC_C
(long CPDefinitionId, String CPInstanceUuid, boolean useFinderCache) Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByC_LtD_S_First
(long CPDefinitionId, 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 = ?.fetchByC_LtD_S_Last
(long CPDefinitionId, 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 = ?.fetchByC_S_First
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where companyId = ? and sku = ?.fetchByC_S_Last
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where companyId = ? and sku = ?.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 = ?.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 = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where companyId = ?.fetchByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where CPDefinitionId = ?.fetchByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where CPDefinitionId = ?.fetchByCPDI_S
(long CPDefinitionId, String sku) Returns the cp instance where CPDefinitionId = ? and sku = ? or returnsnull
if it could not be found.fetchByCPDI_S
(long CPDefinitionId, String sku, boolean useFinderCache) Returns the cp instance where CPDefinitionId = ? and sku = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCPInstanceUuid_First
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where CPInstanceUuid = ?.fetchByCPInstanceUuid_Last
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where CPInstanceUuid = ?.fetchByERC_C
(String externalReferenceCode, long companyId) Returns the cp instance where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found.fetchByERC_C
(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the cp instance where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where groupId = ?.fetchByLtD_S_First
(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 = ?.fetchByLtD_S_Last
(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 = ?.fetchByPrimaryKey
(long CPInstanceId) Returns the cp instance with the primary key or returnsnull
if it could not be found.fetchByR_R_S_First
(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.fetchByR_R_S_Last
(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the cp instance where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the cp instance where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where uuid = ?.int
filterCountByG_ST
(long groupId, int status) Returns the number of cp instances that the user has permission to view where groupId = ? and status = ?.int
filterCountByGroupId
(long groupId) Returns the number of cp instances that the user has permission to view where groupId = ?.filterFindByG_ST
(long groupId, int status) Returns all the cp instances that the user has permission to view where groupId = ? and status = ?.filterFindByG_ST
(long groupId, int status, int start, int end) Returns a range of all the cp instances that the user has permission to view where groupId = ? and status = ?.filterFindByG_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 that the user has permissions to view where groupId = ? and status = ?.filterFindByG_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 of cp instances that the user has permission to view where groupId = ? and status = ?.filterFindByGroupId
(long groupId) Returns all the cp instances that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end) Returns a range of all the cp instances that the user has permission to view where groupId = ?.filterFindByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns an ordered range of all the cp instances that the user has permissions to view where groupId = ?.filterFindByGroupId_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 of cp instances that the user has permission to view where groupId = ?.findAll()
Returns all the cp instances.findAll
(int start, int end) Returns a range of all the cp instances.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns an ordered range of all the cp instances.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cp instances.Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or throws aNoSuchCPInstanceException
if it could not be found.findByC_LtD_S
(long CPDefinitionId, Date displayDate, int status) Returns all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.findByC_LtD_S
(long CPDefinitionId, Date displayDate, int status, int start, int end) Returns a range of all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.findByC_LtD_S
(long CPDefinitionId, 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 = ?.findByC_LtD_S
(long CPDefinitionId, 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 = ?.findByC_LtD_S_First
(long CPDefinitionId, 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 = ?.findByC_LtD_S_Last
(long CPDefinitionId, 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 = ?.findByC_LtD_S_PrevAndNext
(long CPInstanceId, long CPDefinitionId, 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 = ?.Returns all the cp instances where companyId = ? and sku = ?.Returns a range of all the cp instances where companyId = ? and sku = ?.findByC_S
(long companyId, 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 = ?.findByC_S
(long companyId, 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 = ?.findByC_S_First
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where companyId = ? and sku = ?.findByC_S_Last
(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where companyId = ? and sku = ?.findByC_S_PrevAndNext
(long CPInstanceId, long companyId, 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 = ?.findByC_ST
(long CPDefinitionId, int status) Returns all the cp instances where CPDefinitionId = ? and status = ?.findByC_ST
(long CPDefinitionId, int status, int start, int end) Returns a range of all the cp instances where CPDefinitionId = ? and status = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCompanyId
(long companyId) Returns all the cp instances where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the cp instances where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where companyId = ?.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 = ?.findByCPDefinitionId
(long CPDefinitionId) Returns all the cp instances where CPDefinitionId = ?.findByCPDefinitionId
(long CPDefinitionId, int start, int end) Returns a range of all the cp instances where CPDefinitionId = ?.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 = ?.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 = ?.findByCPDefinitionId_First
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where CPDefinitionId = ?.findByCPDefinitionId_Last
(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where CPDefinitionId = ?.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 = ?.findByCPDI_S
(long CPDefinitionId, String sku) Returns the cp instance where CPDefinitionId = ? and sku = ? or throws aNoSuchCPInstanceException
if it could not be found.findByCPInstanceUuid
(String CPInstanceUuid) Returns all the cp instances where CPInstanceUuid = ?.findByCPInstanceUuid
(String CPInstanceUuid, int start, int end) Returns a range of all the cp instances where CPInstanceUuid = ?.findByCPInstanceUuid
(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 = ?.findByCPInstanceUuid
(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 = ?.findByCPInstanceUuid_First
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where CPInstanceUuid = ?.findByCPInstanceUuid_Last
(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where CPInstanceUuid = ?.findByCPInstanceUuid_PrevAndNext
(long CPInstanceId, 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 = ?.findByERC_C
(String externalReferenceCode, long companyId) Returns the cp instance where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPInstanceException
if it could not be found.findByG_ST
(long groupId, int status) Returns all the cp instances where groupId = ? and status = ?.findByG_ST
(long groupId, int status, int start, int end) Returns a range of all the cp instances where groupId = ? and status = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByGroupId
(long groupId) Returns all the cp instances where groupId = ?.findByGroupId
(long groupId, int start, int end) Returns a range of all the cp instances where groupId = ?.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 = ?.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 = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where groupId = ?.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 = ?.findByLtD_S
(Date displayDate, int status) Returns all the cp instances where displayDate < ? and status = ?.findByLtD_S
(Date displayDate, int status, int start, int end) Returns a range of all the cp instances where displayDate < ? and status = ?.findByLtD_S
(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 = ?.findByLtD_S
(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 = ?.findByLtD_S_First
(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 = ?.findByLtD_S_Last
(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 = ?.findByLtD_S_PrevAndNext
(long CPInstanceId, 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 = ?.findByPrimaryKey
(long CPInstanceId) Returns the cp instance with the primary key or throws aNoSuchCPInstanceException
if it could not be found.findByR_R_S
(String replacementCPInstanceUuid, long replacementCProductId, int status) Returns all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.findByR_R_S
(String replacementCPInstanceUuid, long replacementCProductId, int status, int start, int end) Returns a range of all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.findByR_R_S
(String replacementCPInstanceUuid, long replacementCProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns an ordered range of all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.findByR_R_S
(String replacementCPInstanceUuid, long replacementCProductId, 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 replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.findByR_R_S_First
(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.findByR_R_S_Last
(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.findByR_R_S_PrevAndNext
(long CPInstanceId, String replacementCPInstanceUuid, long replacementCProductId, 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 replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.findByUuid
(String uuid) Returns all the cp instances where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the cp instances where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the cp instances where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the cp instances where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long CPInstanceId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the cp instance where uuid = ? and groupId = ? or throws aNoSuchCPInstanceException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long CPInstanceId, 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 = ?.remove
(long CPInstanceId) Removes the cp instance with the primary key from the database.void
Removes all the cp instances from the database.removeByC_C
(long CPDefinitionId, String CPInstanceUuid) Removes the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? from the database.void
removeByC_LtD_S
(long CPDefinitionId, Date displayDate, int status) Removes all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ? from the database.void
removeByC_S
(long companyId, 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.removeByCPDI_S
(long CPDefinitionId, String sku) Removes the cp instance where CPDefinitionId = ? and sku = ? from the database.void
removeByCPInstanceUuid
(String CPInstanceUuid) Removes all the cp instances where CPInstanceUuid = ? from the database.removeByERC_C
(String externalReferenceCode, long companyId) Removes the cp instance where externalReferenceCode = ? and companyId = ? 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
(Date displayDate, int status) Removes all the cp instances where displayDate < ? and status = ? from the database.void
removeByR_R_S
(String replacementCPInstanceUuid, long replacementCProductId, int status) Removes all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ? from the database.void
removeByUuid
(String uuid) Removes all the cp instances where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the cp instances where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the cp instance where uuid = ? and groupId = ? from the database.updateImpl
(CPInstance cpInstance) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the cp instances where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching cp instances
-
findByUuid
Returns a range of all the cp instances where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)- Returns:
- the range of matching cp instances
-
findByUuid
List<CPInstance> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByUuid
List<CPInstance> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByUuid_First
CPInstance findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByUuid_First
CPInstance fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByUuid_Last
CPInstance findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByUuid_Last
CPInstance fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByUuid_PrevAndNext
CPInstance[] findByUuid_PrevAndNext(long CPInstanceId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where uuid = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByUuid
Removes all the cp instances where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of cp instances where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching cp instances
-
findByUUID_G
Returns the cp instance where uuid = ? and groupId = ? or throws aNoSuchCPInstanceException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByUUID_G
Returns the cp instance where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
fetchByUUID_G
Returns the cp instance where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
removeByUUID_G
Removes the cp instance where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the cp instance that was removed
- Throws:
NoSuchCPInstanceException
-
countByUUID_G
Returns the number of cp instances where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching cp instances
-
findByUuid_C
Returns all the cp instances where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching cp instances
-
findByUuid_C
Returns a range of all the cp instances where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByUuid_C
List<CPInstance> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByUuid_C
List<CPInstance> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByUuid_C_First
CPInstance findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByUuid_C_First
CPInstance fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByUuid_C_Last
CPInstance findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByUuid_C_Last
CPInstance fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByUuid_C_PrevAndNext
CPInstance[] findByUuid_C_PrevAndNext(long CPInstanceId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where uuid = ? and companyId = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instanceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByUuid_C
Removes all the cp instances where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of cp instances where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching cp instances
-
findByGroupId
Returns all the cp instances where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching cp instances
-
findByGroupId
Returns a range of all the cp instances where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)- Returns:
- the range of matching cp instances
-
findByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByGroupId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByGroupId_First
CPInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByGroupId_First
CPInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByGroupId_Last
CPInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByGroupId_Last
CPInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByGroupId_PrevAndNext
CPInstance[] findByGroupId_PrevAndNext(long CPInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where groupId = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
filterFindByGroupId
Returns all the cp instances that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching cp instances that the user has permission to view
-
filterFindByGroupId
Returns a range of all the cp instances that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)- Returns:
- the range of matching cp instances that the user has permission to view
-
filterFindByGroupId
List<CPInstance> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns an ordered range of all the cp instances that the user has permissions to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances that the user has permission to view
-
filterFindByGroupId_PrevAndNext
CPInstance[] filterFindByGroupId_PrevAndNext(long CPInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set of cp instances that the user has permission to view where groupId = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByGroupId
void removeByGroupId(long groupId) Removes all the cp instances where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
int countByGroupId(long groupId) Returns the number of cp instances where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching cp instances
-
filterCountByGroupId
int filterCountByGroupId(long groupId) Returns the number of cp instances that the user has permission to view where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching cp instances that the user has permission to view
-
findByCompanyId
Returns all the cp instances where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching cp instances
-
findByCompanyId
Returns a range of all the cp instances where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)- Returns:
- the range of matching cp instances
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByCompanyId_First
CPInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByCompanyId_First
CPInstance fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByCompanyId_Last
CPInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByCompanyId_Last
CPInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByCompanyId_PrevAndNext
CPInstance[] findByCompanyId_PrevAndNext(long CPInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where companyId = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the cp instances where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of cp instances where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching cp instances
-
findByCPDefinitionId
Returns all the cp instances where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the matching cp instances
-
findByCPDefinitionId
Returns a range of all the cp instances where CPDefinitionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByCPDefinitionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByCPDefinitionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByCPDefinitionId_First
CPInstance findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByCPDefinitionId_First
CPInstance fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByCPDefinitionId_Last
CPInstance findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByCPDefinitionId_Last
CPInstance fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByCPDefinitionId_PrevAndNext
CPInstance[] findByCPDefinitionId_PrevAndNext(long CPInstanceId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where CPDefinitionId = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instanceCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByCPDefinitionId
void removeByCPDefinitionId(long CPDefinitionId) Removes all the cp instances where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId
- the cp definition ID
-
countByCPDefinitionId
int countByCPDefinitionId(long CPDefinitionId) Returns the number of cp instances where CPDefinitionId = ?.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the number of matching cp instances
-
findByCPInstanceUuid
Returns all the cp instances where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuid- Returns:
- the matching cp instances
-
findByCPInstanceUuid
Returns a range of all the cp instances where CPInstanceUuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByCPInstanceUuid
List<CPInstance> findByCPInstanceUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByCPInstanceUuid
List<CPInstance> findByCPInstanceUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByCPInstanceUuid_First
CPInstance findByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByCPInstanceUuid_First
CPInstance fetchByCPInstanceUuid_First(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByCPInstanceUuid_Last
CPInstance findByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByCPInstanceUuid_Last
CPInstance fetchByCPInstanceUuid_Last(String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByCPInstanceUuid_PrevAndNext
CPInstance[] findByCPInstanceUuid_PrevAndNext(long CPInstanceId, String CPInstanceUuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where CPInstanceUuid = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instanceCPInstanceUuid
- the cp instance uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByCPInstanceUuid
Removes all the cp instances where CPInstanceUuid = ? from the database.- Parameters:
CPInstanceUuid
- the cp instance uuid
-
countByCPInstanceUuid
Returns the number of cp instances where CPInstanceUuid = ?.- Parameters:
CPInstanceUuid
- the cp instance uuid- Returns:
- the number of matching cp instances
-
findByG_ST
Returns all the cp instances where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching cp instances
-
findByG_ST
Returns a range of all the cp instances where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByG_ST
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByG_ST
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByG_ST_First
CPInstance findByG_ST_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByG_ST_First
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 = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByG_ST_Last
CPInstance findByG_ST_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByG_ST_Last
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 = ?.- Parameters:
groupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByG_ST_PrevAndNext
CPInstance[] findByG_ST_PrevAndNext(long CPInstanceId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where groupId = ? and status = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
filterFindByG_ST
Returns all the cp instances that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the matching cp instances that the user has permission to view
-
filterFindByG_ST
Returns a range of all the cp instances that the user has permission to view where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances that the user has permission to view
-
filterFindByG_ST
List<CPInstance> filterFindByG_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 that the user has permissions to view where groupId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances that the user has permission to view
-
filterFindByG_ST_PrevAndNext
CPInstance[] filterFindByG_ST_PrevAndNext(long CPInstanceId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set of cp instances that the user has permission to view where groupId = ? and status = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancegroupId
- the group IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByG_ST
void removeByG_ST(long groupId, int status) Removes all the cp instances where groupId = ? and status = ? from the database.- Parameters:
groupId
- the group IDstatus
- the status
-
countByG_ST
int countByG_ST(long groupId, int status) Returns the number of cp instances where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching cp instances
-
filterCountByG_ST
int filterCountByG_ST(long groupId, int status) Returns the number of cp instances that the user has permission to view where groupId = ? and status = ?.- Parameters:
groupId
- the group IDstatus
- the status- Returns:
- the number of matching cp instances that the user has permission to view
-
findByC_S
Returns all the cp instances where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the sku- Returns:
- the matching cp instances
-
findByC_S
Returns a range of all the cp instances where companyId = ? and sku = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByC_S
List<CPInstance> findByC_S(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByC_S
List<CPInstance> findByC_S(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByC_S_First
CPInstance findByC_S_First(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByC_S_First
CPInstance fetchByC_S_First(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByC_S_Last
CPInstance findByC_S_Last(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByC_S_Last
CPInstance fetchByC_S_Last(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByC_S_PrevAndNext
CPInstance[] findByC_S_PrevAndNext(long CPInstanceId, long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where companyId = ? and sku = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancecompanyId
- the company IDsku
- the skuorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByC_S
Removes all the cp instances where companyId = ? and sku = ? from the database.- Parameters:
companyId
- the company IDsku
- the sku
-
countByC_S
Returns the number of cp instances where companyId = ? and sku = ?.- Parameters:
companyId
- the company IDsku
- the sku- Returns:
- the number of matching cp instances
-
findByC_C
Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or throws aNoSuchCPInstanceException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuid- Returns:
- the matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByC_C
Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuid- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
fetchByC_C
Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuiduseFinderCache
- whether to use the finder cache- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
removeByC_C
Removes the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuid- Returns:
- the cp instance that was removed
- Throws:
NoSuchCPInstanceException
-
countByC_C
Returns the number of cp instances where CPDefinitionId = ? and CPInstanceUuid = ?.- Parameters:
CPDefinitionId
- the cp definition IDCPInstanceUuid
- the cp instance uuid- Returns:
- the number of matching cp instances
-
findByCPDI_S
Returns the cp instance where CPDefinitionId = ? and sku = ? or throws aNoSuchCPInstanceException
if it could not be found.- Parameters:
CPDefinitionId
- the cp definition IDsku
- the sku- Returns:
- the matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByCPDI_S
Returns the cp instance where CPDefinitionId = ? and sku = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDsku
- the sku- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
fetchByCPDI_S
Returns the cp instance where CPDefinitionId = ? and sku = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId
- the cp definition IDsku
- the skuuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
removeByCPDI_S
Removes the cp instance where CPDefinitionId = ? and sku = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDsku
- the sku- Returns:
- the cp instance that was removed
- Throws:
NoSuchCPInstanceException
-
countByCPDI_S
Returns the number of cp instances where CPDefinitionId = ? and sku = ?.- Parameters:
CPDefinitionId
- the cp definition IDsku
- the sku- Returns:
- the number of matching cp instances
-
findByC_ST
Returns all the cp instances where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the status- Returns:
- the matching cp instances
-
findByC_ST
Returns a range of all the cp instances where CPDefinitionId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByC_ST
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByC_ST
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByC_ST_First
CPInstance findByC_ST_First(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByC_ST_First
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 = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByC_ST_Last
CPInstance findByC_ST_Last(long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByC_ST_Last
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 = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByC_ST_PrevAndNext
CPInstance[] findByC_ST_PrevAndNext(long CPInstanceId, long CPDefinitionId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where CPDefinitionId = ? and status = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instanceCPDefinitionId
- the cp definition IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByC_ST
void removeByC_ST(long CPDefinitionId, int status) Removes all the cp instances where CPDefinitionId = ? and status = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the status
-
countByC_ST
int countByC_ST(long CPDefinitionId, int status) Returns the number of cp instances where CPDefinitionId = ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDstatus
- the status- Returns:
- the number of matching cp instances
-
findByLtD_S
Returns all the cp instances where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the matching cp instances
-
findByLtD_S
Returns a range of all the cp instances where displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByLtD_S
List<CPInstance> findByLtD_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByLtD_S
List<CPInstance> findByLtD_S(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByLtD_S_First
CPInstance findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByLtD_S_First
CPInstance fetchByLtD_S_First(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 = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByLtD_S_Last
CPInstance findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByLtD_S_Last
CPInstance fetchByLtD_S_Last(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 = ?.- Parameters:
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByLtD_S_PrevAndNext
CPInstance[] findByLtD_S_PrevAndNext(long CPInstanceId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where displayDate < ? and status = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancedisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByLtD_S
Removes all the cp instances where displayDate < ? and status = ? from the database.- Parameters:
displayDate
- the display datestatus
- the status
-
countByLtD_S
Returns the number of cp instances where displayDate < ? and status = ?.- Parameters:
displayDate
- the display datestatus
- the status- Returns:
- the number of matching cp instances
-
findByC_LtD_S
Returns all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the status- Returns:
- the matching cp instances
-
findByC_LtD_S
List<CPInstance> findByC_LtD_S(long CPDefinitionId, Date displayDate, int status, int start, int end) Returns a range of all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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)- Returns:
- the range of matching cp instances
-
findByC_LtD_S
List<CPInstance> findByC_LtD_S(long CPDefinitionId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByC_LtD_S
List<CPInstance> findByC_LtD_S(long CPDefinitionId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByC_LtD_S_First
CPInstance findByC_LtD_S_First(long CPDefinitionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByC_LtD_S_First
CPInstance fetchByC_LtD_S_First(long CPDefinitionId, 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 = ?.- Parameters:
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByC_LtD_S_Last
CPInstance findByC_LtD_S_Last(long CPDefinitionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByC_LtD_S_Last
CPInstance fetchByC_LtD_S_Last(long CPDefinitionId, 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 = ?.- Parameters:
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByC_LtD_S_PrevAndNext
CPInstance[] findByC_LtD_S_PrevAndNext(long CPInstanceId, long CPDefinitionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where CPDefinitionId = ? and displayDate < ? and status = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByC_LtD_S
Removes all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ? from the database.- Parameters:
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the status
-
countByC_LtD_S
Returns the number of cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.- Parameters:
CPDefinitionId
- the cp definition IDdisplayDate
- the display datestatus
- the status- Returns:
- the number of matching cp instances
-
findByR_R_S
List<CPInstance> findByR_R_S(String replacementCPInstanceUuid, long replacementCProductId, int status) Returns all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the status- Returns:
- the matching cp instances
-
findByR_R_S
List<CPInstance> findByR_R_S(String replacementCPInstanceUuid, long replacementCProductId, int status, int start, int end) Returns a range of all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the statusstart
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)- Returns:
- the range of matching cp instances
-
findByR_R_S
List<CPInstance> findByR_R_S(String replacementCPInstanceUuid, long replacementCProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns an ordered range of all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product 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 (optionallynull
)- Returns:
- the ordered range of matching cp instances
-
findByR_R_S
List<CPInstance> findByR_R_S(String replacementCPInstanceUuid, long replacementCProductId, 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 replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching cp instances
-
findByR_R_S_First
CPInstance findByR_R_S_First(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the first cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByR_R_S_First
CPInstance fetchByR_R_S_First(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the first cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching cp instance, or
null
if a matching cp instance could not be found
-
findByR_R_S_Last
CPInstance findByR_R_S_Last(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the last cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByR_R_S_Last
CPInstance fetchByR_R_S_Last(String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns the last cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching cp instance, or
null
if a matching cp instance could not be found
-
findByR_R_S_PrevAndNext
CPInstance[] findByR_R_S_PrevAndNext(long CPInstanceId, String replacementCPInstanceUuid, long replacementCProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) throws NoSuchCPInstanceException Returns the cp instances before and after the current cp instance in the ordered set where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.- Parameters:
CPInstanceId
- the primary key of the current cp instancereplacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
removeByR_R_S
Removes all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ? from the database.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the status
-
countByR_R_S
Returns the number of cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.- Parameters:
replacementCPInstanceUuid
- the replacement cp instance uuidreplacementCProductId
- the replacement c product IDstatus
- the status- Returns:
- the number of matching cp instances
-
findByERC_C
CPInstance findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPInstanceException Returns the cp instance where externalReferenceCode = ? and companyId = ? or throws aNoSuchCPInstanceException
if it could not be found.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp instance
- Throws:
NoSuchCPInstanceException
- if a matching cp instance could not be found
-
fetchByERC_C
Returns the cp instance where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
fetchByERC_C
Returns the cp instance where externalReferenceCode = ? and companyId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching cp instance, or
null
if a matching cp instance could not be found
-
removeByERC_C
CPInstance removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCPInstanceException Removes the cp instance where externalReferenceCode = ? and companyId = ? from the database.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the cp instance that was removed
- Throws:
NoSuchCPInstanceException
-
countByERC_C
Returns the number of cp instances where externalReferenceCode = ? and companyId = ?.- Parameters:
externalReferenceCode
- the external reference codecompanyId
- the company ID- Returns:
- the number of matching cp instances
-
cacheResult
Caches the cp instance in the entity cache if it is enabled.- Parameters:
cpInstance
- the cp instance
-
cacheResult
Caches the cp instances in the entity cache if it is enabled.- Parameters:
cpInstances
- the cp instances
-
create
Creates a new cp instance with the primary key. Does not add the cp instance to the database.- Parameters:
CPInstanceId
- the primary key for the new cp instance- Returns:
- the new cp instance
-
remove
Removes the cp instance with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CPInstanceId
- the primary key of the cp instance- Returns:
- the cp instance that was removed
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the cp instance with the primary key or throws aNoSuchCPInstanceException
if it could not be found.- Parameters:
CPInstanceId
- the primary key of the cp instance- Returns:
- the cp instance
- Throws:
NoSuchCPInstanceException
- if a cp instance with the primary key could not be found
-
fetchByPrimaryKey
Returns the cp instance with the primary key or returnsnull
if it could not be found.- Parameters:
CPInstanceId
- the primary key of the cp instance- Returns:
- the cp instance, or
null
if a cp instance with the primary key could not be found
-
findAll
List<CPInstance> findAll()Returns all the cp instances.- Returns:
- the cp instances
-
findAll
Returns a range of all the cp instances.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
start
- the lower bound of the range of cp instancesend
- the upper bound of the range of cp instances (not inclusive)- Returns:
- the range of cp instances
-
findAll
List<CPInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstance> orderByComparator) Returns an ordered range of all the cp instances.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of cp instances
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCPInstanceModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of cp instances
-
removeAll
void removeAll()Removes all the cp instances from the database. -
countAll
int countAll()Returns the number of cp instances.- Returns:
- the number of cp instances
-