Class GenerateEvaluationExecutionActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.evaluation.impl.actions.GenerateEvaluationExecutionActionServiceImpl
- All Implemented Interfaces:
GenerateEvaluationExecutionActionService
public class GenerateEvaluationExecutionActionServiceImpl
extends Object
implements GenerateEvaluationExecutionActionService
-
Constructor Summary
ConstructorDescriptionGenerateEvaluationExecutionActionServiceImpl
(EntityExplorerActionSelectionService selectionService, EntityDefaultValueService entityDefaultValueService, ClientQuestionService clientQuestionService, BusinessUnitManager businessUnitManager, CommandExecutor commandExecutor, TextResources textResources, RebindService rebindService, TaskSchedulingService taskSchedulingService, Context context) -
Method Summary
Modifier and TypeMethodDescriptioncheckEmailAddresses
(EntityExplorerActionSelection selection, Map<String, String> params) checks if all selected users have an email address if not a warning is displayed to the uservoid
createEvaluationExecutions
(EntityExplorerActionSelection selection, RebindValue[] values, Map<String, String> params, Map<String, String> additionalPartyUsers) creates evaluation executions using the selection and the parameter 'pathToUser'.
-
Constructor Details
-
GenerateEvaluationExecutionActionServiceImpl
public GenerateEvaluationExecutionActionServiceImpl(EntityExplorerActionSelectionService selectionService, EntityDefaultValueService entityDefaultValueService, ClientQuestionService clientQuestionService, BusinessUnitManager businessUnitManager, CommandExecutor commandExecutor, TextResources textResources, RebindService rebindService, TaskSchedulingService taskSchedulingService, Context context)
-
-
Method Details
-
checkEmailAddresses
public Boolean checkEmailAddresses(EntityExplorerActionSelection selection, Map<String, String> params) throws NoEntityToLoadExceptionDescription copied from interface:GenerateEvaluationExecutionActionService
checks if all selected users have an email address if not a warning is displayed to the user- Specified by:
checkEmailAddresses
in interfaceGenerateEvaluationExecutionActionService
- Throws:
NoEntityToLoadException
-
createEvaluationExecutions
public void createEvaluationExecutions(EntityExplorerActionSelection selection, RebindValue[] values, Map<String, String> params, Map<String, String> additionalPartyUsers) Description copied from interface:GenerateEvaluationExecutionActionService
creates evaluation executions using the selection and the parameter 'pathToUser'. the rebind values are used as a template for each evaluation execution.- Specified by:
createEvaluationExecutions
in interfaceGenerateEvaluationExecutionActionService
-