Interface CPDefinitionPersistence

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

@ProviderType public interface CPDefinitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinition>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPDefinition>
The persistence interface for the cp definition service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(CPDefinition cpDefinition)
    Caches the cp definition in the entity cache if it is enabled.
    void
    cacheResult(List<CPDefinition> cpDefinitions)
    Caches the cp definitions in the entity cache if it is enabled.
    int
    Returns the number of cp definitions.
    int
    countByC_S(long CProductId, int status)
    Returns the number of cp definitions where CProductId = ? and status = ?.
    int
    countByC_V(long CProductId, int version)
    Returns the number of cp definitions where CProductId = ? and version = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of cp definitions where companyId = ?.
    int
    countByCProductId(long CProductId)
    Returns the number of cp definitions where CProductId = ?.
    int
    countByCPTaxCategoryId(long CPTaxCategoryId)
    Returns the number of cp definitions where CPTaxCategoryId = ?.
    int
    countByG_S(long groupId, int status)
    Returns the number of cp definitions where groupId = ? and status = ?.
    int
    countByG_SE(long groupId, boolean subscriptionEnabled)
    Returns the number of cp definitions where groupId = ? and subscriptionEnabled = ?.
    int
    countByGroupId(long groupId)
    Returns the number of cp definitions where groupId = ?.
    int
    countByLtD_S(Date displayDate, int status)
    Returns the number of cp definitions where displayDate < ? and status = ?.
    int
    Returns the number of cp definitions where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of cp definitions where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of cp definitions where uuid = ? and groupId = ?.
    create(long CPDefinitionId)
    Creates a new cp definition with the primary key.
    fetchByC_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where CProductId = ? and status = ?.
    fetchByC_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where CProductId = ? and status = ?.
    fetchByC_V(long CProductId, int version)
    Returns the cp definition where CProductId = ? and version = ? or returns null if it could not be found.
    fetchByC_V(long CProductId, int version, boolean useFinderCache)
    Returns the cp definition where CProductId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where companyId = ?.
    fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where CProductId = ?.
    fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where CProductId = ?.
    fetchByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where CPTaxCategoryId = ?.
    fetchByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where CPTaxCategoryId = ?.
    fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where groupId = ? and status = ?.
    fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where groupId = ? and status = ?.
    fetchByG_SE_First(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
    fetchByG_SE_Last(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where groupId = ?.
    fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where groupId = ?.
    fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where displayDate < ? and status = ?.
    fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where displayDate < ? and status = ?.
    fetchByPrimaryKey(long CPDefinitionId)
    Returns the cp definition with the primary key or returns null if it could not be found.
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the cp definition where uuid = ? and groupId = ? or returns null if it could not be found.
    fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
    Returns the cp definition 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<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where uuid = ?.
    int
    filterCountByG_S(long groupId, int status)
    Returns the number of cp definitions that the user has permission to view where groupId = ? and status = ?.
    int
    filterCountByG_SE(long groupId, boolean subscriptionEnabled)
    Returns the number of cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.
    int
    filterCountByGroupId(long groupId)
    Returns the number of cp definitions that the user has permission to view where groupId = ?.
    filterFindByG_S(long groupId, int status)
    Returns all the cp definitions that the user has permission to view where groupId = ? and status = ?.
    filterFindByG_S(long groupId, int status, int start, int end)
    Returns a range of all the cp definitions that the user has permission to view where groupId = ? and status = ?.
    filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions that the user has permissions to view where groupId = ? and status = ?.
    filterFindByG_S_PrevAndNext(long CPDefinitionId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set of cp definitions that the user has permission to view where groupId = ? and status = ?.
    filterFindByG_SE(long groupId, boolean subscriptionEnabled)
    Returns all the cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.
    filterFindByG_SE(long groupId, boolean subscriptionEnabled, int start, int end)
    Returns a range of all the cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.
    filterFindByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions that the user has permissions to view where groupId = ? and subscriptionEnabled = ?.
    filterFindByG_SE_PrevAndNext(long CPDefinitionId, long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set of cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.
    filterFindByGroupId(long groupId)
    Returns all the cp definitions that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end)
    Returns a range of all the cp definitions that the user has permission to view where groupId = ?.
    filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions that the user has permissions to view where groupId = ?.
    filterFindByGroupId_PrevAndNext(long CPDefinitionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set of cp definitions that the user has permission to view where groupId = ?.
    Returns all the cp definitions.
    findAll(int start, int end)
    Returns a range of all the cp definitions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions.
    findByC_S(long CProductId, int status)
    Returns all the cp definitions where CProductId = ? and status = ?.
    findByC_S(long CProductId, int status, int start, int end)
    Returns a range of all the cp definitions where CProductId = ? and status = ?.
    findByC_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where CProductId = ? and status = ?.
    findByC_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where CProductId = ? and status = ?.
    findByC_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where CProductId = ? and status = ?.
    findByC_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where CProductId = ? and status = ?.
    findByC_S_PrevAndNext(long CPDefinitionId, long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where CProductId = ? and status = ?.
    findByC_V(long CProductId, int version)
    Returns the cp definition where CProductId = ? and version = ? or throws a NoSuchCPDefinitionException if it could not be found.
    findByCompanyId(long companyId)
    Returns all the cp definitions where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the cp definitions where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long CPDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where companyId = ?.
    findByCProductId(long CProductId)
    Returns all the cp definitions where CProductId = ?.
    findByCProductId(long CProductId, int start, int end)
    Returns a range of all the cp definitions where CProductId = ?.
    findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where CProductId = ?.
    findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where CProductId = ?.
    findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where CProductId = ?.
    findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where CProductId = ?.
    findByCProductId_PrevAndNext(long CPDefinitionId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where CProductId = ?.
    findByCPTaxCategoryId(long CPTaxCategoryId)
    Returns all the cp definitions where CPTaxCategoryId = ?.
    findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end)
    Returns a range of all the cp definitions where CPTaxCategoryId = ?.
    findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where CPTaxCategoryId = ?.
    findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where CPTaxCategoryId = ?.
    findByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where CPTaxCategoryId = ?.
    findByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where CPTaxCategoryId = ?.
    findByCPTaxCategoryId_PrevAndNext(long CPDefinitionId, long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where CPTaxCategoryId = ?.
    findByG_S(long groupId, int status)
    Returns all the cp definitions where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end)
    Returns a range of all the cp definitions where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where groupId = ? and status = ?.
    findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where groupId = ? and status = ?.
    findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where groupId = ? and status = ?.
    findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where groupId = ? and status = ?.
    findByG_S_PrevAndNext(long CPDefinitionId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ? and status = ?.
    findByG_SE(long groupId, boolean subscriptionEnabled)
    Returns all the cp definitions where groupId = ? and subscriptionEnabled = ?.
    findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end)
    Returns a range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.
    findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.
    findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.
    findByG_SE_First(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
    findByG_SE_Last(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
    findByG_SE_PrevAndNext(long CPDefinitionId, long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
    findByGroupId(long groupId)
    Returns all the cp definitions where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the cp definitions where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where groupId = ?.
    findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where groupId = ?.
    findByGroupId_PrevAndNext(long CPDefinitionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ?.
    findByLtD_S(Date displayDate, int status)
    Returns all the cp definitions where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end)
    Returns a range of all the cp definitions where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where displayDate < ? and status = ?.
    findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where displayDate < ? and status = ?.
    findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where displayDate < ? and status = ?.
    findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where displayDate < ? and status = ?.
    findByLtD_S_PrevAndNext(long CPDefinitionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where displayDate < ? and status = ?.
    findByPrimaryKey(long CPDefinitionId)
    Returns the cp definition with the primary key or throws a NoSuchCPDefinitionException if it could not be found.
    Returns all the cp definitions where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the cp definitions where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the cp definitions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the cp definitions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns an ordered range of all the cp definitions where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definitions where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where uuid = ? and companyId = ?.
    findByUuid_C_PrevAndNext(long CPDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the first cp definition in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the cp definition where uuid = ? and groupId = ? or throws a NoSuchCPDefinitionException if it could not be found.
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the last cp definition in the ordered set where uuid = ?.
    findByUuid_PrevAndNext(long CPDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
    Returns the cp definitions before and after the current cp definition in the ordered set where uuid = ?.
    remove(long CPDefinitionId)
    Removes the cp definition with the primary key from the database.
    void
    Removes all the cp definitions from the database.
    void
    removeByC_S(long CProductId, int status)
    Removes all the cp definitions where CProductId = ? and status = ? from the database.
    removeByC_V(long CProductId, int version)
    Removes the cp definition where CProductId = ? and version = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the cp definitions where companyId = ? from the database.
    void
    removeByCProductId(long CProductId)
    Removes all the cp definitions where CProductId = ? from the database.
    void
    removeByCPTaxCategoryId(long CPTaxCategoryId)
    Removes all the cp definitions where CPTaxCategoryId = ? from the database.
    void
    removeByG_S(long groupId, int status)
    Removes all the cp definitions where groupId = ? and status = ? from the database.
    void
    removeByG_SE(long groupId, boolean subscriptionEnabled)
    Removes all the cp definitions where groupId = ? and subscriptionEnabled = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the cp definitions where groupId = ? from the database.
    void
    removeByLtD_S(Date displayDate, int status)
    Removes all the cp definitions where displayDate < ? and status = ? from the database.
    void
    Removes all the cp definitions where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the cp definitions where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the cp definition where uuid = ? and groupId = ? from the database.
    updateImpl(CPDefinition cpDefinition)
     

    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<CPDefinition> findByUuid(String uuid)
      Returns all the cp definitions where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp definitions
    • findByUuid

      List<CPDefinition> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByUuid

      List<CPDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByUuid

      List<CPDefinition> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByUuid_First

      CPDefinition findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByUuid_First

      CPDefinition fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition 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 definition, or null if a matching cp definition could not be found
    • findByUuid_Last

      CPDefinition findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByUuid_Last

      CPDefinition fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition 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 definition, or null if a matching cp definition could not be found
    • findByUuid_PrevAndNext

      CPDefinition[] findByUuid_PrevAndNext(long CPDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where uuid = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByUuid

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

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

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

      CPDefinition fetchByUUID_G(String uuid, long groupId)
      Returns the cp definition 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 definition, or null if a matching cp definition could not be found
    • fetchByUUID_G

      CPDefinition fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the cp definition 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 definition, or null if a matching cp definition could not be found
    • removeByUUID_G

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

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

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

      List<CPDefinition> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByUuid_C

      List<CPDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByUuid_C

      List<CPDefinition> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByUuid_C_First

      CPDefinition findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByUuid_C_First

      CPDefinition fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition 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 definition, or null if a matching cp definition could not be found
    • findByUuid_C_Last

      CPDefinition findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByUuid_C_Last

      CPDefinition fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition 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 definition, or null if a matching cp definition could not be found
    • findByUuid_C_PrevAndNext

      CPDefinition[] findByUuid_C_PrevAndNext(long CPDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the cp definitions 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 definitions where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching cp definitions
    • findByGroupId

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

      List<CPDefinition> findByGroupId(long groupId, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByGroupId

      List<CPDefinition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByGroupId

      List<CPDefinition> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByGroupId_First

      CPDefinition findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByGroupId_First

      CPDefinition fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition 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 definition, or null if a matching cp definition could not be found
    • findByGroupId_Last

      CPDefinition findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByGroupId_Last

      CPDefinition fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition 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 definition, or null if a matching cp definition could not be found
    • findByGroupId_PrevAndNext

      CPDefinition[] findByGroupId_PrevAndNext(long CPDefinitionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • filterFindByGroupId

      List<CPDefinition> filterFindByGroupId(long groupId)
      Returns all the cp definitions that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching cp definitions that the user has permission to view
    • filterFindByGroupId

      List<CPDefinition> filterFindByGroupId(long groupId, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions that the user has permission to view
    • filterFindByGroupId

      List<CPDefinition> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions that the user has permission to view
    • filterFindByGroupId_PrevAndNext

      CPDefinition[] filterFindByGroupId_PrevAndNext(long CPDefinitionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set of cp definitions that the user has permission to view where groupId = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByGroupId

      void removeByGroupId(long groupId)
      Removes all the cp definitions where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      int countByGroupId(long groupId)
      Returns the number of cp definitions where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching cp definitions
    • filterCountByGroupId

      int filterCountByGroupId(long groupId)
      Returns the number of cp definitions that the user has permission to view where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching cp definitions that the user has permission to view
    • findByCompanyId

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

      List<CPDefinition> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByCompanyId

      List<CPDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByCompanyId

      List<CPDefinition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByCompanyId_First

      CPDefinition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByCompanyId_First

      CPDefinition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition 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 definition, or null if a matching cp definition could not be found
    • findByCompanyId_Last

      CPDefinition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByCompanyId_Last

      CPDefinition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition 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 definition, or null if a matching cp definition could not be found
    • findByCompanyId_PrevAndNext

      CPDefinition[] findByCompanyId_PrevAndNext(long CPDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where companyId = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the cp definitions where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of cp definitions where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp definitions
    • findByCProductId

      List<CPDefinition> findByCProductId(long CProductId)
      Returns all the cp definitions where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the matching cp definitions
    • findByCProductId

      List<CPDefinition> findByCProductId(long CProductId, int start, int end)
      Returns a range of all the cp definitions where CProductId = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByCProductId

      List<CPDefinition> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions where CProductId = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByCProductId

      List<CPDefinition> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions where CProductId = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      CProductId - the c product ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByCProductId_First

      CPDefinition findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByCProductId_First

      CPDefinition fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition, or null if a matching cp definition could not be found
    • findByCProductId_Last

      CPDefinition findByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByCProductId_Last

      CPDefinition fetchByCProductId_Last(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition in the ordered set where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition, or null if a matching cp definition could not be found
    • findByCProductId_PrevAndNext

      CPDefinition[] findByCProductId_PrevAndNext(long CPDefinitionId, long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where CProductId = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      CProductId - the c product ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByCProductId

      void removeByCProductId(long CProductId)
      Removes all the cp definitions where CProductId = ? from the database.
      Parameters:
      CProductId - the c product ID
    • countByCProductId

      int countByCProductId(long CProductId)
      Returns the number of cp definitions where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the number of matching cp definitions
    • findByCPTaxCategoryId

      List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId)
      Returns all the cp definitions where CPTaxCategoryId = ?.
      Parameters:
      CPTaxCategoryId - the cp tax category ID
      Returns:
      the matching cp definitions
    • findByCPTaxCategoryId

      List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end)
      Returns a range of all the cp definitions where CPTaxCategoryId = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      CPTaxCategoryId - the cp tax category ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByCPTaxCategoryId

      List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions where CPTaxCategoryId = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      CPTaxCategoryId - the cp tax category ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByCPTaxCategoryId

      List<CPDefinition> findByCPTaxCategoryId(long CPTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions where CPTaxCategoryId = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      CPTaxCategoryId - the cp tax category ID
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByCPTaxCategoryId_First

      CPDefinition findByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition in the ordered set where CPTaxCategoryId = ?.
      Parameters:
      CPTaxCategoryId - the cp tax category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByCPTaxCategoryId_First

      CPDefinition fetchByCPTaxCategoryId_First(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition in the ordered set where CPTaxCategoryId = ?.
      Parameters:
      CPTaxCategoryId - the cp tax category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition, or null if a matching cp definition could not be found
    • findByCPTaxCategoryId_Last

      CPDefinition findByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition in the ordered set where CPTaxCategoryId = ?.
      Parameters:
      CPTaxCategoryId - the cp tax category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByCPTaxCategoryId_Last

      CPDefinition fetchByCPTaxCategoryId_Last(long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition in the ordered set where CPTaxCategoryId = ?.
      Parameters:
      CPTaxCategoryId - the cp tax category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition, or null if a matching cp definition could not be found
    • findByCPTaxCategoryId_PrevAndNext

      CPDefinition[] findByCPTaxCategoryId_PrevAndNext(long CPDefinitionId, long CPTaxCategoryId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where CPTaxCategoryId = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      CPTaxCategoryId - the cp tax category ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByCPTaxCategoryId

      void removeByCPTaxCategoryId(long CPTaxCategoryId)
      Removes all the cp definitions where CPTaxCategoryId = ? from the database.
      Parameters:
      CPTaxCategoryId - the cp tax category ID
    • countByCPTaxCategoryId

      int countByCPTaxCategoryId(long CPTaxCategoryId)
      Returns the number of cp definitions where CPTaxCategoryId = ?.
      Parameters:
      CPTaxCategoryId - the cp tax category ID
      Returns:
      the number of matching cp definitions
    • findByG_SE

      List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled)
      Returns all the cp definitions where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      Returns:
      the matching cp definitions
    • findByG_SE

      List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end)
      Returns a range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByG_SE

      List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByG_SE

      List<CPDefinition> findByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions where groupId = ? and subscriptionEnabled = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByG_SE_First

      CPDefinition findByG_SE_First(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByG_SE_First

      CPDefinition fetchByG_SE_First(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition, or null if a matching cp definition could not be found
    • findByG_SE_Last

      CPDefinition findByG_SE_Last(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByG_SE_Last

      CPDefinition fetchByG_SE_Last(long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition, or null if a matching cp definition could not be found
    • findByG_SE_PrevAndNext

      CPDefinition[] findByG_SE_PrevAndNext(long CPDefinitionId, long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • filterFindByG_SE

      List<CPDefinition> filterFindByG_SE(long groupId, boolean subscriptionEnabled)
      Returns all the cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      Returns:
      the matching cp definitions that the user has permission to view
    • filterFindByG_SE

      List<CPDefinition> filterFindByG_SE(long groupId, boolean subscriptionEnabled, int start, int end)
      Returns a range of all the cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions that the user has permission to view
    • filterFindByG_SE

      List<CPDefinition> filterFindByG_SE(long groupId, boolean subscriptionEnabled, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions that the user has permissions to view where groupId = ? and subscriptionEnabled = ?.

      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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions that the user has permission to view
    • filterFindByG_SE_PrevAndNext

      CPDefinition[] filterFindByG_SE_PrevAndNext(long CPDefinitionId, long groupId, boolean subscriptionEnabled, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set of cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByG_SE

      void removeByG_SE(long groupId, boolean subscriptionEnabled)
      Removes all the cp definitions where groupId = ? and subscriptionEnabled = ? from the database.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
    • countByG_SE

      int countByG_SE(long groupId, boolean subscriptionEnabled)
      Returns the number of cp definitions where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      Returns:
      the number of matching cp definitions
    • filterCountByG_SE

      int filterCountByG_SE(long groupId, boolean subscriptionEnabled)
      Returns the number of cp definitions that the user has permission to view where groupId = ? and subscriptionEnabled = ?.
      Parameters:
      groupId - the group ID
      subscriptionEnabled - the subscription enabled
      Returns:
      the number of matching cp definitions that the user has permission to view
    • findByG_S

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

      List<CPDefinition> findByG_S(long groupId, int status, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByG_S

      List<CPDefinition> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByG_S

      List<CPDefinition> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByG_S_First

      CPDefinition findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByG_S_First

      CPDefinition fetchByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition 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 definition, or null if a matching cp definition could not be found
    • findByG_S_Last

      CPDefinition findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByG_S_Last

      CPDefinition fetchByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition 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 definition, or null if a matching cp definition could not be found
    • findByG_S_PrevAndNext

      CPDefinition[] findByG_S_PrevAndNext(long CPDefinitionId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where groupId = ? and status = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • filterFindByG_S

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

      List<CPDefinition> filterFindByG_S(long groupId, int status, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions that the user has permission to view
    • filterFindByG_S

      List<CPDefinition> filterFindByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      groupId - the group ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions that the user has permission to view
    • filterFindByG_S_PrevAndNext

      CPDefinition[] filterFindByG_S_PrevAndNext(long CPDefinitionId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set of cp definitions that the user has permission to view where groupId = ? and status = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      groupId - the group ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByG_S

      void removeByG_S(long groupId, int status)
      Removes all the cp definitions where groupId = ? and status = ? from the database.
      Parameters:
      groupId - the group ID
      status - the status
    • countByG_S

      int countByG_S(long groupId, int status)
      Returns the number of cp definitions where groupId = ? and status = ?.
      Parameters:
      groupId - the group ID
      status - the status
      Returns:
      the number of matching cp definitions
    • filterCountByG_S

      int filterCountByG_S(long groupId, int status)
      Returns the number of cp definitions 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 definitions that the user has permission to view
    • findByC_V

      CPDefinition findByC_V(long CProductId, int version) throws NoSuchCPDefinitionException
      Returns the cp definition where CProductId = ? and version = ? or throws a NoSuchCPDefinitionException if it could not be found.
      Parameters:
      CProductId - the c product ID
      version - the version
      Returns:
      the matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByC_V

      CPDefinition fetchByC_V(long CProductId, int version)
      Returns the cp definition where CProductId = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CProductId - the c product ID
      version - the version
      Returns:
      the matching cp definition, or null if a matching cp definition could not be found
    • fetchByC_V

      CPDefinition fetchByC_V(long CProductId, int version, boolean useFinderCache)
      Returns the cp definition where CProductId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CProductId - the c product ID
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp definition, or null if a matching cp definition could not be found
    • removeByC_V

      CPDefinition removeByC_V(long CProductId, int version) throws NoSuchCPDefinitionException
      Removes the cp definition where CProductId = ? and version = ? from the database.
      Parameters:
      CProductId - the c product ID
      version - the version
      Returns:
      the cp definition that was removed
      Throws:
      NoSuchCPDefinitionException
    • countByC_V

      int countByC_V(long CProductId, int version)
      Returns the number of cp definitions where CProductId = ? and version = ?.
      Parameters:
      CProductId - the c product ID
      version - the version
      Returns:
      the number of matching cp definitions
    • findByC_S

      List<CPDefinition> findByC_S(long CProductId, int status)
      Returns all the cp definitions where CProductId = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      status - the status
      Returns:
      the matching cp definitions
    • findByC_S

      List<CPDefinition> findByC_S(long CProductId, int status, int start, int end)
      Returns a range of all the cp definitions where CProductId = ? 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 CPDefinitionModelImpl.

      Parameters:
      CProductId - the c product ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByC_S

      List<CPDefinition> findByC_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions where CProductId = ? 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 CPDefinitionModelImpl.

      Parameters:
      CProductId - the c product ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByC_S

      List<CPDefinition> findByC_S(long CProductId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions where CProductId = ? 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 CPDefinitionModelImpl.

      Parameters:
      CProductId - the c product ID
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByC_S_First

      CPDefinition findByC_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition in the ordered set where CProductId = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByC_S_First

      CPDefinition fetchByC_S_First(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition in the ordered set where CProductId = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition, or null if a matching cp definition could not be found
    • findByC_S_Last

      CPDefinition findByC_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition in the ordered set where CProductId = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByC_S_Last

      CPDefinition fetchByC_S_Last(long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition in the ordered set where CProductId = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp definition, or null if a matching cp definition could not be found
    • findByC_S_PrevAndNext

      CPDefinition[] findByC_S_PrevAndNext(long CPDefinitionId, long CProductId, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where CProductId = ? and status = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      CProductId - the c product ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByC_S

      void removeByC_S(long CProductId, int status)
      Removes all the cp definitions where CProductId = ? and status = ? from the database.
      Parameters:
      CProductId - the c product ID
      status - the status
    • countByC_S

      int countByC_S(long CProductId, int status)
      Returns the number of cp definitions where CProductId = ? and status = ?.
      Parameters:
      CProductId - the c product ID
      status - the status
      Returns:
      the number of matching cp definitions
    • findByLtD_S

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

      List<CPDefinition> findByLtD_S(Date displayDate, int status, int start, int end)
      Returns a range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of matching cp definitions
    • findByLtD_S

      List<CPDefinition> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definitions
    • findByLtD_S

      List<CPDefinition> findByLtD_S(Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions 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 CPDefinitionModelImpl.

      Parameters:
      displayDate - the display date
      status - the status
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • findByLtD_S_First

      CPDefinition findByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the first cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByLtD_S_First

      CPDefinition fetchByLtD_S_First(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the first cp definition 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 definition, or null if a matching cp definition could not be found
    • findByLtD_S_Last

      CPDefinition findByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the last cp definition 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 definition
      Throws:
      NoSuchCPDefinitionException - if a matching cp definition could not be found
    • fetchByLtD_S_Last

      CPDefinition fetchByLtD_S_Last(Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns the last cp definition 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 definition, or null if a matching cp definition could not be found
    • findByLtD_S_PrevAndNext

      CPDefinition[] findByLtD_S_PrevAndNext(long CPDefinitionId, Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator) throws NoSuchCPDefinitionException
      Returns the cp definitions before and after the current cp definition in the ordered set where displayDate < ? and status = ?.
      Parameters:
      CPDefinitionId - the primary key of the current cp definition
      displayDate - the display date
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • removeByLtD_S

      void removeByLtD_S(Date displayDate, int status)
      Removes all the cp definitions 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 definitions where displayDate < ? and status = ?.
      Parameters:
      displayDate - the display date
      status - the status
      Returns:
      the number of matching cp definitions
    • cacheResult

      void cacheResult(CPDefinition cpDefinition)
      Caches the cp definition in the entity cache if it is enabled.
      Parameters:
      cpDefinition - the cp definition
    • cacheResult

      void cacheResult(List<CPDefinition> cpDefinitions)
      Caches the cp definitions in the entity cache if it is enabled.
      Parameters:
      cpDefinitions - the cp definitions
    • create

      CPDefinition create(long CPDefinitionId)
      Creates a new cp definition with the primary key. Does not add the cp definition to the database.
      Parameters:
      CPDefinitionId - the primary key for the new cp definition
      Returns:
      the new cp definition
    • remove

      CPDefinition remove(long CPDefinitionId) throws NoSuchCPDefinitionException
      Removes the cp definition with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CPDefinitionId - the primary key of the cp definition
      Returns:
      the cp definition that was removed
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • updateImpl

      CPDefinition updateImpl(CPDefinition cpDefinition)
    • findByPrimaryKey

      CPDefinition findByPrimaryKey(long CPDefinitionId) throws NoSuchCPDefinitionException
      Returns the cp definition with the primary key or throws a NoSuchCPDefinitionException if it could not be found.
      Parameters:
      CPDefinitionId - the primary key of the cp definition
      Returns:
      the cp definition
      Throws:
      NoSuchCPDefinitionException - if a cp definition with the primary key could not be found
    • fetchByPrimaryKey

      CPDefinition fetchByPrimaryKey(long CPDefinitionId)
      Returns the cp definition with the primary key or returns null if it could not be found.
      Parameters:
      CPDefinitionId - the primary key of the cp definition
      Returns:
      the cp definition, or null if a cp definition with the primary key could not be found
    • findAll

      List<CPDefinition> findAll()
      Returns all the cp definitions.
      Returns:
      the cp definitions
    • findAll

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

      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 CPDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      Returns:
      the range of cp definitions
    • findAll

      List<CPDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator)
      Returns an ordered range of all the cp definitions.

      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 CPDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of cp definitions
    • findAll

      List<CPDefinition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinition> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definitions.

      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 CPDefinitionModelImpl.

      Parameters:
      start - the lower bound of the range of cp definitions
      end - the upper bound of the range of cp definitions (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 definitions
    • removeAll

      void removeAll()
      Removes all the cp definitions from the database.
    • countAll

      int countAll()
      Returns the number of cp definitions.
      Returns:
      the number of cp definitions