@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 RegionService
PortalException
public Region fetchRegion(long regionId)
fetchRegion
in interface RegionService
public Region fetchRegion(long countryId, String regionCode)
fetchRegion
in interface RegionService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface RegionService
public Region getRegion(long regionId) throws PortalException
getRegion
in interface RegionService
PortalException
public Region getRegion(long countryId, String regionCode) throws PortalException
getRegion
in interface RegionService
PortalException
public List<Region> getRegions()
getRegions
in interface RegionService
public List<Region> getRegions(boolean active)
getRegions
in interface RegionService
public List<Region> getRegions(long countryId)
getRegions
in interface RegionService
public List<Region> getRegions(long countryId, boolean active)
getRegions
in interface RegionService
public RegionService getWrappedService()
getWrappedService
in interface ServiceWrapper<RegionService>
public void setWrappedService(RegionService regionService)
setWrappedService
in interface ServiceWrapper<RegionService>