com.liferay.portal.service.impl
Class CountryServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portal.service.base.CountryServiceBaseImpl
com.liferay.portal.service.impl.CountryServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, CountryService
public class CountryServiceImpl
- extends CountryServiceBaseImpl
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountryServiceImpl
public CountryServiceImpl()
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