001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
026 @ProviderType
027 public class CountryServiceWrapper implements CountryService,
028 ServiceWrapper<CountryService> {
029 public CountryServiceWrapper(CountryService countryService) {
030 _countryService = countryService;
031 }
032
033 @Override
034 public com.liferay.portal.model.Country addCountry(java.lang.String name,
035 java.lang.String a2, java.lang.String a3, java.lang.String number,
036 java.lang.String idd, boolean active)
037 throws com.liferay.portal.kernel.exception.PortalException {
038 return _countryService.addCountry(name, a2, a3, number, idd, active);
039 }
040
041 @Override
042 public com.liferay.portal.model.Country fetchCountry(long countryId) {
043 return _countryService.fetchCountry(countryId);
044 }
045
046 @Override
047 public com.liferay.portal.model.Country fetchCountryByA2(
048 java.lang.String a2) {
049 return _countryService.fetchCountryByA2(a2);
050 }
051
052 @Override
053 public com.liferay.portal.model.Country fetchCountryByA3(
054 java.lang.String a3) {
055 return _countryService.fetchCountryByA3(a3);
056 }
057
058 @Override
059 public java.util.List<com.liferay.portal.model.Country> getCountries() {
060 return _countryService.getCountries();
061 }
062
063 @Override
064 public java.util.List<com.liferay.portal.model.Country> getCountries(
065 boolean active) {
066 return _countryService.getCountries(active);
067 }
068
069 @Override
070 public com.liferay.portal.model.Country getCountry(long countryId)
071 throws com.liferay.portal.kernel.exception.PortalException {
072 return _countryService.getCountry(countryId);
073 }
074
075 @Override
076 public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
077 throws com.liferay.portal.kernel.exception.PortalException {
078 return _countryService.getCountryByA2(a2);
079 }
080
081 @Override
082 public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
083 throws com.liferay.portal.kernel.exception.PortalException {
084 return _countryService.getCountryByA3(a3);
085 }
086
087 @Override
088 public com.liferay.portal.model.Country getCountryByName(
089 java.lang.String name)
090 throws com.liferay.portal.kernel.exception.PortalException {
091 return _countryService.getCountryByName(name);
092 }
093
094
099 @Override
100 public java.lang.String getOSGiServiceIdentifier() {
101 return _countryService.getOSGiServiceIdentifier();
102 }
103
104 @Override
105 public CountryService getWrappedService() {
106 return _countryService;
107 }
108
109 @Override
110 public void setWrappedService(CountryService countryService) {
111 _countryService = countryService;
112 }
113
114 private CountryService _countryService;
115 }