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