Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface CountryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
CountryServiceBaseImpl, CountryServiceImpl, CountryServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface CountryService
extends BaseService

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.

See Also:
CountryServiceUtil, CountryServiceBaseImpl, CountryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<Country> getCountries()
           
 List<Country> getCountries(boolean active)
           
 Country getCountry(long countryId)
           
 Country getCountryByA2(String a2)
           
 Country getCountryByA3(String a3)
           
 Country getCountryByName(String name)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addCountry

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

fetchCountry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Country fetchCountry(long countryId)
                     throws SystemException
Throws:
SystemException

fetchCountryByA2

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Country fetchCountryByA2(String a2)
                         throws SystemException
Throws:
SystemException

fetchCountryByA3

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Country fetchCountryByA3(String a3)
                         throws SystemException
Throws:
SystemException

getCountries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Country> getCountries()
                           throws SystemException
Throws:
SystemException

getCountries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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(String a2)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getCountryByA3

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Country getCountryByA3(String a3)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getCountryByName

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Country getCountryByName(String name)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3