From 34e97aeeaedb99b7e7725f763866db139c47dee0 Mon Sep 17 00:00:00 2001 From: harshanl Date: Thu, 11 Aug 2016 14:03:09 +0530 Subject: [PATCH] Removed device search using roleName parameter. --- .../mgt/jaxrs/service/api/DeviceManagementService.java | 7 ------- .../jaxrs/service/impl/DeviceManagementServiceImpl.java | 1 - 2 files changed, 8 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceManagementService.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceManagementService.java index b4714623b2a..4143b846597 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceManagementService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/DeviceManagementService.java @@ -114,13 +114,6 @@ public interface DeviceManagementService { @QueryParam("user") @Size(max = 45) String user, - @ApiParam( - name = "roleName", - value = "Role name of the devices to be fetched.", - required = false) - @QueryParam("roleName") - @Size(max = 45) - String roleName, @ApiParam( name = "ownership", allowableValues = "BYOD, COPE", diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceManagementServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceManagementServiceImpl.java index 106e7b0fbcf..3697c1b0211 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceManagementServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/DeviceManagementServiceImpl.java @@ -66,7 +66,6 @@ public class DeviceManagementServiceImpl implements DeviceManagementService { @QueryParam("name") @Size(max = 45) String name, @QueryParam("type") @Size(max = 45) String type, @QueryParam("user") @Size(max = 45) String user, - @QueryParam("roleName") @Size(max = 45) String roleName, @QueryParam("ownership") @Size(max = 45) String ownership, @QueryParam("status") @Size(max = 45) String status, @QueryParam("since") String since,