Interface EventQualificationService

All Known Implementing Classes:
EventQualificationServiceImpl

public interface EventQualificationService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    individualEvaluation(@Nullable Entity parentEvaluation, Entity event, Entity evaluationNodeEntity, boolean linkTeachers, org.joda.time.LocalDate date)
    Get or create an individual Evaluation entity.
    individualInput(Entity event, Entity inputNodeEntity, @Nullable Entity parentEvaluation, boolean linkTeachers, @Nullable org.joda.time.LocalDate date)
    Get or create an individual Input entity.
    void
    linkTeachers(Entity input, Entity event)
     
    void
    updateInstance(Entity instance, EntityList events, boolean recursively, boolean linkTeachers, Set<Entity> undeletableInputSet)
     
  • Method Details

    • individualEvaluation

      void individualEvaluation(@Nullable @Nullable Entity parentEvaluation, Entity event, Entity evaluationNodeEntity, boolean linkTeachers, org.joda.time.LocalDate date) throws EventQualificationException, InterruptedException
      Get or create an individual Evaluation entity. The method ensures the uniqueness requirement of the relation Event <-> Evaluation <-> Evaluation_node.
      Parameters:
      parentEvaluation - the parent Evaluation (used for recursion)
      event - an event to be linked to the Evaluation
      evaluationNodeEntity - the Evaluation_node entity
      linkTeachers - should linked teachers on the event become responsible for editing Input_data?
      date - the date of the Input
      Throws:
      EventQualificationException - - thrown when multiple events are already linked to this Evaluation_node via different Evaluation entities
      InterruptedException
    • individualInput

      Entity individualInput(Entity event, Entity inputNodeEntity, @Nullable @Nullable Entity parentEvaluation, boolean linkTeachers, @Nullable @Nullable org.joda.time.LocalDate date) throws EventQualificationException
      Get or create an individual Input entity. The method ensures the uniqueness requirement of the relation Event <-> Input <-> Input_node.
      Parameters:
      event - an Event to be linked to the Evaluation
      inputNodeEntity - the Input_node entity
      linkTeachers - should linked teachers on the event become responsible for editing Input_data?
      date - the date of the Input
      Returns:
      Throws:
      EventQualificationException - - thrown when multiple events are already linked to this Input_node via different Input entities
    • updateInstance

      void updateInstance(Entity instance, EntityList events, boolean recursively, boolean linkTeachers, Set<Entity> undeletableInputSet) throws EventQualificationException
      Throws:
      EventQualificationException
    • linkTeachers

      void linkTeachers(Entity input, Entity event)