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="CountryServiceUtil.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 CountryService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       CountryService
31   * @generated
32   */
33  public class CountryServiceWrapper implements CountryService {
34      public CountryServiceWrapper(CountryService countryService) {
35          _countryService = countryService;
36      }
37  
38      public com.liferay.portal.model.Country addCountry(java.lang.String name,
39          java.lang.String a2, java.lang.String a3, java.lang.String number,
40          java.lang.String idd, boolean active)
41          throws com.liferay.portal.PortalException,
42              com.liferay.portal.SystemException {
43          return _countryService.addCountry(name, a2, a3, number, idd, active);
44      }
45  
46      public java.util.List<com.liferay.portal.model.Country> getCountries()
47          throws com.liferay.portal.SystemException {
48          return _countryService.getCountries();
49      }
50  
51      public java.util.List<com.liferay.portal.model.Country> getCountries(
52          boolean active) throws com.liferay.portal.SystemException {
53          return _countryService.getCountries(active);
54      }
55  
56      public com.liferay.portal.model.Country getCountry(long countryId)
57          throws com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException {
59          return _countryService.getCountry(countryId);
60      }
61  
62      public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException {
65          return _countryService.getCountryByA2(a2);
66      }
67  
68      public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException {
71          return _countryService.getCountryByA3(a3);
72      }
73  
74      public com.liferay.portal.model.Country getCountryByName(
75          java.lang.String name)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          return _countryService.getCountryByName(name);
79      }
80  
81      public CountryService getWrappedCountryService() {
82          return _countryService;
83      }
84  
85      private CountryService _countryService;
86  }