| Constructor and Description |
|---|
GroupImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addDevice(String groupName,
String owner,
org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier) |
javax.ws.rs.core.Response |
addSharing(String shareUser,
String groupName,
String owner,
String roleName,
String[] permissions) |
javax.ws.rs.core.Response |
createGroup(org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup group) |
javax.ws.rs.core.Response |
deleteGroup(String groupName,
String owner) |
javax.ws.rs.core.Response |
findGroups(String groupName,
String user) |
javax.ws.rs.core.Response |
getAllGroupCount() |
javax.ws.rs.core.Response |
getAllGroups() |
javax.ws.rs.core.Response |
getDeviceCount(String groupName,
String owner) |
javax.ws.rs.core.Response |
getDevices(String groupName,
String owner,
int startIdx,
int length) |
javax.ws.rs.core.Response |
getGroup(String groupName,
String owner) |
javax.ws.rs.core.Response |
getGroupCount(String userName) |
javax.ws.rs.core.Response |
getGroups(int startIndex,
int length) |
javax.ws.rs.core.Response |
getGroups(String userName,
int startIndex,
int length) |
javax.ws.rs.core.Response |
getGroups(String userName,
String permission) |
javax.ws.rs.core.Response |
getPermissions(String userName,
String groupName,
String owner) |
javax.ws.rs.core.Response |
getRoles(String groupName,
String owner,
String userName) |
javax.ws.rs.core.Response |
getUsers(String groupName,
String owner) |
javax.ws.rs.core.Response |
removeDevice(String groupName,
String owner,
String deviceId,
String deviceType) |
javax.ws.rs.core.Response |
removeSharing(String userName,
String groupName,
String owner,
String roleName) |
javax.ws.rs.core.Response |
setRoles(String groupName,
String owner,
String userName,
List<String> selectedRoles) |
javax.ws.rs.core.Response |
shareGroup(String groupName,
String owner,
String shareUser,
String sharingRole) |
javax.ws.rs.core.Response |
unShareGroup(String groupName,
String owner,
String unShareUser,
String sharingRole) |
javax.ws.rs.core.Response |
updateGroup(String groupName,
String owner,
org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup deviceGroup) |
public javax.ws.rs.core.Response createGroup(org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup group)
createGroup in interface Grouppublic javax.ws.rs.core.Response updateGroup(String groupName, String owner, org.wso2.carbon.device.mgt.common.group.mgt.DeviceGroup deviceGroup)
updateGroup in interface Grouppublic javax.ws.rs.core.Response deleteGroup(String groupName, String owner)
deleteGroup in interface Grouppublic javax.ws.rs.core.Response getGroups(int startIndex,
int length)
public javax.ws.rs.core.Response getAllGroups()
getAllGroups in interface Grouppublic javax.ws.rs.core.Response getGroups(String userName, int startIndex, int length)
public javax.ws.rs.core.Response findGroups(String groupName, String user)
findGroups in interface Grouppublic javax.ws.rs.core.Response getAllGroupCount()
getAllGroupCount in interface Grouppublic javax.ws.rs.core.Response getGroupCount(String userName)
getGroupCount in interface Grouppublic javax.ws.rs.core.Response shareGroup(String groupName, String owner, String shareUser, String sharingRole)
shareGroup in interface Grouppublic javax.ws.rs.core.Response unShareGroup(String groupName, String owner, String unShareUser, String sharingRole)
unShareGroup in interface Grouppublic javax.ws.rs.core.Response addSharing(String shareUser, String groupName, String owner, String roleName, String[] permissions)
addSharing in interface Grouppublic javax.ws.rs.core.Response removeSharing(String userName, String groupName, String owner, String roleName)
removeSharing in interface Grouppublic javax.ws.rs.core.Response setRoles(String groupName, String owner, String userName, List<String> selectedRoles)
public javax.ws.rs.core.Response getDevices(String groupName, String owner, int startIdx, int length)
getDevices in interface Grouppublic javax.ws.rs.core.Response getDeviceCount(String groupName, String owner)
getDeviceCount in interface Grouppublic javax.ws.rs.core.Response addDevice(String groupName, String owner, org.wso2.carbon.device.mgt.common.DeviceIdentifier deviceIdentifier)
public javax.ws.rs.core.Response removeDevice(String groupName, String owner, String deviceId, String deviceType)
removeDevice in interface Grouppublic javax.ws.rs.core.Response getPermissions(String userName, String groupName, String owner)
getPermissions in interface GroupCopyright © 2016 WSO2. All rights reserved.