Class CommerceTaxFixedRateAddressRelLocalServiceWrapper

java.lang.Object
com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateAddressRelLocalServiceWrapper
All Implemented Interfaces:
CommerceTaxFixedRateAddressRelLocalService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceTaxFixedRateAddressRelLocalService>

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

    • CommerceTaxFixedRateAddressRelLocalServiceWrapper

      public CommerceTaxFixedRateAddressRelLocalServiceWrapper()
    • CommerceTaxFixedRateAddressRelLocalServiceWrapper

      public CommerceTaxFixedRateAddressRelLocalServiceWrapper(CommerceTaxFixedRateAddressRelLocalService commerceTaxFixedRateAddressRelLocalService)
  • Method Details

    • addCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel addCommerceTaxFixedRateAddressRel(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
      Adds the commerce tax fixed rate address rel to the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceTaxFixedRateAddressRelLocalServiceImpl 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:
      addCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      commerceTaxFixedRateAddressRel - the commerce tax fixed rate address rel
      Returns:
      the commerce tax fixed rate address rel that was added
    • addCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel addCommerceTaxFixedRateAddressRel(long userId, long groupId, long commerceTaxMethodId, long cpTaxCategoryId, long countryId, long regionId, String zip, double rate) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceTaxFixedRateAddressRel

      @Deprecated public CommerceTaxFixedRateAddressRel addCommerceTaxFixedRateAddressRel(long commerceTaxMethodId, long cpTaxCategoryId, long countryId, long regionId, String zip, double rate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Athanasius (7.3.x)
      Specified by:
      addCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel createCommerceTaxFixedRateAddressRel(long commerceTaxFixedRateAddressRelId)
      Creates a new commerce tax fixed rate address rel with the primary key. Does not add the commerce tax fixed rate address rel to the database.
      Specified by:
      createCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      commerceTaxFixedRateAddressRelId - the primary key for the new commerce tax fixed rate address rel
      Returns:
      the new commerce tax fixed rate address rel
    • createPersistedModel

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

      public CommerceTaxFixedRateAddressRel deleteCommerceTaxFixedRateAddressRel(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
      Deletes the commerce tax fixed rate address rel from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceTaxFixedRateAddressRelLocalServiceImpl 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:
      deleteCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      commerceTaxFixedRateAddressRel - the commerce tax fixed rate address rel
      Returns:
      the commerce tax fixed rate address rel that was removed
    • deleteCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel deleteCommerceTaxFixedRateAddressRel(long commerceTaxFixedRateAddressRelId) throws com.liferay.portal.kernel.exception.PortalException
      Deletes the commerce tax fixed rate address rel with the primary key from the database. Also notifies the appropriate model listeners.

      Important: Inspect CommerceTaxFixedRateAddressRelLocalServiceImpl 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:
      deleteCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      commerceTaxFixedRateAddressRelId - the primary key of the commerce tax fixed rate address rel
      Returns:
      the commerce tax fixed rate address rel that was removed
      Throws:
      PortalException - if a commerce tax fixed rate address rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceTaxFixedRateAddressRelsByCommerceTaxMethodId

      public void deleteCommerceTaxFixedRateAddressRelsByCommerceTaxMethodId(long commerceTaxMethodId)
      Specified by:
      deleteCommerceTaxFixedRateAddressRelsByCommerceTaxMethodId in interface CommerceTaxFixedRateAddressRelLocalService
    • deleteCommerceTaxFixedRateAddressRelsByCountryId

      public void deleteCommerceTaxFixedRateAddressRelsByCountryId(long countryId)
      Specified by:
      deleteCommerceTaxFixedRateAddressRelsByCountryId in interface CommerceTaxFixedRateAddressRelLocalService
    • deleteCommerceTaxFixedRateAddressRelsByCPTaxCategoryId

      public void deleteCommerceTaxFixedRateAddressRelsByCPTaxCategoryId(long cpTaxCategoryId)
      Specified by:
      deleteCommerceTaxFixedRateAddressRelsByCPTaxCategoryId in interface CommerceTaxFixedRateAddressRelLocalService
    • 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 CommerceTaxFixedRateAddressRelLocalService
      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 CommerceTaxFixedRateAddressRelLocalService
      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 CommerceTaxFixedRateAddressRelLocalService
      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 CommerceTaxFixedRateAddressRelLocalService
    • 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 CommerceTaxFixedRateAddressRelLocalService
      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.tax.engine.fixed.model.impl.CommerceTaxFixedRateAddressRelModelImpl.

      Specified by:
      dynamicQuery in interface CommerceTaxFixedRateAddressRelLocalService
      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.tax.engine.fixed.model.impl.CommerceTaxFixedRateAddressRelModelImpl.

      Specified by:
      dynamicQuery in interface CommerceTaxFixedRateAddressRelLocalService
      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 CommerceTaxFixedRateAddressRelLocalService
      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 CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      dynamicQuery - the dynamic query
      projection - the projection to apply to the query
      Returns:
      the number of rows matching the dynamic query
    • fetchCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel fetchCommerceTaxFixedRateAddressRel(long commerceTaxFixedRateAddressRelId)
      Specified by:
      fetchCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
    • fetchCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel fetchCommerceTaxFixedRateAddressRel(long commerceTaxMethodId, long cpTaxCategoryId, long countryId, long regionId, String zip)
      Specified by:
      fetchCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
    • fetchCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel fetchCommerceTaxFixedRateAddressRel(long commerceTaxMethodId, long countryId, long regionId, String zip)
      Specified by:
      fetchCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
    • getActionableDynamicQuery

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

      public CommerceTaxFixedRateAddressRel getCommerceTaxFixedRateAddressRel(long commerceTaxFixedRateAddressRelId) throws com.liferay.portal.kernel.exception.PortalException
      Returns the commerce tax fixed rate address rel with the primary key.
      Specified by:
      getCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      commerceTaxFixedRateAddressRelId - the primary key of the commerce tax fixed rate address rel
      Returns:
      the commerce tax fixed rate address rel
      Throws:
      PortalException - if a commerce tax fixed rate address rel with the primary key could not be found
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceTaxFixedRateAddressRels

      public List<CommerceTaxFixedRateAddressRel> getCommerceTaxFixedRateAddressRels(int start, int end)
      Returns a range of all the commerce tax fixed rate address 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.tax.engine.fixed.model.impl.CommerceTaxFixedRateAddressRelModelImpl.

      Specified by:
      getCommerceTaxFixedRateAddressRels in interface CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      start - the lower bound of the range of commerce tax fixed rate address rels
      end - the upper bound of the range of commerce tax fixed rate address rels (not inclusive)
      Returns:
      the range of commerce tax fixed rate address rels
    • getCommerceTaxFixedRateAddressRels

      public List<CommerceTaxFixedRateAddressRel> getCommerceTaxFixedRateAddressRels(long cpTaxCategoryId, int start, int end)
      Specified by:
      getCommerceTaxFixedRateAddressRels in interface CommerceTaxFixedRateAddressRelLocalService
    • getCommerceTaxFixedRateAddressRels

      public List<CommerceTaxFixedRateAddressRel> getCommerceTaxFixedRateAddressRels(long cpTaxCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
      Specified by:
      getCommerceTaxFixedRateAddressRels in interface CommerceTaxFixedRateAddressRelLocalService
    • getCommerceTaxFixedRateAddressRelsCount

      public int getCommerceTaxFixedRateAddressRelsCount()
      Returns the number of commerce tax fixed rate address rels.
      Specified by:
      getCommerceTaxFixedRateAddressRelsCount in interface CommerceTaxFixedRateAddressRelLocalService
      Returns:
      the number of commerce tax fixed rate address rels
    • getCommerceTaxFixedRateAddressRelsCount

      public int getCommerceTaxFixedRateAddressRelsCount(long cpTaxCategoryId)
      Specified by:
      getCommerceTaxFixedRateAddressRelsCount in interface CommerceTaxFixedRateAddressRelLocalService
    • getCommerceTaxMethodFixedRateAddressRels

      public List<CommerceTaxFixedRateAddressRel> getCommerceTaxMethodFixedRateAddressRels(long commerceTaxMethodId, int start, int end)
      Specified by:
      getCommerceTaxMethodFixedRateAddressRels in interface CommerceTaxFixedRateAddressRelLocalService
    • getCommerceTaxMethodFixedRateAddressRels

      public List<CommerceTaxFixedRateAddressRel> getCommerceTaxMethodFixedRateAddressRels(long commerceTaxMethodId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator)
      Specified by:
      getCommerceTaxMethodFixedRateAddressRels in interface CommerceTaxFixedRateAddressRelLocalService
    • getCommerceTaxMethodFixedRateAddressRelsCount

      public int getCommerceTaxMethodFixedRateAddressRelsCount(long commerceTaxMethodId)
      Specified by:
      getCommerceTaxMethodFixedRateAddressRelsCount in interface CommerceTaxFixedRateAddressRelLocalService
    • getIndexableActionableDynamicQuery

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

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface CommerceTaxFixedRateAddressRelLocalService
      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 CommerceTaxFixedRateAddressRelLocalService
      Specified by:
      getPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalService
      Throws:
      PortalException
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel updateCommerceTaxFixedRateAddressRel(CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel)
      Updates the commerce tax fixed rate address rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

      Important: Inspect CommerceTaxFixedRateAddressRelLocalServiceImpl 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:
      updateCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      Parameters:
      commerceTaxFixedRateAddressRel - the commerce tax fixed rate address rel
      Returns:
      the commerce tax fixed rate address rel that was updated
    • updateCommerceTaxFixedRateAddressRel

      public CommerceTaxFixedRateAddressRel updateCommerceTaxFixedRateAddressRel(long commerceTaxFixedRateAddressRelId, long countryId, long regionId, String zip, double rate) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommerceTaxFixedRateAddressRel in interface CommerceTaxFixedRateAddressRelLocalService
      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 CommerceTaxFixedRateAddressRelLocalService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceTaxFixedRateAddressRelLocalService>
    • setWrappedService

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