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, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, String phoneNumber, ServiceContext serviceContext) void
deleteAddress
(long addressId) getAddress
(long addressId) getAddresses
(String className, long classPK) getListTypeAddresses
(String className, long classPK, long[] listTypeIds) Returns the OSGi service identifier.void
setWrappedService
(AddressService addressService) updateAddress
(long addressId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, 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, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, String phoneNumber, ServiceContext serviceContext) throws PortalException - Specified by:
addAddress
in interfaceAddressService
- Throws:
PortalException
-
deleteAddress
- Specified by:
deleteAddress
in interfaceAddressService
- Throws:
PortalException
-
getAddress
- Specified by:
getAddress
in interfaceAddressService
- Throws:
PortalException
-
getAddresses
- Specified by:
getAddresses
in interfaceAddressService
- Throws:
PortalException
-
getListTypeAddresses
public List<Address> getListTypeAddresses(String className, long classPK, long[] listTypeIds) throws PortalException - Specified by:
getListTypeAddresses
in interfaceAddressService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAddressService
- Returns:
- the OSGi service identifier
-
updateAddress
public Address updateAddress(long addressId, String name, String description, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long listTypeId, boolean mailing, boolean primary, String phoneNumber) throws PortalException - Specified by:
updateAddress
in interfaceAddressService
- Throws:
PortalException
-
updateExternalReferenceCode
public Address updateExternalReferenceCode(Address address, String externalReferenceCode) throws PortalException - Specified by:
updateExternalReferenceCode
in interfaceAddressService
- Throws:
PortalException
-
updateExternalReferenceCode
public Address updateExternalReferenceCode(long addressId, String externalReferenceCode) throws PortalException - Specified by:
updateExternalReferenceCode
in interfaceAddressService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<AddressService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<AddressService>
-