com.liferay.portal.service
Class AddressServiceWrapper
java.lang.Object
com.liferay.portal.service.AddressServiceWrapper
- All Implemented Interfaces:
- AddressService, BaseService, ServiceWrapper<AddressService>
@ProviderType
public class AddressServiceWrapper
- extends Object
- implements AddressService, ServiceWrapper<AddressService>
Provides a wrapper for AddressService.
- See Also:
AddressService
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressServiceWrapper
public AddressServiceWrapper(AddressService addressService)
addAddress
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
- Specified by:
addAddress in interface AddressService
- Throws:
PortalException
deleteAddress
public void deleteAddress(long addressId)
throws PortalException
- Specified by:
deleteAddress in interface AddressService
- Throws:
PortalException
getAddress
public Address getAddress(long addressId)
throws PortalException
- Specified by:
getAddress in interface AddressService
- Throws:
PortalException
getAddresses
public List<Address> getAddresses(String className,
long classPK)
throws PortalException
- Specified by:
getAddresses in interface AddressService
- Throws:
PortalException
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface AddressService
- Returns:
- the OSGi service identifier
updateAddress
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
- Specified by:
updateAddress in interface AddressService
- Throws:
PortalException
getWrappedService
public AddressService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<AddressService>
setWrappedService
public void setWrappedService(AddressService addressService)
- Specified by:
setWrappedService in interface ServiceWrapper<AddressService>