public class AddressServiceWrapper extends Object implements AddressService, ServiceWrapper<AddressService>
AddressService.AddressService| Constructor and Description |
|---|
AddressServiceWrapper() |
AddressServiceWrapper(AddressService addressService) |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
deleteAddress(long addressId) |
Address |
getAddress(long addressId) |
List<Address> |
getAddresses(String className,
long classPK) |
List<Address> |
getListTypeAddresses(String className,
long classPK,
long[] listTypeIds) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
AddressService |
getWrappedService() |
void |
setWrappedService(AddressService addressService) |
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) |
public AddressServiceWrapper()
public AddressServiceWrapper(AddressService addressService)
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
addAddress in interface AddressServicePortalExceptionpublic void deleteAddress(long addressId)
throws PortalException
deleteAddress in interface AddressServicePortalExceptionpublic Address getAddress(long addressId) throws PortalException
getAddress in interface AddressServicePortalExceptionpublic List<Address> getAddresses(String className, long classPK) throws PortalException
getAddresses in interface AddressServicePortalExceptionpublic List<Address> getListTypeAddresses(String className, long classPK, long[] listTypeIds) throws PortalException
getListTypeAddresses in interface AddressServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface AddressServicepublic 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
updateAddress in interface AddressServicePortalExceptionpublic AddressService getWrappedService()
getWrappedService in interface ServiceWrapper<AddressService>public void setWrappedService(AddressService addressService)
setWrappedService in interface ServiceWrapper<AddressService>