Interface QualificationService
- All Known Implementing Classes:
QualificationServiceImpl
public interface QualificationService
-
Method Summary
Modifier and TypeMethodDescriptionint
getL10N()
getMc()
getNodeDataForUsers
(InputNode inputNode, List<PrimaryKey> participantKeys, InputDataLogicContribution.ContextData contextData) Get the relevant InputData for some given participants for this InputNode See implementations ofInputDataLogicContribution
for different data gathering strategies The default implementations loads Input_data by filtering by Input.date in the past and picking the newest, filled Input_dataint
boolean
boolean
void
Update all Input_data entities für all "valid" participants for a given inputwrapEvaluationDataEntity
(Entity evaluationDataEntity) wrap an Evaluation_data instance
-
Method Details
-
getQueryBuilderFactory
QueryBuilderFactory getQueryBuilderFactory() -
getRelevantRegistrationStatuses
-
getDefaultDisplayService
DefaultDisplayService getDefaultDisplayService() -
getTextResources
TextResources getTextResources() -
getSecurityManager
SecurityManager getSecurityManager() -
getPersistContext
Context getPersistContext() -
getL10N
L10N getL10N() -
getDefaultValueService
EntityDefaultValueService getDefaultValueService() -
getMc
MathContext getMc() -
getGradeDecimalDigits
int getGradeDecimalDigits() -
getPointsDecimalDigits
int getPointsDecimalDigits() -
getGradesNumberFormat
NumberFormat getGradesNumberFormat() -
getPointsNumberFormat
NumberFormat getPointsNumberFormat() -
commaSeparatedString
-
isHideFinishButton
boolean isHideFinishButton() -
getExtensions
Collection<QualificationServiceExtension> getExtensions() -
updateInputDatasForParticipants
Update all Input_data entities für all "valid" participants for a given input- Parameters:
input
- an Input
-
wrapEvaluationDataEntity
wrap an Evaluation_data instance- Parameters:
evaluationDataEntity
- an Evaluation_data entity- Returns:
- an object wrapping the provided entity
-
getDefaultMinGrade
BigDecimal getDefaultMinGrade() -
getDefaultMaxGrade
BigDecimal getDefaultMaxGrade() -
getDefaultRounding
BigDecimal getDefaultRounding() -
shouldSetBaseStatusOnChildren
boolean shouldSetBaseStatusOnChildren() -
getNodeDataForUsers
List<InputData> getNodeDataForUsers(InputNode inputNode, List<PrimaryKey> participantKeys, InputDataLogicContribution.ContextData contextData) Get the relevant InputData for some given participants for this InputNode See implementations ofInputDataLogicContribution
for different data gathering strategies The default implementations loads Input_data by filtering by Input.date in the past and picking the newest, filled Input_data- Parameters:
inputNode
- the node data is being loaded forparticipantKeys
- the keys of the User entitiescontextData
- additional info used byInputDataLogicContribution
- Returns:
- InputData for the specified participants
-