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,
boolean active,
String name,
double position,
String regionCode,
ServiceContext serviceContext) |
static void |
deleteRegion(long regionId) |
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 List<Region> |
getRegions(long countryId,
boolean active,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
static List<Region> |
getRegions(long countryId,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
static List<Region> |
getRegions(long companyId,
String a2,
boolean active) |
static int |
getRegionsCount(long countryId) |
static int |
getRegionsCount(long countryId,
boolean active) |
static RegionService |
getService() |
static BaseModelSearchResult<Region> |
searchRegions(long companyId,
Boolean active,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
static void |
setService(RegionService service) |
static Region |
updateActive(long regionId,
boolean active) |
static Region |
updateRegion(long regionId,
boolean active,
String name,
double position,
String regionCode) |
public static Region addRegion(long countryId, boolean active, String name, double position, String regionCode, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteRegion(long regionId) 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 List<Region> getRegions(long countryId, boolean active, int start, int end, OrderByComparator<Region> orderByComparator)
public static List<Region> getRegions(long countryId, int start, int end, OrderByComparator<Region> orderByComparator)
public static List<Region> getRegions(long companyId, String a2, boolean active) throws PortalException
PortalException
public static int getRegionsCount(long countryId)
public static int getRegionsCount(long countryId, boolean active)
public static BaseModelSearchResult<Region> searchRegions(long companyId, Boolean active, String keywords, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Region> orderByComparator) throws PortalException
PortalException
public static Region updateActive(long regionId, boolean active) throws PortalException
PortalException
public static Region updateRegion(long regionId, boolean active, String name, double position, String regionCode) throws PortalException
PortalException
public static RegionService getService()
public static void setService(RegionService service)