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() |
BaseModelSearchResult<Region> |
searchRegions(long companyId,
Boolean active,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Region> orderByComparator) |
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 RegionService
PortalException
public void deleteRegion(long regionId) throws PortalException
deleteRegion
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 List<Region> getRegions(long countryId, boolean active, int start, int end, OrderByComparator<Region> orderByComparator)
getRegions
in interface RegionService
public List<Region> getRegions(long countryId, int start, int end, OrderByComparator<Region> orderByComparator)
getRegions
in interface RegionService
public List<Region> getRegions(long companyId, String a2, boolean active) throws PortalException
getRegions
in interface RegionService
PortalException
public int getRegionsCount(long countryId)
getRegionsCount
in interface RegionService
public int getRegionsCount(long countryId, boolean active)
getRegionsCount
in interface RegionService
public BaseModelSearchResult<Region> searchRegions(long companyId, Boolean active, String keywords, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Region> orderByComparator) throws PortalException
searchRegions
in interface RegionService
PortalException
public Region updateActive(long regionId, boolean active) throws PortalException
updateActive
in interface RegionService
PortalException
public Region updateRegion(long regionId, boolean active, String name, double position, String regionCode) throws PortalException
updateRegion
in interface RegionService
PortalException
public RegionService getWrappedService()
getWrappedService
in interface ServiceWrapper<RegionService>
public void setWrappedService(RegionService regionService)
setWrappedService
in interface ServiceWrapper<RegionService>