com.liferay.portal.service
Class RegionServiceUtil
java.lang.Object
com.liferay.portal.service.RegionServiceUtil
@ProviderType
public class RegionServiceUtil
- extends Object
Provides the remote service utility for Region. This utility wraps
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.
- See Also:
RegionService,
RegionServiceBaseImpl,
RegionServiceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegionServiceUtil
public RegionServiceUtil()
addRegion
public static Region addRegion(long countryId,
String regionCode,
String name,
boolean active)
throws PortalException
- Throws:
PortalException
fetchRegion
public static Region fetchRegion(long countryId,
String regionCode)
fetchRegion
public static Region fetchRegion(long regionId)
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getRegion
public static Region getRegion(long countryId,
String regionCode)
throws PortalException
- Throws:
PortalException
getRegion
public static Region getRegion(long regionId)
throws PortalException
- Throws:
PortalException
getRegions
public static List<Region> getRegions()
getRegions
public static List<Region> getRegions(boolean active)
getRegions
public static List<Region> getRegions(long countryId)
getRegions
public static List<Region> getRegions(long countryId,
boolean active)
getService
public static RegionService getService()