Class CommerceAddressServiceWrapper

java.lang.Object
com.liferay.commerce.service.CommerceAddressServiceWrapper
All Implemented Interfaces:
CommerceAddressService, com.liferay.portal.kernel.service.BaseService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>

public class CommerceAddressServiceWrapper extends Object implements CommerceAddressService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceAddressService>
Provides a wrapper for CommerceAddressService.
See Also:
Generated:
  • Constructor Details

    • CommerceAddressServiceWrapper

      public CommerceAddressServiceWrapper()
    • CommerceAddressServiceWrapper

      public CommerceAddressServiceWrapper(CommerceAddressService commerceAddressService)
  • Method Details

    • addCommerceAddress

      @Deprecated public CommerceAddress addCommerceAddress(String className, long classPK, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, boolean defaultBilling, boolean defaultShipping, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
      Specified by:
      addCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceAddress

      public CommerceAddress addCommerceAddress(String className, long classPK, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceAddress

      public CommerceAddress addCommerceAddress(String externalReferenceCode, String className, long classPK, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceAddress

      public void deleteCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceAddress

      public CommerceAddress fetchCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceAddressByExternalReferenceCode

      public CommerceAddress fetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCommerceAddressByExternalReferenceCode in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingCommerceAddresses

      public List<CommerceAddress> getBillingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getBillingCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingCommerceAddresses

      public List<CommerceAddress> getBillingCommerceAddresses(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getBillingCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingCommerceAddresses

      public List<CommerceAddress> getBillingCommerceAddresses(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getBillingCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingCommerceAddressesCount

      public List<CommerceAddress> getBillingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getBillingCommerceAddressesCount in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingCommerceAddressesCount

      public int getBillingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getBillingCommerceAddressesCount in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddress

      public CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddresses

      @Deprecated public List<CommerceAddress> getCommerceAddresses(long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
      Specified by:
      getCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddresses

      @Deprecated public List<CommerceAddress> getCommerceAddresses(long groupId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
      Specified by:
      getCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddresses

      public List<CommerceAddress> getCommerceAddresses(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddressesByCompanyId

      public List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceAddressesByCompanyId in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddressesByCompanyId

      public List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceAddressesByCompanyId in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddressesCount

      @Deprecated public int getCommerceAddressesCount(long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
      Specified by:
      getCommerceAddressesCount in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddressesCount

      public int getCommerceAddressesCount(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceAddressesCount in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddressesCountByCompanyId

      public int getCommerceAddressesCountByCompanyId(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceAddressesCountByCompanyId in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public List<CommerceAddress> getShippingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingCommerceAddresses

      public List<CommerceAddress> getShippingCommerceAddresses(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingCommerceAddresses

      public List<CommerceAddress> getShippingCommerceAddresses(long companyId, String className, long classPK, long commerceChannelId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingCommerceAddressesCount

      public List<CommerceAddress> getShippingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingCommerceAddressesCount in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingCommerceAddressesCount

      public int getShippingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getShippingCommerceAddressesCount in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceAddresses

      @Deprecated public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> searchCommerceAddresses(long companyId, long groupId, String className, long classPK, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), commerceAddress is scoped to Company. Don't need to pass groupId
      Specified by:
      searchCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceAddresses

      public com.liferay.portal.kernel.search.BaseModelSearchResult<CommerceAddress> searchCommerceAddresses(long companyId, String className, long classPK, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      searchCommerceAddresses in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceAddress

      @Deprecated public CommerceAddress updateCommerceAddress(long commerceAddressId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, boolean defaultBilling, boolean defaultShipping, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      As of Mueller (7.2.x), defaultBilling/Shipping exist on Account Entity. Pass type.
      Specified by:
      updateCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceAddress

      public CommerceAddress updateCommerceAddress(long commerceAddressId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, String phoneNumber, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateCommerceAddress in interface CommerceAddressService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

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

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