Package de.dlr.proseo.usermgr.rest
Interface GroupController
- All Known Implementing Classes:
GroupControllerDecorator,GroupControllerImpl
public interface GroupController
No description
(Generated with springmvc-raml-parser v.2.0.5)
-
Method Summary
Modifier and TypeMethodDescriptionaddGroupMember(Long id, String username) Add a member to the given user grouporg.springframework.http.ResponseEntity<?> countGroups(String missionCode) Count the user groups matching the specified missionorg.springframework.http.ResponseEntity<RestGroup> createGroup(@Valid RestGroup restGroup) Create a new user grouporg.springframework.http.ResponseEntity<?> deleteGroupById(Long id) Delete a user group by IDorg.springframework.http.ResponseEntity<RestGroup> getGroupById(Long id) Get a user group by IDgetGroupMembers(Long id) Get all members of the given user groupGet user groups by mission and optionally by group nameorg.springframework.http.ResponseEntity<RestGroup> modifyGroup(Long id, RestGroup restGroup) Update a user group by IDorg.springframework.http.ResponseEntity<?> removeGroupMember(Long id, String username) Delete a member from the given user group
-
Method Details
-
getGroups
org.springframework.http.ResponseEntity<List<RestGroup>> getGroups(String mission, String groupName, Integer recordFrom, Integer recordTo) Get user groups by mission and optionally by group name -
createGroup
Create a new user group -
countGroups
Count the user groups matching the specified mission -
getGroupById
Get a user group by ID -
deleteGroupById
Delete a user group by ID -
modifyGroup
Update a user group by ID -
getGroupMembers
Get all members of the given user group -
addGroupMember
Add a member to the given user group -
removeGroupMember
Delete a member from the given user group
-