@ProviderType public class AddressServiceWrapper extends Object implements AddressService, ServiceWrapper<AddressService>
AddressService
.AddressService
Constructor and Description |
---|
AddressServiceWrapper(AddressService addressService) |
Modifier and Type | Method and Description |
---|---|
Address |
addAddress(String className,
long classPK,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary,
ServiceContext serviceContext) |
void |
deleteAddress(long addressId) |
Address |
getAddress(long addressId) |
List<Address> |
getAddresses(String className,
long classPK) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
AddressService |
getWrappedService() |
void |
setWrappedService(AddressService addressService) |
Address |
updateAddress(long addressId,
String street1,
String street2,
String street3,
String city,
String zip,
long regionId,
long countryId,
long typeId,
boolean mailing,
boolean primary) |
public AddressServiceWrapper(AddressService addressService)
public Address addAddress(String className, long classPK, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long typeId, boolean mailing, boolean primary, ServiceContext serviceContext) throws PortalException
addAddress
in interface AddressService
PortalException
public void deleteAddress(long addressId) throws PortalException
deleteAddress
in interface AddressService
PortalException
public Address getAddress(long addressId) throws PortalException
getAddress
in interface AddressService
PortalException
public List<Address> getAddresses(String className, long classPK) throws PortalException
getAddresses
in interface AddressService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AddressService
public Address updateAddress(long addressId, String street1, String street2, String street3, String city, String zip, long regionId, long countryId, long typeId, boolean mailing, boolean primary) throws PortalException
updateAddress
in interface AddressService
PortalException
public AddressService getWrappedService()
getWrappedService
in interface ServiceWrapper<AddressService>
public void setWrappedService(AddressService addressService)
setWrappedService
in interface ServiceWrapper<AddressService>