@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 CountryService
PortalException
public Country fetchCountry(long countryId)
fetchCountry
in interface CountryService
public Country fetchCountryByA2(String a2)
fetchCountryByA2
in interface CountryService
public Country fetchCountryByA3(String a3)
fetchCountryByA3
in interface CountryService
public List<Country> getCountries()
getCountries
in interface CountryService
public List<Country> getCountries(boolean active)
getCountries
in interface CountryService
public Country getCountry(long countryId) throws PortalException
getCountry
in interface CountryService
PortalException
public Country getCountryByA2(String a2) throws PortalException
getCountryByA2
in interface CountryService
PortalException
public Country getCountryByA3(String a3) throws PortalException
getCountryByA3
in interface CountryService
PortalException
public Country getCountryByName(String name) throws PortalException
getCountryByName
in interface CountryService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CountryService
public CountryService getWrappedService()
getWrappedService
in interface ServiceWrapper<CountryService>
public void setWrappedService(CountryService countryService)
setWrappedService
in interface ServiceWrapper<CountryService>