@Path(value="groups") public class GroupManager extends Object
| Constructor and Description |
|---|
GroupManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addUserToGroup(String groupId,
String userId) |
String |
createGroup(String group) |
javax.ws.rs.core.Response |
createVreFolder(String groupId) |
String |
deleteGroup(String id) |
List<String> |
getGroups() |
List<String> |
getUsersOfGroup(String groupId) |
boolean |
removeUserFromGroup(String groupId,
String userId) |
@PUT
@Path(value="{id}")
public boolean addUserToGroup(@PathParam(value="id")
String groupId,
@FormParam(value="userId")
String userId)
@DELETE
@Path(value="{groupId}/users/{userId}")
public boolean removeUserFromGroup(@PathParam(value="groupId")
String groupId,
@PathParam(value="userId")
String userId)
@GET
@Path(value="{groupId}/users")
public List<String> getUsersOfGroup(@PathParam(value="groupId")
String groupId)
@POST
@Path(value="{groupId}/createVREFolder")
public javax.ws.rs.core.Response createVreFolder(@PathParam(value="groupId")
String groupId)
Copyright © 2019. All Rights Reserved.