Interface InputEditActionService
- All Known Implementing Classes:
InputEditActionServiceImpl
public interface InputEditActionService
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
static class
static class
static class
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
checks if a selection can be used together to input data, things compared are number of ratings active exams input nodesfinishInput
(EntityExplorerActionSelection selectedInput) getActiveExams
(EntityExplorerActionSelection selectedInput) getExams
(EntityExplorerActionSelection selection) Returns allExam
s related to the selectedInput
even if they are defined as inactive by theirExam.FIELD_NR
exceeding theInput
'snumRatings
value.getExamsWithLimit
(EntityExplorerActionSelection selection, int limit) Returns allExam
s related to the selectedInput
not exceeding the given limit, even if they are defined as inactive by theirExam.FIELD_NR
exceeding theInput
'snumRatings
value.getFormInfo
(EntityExplorerActionSelection selection) getInputData
(EntityExplorerActionSelection inputSelection) getLocalizedFormInfo
(EntityExplorerActionSelection selectedInput, Locale locale) getLocalizedInputData
(Entity inputEntity, Locale locale) getMasterData
(EntityExplorerActionSelection selection) getStatistics
(EntityExplorerActionSelection selection) boolean
isEvaluationAllowed
(EntityExplorerActionSelection selection) checks if any evaluation going upwards has been published.void
triggerEvaluation
(EntityExplorerActionSelection selection) start the evaluation of an evaluation entity by runningEvaluationTask
on itvoid
updateExams
(EntityExplorerActionSelection selectedInput, AbstractInputType.ExamRecord[] examRecords) writeInboundRecord
(EntityExplorerActionSelection selection, AbstractInputType.InboundInputDataRecord inboundInputDataRecord) writeInboundRecord
(EntityExplorerActionSelection selection, AbstractInputType.InboundRatingRecord inboundRatingRecord)
-
Method Details
-
areInputsCompatibleForEdit
checks if a selection can be used together to input data, things compared are- number of ratings
- active exams
- input nodes
- Parameters:
selection
- the selection- Returns:
- String the validation message, or null if valid
-
getFormInfo
InputEditActionService.FormInfo getFormInfo(EntityExplorerActionSelection selection) throws InterruptedException - Throws:
InterruptedException
-
getLocalizedFormInfo
InputEditActionService.FormInfo getLocalizedFormInfo(EntityExplorerActionSelection selectedInput, Locale locale) throws InterruptedException - Throws:
InterruptedException
-
getInputData
-
getLocalizedInputData
-
writeInboundRecord
InputEditActionService.ServerFeedback writeInboundRecord(EntityExplorerActionSelection selection, AbstractInputType.InboundInputDataRecord inboundInputDataRecord) throws InterruptedException - Throws:
InterruptedException
-
writeInboundRecord
InputEditActionService.ServerFeedback writeInboundRecord(EntityExplorerActionSelection selection, AbstractInputType.InboundRatingRecord inboundRatingRecord) -
getMasterData
-
getStatistics
-
getActiveExams
-
getExams
Returns allExam
s related to the selectedInput
even if they are defined as inactive by theirExam.FIELD_NR
exceeding theInput
'snumRatings
value. -
getExamsWithLimit
List<AbstractInputType.ExamRecord> getExamsWithLimit(EntityExplorerActionSelection selection, int limit) Returns allExam
s related to the selectedInput
not exceeding the given limit, even if they are defined as inactive by theirExam.FIELD_NR
exceeding theInput
'snumRatings
value. -
updateExams
void updateExams(EntityExplorerActionSelection selectedInput, AbstractInputType.ExamRecord[] examRecords) throws InterruptedException - Parameters:
selectedInput
- the editedInput
examRecords
- the records holding theExam
's information- Throws:
InterruptedException
- See Also:
-
finishInput
InputEditActionService.FinishedResponse finishInput(EntityExplorerActionSelection selectedInput) throws InterruptedException - Throws:
InterruptedException
-
getExamsEditorFormData
InputEditActionService.ExamEditorFormData getExamsEditorFormData(EntityExplorerActionSelection selection) -
isEvaluationAllowed
checks if any evaluation going upwards has been published. only published evaluations are allowed to be evaluated- Parameters:
selection
- the selected entity- Returns:
- true if the evaluation should be allowed, meaning the button will be shown, false otherwise
-
triggerEvaluation
start the evaluation of an evaluation entity by runningEvaluationTask
on it- Parameters:
selection
- the selected entity
-