public class GroupManagementServiceImpl extends Object implements GroupManagementService
| Constructor and Description |
|---|
GroupManagementServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addDevicesToGroup(int groupId,
List<org.wso2.carbon.device.mgt.common.DeviceIdentifier> deviceIdentifiers) |
javax.ws.rs.core.Response |
createGroup(org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup group) |
javax.ws.rs.core.Response |
deleteGroup(int groupId) |
javax.ws.rs.core.Response |
getDeviceCountOfGroup(int groupId) |
javax.ws.rs.core.Response |
getDevicesOfGroup(int groupId,
int offset,
int limit) |
javax.ws.rs.core.Response |
getGroup(int groupId) |
javax.ws.rs.core.Response |
getGroupCount() |
javax.ws.rs.core.Response |
getGroups(String deviceId,
String deviceType) |
javax.ws.rs.core.Response |
getGroups(String name,
String owner,
int offset,
int limit) |
javax.ws.rs.core.Response |
getRolesOfGroup(int groupId) |
javax.ws.rs.core.Response |
manageGroupSharing(int groupId,
List<String> userRoles) |
javax.ws.rs.core.Response |
removeDevicesFromGroup(int groupId,
List<org.wso2.carbon.device.mgt.common.DeviceIdentifier> deviceIdentifiers) |
javax.ws.rs.core.Response |
updateDeviceAssigningToGroups(DeviceToGroupsAssignment deviceToGroupsAssignment) |
javax.ws.rs.core.Response |
updateGroup(int groupId,
org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup deviceGroup) |
public javax.ws.rs.core.Response getGroups(String name, String owner, int offset, int limit)
getGroups in interface GroupManagementServicepublic javax.ws.rs.core.Response getGroupCount()
getGroupCount 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(int groupId)
getGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response updateGroup(int groupId,
org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup deviceGroup)
updateGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response deleteGroup(int groupId)
deleteGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response manageGroupSharing(int groupId,
List<String> userRoles)
manageGroupSharing in interface GroupManagementServicepublic javax.ws.rs.core.Response getRolesOfGroup(int groupId)
getRolesOfGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response getDevicesOfGroup(int groupId,
int offset,
int limit)
getDevicesOfGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response getDeviceCountOfGroup(int groupId)
getDeviceCountOfGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response addDevicesToGroup(int groupId,
List<org.wso2.carbon.device.mgt.common.DeviceIdentifier> deviceIdentifiers)
addDevicesToGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response removeDevicesFromGroup(int groupId,
List<org.wso2.carbon.device.mgt.common.DeviceIdentifier> deviceIdentifiers)
removeDevicesFromGroup in interface GroupManagementServicepublic javax.ws.rs.core.Response updateDeviceAssigningToGroups(DeviceToGroupsAssignment deviceToGroupsAssignment)
updateDeviceAssigningToGroups in interface GroupManagementServicepublic javax.ws.rs.core.Response getGroups(String deviceId, String deviceType)
getGroups in interface GroupManagementServiceCopyright © 2017 WSO2. All rights reserved.