Interface CPInstancePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstance>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstance>

@ProviderType public interface CPInstancePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstance>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstance>
The persistence interface for the cp instance service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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
    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 returns null if it could not be found.
    fetchByC_C(long CPDefinitionId, String CPInstanceUuid, boolean useFinderCache)
    Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returns null if it could not be found, optionally using the finder cache.
    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 returns null if it could not be found.
    fetchByCPDI_S(long CPDefinitionId, String sku, boolean useFinderCache)
    Returns the cp instance where CPDefinitionId = ? and sku = ? or returns null if it could not be found, optionally using the finder cache.
    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 returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the cp instance where externalReferenceCode = ? and companyId = ? or returns null 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 returns null 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 returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the cp instance where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    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 = ?.
    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.
    findByC_C(long CPDefinitionId, String CPInstanceUuid)
    Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or throws a NoSuchCPInstanceException 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 = ?.
    findByC_S(long companyId, String sku)
    Returns all the cp instances where companyId = ? and sku = ?.
    findByC_S(long companyId, String sku, int start, int end)
    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 a NoSuchCPInstanceException 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 a NoSuchCPInstanceException 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 a NoSuchCPInstanceException 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 = ?.
    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 a NoSuchCPInstanceException 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
    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
    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

      List<CPInstance> findByUuid(String uuid)
      Returns all the cp instances where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp instances
    • findByUuid

      List<CPInstance> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp instances where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance
      Throws:
      NoSuchCPInstanceException - if a cp instance with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the cp instances where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of cp instances where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp instances
    • findByUUID_G

      CPInstance findByUUID_G(String uuid, long groupId) throws NoSuchCPInstanceException
      Returns the cp instance where uuid = ? and groupId = ? or throws a NoSuchCPInstanceException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp instance
      Throws:
      NoSuchCPInstanceException - if a matching cp instance could not be found
    • fetchByUUID_G

      CPInstance fetchByUUID_G(String uuid, long groupId)
      Returns the cp instance where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching cp instance, or null if a matching cp instance could not be found
    • fetchByUUID_G

      CPInstance fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the cp instance where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp instance, or null if a matching cp instance could not be found
    • removeByUUID_G

      CPInstance removeByUUID_G(String uuid, long groupId) throws NoSuchCPInstanceException
      Removes the cp instance where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the cp instance that was removed
      Throws:
      NoSuchCPInstanceException
    • countByUUID_G

      int countByUUID_G(String uuid, long groupId)
      Returns the number of cp instances where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching cp instances
    • findByUuid_C

      List<CPInstance> findByUuid_C(String uuid, long companyId)
      Returns all the cp instances where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp instances
    • findByUuid_C

      List<CPInstance> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp instances where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance
      Throws:
      NoSuchCPInstanceException - if a cp instance with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the cp instances where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of cp instances where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp instances
    • findByGroupId

      List<CPInstance> findByGroupId(long groupId)
      Returns all the cp instances where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching cp instances
    • findByGroupId

      List<CPInstance> findByGroupId(long groupId, int start, int end)
      Returns a range of all the cp instances where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance
      Throws:
      NoSuchCPInstanceException - if a cp instance with the primary key could not be found
    • filterFindByGroupId

      List<CPInstance> filterFindByGroupId(long groupId)
      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

      List<CPInstance> filterFindByGroupId(long groupId, int start, int end)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 instance
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CPInstance> findByCompanyId(long companyId)
      Returns all the cp instances where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp instances
    • findByCompanyId

      List<CPInstance> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp instances where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CPInstance> findByCPDefinitionId(long CPDefinitionId)
      Returns all the cp instances where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the matching cp instances
    • findByCPDefinitionId

      List<CPInstance> findByCPDefinitionId(long CPDefinitionId, int start, int end)
      Returns a range of all the cp instances where CPDefinitionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      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

      List<CPInstance> findByCPInstanceUuid(String CPInstanceUuid)
      Returns all the cp instances where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching cp instances
    • findByCPInstanceUuid

      List<CPInstance> findByCPInstanceUuid(String CPInstanceUuid, int start, int end)
      Returns a range of all the cp instances where CPInstanceUuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPInstanceUuid - the cp instance uuid
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      CPInstanceUuid - the cp instance uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance
      Throws:
      NoSuchCPInstanceException - if a cp instance with the primary key could not be found
    • removeByCPInstanceUuid

      void removeByCPInstanceUuid(String CPInstanceUuid)
      Removes all the cp instances where CPInstanceUuid = ? from the database.
      Parameters:
      CPInstanceUuid - the cp instance uuid
    • countByCPInstanceUuid

      int countByCPInstanceUuid(String CPInstanceUuid)
      Returns the number of cp instances where CPInstanceUuid = ?.
      Parameters:
      CPInstanceUuid - the cp instance uuid
      Returns:
      the number of matching cp instances
    • findByG_ST

      List<CPInstance> findByG_ST(long groupId, int status)
      Returns all the cp instances where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the matching cp instances
    • findByG_ST

      List<CPInstance> findByG_ST(long groupId, int status, int start, int end)
      Returns a range of all the cp instances where groupId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance
      Throws:
      NoSuchCPInstanceException - if a cp instance with the primary key could not be found
    • filterFindByG_ST

      List<CPInstance> filterFindByG_ST(long groupId, int status)
      Returns all the cp instances that the user has permission to view where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the matching cp instances that the user has permission to view
    • filterFindByG_ST

      List<CPInstance> 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 = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 instance
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - 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 ID
      status - 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 ID
      status - the status
      Returns:
      the number of matching cp instances that the user has permission to view
    • findByC_S

      List<CPInstance> findByC_S(long companyId, String sku)
      Returns all the cp instances where companyId = ? and sku = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      Returns:
      the matching cp instances
    • findByC_S

      List<CPInstance> findByC_S(long companyId, String sku, int start, int end)
      Returns a range of all the cp instances where companyId = ? and sku = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      companyId - the company ID
      sku - the sku
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      companyId - the company ID
      sku - the sku
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      companyId - the company ID
      sku - the sku
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      companyId - the company ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance
      Throws:
      NoSuchCPInstanceException - if a cp instance with the primary key could not be found
    • removeByC_S

      void removeByC_S(long companyId, String sku)
      Removes all the cp instances where companyId = ? and sku = ? from the database.
      Parameters:
      companyId - the company ID
      sku - the sku
    • countByC_S

      int countByC_S(long companyId, String sku)
      Returns the number of cp instances where companyId = ? and sku = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      Returns:
      the number of matching cp instances
    • findByC_C

      CPInstance findByC_C(long CPDefinitionId, String CPInstanceUuid) throws NoSuchCPInstanceException
      Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or throws a NoSuchCPInstanceException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching cp instance
      Throws:
      NoSuchCPInstanceException - if a matching cp instance could not be found
    • fetchByC_C

      CPInstance fetchByC_C(long CPDefinitionId, String CPInstanceUuid)
      Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the matching cp instance, or null if a matching cp instance could not be found
    • fetchByC_C

      CPInstance fetchByC_C(long CPDefinitionId, String CPInstanceUuid, boolean useFinderCache)
      Returns the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPInstanceUuid - the cp instance uuid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp instance, or null if a matching cp instance could not be found
    • removeByC_C

      CPInstance removeByC_C(long CPDefinitionId, String CPInstanceUuid) throws NoSuchCPInstanceException
      Removes the cp instance where CPDefinitionId = ? and CPInstanceUuid = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the cp instance that was removed
      Throws:
      NoSuchCPInstanceException
    • countByC_C

      int countByC_C(long CPDefinitionId, String CPInstanceUuid)
      Returns the number of cp instances where CPDefinitionId = ? and CPInstanceUuid = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPInstanceUuid - the cp instance uuid
      Returns:
      the number of matching cp instances
    • findByCPDI_S

      CPInstance findByCPDI_S(long CPDefinitionId, String sku) throws NoSuchCPInstanceException
      Returns the cp instance where CPDefinitionId = ? and sku = ? or throws a NoSuchCPInstanceException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      sku - the sku
      Returns:
      the matching cp instance
      Throws:
      NoSuchCPInstanceException - if a matching cp instance could not be found
    • fetchByCPDI_S

      CPInstance fetchByCPDI_S(long CPDefinitionId, String sku)
      Returns the cp instance where CPDefinitionId = ? and sku = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      sku - the sku
      Returns:
      the matching cp instance, or null if a matching cp instance could not be found
    • fetchByCPDI_S

      CPInstance fetchByCPDI_S(long CPDefinitionId, String sku, boolean useFinderCache)
      Returns the cp instance where CPDefinitionId = ? and sku = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      sku - the sku
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp instance, or null if a matching cp instance could not be found
    • removeByCPDI_S

      CPInstance removeByCPDI_S(long CPDefinitionId, String sku) throws NoSuchCPInstanceException
      Removes the cp instance where CPDefinitionId = ? and sku = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      sku - the sku
      Returns:
      the cp instance that was removed
      Throws:
      NoSuchCPInstanceException
    • countByCPDI_S

      int countByCPDI_S(long CPDefinitionId, String sku)
      Returns the number of cp instances where CPDefinitionId = ? and sku = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      sku - the sku
      Returns:
      the number of matching cp instances
    • findByC_ST

      List<CPInstance> findByC_ST(long CPDefinitionId, int status)
      Returns all the cp instances where CPDefinitionId = ? and status = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      status - the status
      Returns:
      the matching cp instances
    • findByC_ST

      List<CPInstance> findByC_ST(long CPDefinitionId, int status, int start, int end)
      Returns a range of all the cp instances where CPDefinitionId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      status - the status
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      CPDefinitionId - the cp definition ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      status - 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 ID
      status - the status
      Returns:
      the number of matching cp instances
    • findByLtD_S

      List<CPInstance> findByLtD_S(Date displayDate, int status)
      Returns all the cp instances where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the matching cp instances
    • findByLtD_S

      List<CPInstance> findByLtD_S(Date displayDate, int status, int start, int end)
      Returns a range of all the cp instances where displayDate < ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance
      Throws:
      NoSuchCPInstanceException - if a cp instance with the primary key could not be found
    • removeByLtD_S

      void removeByLtD_S(Date displayDate, int status)
      Removes all the cp instances where displayDate < ? and status = ? from the database.
      Parameters:
      displayDate - the display date
      status - the status
    • countByLtD_S

      int countByLtD_S(Date displayDate, int status)
      Returns the number of cp instances where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching cp instances
    • findByC_LtD_S

      List<CPInstance> findByC_LtD_S(long CPDefinitionId, Date displayDate, int status)
      Returns all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      displayDate - the display date
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 ID
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 ID
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      CPDefinitionId - the cp definition ID
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByC_LtD_S(long CPDefinitionId, Date displayDate, int status)
      Removes all the cp instances where CPDefinitionId = ? and displayDate < ? and status = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      displayDate - the display date
      status - the status
    • countByC_LtD_S

      int countByC_LtD_S(long CPDefinitionId, Date displayDate, int status)
      Returns the number of cp instances where CPDefinitionId = ? and displayDate < ? and status = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      displayDate - the display date
      status - 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 uuid
      replacementCProductId - the replacement c product ID
      status - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      replacementCPInstanceUuid - the replacement cp instance uuid
      replacementCProductId - the replacement c product ID
      status - the status
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      replacementCPInstanceUuid - the replacement cp instance uuid
      replacementCProductId - the replacement c product ID
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      replacementCPInstanceUuid - the replacement cp instance uuid
      replacementCProductId - the replacement c product ID
      status - the status
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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 uuid
      replacementCProductId - the replacement c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      replacementCProductId - the replacement c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      replacementCProductId - the replacement c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 uuid
      replacementCProductId - the replacement c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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 instance
      replacementCPInstanceUuid - the replacement cp instance uuid
      replacementCProductId - the replacement c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      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

      void removeByR_R_S(String replacementCPInstanceUuid, long replacementCProductId, int status)
      Removes all the cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ? from the database.
      Parameters:
      replacementCPInstanceUuid - the replacement cp instance uuid
      replacementCProductId - the replacement c product ID
      status - the status
    • countByR_R_S

      int countByR_R_S(String replacementCPInstanceUuid, long replacementCProductId, int status)
      Returns the number of cp instances where replacementCPInstanceUuid = ? and replacementCProductId = ? and status = ?.
      Parameters:
      replacementCPInstanceUuid - the replacement cp instance uuid
      replacementCProductId - the replacement c product ID
      status - 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 a NoSuchCPInstanceException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching cp instance
      Throws:
      NoSuchCPInstanceException - if a matching cp instance could not be found
    • fetchByERC_C

      CPInstance fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the cp instance where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching cp instance, or null if a matching cp instance could not be found
    • fetchByERC_C

      CPInstance fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the cp instance where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - 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 code
      companyId - the company ID
      Returns:
      the cp instance that was removed
      Throws:
      NoSuchCPInstanceException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of cp instances where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching cp instances
    • cacheResult

      void cacheResult(CPInstance cpInstance)
      Caches the cp instance in the entity cache if it is enabled.
      Parameters:
      cpInstance - the cp instance
    • cacheResult

      void cacheResult(List<CPInstance> cpInstances)
      Caches the cp instances in the entity cache if it is enabled.
      Parameters:
      cpInstances - the cp instances
    • create

      CPInstance create(long CPInstanceId)
      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

      CPInstance remove(long CPInstanceId) throws NoSuchCPInstanceException
      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

      CPInstance updateImpl(CPInstance cpInstance)
    • findByPrimaryKey

      CPInstance findByPrimaryKey(long CPInstanceId) throws NoSuchCPInstanceException
      Returns the cp instance with the primary key or throws a NoSuchCPInstanceException 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

      CPInstance fetchByPrimaryKey(long CPInstanceId)
      Returns the cp instance with the primary key or returns null 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

      List<CPInstance> findAll(int start, int end)
      Returns a range of all the cp instances.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      start - the lower bound of the range of cp instances
      end - 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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CPInstanceModelImpl.

      Parameters:
      start - the lower bound of the range of cp instances
      end - the upper bound of the range of cp instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder 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