Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class CountryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.CountryServiceBaseImpl
          extended by com.liferay.portal.service.impl.CountryServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseService, CountryService

public class CountryServiceImpl
extends CountryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.CountryServiceBaseImpl
counterLocalService, countryPersistence, countryService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
CountryServiceImpl()
           
 
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)
           
 
Methods inherited from class com.liferay.portal.service.base.CountryServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getCountryPersistence, getCountryService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setCountryPersistence, setCountryService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryServiceImpl

public CountryServiceImpl()
Method Detail

addCountry

public Country addCountry(String name,
                          String a2,
                          String a3,
                          String number,
                          String idd,
                          boolean active)
                   throws PortalException
Throws:
PortalException

fetchCountry

public Country fetchCountry(long countryId)

fetchCountryByA2

public Country fetchCountryByA2(String a2)

fetchCountryByA3

public Country fetchCountryByA3(String a3)

getCountries

public List<Country> getCountries()

getCountries

public List<Country> getCountries(boolean active)

getCountry

public Country getCountry(long countryId)
                   throws PortalException
Throws:
PortalException

getCountryByA2

public Country getCountryByA2(String a2)
                       throws PortalException
Throws:
PortalException

getCountryByA3

public Country getCountryByA3(String a3)
                       throws PortalException
Throws:
PortalException

getCountryByName

public Country getCountryByName(String name)
                         throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4