@ProviderType
public class RegionServiceUtil
extends Object
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.RegionService
,
RegionServiceBaseImpl
,
RegionServiceImpl
Constructor and Description |
---|
RegionServiceUtil() |
Modifier and Type | Method and Description |
---|---|
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() |
public static Region addRegion(long countryId, String regionCode, String name, boolean active) throws PortalException
PortalException
public static Region fetchRegion(long regionId)
public static Region fetchRegion(long countryId, String regionCode)
public static String getOSGiServiceIdentifier()
public static Region getRegion(long regionId) throws PortalException
PortalException
public static Region getRegion(long countryId, String regionCode) throws PortalException
PortalException
public static List<Region> getRegions()
public static List<Region> getRegions(boolean active)
public static List<Region> getRegions(long countryId)
public static List<Region> getRegions(long countryId, boolean active)
public static RegionService getService()