001
014
015 package com.liferay.portal.service;
016
017
026 public class AddressServiceWrapper implements AddressService,
027 ServiceWrapper<AddressService> {
028 public AddressServiceWrapper(AddressService addressService) {
029 _addressService = addressService;
030 }
031
032 public com.liferay.portal.model.Address addAddress(
033 java.lang.String className, long classPK, java.lang.String street1,
034 java.lang.String street2, java.lang.String street3,
035 java.lang.String city, java.lang.String zip, long regionId,
036 long countryId, int typeId, boolean mailing, boolean primary)
037 throws com.liferay.portal.kernel.exception.PortalException,
038 com.liferay.portal.kernel.exception.SystemException {
039 return _addressService.addAddress(className, classPK, street1, street2,
040 street3, city, zip, regionId, countryId, typeId, mailing, primary);
041 }
042
043 public void deleteAddress(long addressId)
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException {
046 _addressService.deleteAddress(addressId);
047 }
048
049 public com.liferay.portal.model.Address getAddress(long addressId)
050 throws com.liferay.portal.kernel.exception.PortalException,
051 com.liferay.portal.kernel.exception.SystemException {
052 return _addressService.getAddress(addressId);
053 }
054
055 public java.util.List<com.liferay.portal.model.Address> getAddresses(
056 java.lang.String className, long classPK)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 return _addressService.getAddresses(className, classPK);
060 }
061
062 public com.liferay.portal.model.Address updateAddress(long addressId,
063 java.lang.String street1, java.lang.String street2,
064 java.lang.String street3, java.lang.String city, java.lang.String zip,
065 long regionId, long countryId, int typeId, boolean mailing,
066 boolean primary)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _addressService.updateAddress(addressId, street1, street2,
070 street3, city, zip, regionId, countryId, typeId, mailing, primary);
071 }
072
073
076 public AddressService getWrappedAddressService() {
077 return _addressService;
078 }
079
080
083 public void setWrappedAddressService(AddressService addressService) {
084 _addressService = addressService;
085 }
086
087 public AddressService getWrappedService() {
088 return _addressService;
089 }
090
091 public void setWrappedService(AddressService addressService) {
092 _addressService = addressService;
093 }
094
095 private AddressService _addressService;
096 }