Class CommerceShippingFixedOptionRelLocalServiceWrapper

java.lang.Object
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionRelLocalServiceWrapper
All Implemented Interfaces:
CommerceShippingFixedOptionRelLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>

public class CommerceShippingFixedOptionRelLocalServiceWrapper extends Object implements CommerceShippingFixedOptionRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>
See Also:
Generated:
  • Constructor Details

    • CommerceShippingFixedOptionRelLocalServiceWrapper

      public CommerceShippingFixedOptionRelLocalServiceWrapper()
    • CommerceShippingFixedOptionRelLocalServiceWrapper

      public CommerceShippingFixedOptionRelLocalServiceWrapper(CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService)
  • Method Details

    • addCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel)
      Adds the commerce shipping fixed option rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      addCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      commerceShippingFixedOptionRel - the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel that was added
    • addCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(long userId, long groupId, long commerceShippingMethodId, long commerceShippingFixedOptionId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceShippingFixedOptionRel

      @Deprecated public CommerceShippingFixedOptionRel addCommerceShippingFixedOptionRel(long commerceShippingMethodId, long commerceShippingFixedOptionId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Athanasius (7.3.x)
      Specified by:
      addCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel createCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId)
      Creates a new commerce shipping fixed option rel with the primary key. Does not add the commerce shipping fixed option rel to the database.
      Specified by:
      createCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      commerceShippingFixedOptionRelId - the primary key for the new commerce shipping fixed option rel
      Returns:
      the new commerce shipping fixed option rel
    • createPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createPersistedModel in interface CommerceShippingFixedOptionRelLocalService
      Specified by:
      createPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel)
      Deletes the commerce shipping fixed option rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      commerceShippingFixedOptionRel - the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel that was removed
    • deleteCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce shipping fixed option rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      commerceShippingFixedOptionRelId - the primary key of the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel that was removed
      Throws:
      PortalException - if a commerce shipping fixed option rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceShippingFixedOptionRels

      public void deleteCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId)
      Specified by:
      deleteCommerceShippingFixedOptionRels in interface CommerceShippingFixedOptionRelLocalService
    • deletePersistedModel

      public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deletePersistedModel in interface CommerceShippingFixedOptionRelLocalService
      Specified by:
      deletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • dslQuery

      public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQuery in interface CommerceShippingFixedOptionRelLocalService
      Specified by:
      dslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dslQueryCount

      public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
      Specified by:
      dslQueryCount in interface CommerceShippingFixedOptionRelLocalService
      Specified by:
      dslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • dynamicQuery

      public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
      Specified by:
      dynamicQuery in interface CommerceShippingFixedOptionRelLocalService
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Performs a dynamic query on the database and returns the matching rows.
      Specified by:
      dynamicQuery in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      Performs a dynamic query on the database and returns a range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Specified by:
      dynamicQuery in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      Returns:
      the range of matching rows
    • dynamicQuery

      public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
      Performs a dynamic query on the database and returns an ordered range of the matching rows.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Specified by:
      dynamicQuery in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      start - the lower bound of the range of model instances
      end - the upper bound of the range of model instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching rows
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      Returns:
      the number of rows matching the dynamic query
    • dynamicQueryCount

      public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
      Returns the number of rows matching the dynamic query.
      Specified by:
      dynamicQueryCount in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel fetchCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId)
      Specified by:
      fetchCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
    • fetchCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel fetchCommerceShippingFixedOptionRel(long commerceShippingFixedOptionId, long countryId, long regionId, String zip, double weight)
      Specified by:
      fetchCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
    • getActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
      Specified by:
      getActionableDynamicQuery in interface CommerceShippingFixedOptionRelLocalService
    • getCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel getCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce shipping fixed option rel with the primary key.
      Specified by:
      getCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      commerceShippingFixedOptionRelId - the primary key of the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel
      Throws:
      PortalException - if a commerce shipping fixed option rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceShippingFixedOptionRels

      public List<CommerceShippingFixedOptionRel> getCommerceShippingFixedOptionRels(int start, int end)
      Returns a range of all the commerce shipping fixed option rels.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.shipping.engine.fixed.model.impl.CommerceShippingFixedOptionRelModelImpl.

      Specified by:
      getCommerceShippingFixedOptionRels in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      start - the lower bound of the range of commerce shipping fixed option rels
      end - the upper bound of the range of commerce shipping fixed option rels (not inclusive)
      Returns:
      the range of commerce shipping fixed option rels
    • getCommerceShippingFixedOptionRels

      public List<CommerceShippingFixedOptionRel> getCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId, int start, int end)
      Specified by:
      getCommerceShippingFixedOptionRels in interface CommerceShippingFixedOptionRelLocalService
    • getCommerceShippingFixedOptionRels

      public List<CommerceShippingFixedOptionRel> getCommerceShippingFixedOptionRels(long commerceShippingFixedOptionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Specified by:
      getCommerceShippingFixedOptionRels in interface CommerceShippingFixedOptionRelLocalService
    • getCommerceShippingFixedOptionRelsCount

      public int getCommerceShippingFixedOptionRelsCount()
      Returns the number of commerce shipping fixed option rels.
      Specified by:
      getCommerceShippingFixedOptionRelsCount in interface CommerceShippingFixedOptionRelLocalService
      Returns:
      the number of commerce shipping fixed option rels
    • getCommerceShippingFixedOptionRelsCount

      public int getCommerceShippingFixedOptionRelsCount(long commerceShippingFixedOptionId)
      Specified by:
      getCommerceShippingFixedOptionRelsCount in interface CommerceShippingFixedOptionRelLocalService
    • getCommerceShippingMethodFixedOptionRels

      public List<CommerceShippingFixedOptionRel> getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end)
      Specified by:
      getCommerceShippingMethodFixedOptionRels in interface CommerceShippingFixedOptionRelLocalService
    • getCommerceShippingMethodFixedOptionRels

      public List<CommerceShippingFixedOptionRel> getCommerceShippingMethodFixedOptionRels(long commerceShippingMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceShippingFixedOptionRel> orderByComparator)
      Specified by:
      getCommerceShippingMethodFixedOptionRels in interface CommerceShippingFixedOptionRelLocalService
    • getCommerceShippingMethodFixedOptionRelsCount

      public int getCommerceShippingMethodFixedOptionRelsCount(long commerceShippingMethodId)
      Specified by:
      getCommerceShippingMethodFixedOptionRelsCount in interface CommerceShippingFixedOptionRelLocalService
    • getIndexableActionableDynamicQuery

      public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
      Specified by:
      getIndexableActionableDynamicQuery in interface CommerceShippingFixedOptionRelLocalService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommerceShippingFixedOptionRelLocalService
      Returns:
      the OSGi service identifier
    • getPersistedModel

      public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPersistedModel in interface CommerceShippingFixedOptionRelLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel updateCommerceShippingFixedOptionRel(CommerceShippingFixedOptionRel commerceShippingFixedOptionRel)
      Updates the commerce shipping fixed option rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommerceShippingFixedOptionRelLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      updateCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Parameters:
      commerceShippingFixedOptionRel - the commerce shipping fixed option rel
      Returns:
      the commerce shipping fixed option rel that was updated
    • updateCommerceShippingFixedOptionRel

      public CommerceShippingFixedOptionRel updateCommerceShippingFixedOptionRel(long commerceShippingFixedOptionRelId, long commerceInventoryWarehouseId, long countryId, long regionId, String zip, double weightFrom, double weightTo, BigDecimal fixedPrice, BigDecimal rateUnitWeightPrice, double ratePercentage) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommerceShippingFixedOptionRel in interface CommerceShippingFixedOptionRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBasePersistence

      public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
      Specified by:
      getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalService
    • getWrappedService

      public CommerceShippingFixedOptionRelLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>
    • setWrappedService

      public void setWrappedService(CommerceShippingFixedOptionRelLocalService commerceShippingFixedOptionRelLocalService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceShippingFixedOptionRelLocalService>