Interface CommercePricingClassPersistence

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

@ProviderType public interface CommercePricingClassPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePricingClass>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePricingClass>
The persistence interface for the commerce pricing class service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Details

    • findByUuid

      List<CommercePricingClass> findByUuid(String uuid)
      Returns all the commerce pricing classes where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce pricing classes
    • findByUuid

      List<CommercePricingClass> findByUuid(String uuid, int start, int end)
      Returns a range of all the commerce pricing classes 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 CommercePricingClassModelImpl.

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

      List<CommercePricingClass> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns an ordered range of all the commerce pricing classes 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 CommercePricingClassModelImpl.

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

      List<CommercePricingClass> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce pricing classes 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 CommercePricingClassModelImpl.

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

      CommercePricingClass findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the first commerce pricing class in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce pricing class
      Throws:
      NoSuchPricingClassException - if a matching commerce pricing class could not be found
    • fetchByUuid_First

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

      CommercePricingClass findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the last commerce pricing class in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce pricing class
      Throws:
      NoSuchPricingClassException - if a matching commerce pricing class could not be found
    • fetchByUuid_Last

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

      CommercePricingClass[] findByUuid_PrevAndNext(long commercePricingClassId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set where uuid = ?.
      Parameters:
      commercePricingClassId - the primary key of the current commerce pricing class
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • filterFindByUuid

      List<CommercePricingClass> filterFindByUuid(String uuid)
      Returns all the commerce pricing classes that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching commerce pricing classes that the user has permission to view
    • filterFindByUuid

      List<CommercePricingClass> filterFindByUuid(String uuid, int start, int end)
      Returns a range of all the commerce pricing classes that the user has permission to view 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 CommercePricingClassModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      Returns:
      the range of matching commerce pricing classes that the user has permission to view
    • filterFindByUuid

      List<CommercePricingClass> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns an ordered range of all the commerce pricing classes that the user has permissions to view 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 CommercePricingClassModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce pricing classes that the user has permission to view
    • filterFindByUuid_PrevAndNext

      CommercePricingClass[] filterFindByUuid_PrevAndNext(long commercePricingClassId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set of commerce pricing classes that the user has permission to view where uuid = ?.
      Parameters:
      commercePricingClassId - the primary key of the current commerce pricing class
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • removeByUuid

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

      int countByUuid(String uuid)
      Returns the number of commerce pricing classes where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce pricing classes
    • filterCountByUuid

      int filterCountByUuid(String uuid)
      Returns the number of commerce pricing classes that the user has permission to view where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching commerce pricing classes that the user has permission to view
    • findByUuid_C

      List<CommercePricingClass> findByUuid_C(String uuid, long companyId)
      Returns all the commerce pricing classes where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce pricing classes
    • findByUuid_C

      List<CommercePricingClass> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce pricing classes 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 CommercePricingClassModelImpl.

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

      List<CommercePricingClass> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns an ordered range of all the commerce pricing classes 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 CommercePricingClassModelImpl.

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

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

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

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

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

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

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

      CommercePricingClass[] findByUuid_C_PrevAndNext(long commercePricingClassId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      commercePricingClassId - the primary key of the current commerce pricing class
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • filterFindByUuid_C

      List<CommercePricingClass> filterFindByUuid_C(String uuid, long companyId)
      Returns all the commerce pricing classes that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching commerce pricing classes that the user has permission to view
    • filterFindByUuid_C

      List<CommercePricingClass> filterFindByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the commerce pricing classes that the user has permission to view 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 CommercePricingClassModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      Returns:
      the range of matching commerce pricing classes that the user has permission to view
    • filterFindByUuid_C

      List<CommercePricingClass> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns an ordered range of all the commerce pricing classes that the user has permissions to view 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 CommercePricingClassModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce pricing classes that the user has permission to view
    • filterFindByUuid_C_PrevAndNext

      CommercePricingClass[] filterFindByUuid_C_PrevAndNext(long commercePricingClassId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set of commerce pricing classes that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      commercePricingClassId - the primary key of the current commerce pricing class
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • removeByUuid_C

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

      int filterCountByUuid_C(String uuid, long companyId)
      Returns the number of commerce pricing classes that the user has permission to view where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching commerce pricing classes that the user has permission to view
    • findByCompanyId

      List<CommercePricingClass> findByCompanyId(long companyId)
      Returns all the commerce pricing classes where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce pricing classes
    • findByCompanyId

      List<CommercePricingClass> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce pricing classes where companyId = ?.

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

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

      List<CommercePricingClass> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns an ordered range of all the commerce pricing classes where companyId = ?.

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

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

      List<CommercePricingClass> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce pricing classes where companyId = ?.

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

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

      CommercePricingClass findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the first commerce pricing class in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce pricing class
      Throws:
      NoSuchPricingClassException - if a matching commerce pricing class could not be found
    • fetchByCompanyId_First

      CommercePricingClass fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns the first commerce pricing class in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching commerce pricing class, or null if a matching commerce pricing class could not be found
    • findByCompanyId_Last

      CommercePricingClass findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the last commerce pricing class in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce pricing class
      Throws:
      NoSuchPricingClassException - if a matching commerce pricing class could not be found
    • fetchByCompanyId_Last

      CommercePricingClass fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns the last commerce pricing class in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching commerce pricing class, or null if a matching commerce pricing class could not be found
    • findByCompanyId_PrevAndNext

      CommercePricingClass[] findByCompanyId_PrevAndNext(long commercePricingClassId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set where companyId = ?.
      Parameters:
      commercePricingClassId - the primary key of the current commerce pricing class
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • filterFindByCompanyId

      List<CommercePricingClass> filterFindByCompanyId(long companyId)
      Returns all the commerce pricing classes that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching commerce pricing classes that the user has permission to view
    • filterFindByCompanyId

      List<CommercePricingClass> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the commerce pricing classes that the user has permission to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      Returns:
      the range of matching commerce pricing classes that the user has permission to view
    • filterFindByCompanyId

      List<CommercePricingClass> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns an ordered range of all the commerce pricing classes that the user has permissions to view where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching commerce pricing classes that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      CommercePricingClass[] filterFindByCompanyId_PrevAndNext(long commercePricingClassId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws NoSuchPricingClassException
      Returns the commerce pricing classes before and after the current commerce pricing class in the ordered set of commerce pricing classes that the user has permission to view where companyId = ?.
      Parameters:
      commercePricingClassId - the primary key of the current commerce pricing class
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next commerce pricing class
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • removeByCompanyId

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

      int countByCompanyId(long companyId)
      Returns the number of commerce pricing classes where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce pricing classes
    • filterCountByCompanyId

      int filterCountByCompanyId(long companyId)
      Returns the number of commerce pricing classes that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching commerce pricing classes that the user has permission to view
    • findByERC_C

      CommercePricingClass findByERC_C(String externalReferenceCode, long companyId) throws NoSuchPricingClassException
      Returns the commerce pricing class where externalReferenceCode = ? and companyId = ? or throws a NoSuchPricingClassException if it could not be found.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce pricing class
      Throws:
      NoSuchPricingClassException - if a matching commerce pricing class could not be found
    • fetchByERC_C

      CommercePricingClass fetchByERC_C(String externalReferenceCode, long companyId)
      Returns the commerce pricing class where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the matching commerce pricing class, or null if a matching commerce pricing class could not be found
    • fetchByERC_C

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

      CommercePricingClass removeByERC_C(String externalReferenceCode, long companyId) throws NoSuchPricingClassException
      Removes the commerce pricing class where externalReferenceCode = ? and companyId = ? from the database.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the commerce pricing class that was removed
      Throws:
      NoSuchPricingClassException
    • countByERC_C

      int countByERC_C(String externalReferenceCode, long companyId)
      Returns the number of commerce pricing classes where externalReferenceCode = ? and companyId = ?.
      Parameters:
      externalReferenceCode - the external reference code
      companyId - the company ID
      Returns:
      the number of matching commerce pricing classes
    • cacheResult

      void cacheResult(CommercePricingClass commercePricingClass)
      Caches the commerce pricing class in the entity cache if it is enabled.
      Parameters:
      commercePricingClass - the commerce pricing class
    • cacheResult

      void cacheResult(List<CommercePricingClass> commercePricingClasses)
      Caches the commerce pricing classes in the entity cache if it is enabled.
      Parameters:
      commercePricingClasses - the commerce pricing classes
    • create

      CommercePricingClass create(long commercePricingClassId)
      Creates a new commerce pricing class with the primary key. Does not add the commerce pricing class to the database.
      Parameters:
      commercePricingClassId - the primary key for the new commerce pricing class
      Returns:
      the new commerce pricing class
    • remove

      CommercePricingClass remove(long commercePricingClassId) throws NoSuchPricingClassException
      Removes the commerce pricing class with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      commercePricingClassId - the primary key of the commerce pricing class
      Returns:
      the commerce pricing class that was removed
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • updateImpl

      CommercePricingClass updateImpl(CommercePricingClass commercePricingClass)
    • findByPrimaryKey

      CommercePricingClass findByPrimaryKey(long commercePricingClassId) throws NoSuchPricingClassException
      Returns the commerce pricing class with the primary key or throws a NoSuchPricingClassException if it could not be found.
      Parameters:
      commercePricingClassId - the primary key of the commerce pricing class
      Returns:
      the commerce pricing class
      Throws:
      NoSuchPricingClassException - if a commerce pricing class with the primary key could not be found
    • fetchByPrimaryKey

      CommercePricingClass fetchByPrimaryKey(long commercePricingClassId)
      Returns the commerce pricing class with the primary key or returns null if it could not be found.
      Parameters:
      commercePricingClassId - the primary key of the commerce pricing class
      Returns:
      the commerce pricing class, or null if a commerce pricing class with the primary key could not be found
    • findAll

      Returns all the commerce pricing classes.
      Returns:
      the commerce pricing classes
    • findAll

      List<CommercePricingClass> findAll(int start, int end)
      Returns a range of all the commerce pricing classes.

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

      Parameters:
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      Returns:
      the range of commerce pricing classes
    • findAll

      List<CommercePricingClass> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator)
      Returns an ordered range of all the commerce pricing classes.

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

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

      List<CommercePricingClass> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the commerce pricing classes.

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

      Parameters:
      start - the lower bound of the range of commerce pricing classes
      end - the upper bound of the range of commerce pricing classes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of commerce pricing classes
    • removeAll

      void removeAll()
      Removes all the commerce pricing classes from the database.
    • countAll

      int countAll()
      Returns the number of commerce pricing classes.
      Returns:
      the number of commerce pricing classes