@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 |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
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() |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
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 getBeanIdentifier()
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 void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static RegionService getService()
@Deprecated public void setService(RegionService service)