com.liferay.portal.service
Class CountryServiceWrapper
java.lang.Object
com.liferay.portal.service.CountryServiceWrapper
- All Implemented Interfaces:
- BaseService, CountryService, ServiceWrapper<CountryService>
@ProviderType
public class CountryServiceWrapper
- extends Object
- implements CountryService, ServiceWrapper<CountryService>
Provides a wrapper for CountryService.
- See Also:
CountryService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountryServiceWrapper
public CountryServiceWrapper(CountryService countryService)
addCountry
public Country addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active)
throws PortalException
- Specified by:
addCountry in interface CountryService
- Throws:
PortalException
fetchCountry
public Country fetchCountry(long countryId)
- Specified by:
fetchCountry in interface CountryService
fetchCountryByA2
public Country fetchCountryByA2(String a2)
- Specified by:
fetchCountryByA2 in interface CountryService
fetchCountryByA3
public Country fetchCountryByA3(String a3)
- Specified by:
fetchCountryByA3 in interface CountryService
getCountries
public List<Country> getCountries()
- Specified by:
getCountries in interface CountryService
getCountries
public List<Country> getCountries(boolean active)
- Specified by:
getCountries in interface CountryService
getCountry
public Country getCountry(long countryId)
throws PortalException
- Specified by:
getCountry in interface CountryService
- Throws:
PortalException
getCountryByA2
public Country getCountryByA2(String a2)
throws PortalException
- Specified by:
getCountryByA2 in interface CountryService
- Throws:
PortalException
getCountryByA3
public Country getCountryByA3(String a3)
throws PortalException
- Specified by:
getCountryByA3 in interface CountryService
- Throws:
PortalException
getCountryByName
public Country getCountryByName(String name)
throws PortalException
- Specified by:
getCountryByName in interface CountryService
- Throws:
PortalException
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface CountryService
- Returns:
- the OSGi service identifier
getWrappedService
public CountryService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<CountryService>
setWrappedService
public void setWrappedService(CountryService countryService)
- Specified by:
setWrappedService in interface ServiceWrapper<CountryService>