com.liferay.portal.service
Interface CountryService
- All Known Implementing Classes:
- CountryServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface CountryService
The interface for the country remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
CountryServiceUtil,
CountryServiceBaseImpl,
com.liferay.portal.service.impl.CountryServiceImpl- Generated:
addCountry
Country addCountry(java.lang.String name,
java.lang.String a2,
java.lang.String a3,
java.lang.String number,
java.lang.String idd,
boolean active)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchCountry
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country fetchCountry(long countryId)
throws SystemException
- Throws:
SystemException
getCountries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Country> getCountries()
throws SystemException
- Throws:
SystemException
getCountries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Country> getCountries(boolean active)
throws SystemException
- Throws:
SystemException
getCountry
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountry(long countryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCountryByA2
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountryByA2(java.lang.String a2)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCountryByA3
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountryByA3(java.lang.String a3)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCountryByName
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountryByName(java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException