Interface CPSpecificationOptionListTypeDefinitionRelPersistence

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

@ProviderType public interface CPSpecificationOptionListTypeDefinitionRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPSpecificationOptionListTypeDefinitionRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPSpecificationOptionListTypeDefinitionRel>
The persistence interface for the cp specification option list type definition rel service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByCPSpecificationOptionId

      List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId)
      Returns all the cp specification option list type definition rels where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      Returns:
      the matching cp specification option list type definition rels
    • findByCPSpecificationOptionId

      List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end)
      Returns a range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.

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

      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp specification option list type definition rels
      end - the upper bound of the range of cp specification option list type definition rels (not inclusive)
      Returns:
      the range of matching cp specification option list type definition rels
    • findByCPSpecificationOptionId

      List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator)
      Returns an ordered range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.

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

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

      List<CPSpecificationOptionListTypeDefinitionRel> findByCPSpecificationOptionId(long CPSpecificationOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp specification option list type definition rels where CPSpecificationOptionId = ?.

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

      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      start - the lower bound of the range of cp specification option list type definition rels
      end - the upper bound of the range of cp specification option list type definition 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 specification option list type definition rels
    • findByCPSpecificationOptionId_First

      CPSpecificationOptionListTypeDefinitionRel findByCPSpecificationOptionId_First(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the first cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a matching cp specification option list type definition rel could not be found
    • fetchByCPSpecificationOptionId_First

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

      CPSpecificationOptionListTypeDefinitionRel findByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the last cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a matching cp specification option list type definition rel could not be found
    • fetchByCPSpecificationOptionId_Last

      CPSpecificationOptionListTypeDefinitionRel fetchByCPSpecificationOptionId_Last(long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator)
      Returns the last cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp specification option list type definition rel, or null if a matching cp specification option list type definition rel could not be found
    • findByCPSpecificationOptionId_PrevAndNext

      CPSpecificationOptionListTypeDefinitionRel[] findByCPSpecificationOptionId_PrevAndNext(long CPSpecificationOptionListTypeDefinitionRelId, long CPSpecificationOptionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the cp specification option list type definition rels before and after the current cp specification option list type definition rel in the ordered set where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionListTypeDefinitionRelId - the primary key of the current cp specification option list type definition rel
      CPSpecificationOptionId - the cp specification option ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a cp specification option list type definition rel with the primary key could not be found
    • removeByCPSpecificationOptionId

      void removeByCPSpecificationOptionId(long CPSpecificationOptionId)
      Removes all the cp specification option list type definition rels where CPSpecificationOptionId = ? from the database.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
    • countByCPSpecificationOptionId

      int countByCPSpecificationOptionId(long CPSpecificationOptionId)
      Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      Returns:
      the number of matching cp specification option list type definition rels
    • findByListTypeDefinitionId

      List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId)
      Returns all the cp specification option list type definition rels where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      Returns:
      the matching cp specification option list type definition rels
    • findByListTypeDefinitionId

      List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end)
      Returns a range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.

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

      Parameters:
      listTypeDefinitionId - the list type definition ID
      start - the lower bound of the range of cp specification option list type definition rels
      end - the upper bound of the range of cp specification option list type definition rels (not inclusive)
      Returns:
      the range of matching cp specification option list type definition rels
    • findByListTypeDefinitionId

      List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator)
      Returns an ordered range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.

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

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

      List<CPSpecificationOptionListTypeDefinitionRel> findByListTypeDefinitionId(long listTypeDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp specification option list type definition rels where listTypeDefinitionId = ?.

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

      Parameters:
      listTypeDefinitionId - the list type definition ID
      start - the lower bound of the range of cp specification option list type definition rels
      end - the upper bound of the range of cp specification option list type definition 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 specification option list type definition rels
    • findByListTypeDefinitionId_First

      CPSpecificationOptionListTypeDefinitionRel findByListTypeDefinitionId_First(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the first cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a matching cp specification option list type definition rel could not be found
    • fetchByListTypeDefinitionId_First

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

      CPSpecificationOptionListTypeDefinitionRel findByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the last cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a matching cp specification option list type definition rel could not be found
    • fetchByListTypeDefinitionId_Last

      CPSpecificationOptionListTypeDefinitionRel fetchByListTypeDefinitionId_Last(long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator)
      Returns the last cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp specification option list type definition rel, or null if a matching cp specification option list type definition rel could not be found
    • findByListTypeDefinitionId_PrevAndNext

      CPSpecificationOptionListTypeDefinitionRel[] findByListTypeDefinitionId_PrevAndNext(long CPSpecificationOptionListTypeDefinitionRelId, long listTypeDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the cp specification option list type definition rels before and after the current cp specification option list type definition rel in the ordered set where listTypeDefinitionId = ?.
      Parameters:
      CPSpecificationOptionListTypeDefinitionRelId - the primary key of the current cp specification option list type definition rel
      listTypeDefinitionId - the list type definition ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a cp specification option list type definition rel with the primary key could not be found
    • removeByListTypeDefinitionId

      void removeByListTypeDefinitionId(long listTypeDefinitionId)
      Removes all the cp specification option list type definition rels where listTypeDefinitionId = ? from the database.
      Parameters:
      listTypeDefinitionId - the list type definition ID
    • countByListTypeDefinitionId

      int countByListTypeDefinitionId(long listTypeDefinitionId)
      Returns the number of cp specification option list type definition rels where listTypeDefinitionId = ?.
      Parameters:
      listTypeDefinitionId - the list type definition ID
      Returns:
      the number of matching cp specification option list type definition rels
    • findByC_L

      CPSpecificationOptionListTypeDefinitionRel findByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or throws a NoSuchCPSpecificationOptionListTypeDefinitionRelException if it could not be found.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      listTypeDefinitionId - the list type definition ID
      Returns:
      the matching cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a matching cp specification option list type definition rel could not be found
    • fetchByC_L

      CPSpecificationOptionListTypeDefinitionRel fetchByC_L(long CPSpecificationOptionId, long listTypeDefinitionId)
      Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      listTypeDefinitionId - the list type definition ID
      Returns:
      the matching cp specification option list type definition rel, or null if a matching cp specification option list type definition rel could not be found
    • fetchByC_L

      CPSpecificationOptionListTypeDefinitionRel fetchByC_L(long CPSpecificationOptionId, long listTypeDefinitionId, boolean useFinderCache)
      Returns the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      listTypeDefinitionId - the list type definition ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp specification option list type definition rel, or null if a matching cp specification option list type definition rel could not be found
    • removeByC_L

      CPSpecificationOptionListTypeDefinitionRel removeByC_L(long CPSpecificationOptionId, long listTypeDefinitionId) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Removes the cp specification option list type definition rel where CPSpecificationOptionId = ? and listTypeDefinitionId = ? from the database.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      listTypeDefinitionId - the list type definition ID
      Returns:
      the cp specification option list type definition rel that was removed
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException
    • countByC_L

      int countByC_L(long CPSpecificationOptionId, long listTypeDefinitionId)
      Returns the number of cp specification option list type definition rels where CPSpecificationOptionId = ? and listTypeDefinitionId = ?.
      Parameters:
      CPSpecificationOptionId - the cp specification option ID
      listTypeDefinitionId - the list type definition ID
      Returns:
      the number of matching cp specification option list type definition rels
    • cacheResult

      void cacheResult(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel)
      Caches the cp specification option list type definition rel in the entity cache if it is enabled.
      Parameters:
      cpSpecificationOptionListTypeDefinitionRel - the cp specification option list type definition rel
    • cacheResult

      void cacheResult(List<CPSpecificationOptionListTypeDefinitionRel> cpSpecificationOptionListTypeDefinitionRels)
      Caches the cp specification option list type definition rels in the entity cache if it is enabled.
      Parameters:
      cpSpecificationOptionListTypeDefinitionRels - the cp specification option list type definition rels
    • create

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

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

      CPSpecificationOptionListTypeDefinitionRel updateImpl(CPSpecificationOptionListTypeDefinitionRel cpSpecificationOptionListTypeDefinitionRel)
    • findByPrimaryKey

      CPSpecificationOptionListTypeDefinitionRel findByPrimaryKey(long CPSpecificationOptionListTypeDefinitionRelId) throws NoSuchCPSpecificationOptionListTypeDefinitionRelException
      Returns the cp specification option list type definition rel with the primary key or throws a NoSuchCPSpecificationOptionListTypeDefinitionRelException if it could not be found.
      Parameters:
      CPSpecificationOptionListTypeDefinitionRelId - the primary key of the cp specification option list type definition rel
      Returns:
      the cp specification option list type definition rel
      Throws:
      NoSuchCPSpecificationOptionListTypeDefinitionRelException - if a cp specification option list type definition rel with the primary key could not be found
    • fetchByPrimaryKey

      CPSpecificationOptionListTypeDefinitionRel fetchByPrimaryKey(long CPSpecificationOptionListTypeDefinitionRelId)
      Returns the cp specification option list type definition rel with the primary key or returns null if it could not be found.
      Parameters:
      CPSpecificationOptionListTypeDefinitionRelId - the primary key of the cp specification option list type definition rel
      Returns:
      the cp specification option list type definition rel, or null if a cp specification option list type definition rel with the primary key could not be found
    • findAll

      Returns all the cp specification option list type definition rels.
      Returns:
      the cp specification option list type definition rels
    • findAll

      List<CPSpecificationOptionListTypeDefinitionRel> findAll(int start, int end)
      Returns a range of all the cp specification option list type definition rels.

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

      Parameters:
      start - the lower bound of the range of cp specification option list type definition rels
      end - the upper bound of the range of cp specification option list type definition rels (not inclusive)
      Returns:
      the range of cp specification option list type definition rels
    • findAll

      List<CPSpecificationOptionListTypeDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator)
      Returns an ordered range of all the cp specification option list type definition rels.

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

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

      List<CPSpecificationOptionListTypeDefinitionRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPSpecificationOptionListTypeDefinitionRel> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp specification option list type definition rels.

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

      Parameters:
      start - the lower bound of the range of cp specification option list type definition rels
      end - the upper bound of the range of cp specification option list type definition 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 cp specification option list type definition rels
    • removeAll

      void removeAll()
      Removes all the cp specification option list type definition rels from the database.
    • countAll

      int countAll()
      Returns the number of cp specification option list type definition rels.
      Returns:
      the number of cp specification option list type definition rels