001
014
015 package com.liferay.portal.service;
016
017
024 public class CountryServiceWrapper implements CountryService,
025 ServiceWrapper<CountryService> {
026 public CountryServiceWrapper(CountryService countryService) {
027 _countryService = countryService;
028 }
029
030
035 @Override
036 public java.lang.String getBeanIdentifier() {
037 return _countryService.getBeanIdentifier();
038 }
039
040
045 @Override
046 public void setBeanIdentifier(java.lang.String beanIdentifier) {
047 _countryService.setBeanIdentifier(beanIdentifier);
048 }
049
050 @Override
051 public com.liferay.portal.model.Country addCountry(java.lang.String name,
052 java.lang.String a2, java.lang.String a3, java.lang.String number,
053 java.lang.String idd, boolean active)
054 throws com.liferay.portal.kernel.exception.PortalException,
055 com.liferay.portal.kernel.exception.SystemException {
056 return _countryService.addCountry(name, a2, a3, number, idd, active);
057 }
058
059 @Override
060 public com.liferay.portal.model.Country fetchCountry(long countryId)
061 throws com.liferay.portal.kernel.exception.SystemException {
062 return _countryService.fetchCountry(countryId);
063 }
064
065 @Override
066 public com.liferay.portal.model.Country fetchCountryByA2(
067 java.lang.String a2)
068 throws com.liferay.portal.kernel.exception.SystemException {
069 return _countryService.fetchCountryByA2(a2);
070 }
071
072 @Override
073 public com.liferay.portal.model.Country fetchCountryByA3(
074 java.lang.String a3)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return _countryService.fetchCountryByA3(a3);
077 }
078
079 @Override
080 public java.util.List<com.liferay.portal.model.Country> getCountries()
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _countryService.getCountries();
083 }
084
085 @Override
086 public java.util.List<com.liferay.portal.model.Country> getCountries(
087 boolean active)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _countryService.getCountries(active);
090 }
091
092 @Override
093 public com.liferay.portal.model.Country getCountry(long countryId)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 return _countryService.getCountry(countryId);
097 }
098
099 @Override
100 public com.liferay.portal.model.Country getCountryByA2(java.lang.String a2)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException {
103 return _countryService.getCountryByA2(a2);
104 }
105
106 @Override
107 public com.liferay.portal.model.Country getCountryByA3(java.lang.String a3)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 return _countryService.getCountryByA3(a3);
111 }
112
113 @Override
114 public com.liferay.portal.model.Country getCountryByName(
115 java.lang.String name)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException {
118 return _countryService.getCountryByName(name);
119 }
120
121
124 public CountryService getWrappedCountryService() {
125 return _countryService;
126 }
127
128
131 public void setWrappedCountryService(CountryService countryService) {
132 _countryService = countryService;
133 }
134
135 @Override
136 public CountryService getWrappedService() {
137 return _countryService;
138 }
139
140 @Override
141 public void setWrappedService(CountryService countryService) {
142 _countryService = countryService;
143 }
144
145 private CountryService _countryService;
146 }