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.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 }