@ProviderType public class CountryServiceWrapper extends Object implements CountryService, ServiceWrapper<CountryService>
CountryService.CountryService| Constructor and Description |
|---|
CountryServiceWrapper(CountryService countryService) |
| Modifier and Type | Method and Description |
|---|---|
Country |
addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active) |
Country |
fetchCountry(long countryId) |
Country |
fetchCountryByA2(String a2) |
Country |
fetchCountryByA3(String a3) |
List<Country> |
getCountries() |
List<Country> |
getCountries(boolean active) |
Country |
getCountry(long countryId) |
Country |
getCountryByA2(String a2) |
Country |
getCountryByA3(String a3) |
Country |
getCountryByName(String name) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
CountryService |
getWrappedService() |
void |
setWrappedService(CountryService countryService) |
public CountryServiceWrapper(CountryService countryService)
public Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws PortalException
addCountry in interface CountryServicePortalExceptionpublic Country fetchCountry(long countryId)
fetchCountry in interface CountryServicepublic Country fetchCountryByA2(String a2)
fetchCountryByA2 in interface CountryServicepublic Country fetchCountryByA3(String a3)
fetchCountryByA3 in interface CountryServicepublic Country getCountry(long countryId) throws PortalException
getCountry in interface CountryServicePortalExceptionpublic Country getCountryByA2(String a2) throws PortalException
getCountryByA2 in interface CountryServicePortalExceptionpublic Country getCountryByA3(String a3) throws PortalException
getCountryByA3 in interface CountryServicePortalExceptionpublic Country getCountryByName(String name) throws PortalException
getCountryByName in interface CountryServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CountryServicepublic List<Country> getCountries()
getCountries in interface CountryServicepublic List<Country> getCountries(boolean active)
getCountries in interface CountryServicepublic CountryService getWrappedService()
getWrappedService in interface ServiceWrapper<CountryService>public void setWrappedService(CountryService countryService)
setWrappedService in interface ServiceWrapper<CountryService>