Uses of Interface
dev.dsf.bpe.v2.ProcessPluginApi
Packages that use ProcessPluginApi
Package
Description
-
Uses of ProcessPluginApi in dev.dsf.bpe.v2.activity
Methods in dev.dsf.bpe.v2.activity with parameters of type ProcessPluginApiModifier and TypeMethodDescriptionprotected voidDefaultUserTaskListener.afterQuestionnaireResponseCreate(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponseValues, org.hl7.fhir.r4.model.QuestionnaireResponse afterCreate) Override this method to execute code after theQuestionnaireResponseresource has been created on the DSF FHIR server
Default implementation will add an output parameter to the startTaskwith a reference to the createdQuestionnaireResponseresource ifDefaultUserTaskListener.taskOutputSystem,DefaultUserTaskListener.taskOutputCodeandDefaultUserTaskListener.taskOutputVersionare set with not blank values.
Use field inject in BPMN to set value.protected voidDefaultUserTaskListener.beforeQuestionnaireResponseCreate(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponseValues, org.hl7.fhir.r4.model.QuestionnaireResponse beforeCreate) Override this method to modify theQuestionnaireResponsebefore it will be created in stateQuestionnaireResponse.QuestionnaireResponseStatus.INPROGRESSon the DSF FHIR serverprotected org.hl7.fhir.r4.model.QuestionnaireResponseDefaultUserTaskListener.createQuestionnaireResponse(ProcessPluginApi api, org.hl7.fhir.r4.model.QuestionnaireResponse questionnaireResponse) default voidMessageActivity.execute(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues) Default implementation uses aTaskSenderfromMessageActivity.getTaskSender(ProcessPluginApi, Variables, SendTaskValues)to sendTaskresources with theBusinessKeyStrategyfromMessageActivity.getBusinessKeyStrategy().default voidMessageSendTask.execute(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues) Default implementation uses aTaskSenderfromMessageActivity.getTaskSender(ProcessPluginApi, Variables, SendTaskValues)to sendTaskresources with theBusinessKeyStrategyfromMessageActivity.getBusinessKeyStrategy().voidServiceTask.execute(ProcessPluginApi api, Variables variables) default List<org.hl7.fhir.r4.model.Task.ParameterComponent> MessageActivity.getAdditionalInputParameters(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Target target) default TaskSenderMessageActivity.getTaskSender(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues) voidDefaultUserTaskListener.notify(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponseValues) voidExecutionListener.notify(ProcessPluginApi api, Variables variables) voidUserTaskListener.notify(ProcessPluginApi api, Variables variables, CreateQuestionnaireResponseValues createQuestionnaireResponse) -
Uses of ProcessPluginApi in dev.dsf.bpe.v2.activity.task
Fields in dev.dsf.bpe.v2.activity.task declared as ProcessPluginApiConstructors in dev.dsf.bpe.v2.activity.task with parameters of type ProcessPluginApiModifierConstructorDescriptionDefaultTaskSender(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, BusinessKeyStrategy businessKeyStrategy) DefaultTaskSender(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, BusinessKeyStrategy businessKeyStrategy, Function<Target, List<org.hl7.fhir.r4.model.Task.ParameterComponent>> additionalInputParameters) -
Uses of ProcessPluginApi in dev.dsf.bpe.v2.error
Methods in dev.dsf.bpe.v2.error with parameters of type ProcessPluginApiModifier and TypeMethodDescriptionErrorBoundaryEventErrorHandler.handleErrorBoundaryEvent(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) ExceptionErrorHandler.handleException(ProcessPluginApi api, Variables variables, Exception exception) MessageActivityErrorHandler.handleException(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) -
Uses of ProcessPluginApi in dev.dsf.bpe.v2.error.impl
Methods in dev.dsf.bpe.v2.error.impl with parameters of type ProcessPluginApiModifier and TypeMethodDescriptionprotected StringAbstractMessageActivityErrorHandler.createErrorMessage(ProcessPluginApi api, Variables variables, Exception exception, SendTaskValues sendTaskValues, Function<Exception, String> getExceptionMessage) protected StringAbstractErrorHandler.createErrorMessageFromException(ProcessPluginApi api, Variables variables, Exception exception) protected org.hl7.fhir.r4.model.Task.TaskOutputComponentAbstractErrorHandler.createTaskErrorOutput(ProcessPluginApi api, Variables variables, String errorMessage) protected List<org.hl7.fhir.r4.model.Task> AbstractErrorHandler.getTasks(ProcessPluginApi api, Variables variables, Exception exception) AbstractErrorHandler.handleErrorBoundaryEvent(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) Logs the givenErrorBoundaryEventand returns the event without modification.ExceptionToErrorBoundaryEventTranslationErrorHandler.handleErrorBoundaryEvent(ProcessPluginApi api, Variables variables, ErrorBoundaryEvent event) AbstractErrorHandler.handleException(ProcessPluginApi api, Variables variables, Exception exception) Logs the givenException, updates all receivedTaskresource withTask.TaskStatus.INPROGRESStoTask.TaskStatus.FAILEDand adds aTask.TaskOutputComponentof typeCodeSystems.BpmnMessage.error().DefaultMessageEndEventErrorHandler.handleException(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) Logs the givenException, updates all receivedTaskresource withTask.TaskStatus.INPROGRESStoTask.TaskStatus.FAILEDand adds aTask.TaskOutputComponentof typeCodeSystems.BpmnMessage.error().DefaultMessageIntermediateThrowEventErrorHandler.handleException(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) Logs the givenException, updates all receivedTaskresource withTask.TaskStatus.INPROGRESStoTask.TaskStatus.FAILEDand adds aTask.TaskOutputComponentof typeCodeSystems.BpmnMessage.error().DefaultMessageSendTaskErrorHandler.handleException(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) Single instance message send task (Targetsvariables not set or empty):ExceptionToErrorBoundaryEventTranslationErrorHandler.handleException(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) ExceptionToErrorBoundaryEventTranslationErrorHandler.handleException(ProcessPluginApi api, Variables variables, Exception exception) protected ExceptionDefaultMessageSendTaskErrorHandler.handleMultiInstance(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception, Targets targets) protected ExceptionDefaultMessageSendTaskErrorHandler.handleSingleInstance(ProcessPluginApi api, Variables variables, SendTaskValues sendTaskValues, Exception exception) protected voidAbstractErrorHandler.updateFailedIfInprogress(ProcessPluginApi api, Variables variables, String errorMessage, List<org.hl7.fhir.r4.model.Task> tasks) protected voidAbstractErrorHandler.updateTaskAndHandleException(ProcessPluginApi api, Variables variables, org.hl7.fhir.r4.model.Task task)