001
014
015 package com.liferay.portal.service;
016
017
026 public class CountryServiceWrapper implements CountryService {
027 public CountryServiceWrapper(CountryService countryService) {
028 _countryService = countryService;
029 }
030
031 public com.liferay.portal.model.Country addCountry(java.lang.String name,
032 java.lang.String a2, java.lang.String a3, java.lang.String number,
033 java.lang.String idd, boolean active)
034 throws com.liferay.portal.kernel.exception.PortalException,
035 com.liferay.portal.kernel.exception.SystemException {
036 return _countryService.addCountry(name, a2, a3, number, idd, active);
037 }
038
039 public com.liferay.portal.model.Country fetchCountry(long countryId)
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return _countryService.fetchCountry(countryId);
042 }
043
044 public java.util.List<com.liferay.portal.model.Country> getCountries()
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _countryService.getCountries();
047 }
048
049 public java.util.List<com.liferay.portal.model.Country> getCountries(
050 boolean active)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 return _countryService.getCountries(active);
053 }
054
055 public com.liferay.portal.model.Country getCountry(long countryId)
056 throws com.liferay.portal.kernel.exception.PortalException,
057 com.liferay.portal.kernel.exception.SystemException {
058 return _countryService.getCountry(countryId);
059 }
060
061 public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _countryService.getCountryByA2(a2);
065 }
066
067 public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _countryService.getCountryByA3(a3);
071 }
072
073 public com.liferay.portal.model.Country getCountryByName(
074 java.lang.String name)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return _countryService.getCountryByName(name);
078 }
079
080 public CountryService getWrappedCountryService() {
081 return _countryService;
082 }
083
084 public void setWrappedCountryService(CountryService countryService) {
085 _countryService = countryService;
086 }
087
088 private CountryService _countryService;
089 }