001
014
015 package com.liferay.portal.service;
016
017
026 public class CountryServiceWrapper implements CountryService,
027 ServiceWrapper<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 com.liferay.portal.model.Country fetchCountry(long countryId)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _countryService.fetchCountry(countryId);
043 }
044
045 public java.util.List<com.liferay.portal.model.Country> getCountries()
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _countryService.getCountries();
048 }
049
050 public java.util.List<com.liferay.portal.model.Country> getCountries(
051 boolean active)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 return _countryService.getCountries(active);
054 }
055
056 public com.liferay.portal.model.Country getCountry(long countryId)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 return _countryService.getCountry(countryId);
060 }
061
062 public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 return _countryService.getCountryByA2(a2);
066 }
067
068 public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _countryService.getCountryByA3(a3);
072 }
073
074 public com.liferay.portal.model.Country getCountryByName(
075 java.lang.String name)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException {
078 return _countryService.getCountryByName(name);
079 }
080
081
084 public CountryService getWrappedCountryService() {
085 return _countryService;
086 }
087
088
091 public void setWrappedCountryService(CountryService countryService) {
092 _countryService = countryService;
093 }
094
095 public CountryService getWrappedService() {
096 return _countryService;
097 }
098
099 public void setWrappedService(CountryService countryService) {
100 _countryService = countryService;
101 }
102
103 private CountryService _countryService;
104 }