com.liferay.portal.service
Interface CountryService
- All Superinterfaces:
- BaseService
- All Known Implementing Classes:
- CountryServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface CountryService- extends BaseService
Provides the remote service interface for Country. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
CountryServiceUtil,
CountryServiceBaseImpl,
com.liferay.portal.service.impl.CountryServiceImpl
addCountry
Country addCountry(String name,
String a2,
String a3,
String number,
String idd,
boolean active)
throws PortalException
- Throws:
PortalException
fetchCountry
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country fetchCountry(long countryId)
fetchCountryByA2
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country fetchCountryByA2(String a2)
fetchCountryByA3
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country fetchCountryByA3(String a3)
getCountries
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Country> getCountries()
getCountries
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Country> getCountries(boolean active)
getCountry
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountry(long countryId)
throws PortalException
- Throws:
PortalException
getCountryByA2
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountryByA2(String a2)
throws PortalException
- Throws:
PortalException
getCountryByA3
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountryByA3(String a3)
throws PortalException
- Throws:
PortalException
getCountryByName
@Transactional(propagation=SUPPORTS,
readOnly=true)
Country getCountryByName(String name)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier