public class GroupManagementServiceImpl extends Object implements GroupManagementService
| Constructor and Description |
|---|
GroupManagementServiceImpl() |
| 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) |
public javax.ws.rs.core.Response getGroups(String user, int offset, int limit)
getGroups in interface GroupManagementServicepublic javax.ws.rs.core.Response createGroup(org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup group)
createGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response getGroup(String groupName)
getGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response updateGroup(String groupName, org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup deviceGroup)
updateGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response deleteGroup(String groupName)
deleteGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response shareGroupWithUser(String groupName, String targetUser)
shareGroupWithUser in interface GroupManagementServicepublic javax.ws.rs.core.Response shareGroupWithRole(String groupName, String targetRole)
shareGroupWithRole in interface GroupManagementServicepublic javax.ws.rs.core.Response removeShareWithUser(String groupName, String targetUser)
removeShareWithUser in interface GroupManagementServicepublic javax.ws.rs.core.Response removeShareWithRole(String groupName, String targetUser)
removeShareWithRole in interface GroupManagementServicepublic javax.ws.rs.core.Response getUsersOfGroup(String groupName)
getUsersOfGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response getDevicesOfGroup(String groupName, int offset, int limit)
getDevicesOfGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response addDeviceToGroup(String groupName, org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier)
addDeviceToGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response removeDeviceFromGroup(String groupName, String type, String id)
removeDeviceFromGroup in interface GroupManagementServiceCopyright © 2016 WSO2. All rights reserved.