Liferay 6.2-ce-ga5

com.liferay.portal.service
Class RegionServiceUtil

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

@ProviderType
public class RegionServiceUtil
extends Object

Provides the remote service utility for Region. This utility wraps com.liferay.portal.service.impl.RegionServiceImpl and is the primary access point for service operations in application layer code running on a remote server. 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, com.liferay.portal.service.impl.RegionServiceImpl

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. As of 6.2.0
 
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. As of 6.2.0


Liferay 6.2-ce-ga5