public class RegionServiceWrapper extends Object implements RegionService, ServiceWrapper<RegionService>
RegionService.RegionService| Constructor and Description |
|---|
RegionServiceWrapper() |
RegionServiceWrapper(RegionService regionService) |
| Modifier and Type | Method and Description |
|---|---|
Region |
addRegion(long countryId,
boolean active,
String name,
double position,
String regionCode,
ServiceContext serviceContext) |
void |
deleteRegion(long regionId) |
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) |
List<Region> |
getRegions(long countryId,
boolean active,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
List<Region> |
getRegions(long countryId,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
List<Region> |
getRegions(long companyId,
String a2,
boolean active) |
int |
getRegionsCount(long countryId) |
int |
getRegionsCount(long countryId,
boolean active) |
RegionService |
getWrappedService() |
void |
setWrappedService(RegionService regionService) |
Region |
updateActive(long regionId,
boolean active) |
Region |
updateRegion(long regionId,
boolean active,
String name,
double position,
String regionCode) |
public RegionServiceWrapper()
public RegionServiceWrapper(RegionService regionService)
public Region addRegion(long countryId, boolean active, String name, double position, String regionCode, ServiceContext serviceContext) throws PortalException
addRegion in interface RegionServicePortalExceptionpublic void deleteRegion(long regionId)
throws PortalException
deleteRegion in interface RegionServicePortalExceptionpublic Region fetchRegion(long regionId)
fetchRegion in interface RegionServicepublic Region fetchRegion(long countryId, String regionCode)
fetchRegion in interface RegionServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface RegionServicepublic Region getRegion(long regionId) throws PortalException
getRegion in interface RegionServicePortalExceptionpublic Region getRegion(long countryId, String regionCode) throws PortalException
getRegion in interface RegionServicePortalExceptionpublic 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 List<Region> getRegions(long countryId, boolean active, int start, int end, OrderByComparator<Region> orderByComparator)
getRegions in interface RegionServicepublic List<Region> getRegions(long countryId, int start, int end, OrderByComparator<Region> orderByComparator)
getRegions in interface RegionServicepublic List<Region> getRegions(long companyId, String a2, boolean active) throws PortalException
getRegions in interface RegionServicePortalExceptionpublic int getRegionsCount(long countryId)
getRegionsCount in interface RegionServicepublic int getRegionsCount(long countryId,
boolean active)
getRegionsCount in interface RegionServicepublic Region updateActive(long regionId, boolean active) throws PortalException
updateActive in interface RegionServicePortalExceptionpublic Region updateRegion(long regionId, boolean active, String name, double position, String regionCode) throws PortalException
updateRegion in interface RegionServicePortalExceptionpublic RegionService getWrappedService()
getWrappedService in interface ServiceWrapper<RegionService>public void setWrappedService(RegionService regionService)
setWrappedService in interface ServiceWrapper<RegionService>