Liferay 7.0-ce-m6

com.liferay.portal.service
Interface CountryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
CountryServiceBaseImpl, CountryServiceImpl, 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, 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

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)

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

Liferay 7.0-ce-m6