test_class.declarator: convocationService
test_class.modifier: @SpyBean
test_class.original_string: @SpyBean
      ConvocationService convocationService;
test_class.type: ConvocationService
test_class.var_name: convocationService
test_class.declarator: convocationRepository
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      ConvocationRepository convocationRepository;
test_class.type: ConvocationRepository
test_class.var_name: convocationRepository
test_class.declarator: localAuthorityService
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      LocalAuthorityService localAuthorityService;
test_class.type: LocalAuthorityService
test_class.var_name: localAuthorityService
test_class.declarator: storageService
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      StorageService storageService;
test_class.type: StorageService
test_class.var_name: storageService
test_class.declarator: localesService
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      LocalesService localesService;
test_class.type: LocalesService
test_class.var_name: localesService
test_class.declarator: externalRestService
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      ExternalRestService externalRestService;
test_class.type: ExternalRestService
test_class.var_name: externalRestService
test_class.declarator: tagService
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      TagService tagService;
test_class.type: TagService
test_class.var_name: tagService
test_class.declarator: recipientResponseRepository
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      RecipientResponseRepository recipientResponseRepository;
test_class.type: RecipientResponseRepository
test_class.var_name: recipientResponseRepository
test_class.declarator: questionResponseRepository
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      QuestionResponseRepository questionResponseRepository;
test_class.type: QuestionResponseRepository
test_class.var_name: questionResponseRepository
test_class.declarator: attachmentRepository
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      AttachmentRepository attachmentRepository;
test_class.type: AttachmentRepository
test_class.var_name: attachmentRepository
test_class.declarator: applicationEventPublisher
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      ApplicationEventPublisher applicationEventPublisher;
test_class.type: ApplicationEventPublisher
test_class.var_name: applicationEventPublisher
test_class.declarator: entityManager
test_class.modifier: @MockBean
      private
test_class.original_string: @MockBean
      private EntityManager entityManager;
test_class.type: EntityManager
test_class.var_name: entityManager
test_class.declarator: entityManagerFactory
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      EntityManagerFactory entityManagerFactory;
test_class.type: EntityManagerFactory
test_class.var_name: entityManagerFactory
test_class.declarator: pdfGeneratorUtil
test_class.modifier: @MockBean
test_class.original_string: @MockBean
      PdfGeneratorUtil pdfGeneratorUtil;
test_class.type: PdfGeneratorUtil
test_class.var_name: pdfGeneratorUtil
test_class.file: convocation-service/src/test/java/fr/sictiam/stela/convocationservice/service/ConvocationServiceTest.java
test_class.identifier: ConvocationServiceTest
test_case.body: @Test
      public void cancelConvocation() {
  
          Convocation convocation = convocationService.getConvocation("anything", "anything");
          convocationService.cancelConvocation(convocation);
  
          assertTrue(convocation.isCancelled());
  
          verify(convocationRepository).save(argThat(Convocation::isCancelled));
      }
test_case.class_method_signature: ConvocationServiceTest.cancelConvocation()
test_case.full_signature: @Test public void cancelConvocation()
test_case.identifier: cancelConvocation
test_case.invocations: getConvocation cancelConvocation assertTrue isCancelled save verify argThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void cancelConvocation()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(ConvocationService.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(ConvocationService.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: entityManager
focal_class.modifier: @PersistenceContext
      private
focal_class.original_string: @PersistenceContext
      private EntityManager entityManager;
focal_class.type: EntityManager
focal_class.var_name: entityManager
focal_class.declarator: convocationRepository
focal_class.modifier: private final
focal_class.original_string: private final ConvocationRepository convocationRepository;
focal_class.type: ConvocationRepository
focal_class.var_name: convocationRepository
focal_class.declarator: localAuthorityService
focal_class.modifier: private final
focal_class.original_string: private final LocalAuthorityService localAuthorityService;
focal_class.type: LocalAuthorityService
focal_class.var_name: localAuthorityService
focal_class.declarator: storageService
focal_class.modifier: private final
focal_class.original_string: private final StorageService storageService;
focal_class.type: StorageService
focal_class.var_name: storageService
focal_class.declarator: externalRestService
focal_class.modifier: private final
focal_class.original_string: private final ExternalRestService externalRestService;
focal_class.type: ExternalRestService
focal_class.var_name: externalRestService
focal_class.declarator: localesService
focal_class.modifier: private final
focal_class.original_string: private final LocalesService localesService;
focal_class.type: LocalesService
focal_class.var_name: localesService
focal_class.declarator: tagService
focal_class.modifier: private final
focal_class.original_string: private final TagService tagService;
focal_class.type: TagService
focal_class.var_name: tagService
focal_class.declarator: recipientResponseRepository
focal_class.modifier: private final
focal_class.original_string: private final RecipientResponseRepository recipientResponseRepository;
focal_class.type: RecipientResponseRepository
focal_class.var_name: recipientResponseRepository
focal_class.declarator: questionResponseRepository
focal_class.modifier: private final
focal_class.original_string: private final QuestionResponseRepository questionResponseRepository;
focal_class.type: QuestionResponseRepository
focal_class.var_name: questionResponseRepository
focal_class.declarator: attachmentRepository
focal_class.modifier: private final
focal_class.original_string: private final AttachmentRepository attachmentRepository;
focal_class.type: AttachmentRepository
focal_class.var_name: attachmentRepository
focal_class.declarator: applicationEventPublisher
focal_class.modifier: private final
focal_class.original_string: private final ApplicationEventPublisher applicationEventPublisher;
focal_class.type: ApplicationEventPublisher
focal_class.var_name: applicationEventPublisher
focal_class.declarator: pdfGeneratorUtil
focal_class.modifier: private final
focal_class.original_string: private final PdfGeneratorUtil pdfGeneratorUtil;
focal_class.type: PdfGeneratorUtil
focal_class.var_name: pdfGeneratorUtil
focal_class.file: convocation-service/src/main/java/fr/sictiam/stela/convocationservice/service/ConvocationService.java
focal_class.identifier: ConvocationService
focal_class.class_method_signature: ConvocationService.ConvocationService(
              ConvocationRepository convocationRepository,
              LocalAuthorityService localAuthorityService,
              StorageService storageService,
              ExternalRestService externalRestService,
              LocalesService localesService,
              TagService tagService,
              RecipientResponseRepository recipientResponseRepository,
              QuestionResponseRepository questionResponseRepository,
              AttachmentRepository attachmentRepository,
              ApplicationEventPublisher applicationEventPublisher,
              PdfGeneratorUtil pdfGeneratorUtil)
focal_class.full_signature: @Autowired public  ConvocationService(
              ConvocationRepository convocationRepository,
              LocalAuthorityService localAuthorityService,
              StorageService storageService,
              ExternalRestService externalRestService,
              LocalesService localesService,
              TagService tagService,
              RecipientResponseRepository recipientResponseRepository,
              QuestionResponseRepository questionResponseRepository,
              AttachmentRepository attachmentRepository,
              ApplicationEventPublisher applicationEventPublisher,
              PdfGeneratorUtil pdfGeneratorUtil)
focal_class.identifier: ConvocationService
focal_class.modifiers: @Autowired public
focal_class.parameters: (
              ConvocationRepository convocationRepository,
              LocalAuthorityService localAuthorityService,
              StorageService storageService,
              ExternalRestService externalRestService,
              LocalesService localesService,
              TagService tagService,
              RecipientResponseRepository recipientResponseRepository,
              QuestionResponseRepository questionResponseRepository,
              AttachmentRepository attachmentRepository,
              ApplicationEventPublisher applicationEventPublisher,
              PdfGeneratorUtil pdfGeneratorUtil)
focal_class.signature:  ConvocationService(
              ConvocationRepository convocationRepository,
              LocalAuthorityService localAuthorityService,
              StorageService storageService,
              ExternalRestService externalRestService,
              LocalesService localesService,
              TagService tagService,
              RecipientResponseRepository recipientResponseRepository,
              QuestionResponseRepository questionResponseRepository,
              AttachmentRepository attachmentRepository,
              ApplicationEventPublisher applicationEventPublisher,
              PdfGeneratorUtil pdfGeneratorUtil)
focal_class.class_method_signature: ConvocationService.getConvocation(String uuid)
focal_class.full_signature: public Convocation getConvocation(String uuid)
focal_class.identifier: getConvocation
focal_class.modifiers: public
focal_class.parameters: (String uuid)
focal_class.return: Convocation
focal_class.signature: Convocation getConvocation(String uuid)
focal_class.class_method_signature: ConvocationService.openBy(Convocation convocation, Recipient recipient)
focal_class.full_signature: public Convocation openBy(Convocation convocation, Recipient recipient)
focal_class.identifier: openBy
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, Recipient recipient)
focal_class.return: Convocation
focal_class.signature: Convocation openBy(Convocation convocation, Recipient recipient)
focal_class.class_method_signature: ConvocationService.create(Convocation convocation, String localAuthorityUuid, String profileUuid)
focal_class.full_signature: public Convocation create(Convocation convocation, String localAuthorityUuid, String profileUuid)
focal_class.identifier: create
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, String localAuthorityUuid, String profileUuid)
focal_class.return: Convocation
focal_class.signature: Convocation create(Convocation convocation, String localAuthorityUuid, String profileUuid)
focal_class.class_method_signature: ConvocationService.createRecipientResponse(Convocation convocation)
focal_class.full_signature: private void createRecipientResponse(Convocation convocation)
focal_class.identifier: createRecipientResponse
focal_class.modifiers: private
focal_class.parameters: (Convocation convocation)
focal_class.return: void
focal_class.signature: void createRecipientResponse(Convocation convocation)
focal_class.class_method_signature: ConvocationService.update(String uuid, String localAuthorityUuid, Convocation params)
focal_class.full_signature: public Convocation update(String uuid, String localAuthorityUuid, Convocation params)
focal_class.identifier: update
focal_class.modifiers: public
focal_class.parameters: (String uuid, String localAuthorityUuid, Convocation params)
focal_class.return: Convocation
focal_class.signature: Convocation update(String uuid, String localAuthorityUuid, Convocation params)
focal_class.class_method_signature: ConvocationService.getConvocation(String uuid, String localAuthorityUuid)
focal_class.full_signature: public Convocation getConvocation(String uuid, String localAuthorityUuid)
focal_class.identifier: getConvocation
focal_class.modifiers: public
focal_class.parameters: (String uuid, String localAuthorityUuid)
focal_class.return: Convocation
focal_class.signature: Convocation getConvocation(String uuid, String localAuthorityUuid)
focal_class.class_method_signature: ConvocationService.delete(Convocation convocation)
focal_class.full_signature: public void delete(Convocation convocation)
focal_class.identifier: delete
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation)
focal_class.return: void
focal_class.signature: void delete(Convocation convocation)
focal_class.class_method_signature: ConvocationService.cancelConvocation(Convocation convocation)
focal_class.full_signature: public void cancelConvocation(Convocation convocation)
focal_class.identifier: cancelConvocation
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation)
focal_class.return: void
focal_class.signature: void cancelConvocation(Convocation convocation)
focal_class.class_method_signature: ConvocationService.getByUuid(String uuid, String localAuthorityUuid)
focal_class.full_signature: public Convocation getByUuid(String uuid, String localAuthorityUuid)
focal_class.identifier: getByUuid
focal_class.modifiers: public
focal_class.parameters: (String uuid, String localAuthorityUuid)
focal_class.return: Convocation
focal_class.signature: Convocation getByUuid(String uuid, String localAuthorityUuid)
focal_class.class_method_signature: ConvocationService.uploadFiles(Convocation convocation, MultipartFile file,
              MultipartFile procuration, MultipartFile[] annexes, String[] tagsIds)
focal_class.full_signature: public void uploadFiles(Convocation convocation, MultipartFile file,
              MultipartFile procuration, MultipartFile[] annexes, String[] tagsIds)
focal_class.identifier: uploadFiles
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, MultipartFile file,
              MultipartFile procuration, MultipartFile[] annexes, String[] tagsIds)
focal_class.return: void
focal_class.signature: void uploadFiles(Convocation convocation, MultipartFile file,
              MultipartFile procuration, MultipartFile[] annexes, String[] tagsIds)
focal_class.class_method_signature: ConvocationService.uploadAdditionalFiles(Convocation convocation, MultipartFile[] annexes, String[] tagsIds)
focal_class.full_signature: public void uploadAdditionalFiles(Convocation convocation, MultipartFile[] annexes, String[] tagsIds)
focal_class.identifier: uploadAdditionalFiles
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, MultipartFile[] annexes, String[] tagsIds)
focal_class.return: void
focal_class.signature: void uploadAdditionalFiles(Convocation convocation, MultipartFile[] annexes, String[] tagsIds)
focal_class.class_method_signature: ConvocationService.uploadMinutes(Convocation convocation, MultipartFile minutes)
focal_class.full_signature: public void uploadMinutes(Convocation convocation, MultipartFile minutes)
focal_class.identifier: uploadMinutes
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, MultipartFile minutes)
focal_class.return: void
focal_class.signature: void uploadMinutes(Convocation convocation, MultipartFile minutes)
focal_class.class_method_signature: ConvocationService.getFile(Convocation convocation, String fileUuid)
focal_class.full_signature: public Attachment getFile(Convocation convocation, String fileUuid)
focal_class.identifier: getFile
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, String fileUuid)
focal_class.return: Attachment
focal_class.signature: Attachment getFile(Convocation convocation, String fileUuid)
focal_class.class_method_signature: ConvocationService.getStampedFile(byte[] content, LocalDateTime sentDate, LocalAuthority localAuthority, Integer x,
              Integer y)
focal_class.full_signature: public byte[] getStampedFile(byte[] content, LocalDateTime sentDate, LocalAuthority localAuthority, Integer x,
              Integer y)
focal_class.identifier: getStampedFile
focal_class.modifiers: public
focal_class.parameters: (byte[] content, LocalDateTime sentDate, LocalAuthority localAuthority, Integer x,
              Integer y)
focal_class.return: byte[]
focal_class.signature: byte[] getStampedFile(byte[] content, LocalDateTime sentDate, LocalAuthority localAuthority, Integer x,
              Integer y)
focal_class.class_method_signature: ConvocationService.answerConvocation(Convocation convocation, Recipient recipient, ResponseType responseType,
              String substituteUuid)
focal_class.full_signature: public void answerConvocation(Convocation convocation, Recipient recipient, ResponseType responseType,
              String substituteUuid)
focal_class.identifier: answerConvocation
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, Recipient recipient, ResponseType responseType,
              String substituteUuid)
focal_class.return: void
focal_class.signature: void answerConvocation(Convocation convocation, Recipient recipient, ResponseType responseType,
              String substituteUuid)
focal_class.class_method_signature: ConvocationService.answerQuestion(Convocation convocation, Recipient currentRecipient, String questionUuid,
              Boolean response)
focal_class.full_signature: public void answerQuestion(Convocation convocation, Recipient currentRecipient, String questionUuid,
              Boolean response)
focal_class.identifier: answerQuestion
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, Recipient currentRecipient, String questionUuid,
              Boolean response)
focal_class.return: void
focal_class.signature: void answerQuestion(Convocation convocation, Recipient currentRecipient, String questionUuid,
              Boolean response)
focal_class.class_method_signature: ConvocationService.convocationSent(Convocation convocation)
focal_class.full_signature: public void convocationSent(Convocation convocation)
focal_class.identifier: convocationSent
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation)
focal_class.return: void
focal_class.signature: void convocationSent(Convocation convocation)
focal_class.class_method_signature: ConvocationService.retrieveProfile(String profileUuid)
focal_class.full_signature: public Profile retrieveProfile(String profileUuid)
focal_class.identifier: retrieveProfile
focal_class.modifiers: public
focal_class.parameters: (String profileUuid)
focal_class.return: Profile
focal_class.signature: Profile retrieveProfile(String profileUuid)
focal_class.class_method_signature: ConvocationService.getConvocationsToRemind(int reminderDelay)
focal_class.full_signature: public List<Convocation> getConvocationsToRemind(int reminderDelay)
focal_class.identifier: getConvocationsToRemind
focal_class.modifiers: public
focal_class.parameters: (int reminderDelay)
focal_class.return: List<Convocation>
focal_class.signature: List<Convocation> getConvocationsToRemind(int reminderDelay)
focal_class.class_method_signature: ConvocationService.getNoResponseInformation()
focal_class.full_signature: public List<String> getNoResponseInformation()
focal_class.identifier: getNoResponseInformation
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getNoResponseInformation()
focal_class.class_method_signature: ConvocationService.addTagToFile(Convocation convocation, String fileUuid, String tagUuid)
focal_class.full_signature: public void addTagToFile(Convocation convocation, String fileUuid, String tagUuid)
focal_class.identifier: addTagToFile
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, String fileUuid, String tagUuid)
focal_class.return: void
focal_class.signature: void addTagToFile(Convocation convocation, String fileUuid, String tagUuid)
focal_class.class_method_signature: ConvocationService.removeTagFromFile(Convocation convocation, String fileUuid, String tagUuid)
focal_class.full_signature: public void removeTagFromFile(Convocation convocation, String fileUuid, String tagUuid)
focal_class.identifier: removeTagFromFile
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation, String fileUuid, String tagUuid)
focal_class.return: void
focal_class.signature: void removeTagFromFile(Convocation convocation, String fileUuid, String tagUuid)
focal_class.class_method_signature: ConvocationService.createArchive(Convocation convocation)
focal_class.full_signature: public ByteArrayOutputStream createArchive(Convocation convocation)
focal_class.identifier: createArchive
focal_class.modifiers: public
focal_class.parameters: (Convocation convocation)
focal_class.return: ByteArrayOutputStream
focal_class.signature: ByteArrayOutputStream createArchive(Convocation convocation)
focal_class.class_method_signature: ConvocationService.countSentWithQuery(String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String
              assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject,
              String filter, String currentLocalAuthUuid, Set<String> groups)
focal_class.full_signature: public Long countSentWithQuery(String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String
              assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject,
              String filter, String currentLocalAuthUuid, Set<String> groups)
focal_class.identifier: countSentWithQuery
focal_class.modifiers: public
focal_class.parameters: (String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String
              assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject,
              String filter, String currentLocalAuthUuid, Set<String> groups)
focal_class.return: Long
focal_class.signature: Long countSentWithQuery(String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String
              assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject,
              String filter, String currentLocalAuthUuid, Set<String> groups)
focal_class.class_method_signature: ConvocationService.countReceivedWithQuery(String multifield, String assemblyType, LocalDate meetingDateFrom,
              LocalDate meetingDateTo, String subject, String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.full_signature: public Long countReceivedWithQuery(String multifield, String assemblyType, LocalDate meetingDateFrom,
              LocalDate meetingDateTo, String subject, String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.identifier: countReceivedWithQuery
focal_class.modifiers: public
focal_class.parameters: (String multifield, String assemblyType, LocalDate meetingDateFrom,
              LocalDate meetingDateTo, String subject, String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.return: Long
focal_class.signature: Long countReceivedWithQuery(String multifield, String assemblyType, LocalDate meetingDateFrom,
              LocalDate meetingDateTo, String subject, String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.class_method_signature: ConvocationService.findSentWithQuery(String multifield, LocalDate sentDateFrom, LocalDate sentDateTo,
              String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              Integer limit, Integer offset, String column, String direction,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.full_signature: public List<Convocation> findSentWithQuery(String multifield, LocalDate sentDateFrom, LocalDate sentDateTo,
              String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              Integer limit, Integer offset, String column, String direction,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.identifier: findSentWithQuery
focal_class.modifiers: public
focal_class.parameters: (String multifield, LocalDate sentDateFrom, LocalDate sentDateTo,
              String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              Integer limit, Integer offset, String column, String direction,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.return: List<Convocation>
focal_class.signature: List<Convocation> findSentWithQuery(String multifield, LocalDate sentDateFrom, LocalDate sentDateTo,
              String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              Integer limit, Integer offset, String column, String direction,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.class_method_signature: ConvocationService.findReceivedWithQuery(String multifield, String assemblyType,
              LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter, Integer limit,
              Integer offset, String column, String direction,
              String currentLocalAuthUuid, Recipient recipient)
focal_class.full_signature: public List<Convocation> findReceivedWithQuery(String multifield, String assemblyType,
              LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter, Integer limit,
              Integer offset, String column, String direction,
              String currentLocalAuthUuid, Recipient recipient)
focal_class.identifier: findReceivedWithQuery
focal_class.modifiers: public
focal_class.parameters: (String multifield, String assemblyType,
              LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter, Integer limit,
              Integer offset, String column, String direction,
              String currentLocalAuthUuid, Recipient recipient)
focal_class.return: List<Convocation>
focal_class.signature: List<Convocation> findReceivedWithQuery(String multifield, String assemblyType,
              LocalDate meetingDateFrom, LocalDate meetingDateTo, String subject, String filter, Integer limit,
              Integer offset, String column, String direction,
              String currentLocalAuthUuid, Recipient recipient)
focal_class.class_method_signature: ConvocationService.getSentQueryPredicates(CriteriaBuilder builder, Root<Convocation> convocationRoot,
              String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String assemblyType, LocalDate
              meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.full_signature: private List<Predicate> getSentQueryPredicates(CriteriaBuilder builder, Root<Convocation> convocationRoot,
              String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String assemblyType, LocalDate
              meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.identifier: getSentQueryPredicates
focal_class.modifiers: private
focal_class.parameters: (CriteriaBuilder builder, Root<Convocation> convocationRoot,
              String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String assemblyType, LocalDate
              meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.return: List<Predicate>
focal_class.signature: List<Predicate> getSentQueryPredicates(CriteriaBuilder builder, Root<Convocation> convocationRoot,
              String multifield, LocalDate sentDateFrom, LocalDate sentDateTo, String assemblyType, LocalDate
              meetingDateFrom, LocalDate meetingDateTo, String subject, String filter,
              String currentLocalAuthUuid, Set<String> groups)
focal_class.class_method_signature: ConvocationService.getGroupPredicate(CriteriaBuilder builder, Root<Convocation> convocationRoot, Set<String> groups)
focal_class.full_signature: private Predicate getGroupPredicate(CriteriaBuilder builder, Root<Convocation> convocationRoot, Set<String> groups)
focal_class.identifier: getGroupPredicate
focal_class.modifiers: private
focal_class.parameters: (CriteriaBuilder builder, Root<Convocation> convocationRoot, Set<String> groups)
focal_class.return: Predicate
focal_class.signature: Predicate getGroupPredicate(CriteriaBuilder builder, Root<Convocation> convocationRoot, Set<String> groups)
focal_class.class_method_signature: ConvocationService.saveAttachment(MultipartFile file, boolean additionalDocument, List<Tag> tags)
focal_class.full_signature: private Attachment saveAttachment(MultipartFile file, boolean additionalDocument, List<Tag> tags)
focal_class.identifier: saveAttachment
focal_class.modifiers: private
focal_class.parameters: (MultipartFile file, boolean additionalDocument, List<Tag> tags)
focal_class.return: Attachment
focal_class.signature: Attachment saveAttachment(MultipartFile file, boolean additionalDocument, List<Tag> tags)
focal_class.class_method_signature: ConvocationService.getReceivedQueryPredicates(CriteriaBuilder
              builder, Root<Convocation> convocationRoot,
              String multifield, String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String
              subject,
              String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.full_signature: private List<Predicate> getReceivedQueryPredicates(CriteriaBuilder
              builder, Root<Convocation> convocationRoot,
              String multifield, String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String
              subject,
              String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.identifier: getReceivedQueryPredicates
focal_class.modifiers: private
focal_class.parameters: (CriteriaBuilder
              builder, Root<Convocation> convocationRoot,
              String multifield, String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String
              subject,
              String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.return: List<Predicate>
focal_class.signature: List<Predicate> getReceivedQueryPredicates(CriteriaBuilder
              builder, Root<Convocation> convocationRoot,
              String multifield, String assemblyType, LocalDate meetingDateFrom, LocalDate meetingDateTo, String
              subject,
              String filter, String currentLocalAuthUuid, Recipient recipient)
focal_class.class_method_signature: ConvocationService.checkConvocationValidity(Convocation convocation)
focal_class.full_signature: private void checkConvocationValidity(Convocation convocation)
focal_class.identifier: checkConvocationValidity
focal_class.modifiers: private
focal_class.parameters: (Convocation convocation)
focal_class.return: void
focal_class.signature: void checkConvocationValidity(Convocation convocation)
focal_class.class_method_signature: ConvocationService.addEntry(String entryName, byte[] content, TarArchiveOutputStream taos)
focal_class.full_signature: private void addEntry(String entryName, byte[] content, TarArchiveOutputStream taos)
focal_class.identifier: addEntry
focal_class.modifiers: private
focal_class.parameters: (String entryName, byte[] content, TarArchiveOutputStream taos)
focal_class.return: void
focal_class.signature: void addEntry(String entryName, byte[] content, TarArchiveOutputStream taos)
focal_class.class_method_signature: ConvocationService.compress(ByteArrayOutputStream baos)
focal_class.full_signature: private ByteArrayOutputStream compress(ByteArrayOutputStream baos)
focal_class.identifier: compress
focal_class.modifiers: private
focal_class.parameters: (ByteArrayOutputStream baos)
focal_class.return: ByteArrayOutputStream
focal_class.signature: ByteArrayOutputStream compress(ByteArrayOutputStream baos)
focal_class.class_method_signature: ConvocationService.addHistory(Convocation convocation, HistoryType type)
focal_class.full_signature: private void addHistory(Convocation convocation, HistoryType type)
focal_class.identifier: addHistory
focal_class.modifiers: private
focal_class.parameters: (Convocation convocation, HistoryType type)
focal_class.return: void
focal_class.signature: void addHistory(Convocation convocation, HistoryType type)
focal_class.class_method_signature: ConvocationService.addHistory(Convocation convocation, HistoryType type, String message)
focal_class.full_signature: private void addHistory(Convocation convocation, HistoryType type, String message)
focal_class.identifier: addHistory
focal_class.modifiers: private
focal_class.parameters: (Convocation convocation, HistoryType type, String message)
focal_class.return: void
focal_class.signature: void addHistory(Convocation convocation, HistoryType type, String message)
focal_class.class_method_signature: ConvocationService.addHistory(Convocation convocation, HistoryType type, String message, boolean publicHistory)
focal_class.full_signature: private void addHistory(Convocation convocation, HistoryType type, String message, boolean publicHistory)
focal_class.identifier: addHistory
focal_class.modifiers: private
focal_class.parameters: (Convocation convocation, HistoryType type, String message, boolean publicHistory)
focal_class.return: void
focal_class.signature: void addHistory(Convocation convocation, HistoryType type, String message, boolean publicHistory)
focal_class.class_method_signature: ConvocationService.extractTags(String[] tagsIds, String localAuthorityUuid)
focal_class.full_signature: private Map<String, List<Tag>> extractTags(String[] tagsIds, String localAuthorityUuid)
focal_class.identifier: extractTags
focal_class.modifiers: private
focal_class.parameters: (String[] tagsIds, String localAuthorityUuid)
focal_class.return: Map<String, List<Tag>>
focal_class.signature: Map<String, List<Tag>> extractTags(String[] tagsIds, String localAuthorityUuid)
focal_method.body: public void cancelConvocation(Convocation convocation) {
  
          if (convocation.isCancelled()) {
              LOGGER.error("Try to cancel an already cancelled convocation : {}", convocation.getUuid());
              throw new ConvocationCancelledException();
          }
          convocation.setCancelled(true);
          convocation.setCancellationDate(LocalDateTime.now());
          convocationRepository.save(convocation);
          addHistory(convocation, HistoryType.CANCELLED);
          applicationEventPublisher.publishEvent(new ConvocationCancelledEvent(this, convocation));
      }
focal_method.class_method_signature: ConvocationService.cancelConvocation(Convocation convocation)
focal_method.full_signature: public void cancelConvocation(Convocation convocation)
focal_method.identifier: cancelConvocation
focal_method.invocations: isCancelled error getUuid setCancelled setCancellationDate now save addHistory publishEvent
focal_method.modifiers: public
focal_method.parameters: (Convocation convocation)
focal_method.return: void
focal_method.signature: void cancelConvocation(Convocation convocation)