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 java.util.List<com.liferay.portal.model.Country> getCountries()
040 throws com.liferay.portal.kernel.exception.SystemException {
041 return _countryService.getCountries();
042 }
043
044 public java.util.List<com.liferay.portal.model.Country> getCountries(
045 boolean active)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _countryService.getCountries(active);
048 }
049
050 public com.liferay.portal.model.Country getCountry(long countryId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 return _countryService.getCountry(countryId);
054 }
055
056 public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 return _countryService.getCountryByA2(a2);
060 }
061
062 public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 return _countryService.getCountryByA3(a3);
066 }
067
068 public com.liferay.portal.model.Country getCountryByName(
069 java.lang.String name)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _countryService.getCountryByName(name);
073 }
074
075 public CountryService getWrappedCountryService() {
076 return _countryService;
077 }
078
079 private CountryService _countryService;
080 }