class ConvocationRestController {

    @JsonView(Views.ConvocationInternal.class)
    @GetMapping("/{uuid}")
    public ResponseEntity<Convocation> getConvocation(
            @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) {

        validateAccess(currentLocalAuthUuid, uuid, currentProfileUuid, null, rights, Arrays.asList(Right.values()),
                false);

        Convocation convocation = convocationService.getConvocation(uuid, currentLocalAuthUuid);
        convocation.setProfile(convocationService.retrieveProfile(convocation.getProfileUuid()));
        return new ResponseEntity<>(convocation, HttpStatus.OK);
    }

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

}