Liferay 7.0-ce-b4

com.liferay.portal.service
Class CountryServiceWrapper

java.lang.Object
  extended by 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.

Constructor Summary
CountryServiceWrapper(CountryService countryService)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryServiceWrapper

public CountryServiceWrapper(CountryService countryService)
Method Detail

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>

Liferay 7.0-ce-b4