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.PortalException,
43              com.liferay.portal.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.SystemException {
49          return _countryService.getCountries();
50      }
51  
52      public java.util.List<com.liferay.portal.model.Country> getCountries(
53          boolean active) throws com.liferay.portal.SystemException {
54          return _countryService.getCountries(active);
55      }
56  
57      public com.liferay.portal.model.Country getCountry(long countryId)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException {
60          return _countryService.getCountry(countryId);
61      }
62  
63      public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
64          throws com.liferay.portal.PortalException,
65              com.liferay.portal.SystemException {
66          return _countryService.getCountryByA2(a2);
67      }
68  
69      public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
70          throws com.liferay.portal.PortalException,
71              com.liferay.portal.SystemException {
72          return _countryService.getCountryByA3(a3);
73      }
74  
75      public com.liferay.portal.model.Country getCountryByName(
76          java.lang.String name)
77          throws com.liferay.portal.PortalException,
78              com.liferay.portal.SystemException {
79          return _countryService.getCountryByName(name);
80      }
81  
82      public CountryService getWrappedCountryService() {
83          return _countryService;
84      }
85  
86      private CountryService _countryService;
87  }