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