public class DeviceManagementServiceImpl extends Object implements DeviceManagementService
| Constructor and Description |
|---|
DeviceManagementServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
changeDeviceStatus(String type,
String id,
org.wso2.carbon.device.mgt.common.EnrolmentInfo.Status newsStatus)
Change device status.
|
javax.ws.rs.core.Response |
deleteDevice(String deviceType,
String deviceId) |
javax.ws.rs.core.Response |
getComplianceDataOfDevice(String type,
String id) |
javax.ws.rs.core.Response |
getDevice(String type,
String id,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getDeviceByUser(boolean requireDeviceInfo,
int offset,
int limit) |
javax.ws.rs.core.Response |
getDeviceLocation(String type,
String id,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getDeviceOperations(String type,
String id,
String ifModifiedSince,
int offset,
int limit,
String owner) |
javax.ws.rs.core.Response |
getDevices(String name,
String type,
String user,
String role,
String ownership,
String status,
int groupId,
String since,
String ifModifiedSince,
boolean requireDeviceInfo,
int offset,
int limit) |
javax.ws.rs.core.Response |
getEffectivePolicyOfDevice(String type,
String id,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getFeaturesOfDevice(String type,
String id,
String ifModifiedSince) |
javax.ws.rs.core.Response |
getInstalledApplications(String type,
String id,
String ifModifiedSince,
int offset,
int limit) |
javax.ws.rs.core.Response |
renameDevice(org.wso2.carbon.device.mgt.common.Device device,
String deviceType,
String deviceId) |
javax.ws.rs.core.Response |
searchDevices(int offset,
int limit,
org.wso2.carbon.device.mgt.common.search.SearchContext searchContext) |
public javax.ws.rs.core.Response getDevices(String name, String type, String user, String role, String ownership, String status, int groupId, String since, @HeaderParam(value="If-Modified-Since") String ifModifiedSince, boolean requireDeviceInfo, int offset, int limit)
getDevices in interface DeviceManagementServicepublic javax.ws.rs.core.Response getDeviceByUser(boolean requireDeviceInfo,
int offset,
int limit)
getDeviceByUser in interface DeviceManagementServicepublic javax.ws.rs.core.Response deleteDevice(String deviceType, String deviceId)
deleteDevice in interface DeviceManagementServicepublic javax.ws.rs.core.Response renameDevice(org.wso2.carbon.device.mgt.common.Device device,
String deviceType,
String deviceId)
renameDevice in interface DeviceManagementServicepublic javax.ws.rs.core.Response getDevice(@Size(max=45)
String type,
@Size(max=45)
String id,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
getDevice in interface DeviceManagementServicepublic javax.ws.rs.core.Response getDeviceLocation(@Size(max=45)
String type,
@Size(max=45)
String id,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
getDeviceLocation in interface DeviceManagementServicepublic javax.ws.rs.core.Response getFeaturesOfDevice(@Size(max=45)
String type,
@Size(max=45)
String id,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
getFeaturesOfDevice in interface DeviceManagementServicepublic javax.ws.rs.core.Response searchDevices(int offset,
int limit,
org.wso2.carbon.device.mgt.common.search.SearchContext searchContext)
searchDevices in interface DeviceManagementServicepublic javax.ws.rs.core.Response getInstalledApplications(@Size(max=45)
String type,
@Size(max=45)
String id,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince,
int offset,
int limit)
getInstalledApplications in interface DeviceManagementServicepublic javax.ws.rs.core.Response getDeviceOperations(@Size(max=45)
String type,
@Size(max=45)
String id,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince,
int offset,
int limit,
String owner)
getDeviceOperations in interface DeviceManagementServicepublic javax.ws.rs.core.Response getEffectivePolicyOfDevice(@Size(max=45)
String type,
@Size(max=45)
String id,
@HeaderParam(value="If-Modified-Since")
String ifModifiedSince)
getEffectivePolicyOfDevice in interface DeviceManagementServicepublic javax.ws.rs.core.Response getComplianceDataOfDevice(@Size(max=45)
String type,
@Size(max=45)
String id)
getComplianceDataOfDevice in interface DeviceManagementServicepublic javax.ws.rs.core.Response changeDeviceStatus(@Size(max=45)
String type,
@Size(max=45)
String id,
org.wso2.carbon.device.mgt.common.EnrolmentInfo.Status newsStatus)
changeDeviceStatus in interface DeviceManagementServicetype - Device typeid - Device idnewsStatus - Device new statusResponse objectCopyright © 2017 WSO2. All rights reserved.