1
14
15 package com.liferay.portal.service;
16
17
18
34 public class RegionServiceWrapper implements RegionService {
35 public RegionServiceWrapper(RegionService regionService) {
36 _regionService = regionService;
37 }
38
39 public com.liferay.portal.model.Region addRegion(long countryId,
40 java.lang.String regionCode, java.lang.String name, boolean active)
41 throws com.liferay.portal.PortalException,
42 com.liferay.portal.SystemException {
43 return _regionService.addRegion(countryId, regionCode, name, active);
44 }
45
46 public java.util.List<com.liferay.portal.model.Region> getRegions()
47 throws com.liferay.portal.SystemException {
48 return _regionService.getRegions();
49 }
50
51 public java.util.List<com.liferay.portal.model.Region> getRegions(
52 long countryId) throws com.liferay.portal.SystemException {
53 return _regionService.getRegions(countryId);
54 }
55
56 public java.util.List<com.liferay.portal.model.Region> getRegions(
57 boolean active) throws com.liferay.portal.SystemException {
58 return _regionService.getRegions(active);
59 }
60
61 public java.util.List<com.liferay.portal.model.Region> getRegions(
62 long countryId, boolean active)
63 throws com.liferay.portal.SystemException {
64 return _regionService.getRegions(countryId, active);
65 }
66
67 public com.liferay.portal.model.Region getRegion(long regionId)
68 throws com.liferay.portal.PortalException,
69 com.liferay.portal.SystemException {
70 return _regionService.getRegion(regionId);
71 }
72
73 public RegionService getWrappedRegionService() {
74 return _regionService;
75 }
76
77 private RegionService _regionService;
78 }