class ConvocationRestController {

    @JsonView(Views.Convocation.class)
    @PutMapping("/{uuid}")
    public ResponseEntity<Convocation> update(
            @PathVariable String uuid,
            @RequestAttribute("STELA-Current-Profile-Rights") Set<Right> rights,
            @RequestAttribute("STELA-Current-Local-Authority-UUID") String currentLocalAuthUuid,
            @RequestAttribute("STELA-Current-Profile-UUID") String currentProfileUuid,
            @RequestBody Convocation params) {

        validateAccess(currentLocalAuthUuid, uuid, currentProfileUuid, null, rights,
                Collections.singletonList(Right.CONVOCATION_DEPOSIT), false);

        Convocation convocation = convocationService.update(uuid, currentLocalAuthUuid, params);
        return new ResponseEntity<>(convocation, HttpStatus.OK);
    }

    @Autowired public  ConvocationRestController(
            ConvocationService convocationService,
            RecipientService recipientService);

}