Class QualificationEventInformationService
java.lang.Object
ch.tocco.nice2.optional.qualificationregistration.impl.QualificationEventInformationService
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static final record
static interface
static enum
-
Constructor Summary
ConstructorDescriptionQualificationEventInformationService
(PrincipalService principalService, QueryBuilderFactory queryBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionload module information for given event and current userloadModuleInformation
(Entity event, Entity user) load promotion status and amount of attempts, based on previous Evaluation_data and Input_data of the given user related to the same Evaluation_node and Input_node as the given event is
-
Constructor Details
-
QualificationEventInformationService
public QualificationEventInformationService(PrincipalService principalService, QueryBuilderFactory queryBuilderFactory)
-
-
Method Details
-
getModuleInformationForCurrentUser
public Optional<QualificationEventInformationService.ModuleInformation> getModuleInformationForCurrentUser(Entity event) load module information for given event and current user- Returns:
- an optional containing the module information, empty if current user has no previous data
- See Also:
-
loadModuleInformation
public Optional<QualificationEventInformationService.ModuleInformation> loadModuleInformation(Entity event, Entity user) load promotion status and amount of attempts, based on previous Evaluation_data and Input_data of the given user related to the same Evaluation_node and Input_node as the given event is- Returns:
- an optional containing the module information, empty if user has no previous data
-