Interface CPInstanceUnitOfMeasurePersistence

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

@ProviderType public interface CPInstanceUnitOfMeasurePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPInstanceUnitOfMeasure>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CPInstanceUnitOfMeasure>
The persistence interface for the cp instance unit of measure service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<CPInstanceUnitOfMeasure> findByUuid(String uuid)
      Returns all the cp instance unit of measures where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching cp instance unit of measures
    • findByUuid

      List<CPInstanceUnitOfMeasure> findByUuid(String uuid, int start, int end)
      Returns a range of all the cp instance unit of measures where uuid = ?.

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

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

      List<CPInstanceUnitOfMeasure> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns an ordered range of all the cp instance unit of measures where uuid = ?.

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

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

      List<CPInstanceUnitOfMeasure> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance unit of measures where uuid = ?.

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

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

      CPInstanceUnitOfMeasure findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the first cp instance unit of measure in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByUuid_First

      CPInstanceUnitOfMeasure fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the first cp instance unit of measure in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByUuid_Last

      CPInstanceUnitOfMeasure findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the last cp instance unit of measure in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByUuid_Last

      CPInstanceUnitOfMeasure fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the last cp instance unit of measure in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByUuid_PrevAndNext

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

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

      int countByUuid(String uuid)
      Returns the number of cp instance unit of measures where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching cp instance unit of measures
    • findByUuid_C

      List<CPInstanceUnitOfMeasure> findByUuid_C(String uuid, long companyId)
      Returns all the cp instance unit of measures where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching cp instance unit of measures
    • findByUuid_C

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

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

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

      List<CPInstanceUnitOfMeasure> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns an ordered range of all the cp instance unit of measures where uuid = ? and companyId = ?.

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

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

      List<CPInstanceUnitOfMeasure> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance unit of measures where uuid = ? and companyId = ?.

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

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

      CPInstanceUnitOfMeasure findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the first cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByUuid_C_First

      CPInstanceUnitOfMeasure fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the first cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByUuid_C_Last

      CPInstanceUnitOfMeasure findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the last cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByUuid_C_Last

      CPInstanceUnitOfMeasure fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the last cp instance unit of measure in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByUuid_C_PrevAndNext

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

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

      List<CPInstanceUnitOfMeasure> findByCPInstanceId(long CPInstanceId)
      Returns all the cp instance unit of measures where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      Returns:
      the matching cp instance unit of measures
    • findByCPInstanceId

      List<CPInstanceUnitOfMeasure> findByCPInstanceId(long CPInstanceId, int start, int end)
      Returns a range of all the cp instance unit of measures 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 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 CPInstanceUnitOfMeasureModelImpl.

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

      List<CPInstanceUnitOfMeasure> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns an ordered range of all the cp instance unit of measures 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 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 CPInstanceUnitOfMeasureModelImpl.

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

      List<CPInstanceUnitOfMeasure> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance unit of measures 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 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 CPInstanceUnitOfMeasureModelImpl.

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

      CPInstanceUnitOfMeasure findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the first cp instance unit of measure 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 cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByCPInstanceId_First

      CPInstanceUnitOfMeasure fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the first cp instance unit of measure 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 cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByCPInstanceId_Last

      CPInstanceUnitOfMeasure findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByCPInstanceId_Last

      CPInstanceUnitOfMeasure fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByCPInstanceId_PrevAndNext

      CPInstanceUnitOfMeasure[] findByCPInstanceId_PrevAndNext(long CPInstanceUnitOfMeasureId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ?.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the current cp instance unit of measure
      CPInstanceId - the cp instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a cp instance unit of measure with the primary key could not be found
    • removeByCPInstanceId

      void removeByCPInstanceId(long CPInstanceId)
      Removes all the cp instance unit of measures where CPInstanceId = ? from the database.
      Parameters:
      CPInstanceId - the cp instance ID
    • countByCPInstanceId

      int countByCPInstanceId(long CPInstanceId)
      Returns the number of cp instance unit of measures where CPInstanceId = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      Returns:
      the number of matching cp instance unit of measures
    • findByC_S

      List<CPInstanceUnitOfMeasure> findByC_S(long companyId, String sku)
      Returns all the cp instance unit of measures where companyId = ? and sku = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      Returns:
      the matching cp instance unit of measures
    • findByC_S

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

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

      Parameters:
      companyId - the company ID
      sku - the sku
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (not inclusive)
      Returns:
      the range of matching cp instance unit of measures
    • findByC_S

      List<CPInstanceUnitOfMeasure> findByC_S(long companyId, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns an ordered range of all the cp instance unit of measures where companyId = ? and sku = ?.

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

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

      List<CPInstanceUnitOfMeasure> findByC_S(long companyId, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance unit of measures where companyId = ? and sku = ?.

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

      Parameters:
      companyId - the company ID
      sku - the sku
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (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 instance unit of measures
    • findByC_S_First

      CPInstanceUnitOfMeasure findByC_S_First(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the first cp instance unit of measure in the ordered set where companyId = ? and sku = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_S_First

      CPInstanceUnitOfMeasure fetchByC_S_First(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the first cp instance unit of measure in the ordered set where companyId = ? and sku = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_S_Last

      CPInstanceUnitOfMeasure findByC_S_Last(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the last cp instance unit of measure in the ordered set where companyId = ? and sku = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_S_Last

      CPInstanceUnitOfMeasure fetchByC_S_Last(long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the last cp instance unit of measure in the ordered set where companyId = ? and sku = ?.
      Parameters:
      companyId - the company ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_S_PrevAndNext

      CPInstanceUnitOfMeasure[] findByC_S_PrevAndNext(long CPInstanceUnitOfMeasureId, long companyId, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where companyId = ? and sku = ?.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the current cp instance unit of measure
      companyId - the company ID
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a cp instance unit of measure with the primary key could not be found
    • removeByC_S

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

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

      List<CPInstanceUnitOfMeasure> findByC_A(long CPInstanceId, boolean active)
      Returns all the cp instance unit of measures where CPInstanceId = ? and active = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      Returns:
      the matching cp instance unit of measures
    • findByC_A

      List<CPInstanceUnitOfMeasure> findByC_A(long CPInstanceId, boolean active, int start, int end)
      Returns a range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.

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

      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (not inclusive)
      Returns:
      the range of matching cp instance unit of measures
    • findByC_A

      List<CPInstanceUnitOfMeasure> findByC_A(long CPInstanceId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.

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

      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance unit of measures
    • findByC_A

      List<CPInstanceUnitOfMeasure> findByC_A(long CPInstanceId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and active = ?.

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

      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (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 instance unit of measures
    • findByC_A_First

      CPInstanceUnitOfMeasure findByC_A_First(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_A_First

      CPInstanceUnitOfMeasure fetchByC_A_First(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_A_Last

      CPInstanceUnitOfMeasure findByC_A_Last(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_A_Last

      CPInstanceUnitOfMeasure fetchByC_A_Last(long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_A_PrevAndNext

      CPInstanceUnitOfMeasure[] findByC_A_PrevAndNext(long CPInstanceUnitOfMeasureId, long CPInstanceId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ? and active = ?.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the current cp instance unit of measure
      CPInstanceId - the cp instance ID
      active - the active
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a cp instance unit of measure with the primary key could not be found
    • removeByC_A

      void removeByC_A(long CPInstanceId, boolean active)
      Removes all the cp instance unit of measures where CPInstanceId = ? and active = ? from the database.
      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
    • countByC_A

      int countByC_A(long CPInstanceId, boolean active)
      Returns the number of cp instance unit of measures where CPInstanceId = ? and active = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      active - the active
      Returns:
      the number of matching cp instance unit of measures
    • findByC_K

      CPInstanceUnitOfMeasure findByC_K(long CPInstanceId, String key) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or throws a NoSuchCPInstanceUnitOfMeasureException if it could not be found.
      Parameters:
      CPInstanceId - the cp instance ID
      key - the key
      Returns:
      the matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_K

      CPInstanceUnitOfMeasure fetchByC_K(long CPInstanceId, String key)
      Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      CPInstanceId - the cp instance ID
      key - the key
      Returns:
      the matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • fetchByC_K

      CPInstanceUnitOfMeasure fetchByC_K(long CPInstanceId, String key, boolean useFinderCache)
      Returns the cp instance unit of measure where CPInstanceId = ? and key = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      CPInstanceId - the cp instance ID
      key - the key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • removeByC_K

      CPInstanceUnitOfMeasure removeByC_K(long CPInstanceId, String key) throws NoSuchCPInstanceUnitOfMeasureException
      Removes the cp instance unit of measure where CPInstanceId = ? and key = ? from the database.
      Parameters:
      CPInstanceId - the cp instance ID
      key - the key
      Returns:
      the cp instance unit of measure that was removed
      Throws:
      NoSuchCPInstanceUnitOfMeasureException
    • countByC_K

      int countByC_K(long CPInstanceId, String key)
      Returns the number of cp instance unit of measures where CPInstanceId = ? and key = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      key - the key
      Returns:
      the number of matching cp instance unit of measures
    • findByC_P

      List<CPInstanceUnitOfMeasure> findByC_P(long CPInstanceId, boolean primary)
      Returns all the cp instance unit of measures where CPInstanceId = ? and primary = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      Returns:
      the matching cp instance unit of measures
    • findByC_P

      List<CPInstanceUnitOfMeasure> findByC_P(long CPInstanceId, boolean primary, int start, int end)
      Returns a range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.

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

      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (not inclusive)
      Returns:
      the range of matching cp instance unit of measures
    • findByC_P

      List<CPInstanceUnitOfMeasure> findByC_P(long CPInstanceId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.

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

      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance unit of measures
    • findByC_P

      List<CPInstanceUnitOfMeasure> findByC_P(long CPInstanceId, boolean primary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance unit of measures where CPInstanceId = ? and primary = ?.

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

      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (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 instance unit of measures
    • findByC_P_First

      CPInstanceUnitOfMeasure findByC_P_First(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_P_First

      CPInstanceUnitOfMeasure fetchByC_P_First(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the first cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_P_Last

      CPInstanceUnitOfMeasure findByC_P_Last(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_P_Last

      CPInstanceUnitOfMeasure fetchByC_P_Last(long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the last cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_P_PrevAndNext

      CPInstanceUnitOfMeasure[] findByC_P_PrevAndNext(long CPInstanceUnitOfMeasureId, long CPInstanceId, boolean primary, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where CPInstanceId = ? and primary = ?.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the current cp instance unit of measure
      CPInstanceId - the cp instance ID
      primary - the primary
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a cp instance unit of measure with the primary key could not be found
    • removeByC_P

      void removeByC_P(long CPInstanceId, boolean primary)
      Removes all the cp instance unit of measures where CPInstanceId = ? and primary = ? from the database.
      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
    • countByC_P

      int countByC_P(long CPInstanceId, boolean primary)
      Returns the number of cp instance unit of measures where CPInstanceId = ? and primary = ?.
      Parameters:
      CPInstanceId - the cp instance ID
      primary - the primary
      Returns:
      the number of matching cp instance unit of measures
    • findByC_K_S

      List<CPInstanceUnitOfMeasure> findByC_K_S(long companyId, String key, String sku)
      Returns all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.
      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      Returns:
      the matching cp instance unit of measures
    • findByC_K_S

      List<CPInstanceUnitOfMeasure> findByC_K_S(long companyId, String key, String sku, int start, int end)
      Returns a range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.

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

      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (not inclusive)
      Returns:
      the range of matching cp instance unit of measures
    • findByC_K_S

      List<CPInstanceUnitOfMeasure> findByC_K_S(long companyId, String key, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns an ordered range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.

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

      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching cp instance unit of measures
    • findByC_K_S

      List<CPInstanceUnitOfMeasure> findByC_K_S(long companyId, String key, String sku, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the cp instance unit of measures where companyId = ? and key = ? and sku = ?.

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

      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      start - the lower bound of the range of cp instance unit of measures
      end - the upper bound of the range of cp instance unit of measures (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 instance unit of measures
    • findByC_K_S_First

      CPInstanceUnitOfMeasure findByC_K_S_First(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the first cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.
      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_K_S_First

      CPInstanceUnitOfMeasure fetchByC_K_S_First(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the first cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.
      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_K_S_Last

      CPInstanceUnitOfMeasure findByC_K_S_Last(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the last cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.
      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a matching cp instance unit of measure could not be found
    • fetchByC_K_S_Last

      CPInstanceUnitOfMeasure fetchByC_K_S_Last(long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator)
      Returns the last cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.
      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching cp instance unit of measure, or null if a matching cp instance unit of measure could not be found
    • findByC_K_S_PrevAndNext

      CPInstanceUnitOfMeasure[] findByC_K_S_PrevAndNext(long CPInstanceUnitOfMeasureId, long companyId, String key, String sku, com.liferay.portal.kernel.util.OrderByComparator<CPInstanceUnitOfMeasure> orderByComparator) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the cp instance unit of measures before and after the current cp instance unit of measure in the ordered set where companyId = ? and key = ? and sku = ?.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the current cp instance unit of measure
      companyId - the company ID
      key - the key
      sku - the sku
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a cp instance unit of measure with the primary key could not be found
    • removeByC_K_S

      void removeByC_K_S(long companyId, String key, String sku)
      Removes all the cp instance unit of measures where companyId = ? and key = ? and sku = ? from the database.
      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
    • countByC_K_S

      int countByC_K_S(long companyId, String key, String sku)
      Returns the number of cp instance unit of measures where companyId = ? and key = ? and sku = ?.
      Parameters:
      companyId - the company ID
      key - the key
      sku - the sku
      Returns:
      the number of matching cp instance unit of measures
    • cacheResult

      void cacheResult(CPInstanceUnitOfMeasure cpInstanceUnitOfMeasure)
      Caches the cp instance unit of measure in the entity cache if it is enabled.
      Parameters:
      cpInstanceUnitOfMeasure - the cp instance unit of measure
    • cacheResult

      void cacheResult(List<CPInstanceUnitOfMeasure> cpInstanceUnitOfMeasures)
      Caches the cp instance unit of measures in the entity cache if it is enabled.
      Parameters:
      cpInstanceUnitOfMeasures - the cp instance unit of measures
    • create

      CPInstanceUnitOfMeasure create(long CPInstanceUnitOfMeasureId)
      Creates a new cp instance unit of measure with the primary key. Does not add the cp instance unit of measure to the database.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key for the new cp instance unit of measure
      Returns:
      the new cp instance unit of measure
    • remove

      CPInstanceUnitOfMeasure remove(long CPInstanceUnitOfMeasureId) throws NoSuchCPInstanceUnitOfMeasureException
      Removes the cp instance unit of measure with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the cp instance unit of measure
      Returns:
      the cp instance unit of measure that was removed
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a cp instance unit of measure with the primary key could not be found
    • updateImpl

      CPInstanceUnitOfMeasure updateImpl(CPInstanceUnitOfMeasure cpInstanceUnitOfMeasure)
    • findByPrimaryKey

      CPInstanceUnitOfMeasure findByPrimaryKey(long CPInstanceUnitOfMeasureId) throws NoSuchCPInstanceUnitOfMeasureException
      Returns the cp instance unit of measure with the primary key or throws a NoSuchCPInstanceUnitOfMeasureException if it could not be found.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the cp instance unit of measure
      Returns:
      the cp instance unit of measure
      Throws:
      NoSuchCPInstanceUnitOfMeasureException - if a cp instance unit of measure with the primary key could not be found
    • fetchByPrimaryKey

      CPInstanceUnitOfMeasure fetchByPrimaryKey(long CPInstanceUnitOfMeasureId)
      Returns the cp instance unit of measure with the primary key or returns null if it could not be found.
      Parameters:
      CPInstanceUnitOfMeasureId - the primary key of the cp instance unit of measure
      Returns:
      the cp instance unit of measure, or null if a cp instance unit of measure with the primary key could not be found
    • findAll

      Returns all the cp instance unit of measures.
      Returns:
      the cp instance unit of measures
    • findAll

      List<CPInstanceUnitOfMeasure> findAll(int start, int end)
      Returns a range of all the cp instance unit of measures.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the cp instance unit of measures from the database.
    • countAll

      int countAll()
      Returns the number of cp instance unit of measures.
      Returns:
      the number of cp instance unit of measures