@ProviderType public class RegionServiceWrapper extends Object implements RegionService, ServiceWrapper<RegionService>
RegionService.RegionService| Constructor and Description |
|---|
RegionServiceWrapper(RegionService regionService) |
| Modifier and Type | Method and Description |
|---|---|
Region |
addRegion(long countryId,
String regionCode,
String name,
boolean active) |
Region |
fetchRegion(long regionId) |
Region |
fetchRegion(long countryId,
String regionCode) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Region |
getRegion(long regionId) |
Region |
getRegion(long countryId,
String regionCode) |
List<Region> |
getRegions() |
List<Region> |
getRegions(boolean active) |
List<Region> |
getRegions(long countryId) |
List<Region> |
getRegions(long countryId,
boolean active) |
RegionService |
getWrappedService() |
void |
setWrappedService(RegionService regionService) |
public RegionServiceWrapper(RegionService regionService)
public Region addRegion(long countryId, String regionCode, String name, boolean active) throws PortalException
addRegion in interface RegionServicePortalExceptionpublic Region fetchRegion(long countryId, String regionCode)
fetchRegion in interface RegionServicepublic Region fetchRegion(long regionId)
fetchRegion in interface RegionServicepublic Region getRegion(long countryId, String regionCode) throws PortalException
getRegion in interface RegionServicePortalExceptionpublic Region getRegion(long regionId) throws PortalException
getRegion in interface RegionServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface RegionServicepublic List<Region> getRegions()
getRegions in interface RegionServicepublic List<Region> getRegions(boolean active)
getRegions in interface RegionServicepublic List<Region> getRegions(long countryId)
getRegions in interface RegionServicepublic List<Region> getRegions(long countryId, boolean active)
getRegions in interface RegionServicepublic RegionService getWrappedService()
getWrappedService in interface ServiceWrapper<RegionService>public void setWrappedService(RegionService regionService)
setWrappedService in interface ServiceWrapper<RegionService>