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