Klasse UserControllerDecorator

java.lang.Object
de.dlr.proseo.usermgr.rest.UserControllerDecorator
Alle implementierten Schnittstellen:
UserController

@RestController @RequestMapping(value="/proseo/user-mgr/{version}/users", produces="application/json") @Validated public class UserControllerDecorator extends Object implements UserController
No description (Generated with springmvc-raml-parser v.2.0.5)
  • Konstruktordetails

    • UserControllerDecorator

      public UserControllerDecorator()
  • Methodendetails

    • getUsers

      @RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestUser>> getUsers(@RequestParam(required=false) String mission, @RequestParam(required=false) Integer recordFrom, @RequestParam(required=false) Integer recordTo)
      Get users by mission (may be null, if root user sends request)
      Angegeben von:
      getUsers in Schnittstelle UserController
    • createUser

      @RequestMapping(value="", method=POST) public org.springframework.http.ResponseEntity<RestUser> createUser(@Valid @RequestBody @Valid RestUser restUser)
      Create a new user
      Angegeben von:
      createUser in Schnittstelle UserController
    • countUsers

      @RequestMapping(value="/count", method=GET) public org.springframework.http.ResponseEntity<?> countUsers(@RequestParam(required=false) String missionCode)
      Count the users matching the specified mission.
      Angegeben von:
      countUsers in Schnittstelle UserController
    • getUserByName

      @RequestMapping(value="/{username}", method=GET) public org.springframework.http.ResponseEntity<RestUser> getUserByName(@PathVariable String username)
      Get a user by name
      Angegeben von:
      getUserByName in Schnittstelle UserController
    • deleteUserByName

      @RequestMapping(value="/{username}", method=DELETE) public org.springframework.http.ResponseEntity<?> deleteUserByName(@PathVariable String username)
      Delete a user by user name
      Angegeben von:
      deleteUserByName in Schnittstelle UserController
    • modifyUser

      @RequestMapping(value="/{username}", method=PATCH) public org.springframework.http.ResponseEntity<RestUser> modifyUser(@PathVariable String username, @RequestBody RestUser restUser)
      Update a user by name
      Angegeben von:
      modifyUser in Schnittstelle UserController