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
038 @Override
039 public java.lang.String getBeanIdentifier() {
040 return _countryService.getBeanIdentifier();
041 }
042
043
048 @Override
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _countryService.setBeanIdentifier(beanIdentifier);
051 }
052
053 @Override
054 public com.liferay.portal.model.Country addCountry(java.lang.String name,
055 java.lang.String a2, java.lang.String a3, java.lang.String number,
056 java.lang.String idd, boolean active)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 return _countryService.addCountry(name, a2, a3, number, idd, active);
060 }
061
062 @Override
063 public com.liferay.portal.model.Country fetchCountry(long countryId)
064 throws com.liferay.portal.kernel.exception.SystemException {
065 return _countryService.fetchCountry(countryId);
066 }
067
068 @Override
069 public com.liferay.portal.model.Country fetchCountryByA2(
070 java.lang.String a2)
071 throws com.liferay.portal.kernel.exception.SystemException {
072 return _countryService.fetchCountryByA2(a2);
073 }
074
075 @Override
076 public com.liferay.portal.model.Country fetchCountryByA3(
077 java.lang.String a3)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 return _countryService.fetchCountryByA3(a3);
080 }
081
082 @Override
083 public java.util.List<com.liferay.portal.model.Country> getCountries()
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _countryService.getCountries();
086 }
087
088 @Override
089 public java.util.List<com.liferay.portal.model.Country> getCountries(
090 boolean active)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _countryService.getCountries(active);
093 }
094
095 @Override
096 public com.liferay.portal.model.Country getCountry(long countryId)
097 throws com.liferay.portal.kernel.exception.PortalException,
098 com.liferay.portal.kernel.exception.SystemException {
099 return _countryService.getCountry(countryId);
100 }
101
102 @Override
103 public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
104 throws com.liferay.portal.kernel.exception.PortalException,
105 com.liferay.portal.kernel.exception.SystemException {
106 return _countryService.getCountryByA2(a2);
107 }
108
109 @Override
110 public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 return _countryService.getCountryByA3(a3);
114 }
115
116 @Override
117 public com.liferay.portal.model.Country getCountryByName(
118 java.lang.String name)
119 throws com.liferay.portal.kernel.exception.PortalException,
120 com.liferay.portal.kernel.exception.SystemException {
121 return _countryService.getCountryByName(name);
122 }
123
124
127 public CountryService getWrappedCountryService() {
128 return _countryService;
129 }
130
131
134 public void setWrappedCountryService(CountryService countryService) {
135 _countryService = countryService;
136 }
137
138 @Override
139 public CountryService getWrappedService() {
140 return _countryService;
141 }
142
143 @Override
144 public void setWrappedService(CountryService countryService) {
145 _countryService = countryService;
146 }
147
148 private CountryService _countryService;
149 }