Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class RegionServiceUtil

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

public class RegionServiceUtil
extends Object

The utility for the region remote service. This utility wraps RegionServiceImpl 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:
RegionService, RegionServiceBaseImpl, RegionServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
RegionServiceUtil()
           
 
Method Summary
static Region addRegion(long countryId, String regionCode, String name, boolean active)
           
static Region fetchRegion(long countryId, String regionCode)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static Region getRegion(long regionId)
           
static Region getRegion(long countryId, String regionCode)
           
static List<Region> getRegions()
           
static List<Region> getRegions(boolean active)
           
static List<Region> getRegions(long countryId)
           
static List<Region> getRegions(long countryId, boolean active)
           
static RegionService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(RegionService service)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionServiceUtil

public RegionServiceUtil()
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

addRegion

public static Region addRegion(long countryId,
                               String regionCode,
                               String name,
                               boolean active)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

fetchRegion

public static Region fetchRegion(long countryId,
                                 String regionCode)
                          throws SystemException
Throws:
SystemException

getRegion

public static Region getRegion(long regionId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getRegion

public static Region getRegion(long countryId,
                               String regionCode)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getRegions

public static List<Region> getRegions()
                               throws SystemException
Throws:
SystemException

getRegions

public static List<Region> getRegions(boolean active)
                               throws SystemException
Throws:
SystemException

getRegions

public static List<Region> getRegions(long countryId)
                               throws SystemException
Throws:
SystemException

getRegions

public static List<Region> getRegions(long countryId,
                                      boolean active)
                               throws SystemException
Throws:
SystemException

getService

public static RegionService getService()

setService

public void setService(RegionService service)
Deprecated. 


Liferay 6.1.2-ce-ga3