1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="RegionServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link RegionService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       RegionService
31   * @generated
32   */
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  }