Class AddressServiceWrapper
Object
com.liferay.portal.kernel.service.AddressServiceWrapper
- All Implemented Interfaces:
AddressService,BaseService,ServiceWrapper<AddressService>
public class AddressServiceWrapper
extends Object
implements AddressService, ServiceWrapper<AddressService>
Provides a wrapper for
AddressService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAddress(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, ServiceContext serviceContext) voiddeleteAddress(long addressId) getAddress(long addressId) getAddresses(String className, long classPK) getListTypeAddresses(String className, long classPK, long[] listTypeIds) Returns the OSGi service identifier.voidsetWrappedService(AddressService addressService) 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) updateExternalReferenceCode(long addressId, String externalReferenceCode) updateExternalReferenceCode(Address address, String externalReferenceCode)
-
Constructor Details
-
AddressServiceWrapper
public AddressServiceWrapper() -
AddressServiceWrapper
-
-
Method Details
-
addAddress
public 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, ServiceContext serviceContext) throws PortalException - Specified by:
addAddressin interfaceAddressService- Throws:
PortalException
-
deleteAddress
- Specified by:
deleteAddressin interfaceAddressService- Throws:
PortalException
-
getAddress
- Specified by:
getAddressin interfaceAddressService- Throws:
PortalException
-
getAddresses
- Specified by:
getAddressesin interfaceAddressService- Throws:
PortalException
-
getListTypeAddresses
public List<Address> getListTypeAddresses(String className, long classPK, long[] listTypeIds) throws PortalException - Specified by:
getListTypeAddressesin interfaceAddressService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceAddressService- Returns:
- the OSGi service identifier
-
updateAddress
public 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 PortalException - Specified by:
updateAddressin interfaceAddressService- Throws:
PortalException
-
updateExternalReferenceCode
public Address updateExternalReferenceCode(Address address, String externalReferenceCode) throws PortalException - Specified by:
updateExternalReferenceCodein interfaceAddressService- Throws:
PortalException
-
updateExternalReferenceCode
public Address updateExternalReferenceCode(long addressId, String externalReferenceCode) throws PortalException - Specified by:
updateExternalReferenceCodein interfaceAddressService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<AddressService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<AddressService>
-