1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service;
16  
17  
18  /**
19   * <a href="CountryServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link CountryService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       CountryService
32   * @generated
33   */
34  public class CountryServiceWrapper implements CountryService {
35      public CountryServiceWrapper(CountryService countryService) {
36          _countryService = countryService;
37      }
38  
39      public com.liferay.portal.model.Country addCountry(java.lang.String name,
40          java.lang.String a2, java.lang.String a3, java.lang.String number,
41          java.lang.String idd, boolean active)
42          throws com.liferay.portal.kernel.exception.PortalException,
43              com.liferay.portal.kernel.exception.SystemException {
44          return _countryService.addCountry(name, a2, a3, number, idd, active);
45      }
46  
47      public java.util.List<com.liferay.portal.model.Country> getCountries()
48          throws com.liferay.portal.kernel.exception.SystemException {
49          return _countryService.getCountries();
50      }
51  
52      public java.util.List<com.liferay.portal.model.Country> getCountries(
53          boolean active)
54          throws com.liferay.portal.kernel.exception.SystemException {
55          return _countryService.getCountries(active);
56      }
57  
58      public com.liferay.portal.model.Country getCountry(long countryId)
59          throws com.liferay.portal.kernel.exception.PortalException,
60              com.liferay.portal.kernel.exception.SystemException {
61          return _countryService.getCountry(countryId);
62      }
63  
64      public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
65          throws com.liferay.portal.kernel.exception.PortalException,
66              com.liferay.portal.kernel.exception.SystemException {
67          return _countryService.getCountryByA2(a2);
68      }
69  
70      public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
71          throws com.liferay.portal.kernel.exception.PortalException,
72              com.liferay.portal.kernel.exception.SystemException {
73          return _countryService.getCountryByA3(a3);
74      }
75  
76      public com.liferay.portal.model.Country getCountryByName(
77          java.lang.String name)
78          throws com.liferay.portal.kernel.exception.PortalException,
79              com.liferay.portal.kernel.exception.SystemException {
80          return _countryService.getCountryByName(name);
81      }
82  
83      public CountryService getWrappedCountryService() {
84          return _countryService;
85      }
86  
87      private CountryService _countryService;
88  }