Interface CSDiagramEntryPersistence

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

@ProviderType public interface CSDiagramEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CSDiagramEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramEntry>
The persistence interface for the cs diagram entry service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByCPDefinitionId(long CPDefinitionId)
    Returns the number of cs diagram entries where CPDefinitionId = ?.
    int
    countByCPDI_S(long CPDefinitionId, String sequence)
    Returns the number of cs diagram entries where CPDefinitionId = ? and sequence = ?.
    int
    countByCPInstanceId(long CPInstanceId)
    Returns the number of cs diagram entries where CPInstanceId = ?.
    int
    countByCProductId(long CProductId)
    Returns the number of cs diagram entries where CProductId = ?.
    int
    countByERC_C(String externalReferenceCode, long companyId)
    Returns the number of cs diagram entries where externalReferenceCode = ? and companyId = ?.
    create(long CSDiagramEntryId)
    Creates a new cs diagram entry with the primary key.
    fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.
    fetchByCPDI_S(long CPDefinitionId, String sequence)
    Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returns null if it could not be found.
    fetchByCPDI_S(long CPDefinitionId, String sequence, boolean useFinderCache)
    Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.
    fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns the first cs diagram entry in the ordered set where CProductId = ?.
    fetchByERC_C(String externalReferenceCode, long companyId)
    Returns the cs diagram entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found.
    fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
    Returns the cs diagram entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long CSDiagramEntryId)
    Returns the cs diagram entry with the primary key or returns null if it could not be found.
    findByCPDefinitionId(long CPDefinitionId)
    Returns all the cs diagram entries where CPDefinitionId = ?.
    findByCPDefinitionId(long CPDefinitionId, int start, int end)
    Returns a range of all the cs diagram entries where CPDefinitionId = ?.
    findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.
    findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.
    findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.
    findByCPDI_S(long CPDefinitionId, String sequence)
    Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or throws a NoSuchCSDiagramEntryException if it could not be found.
    findByCPInstanceId(long CPInstanceId)
    Returns all the cs diagram entries where CPInstanceId = ?.
    findByCPInstanceId(long CPInstanceId, int start, int end)
    Returns a range of all the cs diagram entries where CPInstanceId = ?.
    findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.
    findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.
    findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.
    findByCProductId(long CProductId)
    Returns all the cs diagram entries where CProductId = ?.
    findByCProductId(long CProductId, int start, int end)
    Returns a range of all the cs diagram entries where CProductId = ?.
    findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns an ordered range of all the cs diagram entries where CProductId = ?.
    findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the cs diagram entries where CProductId = ?.
    findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
    Returns the first cs diagram entry in the ordered set where CProductId = ?.
    findByERC_C(String externalReferenceCode, long companyId)
    Returns the cs diagram entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchCSDiagramEntryException if it could not be found.
    findByPrimaryKey(long CSDiagramEntryId)
    Returns the cs diagram entry with the primary key or throws a NoSuchCSDiagramEntryException if it could not be found.
    remove(long CSDiagramEntryId)
    Removes the cs diagram entry with the primary key from the database.
    void
    removeByCPDefinitionId(long CPDefinitionId)
    Removes all the cs diagram entries where CPDefinitionId = ? from the database.
    removeByCPDI_S(long CPDefinitionId, String sequence)
    Removes the cs diagram entry where CPDefinitionId = ? and sequence = ? from the database.
    void
    removeByCPInstanceId(long CPInstanceId)
    Removes all the cs diagram entries where CPInstanceId = ? from the database.
    void
    removeByCProductId(long CProductId)
    Removes all the cs diagram entries where CProductId = ? from the database.
    removeByERC_C(String externalReferenceCode, long companyId)
    Removes the cs diagram entry where externalReferenceCode = ? and companyId = ? from the database.
    updateImpl(CSDiagramEntry csDiagramEntry)
     

    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

    • findByCPDefinitionId

      List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cs diagram entries 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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

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

      CSDiagramEntry findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
      Returns the first cs diagram entry 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 cs diagram entry
      Throws:
      NoSuchCSDiagramEntryException - if a matching cs diagram entry could not be found
    • fetchByCPDefinitionId_First

      CSDiagramEntry fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
      Returns the first cs diagram entry 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 cs diagram entry, or null if a matching cs diagram entry could not be found
    • removeByCPDefinitionId

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

      int countByCPDefinitionId(long CPDefinitionId)
      Returns the number of cs diagram entries where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the number of matching cs diagram entries
    • findByCPInstanceId

      List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.

      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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

      Parameters:
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cs diagram entries
      end - the upper bound of the range of cs diagram entries (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 cs diagram entries
    • findByCPInstanceId_First

      CSDiagramEntry findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
      Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cs diagram entry
      Throws:
      NoSuchCSDiagramEntryException - if a matching cs diagram entry could not be found
    • fetchByCPInstanceId_First

      CSDiagramEntry fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
      Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cs diagram entry, or null if a matching cs diagram entry could not be found
    • removeByCPInstanceId

      void removeByCPInstanceId(long CPInstanceId)
      Removes all the cs diagram entries where CPInstanceId = ? from the database.
      Parameters:
      CPInstanceId - the cp instance ID
    • countByCPInstanceId

      int countByCPInstanceId(long CPInstanceId)
      Returns the number of cs diagram entries where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      Returns:
      the number of matching cs diagram entries
    • findByCProductId

      List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cs diagram entries 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 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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

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

      CSDiagramEntry findByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
      Returns the first cs diagram entry 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 cs diagram entry
      Throws:
      NoSuchCSDiagramEntryException - if a matching cs diagram entry could not be found
    • fetchByCProductId_First

      CSDiagramEntry fetchByCProductId_First(long CProductId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
      Returns the first cs diagram entry 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 cs diagram entry, or null if a matching cs diagram entry could not be found
    • removeByCProductId

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

      int countByCProductId(long CProductId)
      Returns the number of cs diagram entries where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the number of matching cs diagram entries
    • findByCPDI_S

      CSDiagramEntry findByCPDI_S(long CPDefinitionId, String sequence) throws NoSuchCSDiagramEntryException
      Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or throws a NoSuchCSDiagramEntryException if it could not be found.
      Parameters:
      CPDefinitionId - the cp definition ID
      sequence - the sequence
      Returns:
      the matching cs diagram entry
      Throws:
      NoSuchCSDiagramEntryException - if a matching cs diagram entry could not be found
    • fetchByCPDI_S

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

      CSDiagramEntry removeByCPDI_S(long CPDefinitionId, String sequence) throws NoSuchCSDiagramEntryException
      Removes the cs diagram entry where CPDefinitionId = ? and sequence = ? from the database.
      Parameters:
      CPDefinitionId - the cp definition ID
      sequence - the sequence
      Returns:
      the cs diagram entry that was removed
      Throws:
      NoSuchCSDiagramEntryException
    • countByCPDI_S

      int countByCPDI_S(long CPDefinitionId, String sequence)
      Returns the number of cs diagram entries where CPDefinitionId = ? and sequence = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      sequence - the sequence
      Returns:
      the number of matching cs diagram entries
    • findByERC_C

      CSDiagramEntry findByERC_C(String externalReferenceCode, long companyId) throws NoSuchCSDiagramEntryException
      Returns the cs diagram entry where externalReferenceCode = ? and companyId = ? or throws a NoSuchCSDiagramEntryException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching cs diagram entry
      Throws:
      NoSuchCSDiagramEntryException - if a matching cs diagram entry could not be found
    • fetchByERC_C

      CSDiagramEntry fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache)
      Returns the cs diagram entry where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cs diagram entry, or null if a matching cs diagram entry could not be found
    • removeByERC_C

      CSDiagramEntry removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchCSDiagramEntryException
      Removes the cs diagram entry where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the cs diagram entry that was removed
      Throws:
      NoSuchCSDiagramEntryException
    • countByERC_C

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

      CSDiagramEntry create(long CSDiagramEntryId)
      Creates a new cs diagram entry with the primary key. Does not add the cs diagram entry to the database.
      Parameters:
      CSDiagramEntryId - the primary key for the new cs diagram entry
      Returns:
      the new cs diagram entry
    • remove

      CSDiagramEntry remove(long CSDiagramEntryId) throws NoSuchCSDiagramEntryException
      Removes the cs diagram entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CSDiagramEntryId - the primary key of the cs diagram entry
      Returns:
      the cs diagram entry that was removed
      Throws:
      NoSuchCSDiagramEntryException - if a cs diagram entry with the primary key could not be found
    • updateImpl

      CSDiagramEntry updateImpl(CSDiagramEntry csDiagramEntry)
    • findByPrimaryKey

      CSDiagramEntry findByPrimaryKey(long CSDiagramEntryId) throws NoSuchCSDiagramEntryException
      Returns the cs diagram entry with the primary key or throws a NoSuchCSDiagramEntryException if it could not be found.
      Parameters:
      CSDiagramEntryId - the primary key of the cs diagram entry
      Returns:
      the cs diagram entry
      Throws:
      NoSuchCSDiagramEntryException - if a cs diagram entry with the primary key could not be found
    • fetchByPrimaryKey

      CSDiagramEntry fetchByPrimaryKey(long CSDiagramEntryId)
      Returns the cs diagram entry with the primary key or returns null if it could not be found.
      Parameters:
      CSDiagramEntryId - the primary key of the cs diagram entry
      Returns:
      the cs diagram entry, or null if a cs diagram entry with the primary key could not be found
    • fetchByCPDI_S

      default CSDiagramEntry fetchByCPDI_S(long CPDefinitionId, String sequence)
      Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPDefinitionId - the cp definition ID
      sequence - the sequence
      Returns:
      the matching cs diagram entry, or null if a matching cs diagram entry could not be found
    • fetchByERC_C

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

      default List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId)
      Returns all the cs diagram entries where CPDefinitionId = ?.
      Parameters:
      CPDefinitionId - the cp definition ID
      Returns:
      the matching cs diagram entries
    • findByCPDefinitionId

      default List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end)
      Returns a range of all the cs diagram entries 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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

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

      default List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
      Returns an ordered range of all the cs diagram entries 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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

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

      default List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId)
      Returns all the cs diagram entries where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      Returns:
      the matching cs diagram entries
    • findByCPInstanceId

      default List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end)
      Returns a range of all the cs diagram entries where CPInstanceId = ?.

      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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

      Parameters:
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cs diagram entries
      end - the upper bound of the range of cs diagram entries (not inclusive)
      Returns:
      the range of matching cs diagram entries
    • findByCPInstanceId

      default List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
      Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.

      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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

      Parameters:
      CPInstanceId - the cp instance ID
      start - the lower bound of the range of cs diagram entries
      end - the upper bound of the range of cs diagram entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cs diagram entries
    • findByCProductId

      default List<CSDiagramEntry> findByCProductId(long CProductId)
      Returns all the cs diagram entries where CProductId = ?.
      Parameters:
      CProductId - the c product ID
      Returns:
      the matching cs diagram entries
    • findByCProductId

      default List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end)
      Returns a range of all the cs diagram entries 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 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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

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

      default List<CSDiagramEntry> findByCProductId(long CProductId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
      Returns an ordered range of all the cs diagram entries 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 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.shop.by.diagram.model.impl.CSDiagramEntryModelImpl.

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