Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class CountryServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.CountryServiceUtil

public class CountryServiceUtil
extends Object

The utility for the country remote service. This utility wraps CountryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

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:
CountryService, CountryServiceBaseImpl, CountryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
CountryServiceUtil()
           
 
Method Summary
static Country addCountry(String name, String a2, String a3, String number, String idd, boolean active)
           
static Country fetchCountry(long countryId)
           
static Country fetchCountryByA2(String a2)
           
static Country fetchCountryByA3(String a3)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static List<Country> getCountries()
           
static List<Country> getCountries(boolean active)
           
static Country getCountry(long countryId)
           
static Country getCountryByA2(String a2)
           
static Country getCountryByA3(String a3)
           
static Country getCountryByName(String name)
           
static CountryService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(CountryService service)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountryServiceUtil

public CountryServiceUtil()
Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addCountry

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

fetchCountry

public static Country fetchCountry(long countryId)
                            throws SystemException
Throws:
SystemException

fetchCountryByA2

public static Country fetchCountryByA2(String a2)
                                throws SystemException
Throws:
SystemException

fetchCountryByA3

public static Country fetchCountryByA3(String a3)
                                throws SystemException
Throws:
SystemException

getCountries

public static List<Country> getCountries()
                                  throws SystemException
Throws:
SystemException

getCountries

public static List<Country> getCountries(boolean active)
                                  throws SystemException
Throws:
SystemException

getCountry

public static Country getCountry(long countryId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getCountryByA2

public static Country getCountryByA2(String a2)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getCountryByA3

public static Country getCountryByA3(String a3)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

getCountryByName

public static Country getCountryByName(String name)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getService

public static CountryService getService()

setService

public void setService(CountryService service)
Deprecated. 


Liferay 6.1.2-ce-ga3