1
14
15 package com.liferay.portal.service;
16
17
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 }