public class RegionServiceUtil
extends 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,
String regionCode,
String name,
boolean active)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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
RegionServiceUtil to access the region remote service. Add custom service methods to com.liferay.portal.service.impl.RegionServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalExceptionpublic 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
PortalExceptionpublic static Region getRegion(long countryId, String regionCode) throws PortalException
PortalExceptionpublic 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()