Class AddressServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.AddressServiceBaseImpl
com.liferay.portal.service.impl.AddressServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.AddressService, com.liferay.portal.kernel.service.BaseService

public class AddressServiceImpl extends AddressServiceBaseImpl
Author:
Brian Wing Shun Chan, Alexander Chow
  • Constructor Details

    • AddressServiceImpl

      public AddressServiceImpl()
  • Method Details

    • addAddress

      public com.liferay.portal.kernel.model.Address addAddress(String externalReferenceCode, String className, long classPK, long countryId, long listTypeId, long regionId, String city, String description, boolean mailing, String name, boolean primary, String street1, String street2, String street3, String subtype, String zip, String phoneNumber, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteAddress

      public void deleteAddress(long addressId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAddress

      public com.liferay.portal.kernel.model.Address getAddress(long addressId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAddresses

      public List<com.liferay.portal.kernel.model.Address> getAddresses(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getListTypeAddresses

      public List<com.liferay.portal.kernel.model.Address> getListTypeAddresses(String className, long classPK, long[] listTypeIds) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateAddress

      public com.liferay.portal.kernel.model.Address updateAddress(String externalReferenceCode, long addressId, long countryId, long listTypeId, long regionId, String city, String description, boolean mailing, String name, boolean primary, String street1, String street2, String street3, String subtype, String zip, String phoneNumber) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public com.liferay.portal.kernel.model.Address updateExternalReferenceCode(com.liferay.portal.kernel.model.Address address, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      public com.liferay.portal.kernel.model.Address updateExternalReferenceCode(long addressId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException