@ProviderType
public class RegionServiceUtil
extends java.lang.Object
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.RegionService,
RegionServiceBaseImpl,
com.liferay.portal.service.impl.RegionServiceImpl| 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() |
void |
setService(RegionService service)
Deprecated.
As of 6.2.0
|
public static Region addRegion(long countryId, java.lang.String regionCode, java.lang.String name, boolean active) throws PortalException
PortalExceptionpublic static Region fetchRegion(long countryId, java.lang.String regionCode)
public static Region fetchRegion(long regionId)
public static java.lang.String getOSGiServiceIdentifier()
public static Region getRegion(long countryId, java.lang.String regionCode) throws PortalException
PortalExceptionpublic static Region getRegion(long regionId) throws PortalException
PortalExceptionpublic 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()
@Deprecated public void setService(RegionService service)