Class CommerceAddressLocalServiceUtil

java.lang.Object
com.liferay.commerce.service.CommerceAddressLocalServiceUtil

@Deprecated public class CommerceAddressLocalServiceUtil extends Object
Deprecated.
As of Cavanaugh (7.4.x)
Provides the local service utility for CommerceAddress. This utility wraps com.liferay.commerce.service.impl.CommerceAddressLocalServiceImpl and is an access point for service operations in application layer code running on the local server. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
See Also:
Generated:
  • Constructor Details

    • CommerceAddressLocalServiceUtil

      public CommerceAddressLocalServiceUtil()
      Deprecated.
  • Method Details

    • addCommerceAddress

      @Deprecated public static 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.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceAddress

      public static 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
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommerceAddress

      public static 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
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • copyCommerceAddress

      public static CommerceAddress copyCommerceAddress(long sourceCommerceAddressId, String className, long classPK, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createCommerceAddress

      public static CommerceAddress createCommerceAddress(long commerceAddressId)
      Deprecated.
    • deleteCommerceAddress

      public static CommerceAddress deleteCommerceAddress(CommerceAddress commerceAddress) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceAddresses

      public static void deleteCommerceAddresses(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCountryCommerceAddresses

      public static void deleteCountryCommerceAddresses(long countryId) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteRegionCommerceAddresses

      public static void deleteRegionCommerceAddresses(long regionId) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceAddress

      public static CommerceAddress fetchCommerceAddress(long commerceAddressId)
      Deprecated.
    • fetchCommerceAddressByExternalReferenceCode

      public static CommerceAddress fetchCommerceAddressByExternalReferenceCode(String externalReferenceCode, long companyId)
      Deprecated.
    • geolocateCommerceAddress

      public static CommerceAddress geolocateCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingAndShippingCommerceAddresses

      public static List<CommerceAddress> getBillingAndShippingCommerceAddresses(long companyId, String className, long classPK)
      Deprecated.
    • getBillingCommerceAddresses

      public static List<CommerceAddress> getBillingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingCommerceAddresses

      public static List<CommerceAddress> getBillingCommerceAddresses(long channelId, String className, long classPK, int start, int end)
      Deprecated.
    • getBillingCommerceAddresses

      public static 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
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBillingCommerceAddressesCount

      public static int getBillingCommerceAddressesCount(long channelId, String className, long classPK, int start, int end)
      Deprecated.
    • getBillingCommerceAddressesCount

      public static int getBillingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddress

      public static CommerceAddress getCommerceAddress(long commerceAddressId) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAddresses

      @Deprecated public static List<CommerceAddress> getCommerceAddresses(long groupId, String className, long classPK)
      Deprecated.
      As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
    • getCommerceAddresses

      @Deprecated public static List<CommerceAddress> getCommerceAddresses(long groupId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
      Deprecated.
      As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
    • getCommerceAddresses

      public static List<CommerceAddress> getCommerceAddresses(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
      Deprecated.
    • getCommerceAddressesByCompanyId

      public static List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK)
      Deprecated.
    • getCommerceAddressesByCompanyId

      public static List<CommerceAddress> getCommerceAddressesByCompanyId(long companyId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAddress> orderByComparator)
      Deprecated.
    • getCommerceAddressesCount

      @Deprecated public static int getCommerceAddressesCount(long groupId, String className, long classPK)
      Deprecated.
      As of Mueller (7.2.x), commerceAddress is scoped to Company use *ByCompanyId
    • getCommerceAddressesCount

      public static int getCommerceAddressesCount(String className, long classPK)
      Deprecated.
    • getCommerceAddressesCountByCompanyId

      public static int getCommerceAddressesCountByCompanyId(long companyId, String className, long classPK)
      Deprecated.
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Deprecated.
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getShippingCommerceAddresses

      public static List<CommerceAddress> getShippingCommerceAddresses(long companyId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingCommerceAddresses

      public static List<CommerceAddress> getShippingCommerceAddresses(long channelId, String className, long classPK, int start, int end)
      Deprecated.
    • getShippingCommerceAddresses

      public static 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
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getShippingCommerceAddressesCount

      public static int getShippingCommerceAddressesCount(long companyId, String className, long classPK, long commerceChannelId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceAddresses

      @Deprecated public static 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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceAddresses

      public static 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
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceAddress

      @Deprecated public static 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.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceAddress

      public static 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
      Deprecated.
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommerceAddressLocalService getService()
      Deprecated.