Class LinkedQuestionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.evaluation.impl.entitylistener.LinkedQuestionServiceImpl
- All Implemented Interfaces:
LinkedQuestionService
-
Constructor Summary
ConstructorDescriptionLinkedQuestionServiceImpl
(QueryBuilderFactory queryBuilderFactory, ClientQuestionService clientQuestionService, TextResources textResources, Context context) -
Method Summary
Modifier and TypeMethodDescriptionboolean
askQuestions
(EntityList fixatedQuestions, EntityList editableQuestions) getRelatedQuestionsByQuestionnaireStatus
(Entity question, String statusUniqueId) void
updateField
(Entity sourceEntity, Entity targetEntity, String fieldName) void
updateRelation
(Entity sourceQuestion, Entity targetQuestion, String relationName)
-
Constructor Details
-
LinkedQuestionServiceImpl
public LinkedQuestionServiceImpl(QueryBuilderFactory queryBuilderFactory, ClientQuestionService clientQuestionService, TextResources textResources, Context context)
-
-
Method Details
-
getRelatedQuestionsByQuestionnaireStatus
- Specified by:
getRelatedQuestionsByQuestionnaireStatus
in interfaceLinkedQuestionService
-
askQuestions
- Specified by:
askQuestions
in interfaceLinkedQuestionService
-
updateRelation
- Specified by:
updateRelation
in interfaceLinkedQuestionService
-
updateField
- Specified by:
updateField
in interfaceLinkedQuestionService
-