Liferay 7.0-ce-b4

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 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, 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 regionId)
           
static Region fetchRegion(long countryId, String regionCode)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
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()
           
 
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

addRegion

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

fetchRegion

public static Region fetchRegion(long countryId,
                                 String regionCode)

fetchRegion

public static Region fetchRegion(long regionId)

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getRegion

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

getRegion

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

getRegions

public static List<Region> getRegions()

getRegions

public static List<Region> getRegions(boolean active)

getRegions

public static List<Region> getRegions(long countryId)

getRegions

public static List<Region> getRegions(long countryId,
                                      boolean active)

getService

public static RegionService getService()

Liferay 7.0-ce-b4