Liferay 7.0-ce-b4

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)
           
 List<Country> getCountries()
           
 List<Country> getCountries(boolean active)
           
 Country getCountry(long countryId)
           
 Country getCountryByA2(String a2)
           
 Country getCountryByA3(String a3)
           
 Country getCountryByName(String name)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 

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)

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

Liferay 7.0-ce-b4