public interface GroupManagementService
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addDeviceToGroup(String groupName,
org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier) |
javax.ws.rs.core.Response |
createGroup(org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup group) |
javax.ws.rs.core.Response |
deleteGroup(String groupName) |
javax.ws.rs.core.Response |
getDevicesOfGroup(String groupName,
int offset,
int limit) |
javax.ws.rs.core.Response |
getGroup(String groupName) |
javax.ws.rs.core.Response |
getGroups(String user,
int offset,
int limit) |
javax.ws.rs.core.Response |
getUsersOfGroup(String groupName) |
javax.ws.rs.core.Response |
removeDeviceFromGroup(String groupName,
String type,
String id) |
javax.ws.rs.core.Response |
removeShareWithRole(String groupName,
String targetUser) |
javax.ws.rs.core.Response |
removeShareWithUser(String groupName,
String targetUser) |
javax.ws.rs.core.Response |
shareGroupWithRole(String groupName,
String targetRole) |
javax.ws.rs.core.Response |
shareGroupWithUser(String groupName,
String targetUser) |
javax.ws.rs.core.Response |
updateGroup(String groupName,
org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup deviceGroup) |
javax.ws.rs.core.Response getGroups(String user, int offset, int limit)
javax.ws.rs.core.Response createGroup(org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup group)
javax.ws.rs.core.Response getGroup(String groupName)
javax.ws.rs.core.Response updateGroup(String groupName, org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup deviceGroup)
javax.ws.rs.core.Response deleteGroup(String groupName)
javax.ws.rs.core.Response shareGroupWithUser(String groupName, String targetUser)
javax.ws.rs.core.Response shareGroupWithRole(String groupName, String targetRole)
javax.ws.rs.core.Response removeShareWithUser(String groupName, String targetUser)
javax.ws.rs.core.Response removeShareWithRole(String groupName, String targetUser)
javax.ws.rs.core.Response getUsersOfGroup(String groupName)
javax.ws.rs.core.Response getDevicesOfGroup(String groupName, int offset, int limit)
javax.ws.rs.core.Response addDeviceToGroup(String groupName, org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier)
Copyright © 2016 WSO2. All rights reserved.