Interface CPDefinitionOptionRelPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByC_C(long CPDefinitionId, long CPOptionId)
    Returns the number of cp definition option rels where CPDefinitionId = ? and CPOptionId = ?.
    int
    countByC_K(long CPDefinitionId, String key)
    Returns the number of cp definition option rels where CPDefinitionId = ? and key = ?.
    int
    countByC_SC(long CPDefinitionId, boolean skuContributor)
    Returns the number of cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
    int
    countByCompanyId(long companyId)
    Returns the number of cp definition option rels where companyId = ?.
    int
    countByCPDefinitionId(long CPDefinitionId)
    Returns the number of cp definition option rels where CPDefinitionId = ?.
    int
    countByCPDI_R(long CPDefinitionId, boolean required)
    Returns the number of cp definition option rels where CPDefinitionId = ? and required = ?.
    int
    countByCPOptionId(long CPOptionId)
    Returns the number of cp definition option rels where CPOptionId = ?.
    int
    countByGroupId(long groupId)
    Returns the number of cp definition option rels where groupId = ?.
    int
    Returns the number of cp definition option rels where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of cp definition option rels where uuid = ? and companyId = ?.
    int
    countByUUID_G(String uuid, long groupId)
    Returns the number of cp definition option rels where uuid = ? and groupId = ?.
    create(long CPDefinitionOptionRelId)
    Creates a new cp definition option rel with the primary key.
    fetchByC_C(long CPDefinitionId, long CPOptionId)
    Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returns null if it could not be found.
    fetchByC_C(long CPDefinitionId, long CPOptionId, boolean useFinderCache)
    Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_K(long CPDefinitionId, String key)
    Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returns null if it could not be found.
    fetchByC_K(long CPDefinitionId, String key, boolean useFinderCache)
    Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where companyId = ?.
    fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.
    fetchByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
    fetchByCPOptionId_First(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPOptionId = ?.
    fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where groupId = ?.
    fetchByPrimaryKey(long CPDefinitionOptionRelId)
    Returns the cp definition option rel 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<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where uuid = ? and companyId = ?.
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where uuid = ?.
    fetchByUUID_G(String uuid, long groupId)
    Returns the cp definition option rel 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 option rel where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
    findByC_C(long CPDefinitionId, long CPOptionId)
    Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or throws a NoSuchCPDefinitionOptionRelException if it could not be found.
    findByC_K(long CPDefinitionId, String key)
    Returns the cp definition option rel where CPDefinitionId = ? and key = ? or throws a NoSuchCPDefinitionOptionRelException if it could not be found.
    findByC_SC(long CPDefinitionId, boolean skuContributor)
    Returns all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
    findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end)
    Returns a range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
    findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
    findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
    findByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
    findByCompanyId(long companyId)
    Returns all the cp definition option rels where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the cp definition option rels where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where companyId = ?.
    findByCPDefinitionId(long CPDefinitionId)
    Returns all the cp definition option rels where CPDefinitionId = ?.
    findByCPDefinitionId(long CPDefinitionId, int start, int end)
    Returns a range of all the cp definition option rels where CPDefinitionId = ?.
    findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.
    findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.
    findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.
    findByCPDI_R(long CPDefinitionId, boolean required)
    Returns all the cp definition option rels where CPDefinitionId = ? and required = ?.
    findByCPDI_R(long CPDefinitionId, boolean required, int start, int end)
    Returns a range of all the cp definition option rels where CPDefinitionId = ? and required = ?.
    findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.
    findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.
    findByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
    findByCPOptionId(long CPOptionId)
    Returns all the cp definition option rels where CPOptionId = ?.
    findByCPOptionId(long CPOptionId, int start, int end)
    Returns a range of all the cp definition option rels where CPOptionId = ?.
    findByCPOptionId(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where CPOptionId = ?.
    findByCPOptionId(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where CPOptionId = ?.
    findByCPOptionId_First(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where CPOptionId = ?.
    findByGroupId(long groupId)
    Returns all the cp definition option rels where groupId = ?.
    findByGroupId(long groupId, int start, int end)
    Returns a range of all the cp definition option rels where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where groupId = ?.
    findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where groupId = ?.
    findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where groupId = ?.
    findByPrimaryKey(long CPDefinitionOptionRelId)
    Returns the cp definition option rel with the primary key or throws a NoSuchCPDefinitionOptionRelException if it could not be found.
    Returns all the cp definition option rels where uuid = ?.
    findByUuid(String uuid, int start, int end)
    Returns a range of all the cp definition option rels where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where uuid = ?.
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where uuid = ?.
    findByUuid_C(String uuid, long companyId)
    Returns all the cp definition option rels where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the cp definition option rels where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns an ordered range of all the cp definition option rels where uuid = ? and companyId = ?.
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cp definition option rels where uuid = ? and companyId = ?.
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where uuid = ? and companyId = ?.
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
    Returns the first cp definition option rel in the ordered set where uuid = ?.
    findByUUID_G(String uuid, long groupId)
    Returns the cp definition option rel where uuid = ? and groupId = ? or throws a NoSuchCPDefinitionOptionRelException if it could not be found.
    remove(long CPDefinitionOptionRelId)
    Removes the cp definition option rel with the primary key from the database.
    removeByC_C(long CPDefinitionId, long CPOptionId)
    Removes the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? from the database.
    removeByC_K(long CPDefinitionId, String key)
    Removes the cp definition option rel where CPDefinitionId = ? and key = ? from the database.
    void
    removeByC_SC(long CPDefinitionId, boolean skuContributor)
    Removes all the cp definition option rels where CPDefinitionId = ? and skuContributor = ? from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the cp definition option rels where companyId = ? from the database.
    void
    removeByCPDefinitionId(long CPDefinitionId)
    Removes all the cp definition option rels where CPDefinitionId = ? from the database.
    void
    removeByCPDI_R(long CPDefinitionId, boolean required)
    Removes all the cp definition option rels where CPDefinitionId = ? and required = ? from the database.
    void
    removeByCPOptionId(long CPOptionId)
    Removes all the cp definition option rels where CPOptionId = ? from the database.
    void
    removeByGroupId(long groupId)
    Removes all the cp definition option rels where groupId = ? from the database.
    void
    Removes all the cp definition option rels where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the cp definition option rels where uuid = ? and companyId = ? from the database.
    removeByUUID_G(String uuid, long groupId)
    Removes the cp definition option rel where uuid = ? and groupId = ? from the database.
    updateImpl(CPDefinitionOptionRel cpDefinitionOptionRel)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, 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<CPDefinitionOptionRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

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

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

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

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

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

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

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

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

      List<CPDefinitionOptionRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

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

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

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

      List<CPDefinitionOptionRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

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

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

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

      int countByGroupId(long groupId)
      Returns the number of cp definition option rels where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching cp definition option rels
    • findByCompanyId

      List<CPDefinitionOptionRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

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

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

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

      int countByCompanyId(long companyId)
      Returns the number of cp definition option rels where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching cp definition option rels
    • findByCPDefinitionId

      List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (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 definition option rels
    • findByCPDefinitionId_First

      CPDefinitionOptionRel findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
      Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel
      Throws:
      NoSuchCPDefinitionOptionRelException - if a matching cp definition option rel could not be found
    • fetchByCPDefinitionId_First

      CPDefinitionOptionRel fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns the first cp definition option rel in the ordered set where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel, or null if a matching cp definition option rel could not be found
    • removeByCPDefinitionId

      void removeByCPDefinitionId(long CPDefinitionId)
      Removes all the cp definition option rels where CPDefinitionId = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
    • countByCPDefinitionId

      int countByCPDefinitionId(long CPDefinitionId)
      Returns the number of cp definition option rels where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the number of matching cp definition option rels
    • findByCPOptionId

      List<CPDefinitionOptionRel> findByCPOptionId(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels where CPOptionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPOptionId - the cp option ID
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (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 definition option rels
    • findByCPOptionId_First

      CPDefinitionOptionRel findByCPOptionId_First(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
      Returns the first cp definition option rel in the ordered set where CPOptionId = ?.
      Parameters:
      CPOptionId - the cp option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel
      Throws:
      NoSuchCPDefinitionOptionRelException - if a matching cp definition option rel could not be found
    • fetchByCPOptionId_First

      CPDefinitionOptionRel fetchByCPOptionId_First(long CPOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns the first cp definition option rel in the ordered set where CPOptionId = ?.
      Parameters:
      CPOptionId - the cp option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel, or null if a matching cp definition option rel could not be found
    • removeByCPOptionId

      void removeByCPOptionId(long CPOptionId)
      Removes all the cp definition option rels where CPOptionId = ? from the database.
      Parameters:
      CPOptionId - the cp option ID
    • countByCPOptionId

      int countByCPOptionId(long CPOptionId)
      Returns the number of cp definition option rels where CPOptionId = ?.
      Parameters:
      CPOptionId - the cp option ID
      Returns:
      the number of matching cp definition option rels
    • findByC_C

      CPDefinitionOptionRel findByC_C(long CPDefinitionId, long CPOptionId) throws NoSuchCPDefinitionOptionRelException
      Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or throws a NoSuchCPDefinitionOptionRelException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionId - the cp option ID
      Returns:
      the matching cp definition option rel
      Throws:
      NoSuchCPDefinitionOptionRelException - if a matching cp definition option rel could not be found
    • fetchByC_C

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

      CPDefinitionOptionRel removeByC_C(long CPDefinitionId, long CPOptionId) throws NoSuchCPDefinitionOptionRelException
      Removes the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionId - the cp option ID
      Returns:
      the cp definition option rel that was removed
      Throws:
      NoSuchCPDefinitionOptionRelException
    • countByC_C

      int countByC_C(long CPDefinitionId, long CPOptionId)
      Returns the number of cp definition option rels where CPDefinitionId = ? and CPOptionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionId - the cp option ID
      Returns:
      the number of matching cp definition option rels
    • findByCPDI_R

      List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (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 definition option rels
    • findByCPDI_R_First

      CPDefinitionOptionRel findByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
      Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel
      Throws:
      NoSuchCPDefinitionOptionRelException - if a matching cp definition option rel could not be found
    • fetchByCPDI_R_First

      CPDefinitionOptionRel fetchByCPDI_R_First(long CPDefinitionId, boolean required, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and required = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel, or null if a matching cp definition option rel could not be found
    • removeByCPDI_R

      void removeByCPDI_R(long CPDefinitionId, boolean required)
      Removes all the cp definition option rels where CPDefinitionId = ? and required = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
    • countByCPDI_R

      int countByCPDI_R(long CPDefinitionId, boolean required)
      Returns the number of cp definition option rels where CPDefinitionId = ? and required = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
      Returns:
      the number of matching cp definition option rels
    • findByC_SC

      List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (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 definition option rels
    • findByC_SC_First

      CPDefinitionOptionRel findByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator) throws NoSuchCPDefinitionOptionRelException
      Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel
      Throws:
      NoSuchCPDefinitionOptionRelException - if a matching cp definition option rel could not be found
    • fetchByC_SC_First

      CPDefinitionOptionRel fetchByC_SC_First(long CPDefinitionId, boolean skuContributor, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns the first cp definition option rel in the ordered set where CPDefinitionId = ? and skuContributor = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp definition option rel, or null if a matching cp definition option rel could not be found
    • removeByC_SC

      void removeByC_SC(long CPDefinitionId, boolean skuContributor)
      Removes all the cp definition option rels where CPDefinitionId = ? and skuContributor = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
    • countByC_SC

      int countByC_SC(long CPDefinitionId, boolean skuContributor)
      Returns the number of cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
      Returns:
      the number of matching cp definition option rels
    • findByC_K

      CPDefinitionOptionRel findByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionOptionRelException
      Returns the cp definition option rel where CPDefinitionId = ? and key = ? or throws a NoSuchCPDefinitionOptionRelException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      Returns:
      the matching cp definition option rel
      Throws:
      NoSuchCPDefinitionOptionRelException - if a matching cp definition option rel could not be found
    • fetchByC_K

      CPDefinitionOptionRel fetchByC_K(long CPDefinitionId, String key, boolean useFinderCache)
      Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp definition option rel, or null if a matching cp definition option rel could not be found
    • removeByC_K

      CPDefinitionOptionRel removeByC_K(long CPDefinitionId, String key) throws NoSuchCPDefinitionOptionRelException
      Removes the cp definition option rel where CPDefinitionId = ? and key = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      Returns:
      the cp definition option rel that was removed
      Throws:
      NoSuchCPDefinitionOptionRelException
    • countByC_K

      int countByC_K(long CPDefinitionId, String key)
      Returns the number of cp definition option rels where CPDefinitionId = ? and key = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      Returns:
      the number of matching cp definition option rels
    • create

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

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

      CPDefinitionOptionRel updateImpl(CPDefinitionOptionRel cpDefinitionOptionRel)
    • findByPrimaryKey

      CPDefinitionOptionRel findByPrimaryKey(long CPDefinitionOptionRelId) throws NoSuchCPDefinitionOptionRelException
      Returns the cp definition option rel with the primary key or throws a NoSuchCPDefinitionOptionRelException if it could not be found.
      Parameters:
      CPDefinitionOptionRelId - the primary key of the cp definition option rel
      Returns:
      the cp definition option rel
      Throws:
      NoSuchCPDefinitionOptionRelException - if a cp definition option rel with the primary key could not be found
    • fetchByPrimaryKey

      CPDefinitionOptionRel fetchByPrimaryKey(long CPDefinitionOptionRelId)
      Returns the cp definition option rel with the primary key or returns null if it could not be found.
      Parameters:
      CPDefinitionOptionRelId - the primary key of the cp definition option rel
      Returns:
      the cp definition option rel, or null if a cp definition option rel with the primary key could not be found
    • fetchByUUID_G

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

      default CPDefinitionOptionRel fetchByC_C(long CPDefinitionId, long CPOptionId)
      Returns the cp definition option rel where CPDefinitionId = ? and CPOptionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      CPOptionId - the cp option ID
      Returns:
      the matching cp definition option rel, or null if a matching cp definition option rel could not be found
    • fetchByC_K

      default CPDefinitionOptionRel fetchByC_K(long CPDefinitionId, String key)
      Returns the cp definition option rel where CPDefinitionId = ? and key = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      key - the key
      Returns:
      the matching cp definition option rel, or null if a matching cp definition option rel could not be found
    • findByUuid

      default List<CPDefinitionOptionRel> findByUuid(String uuid)
      Returns all the cp definition option rels where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp definition option rels
    • findByUuid

      default List<CPDefinitionOptionRel> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByUuid_C(String uuid, long companyId)
      Returns all the cp definition option rels where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp definition option rels
    • findByUuid_C

      default List<CPDefinitionOptionRel> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByGroupId(long groupId)
      Returns all the cp definition option rels where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching cp definition option rels
    • findByGroupId

      default List<CPDefinitionOptionRel> findByGroupId(long groupId, int start, int end)
      Returns a range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByCompanyId(long companyId)
      Returns all the cp definition option rels where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching cp definition option rels
    • findByCompanyId

      default List<CPDefinitionOptionRel> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

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

      default List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId)
      Returns all the cp definition option rels where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the matching cp definition option rels
    • findByCPDefinitionId

      default List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end)
      Returns a range of all the cp definition option rels where CPDefinitionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      Returns:
      the range of matching cp definition option rels
    • findByCPDefinitionId

      default List<CPDefinitionOptionRel> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels where CPDefinitionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition option rels
    • findByCPOptionId

      default List<CPDefinitionOptionRel> findByCPOptionId(long CPOptionId)
      Returns all the cp definition option rels where CPOptionId = ?.
      Parameters:
      CPOptionId - the cp option ID
      Returns:
      the matching cp definition option rels
    • findByCPOptionId

      default List<CPDefinitionOptionRel> findByCPOptionId(long CPOptionId, int start, int end)
      Returns a range of all the cp definition option rels where CPOptionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPOptionId - the cp option ID
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      Returns:
      the range of matching cp definition option rels
    • findByCPOptionId

      default List<CPDefinitionOptionRel> findByCPOptionId(long CPOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels where CPOptionId = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPOptionId - the cp option ID
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition option rels
    • findByCPDI_R

      default List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required)
      Returns all the cp definition option rels where CPDefinitionId = ? and required = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
      Returns:
      the matching cp definition option rels
    • findByCPDI_R

      default List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, int start, int end)
      Returns a range of all the cp definition option rels where CPDefinitionId = ? and required = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      Returns:
      the range of matching cp definition option rels
    • findByCPDI_R

      default List<CPDefinitionOptionRel> findByCPDI_R(long CPDefinitionId, boolean required, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and required = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      required - the required
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition option rels
    • findByC_SC

      default List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor)
      Returns all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
      Returns:
      the matching cp definition option rels
    • findByC_SC

      default List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end)
      Returns a range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      Returns:
      the range of matching cp definition option rels
    • findByC_SC

      default List<CPDefinitionOptionRel> findByC_SC(long CPDefinitionId, boolean skuContributor, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionOptionRel> orderByComparator)
      Returns an ordered range of all the cp definition option rels where CPDefinitionId = ? and skuContributor = ?.

      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 com.liferay.portal.kernel.dao.orm.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 com.liferay.commerce.product.model.impl.CPDefinitionOptionRelModelImpl.

      Parameters:
      CPDefinitionId - the cp definition ID
      skuContributor - the sku contributor
      start - the lower bound of the range of cp definition option rels
      end - the upper bound of the range of cp definition option rels (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp definition option rels