public class RegionServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.RegionServiceImpl
and is an
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.RegionService
Constructor and Description |
---|
RegionServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Region |
addRegion(long countryId,
java.lang.String regionCode,
java.lang.String name,
boolean active) |
static Region |
fetchRegion(long regionId) |
static Region |
fetchRegion(long countryId,
java.lang.String regionCode) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static Region |
getRegion(long regionId) |
static Region |
getRegion(long countryId,
java.lang.String regionCode) |
static java.util.List<Region> |
getRegions() |
static java.util.List<Region> |
getRegions(boolean active) |
static java.util.List<Region> |
getRegions(long countryId) |
static java.util.List<Region> |
getRegions(long countryId,
boolean active) |
static RegionService |
getService() |
public static Region addRegion(long countryId, java.lang.String regionCode, java.lang.String name, boolean active) throws PortalException
PortalException
public static Region fetchRegion(long regionId)
public static Region fetchRegion(long countryId, java.lang.String regionCode)
public static java.lang.String getOSGiServiceIdentifier()
public static Region getRegion(long regionId) throws PortalException
PortalException
public static Region getRegion(long countryId, java.lang.String regionCode) throws PortalException
PortalException
public static java.util.List<Region> getRegions()
public static java.util.List<Region> getRegions(boolean active)
public static java.util.List<Region> getRegions(long countryId)
public static java.util.List<Region> getRegions(long countryId, boolean active)
public static RegionService getService()