@RestController @RequestMapping(value="/rest/admin/groups") public class IdmGroupsResource extends AbstractIdmGroupsResource
Constructor and Description |
---|
IdmGroupsResource() |
Modifier and Type | Method and Description |
---|---|
void |
addGroupMember(Long groupId,
Long userId) |
com.activiti.model.idm.GroupRepresentation |
createNewGroup(com.activiti.model.idm.GroupRepresentation groupRepresentation) |
void |
deleteGroup(Long groupId) |
void |
deleteGroupMember(Long groupId,
Long userId) |
com.activiti.model.idm.GroupRepresentation |
getGroup(Long groupId,
Boolean includeAllUsers) |
List<com.activiti.model.idm.LightGroupRepresentation> |
getGroups() |
com.activiti.model.common.ResultListDataRepresentation |
getGroupUsers(Long groupId,
String filter,
Integer page,
Integer pageSize) |
com.activiti.model.idm.GroupRepresentation |
updateGroup(Long groupId,
com.activiti.model.idm.GroupRepresentation groupRepresentation) |
getGroup
@RequestMapping(method=GET) public List<com.activiti.model.idm.LightGroupRepresentation> getGroups()
getGroups
in class AbstractIdmGroupsResource
@RequestMapping(value="/{groupId}", method=GET) public com.activiti.model.idm.GroupRepresentation getGroup(@PathVariable Long groupId, @RequestParam(required=false) Boolean includeAllUsers)
getGroup
in class AbstractIdmGroupsResource
@RequestMapping(value="/{groupId}/users", method=GET) public com.activiti.model.common.ResultListDataRepresentation getGroupUsers(@PathVariable Long groupId, @RequestParam(required=false) String filter, @RequestParam(required=false) Integer page, @RequestParam(required=false) Integer pageSize)
getGroupUsers
in class AbstractIdmGroupsResource
@RequestMapping(method=POST) public com.activiti.model.idm.GroupRepresentation createNewGroup(@RequestBody com.activiti.model.idm.GroupRepresentation groupRepresentation)
createNewGroup
in class AbstractIdmGroupsResource
@RequestMapping(value="/{groupId}", method=PUT) public com.activiti.model.idm.GroupRepresentation updateGroup(@PathVariable Long groupId, @RequestBody com.activiti.model.idm.GroupRepresentation groupRepresentation)
updateGroup
in class AbstractIdmGroupsResource
@RequestMapping(value="/{groupId}", method=DELETE) public void deleteGroup(@PathVariable Long groupId)
deleteGroup
in class AbstractIdmGroupsResource
@RequestMapping(value="/{groupId}/members/{userId}", method=POST) public void addGroupMember(@PathVariable Long groupId, @PathVariable Long userId)
addGroupMember
in class AbstractIdmGroupsResource
@RequestMapping(value="/{groupId}/members/{userId}", method=DELETE) public void deleteGroupMember(@PathVariable Long groupId, @PathVariable Long userId)
deleteGroupMember
in class AbstractIdmGroupsResource
Copyright © 2014–2015 Alfresco. All rights reserved.