Uses of Interface
com.onenetwork.platform.workflow.ActionBasedWorkflowContext
Package | Description |
---|---|
com.onenetwork.platform.workflow |
Services to facilitate the implementation of model workflows.
|
-
Uses of ActionBasedWorkflowContext in com.onenetwork.platform.workflow
Methods in com.onenetwork.platform.workflow with parameters of type ActionBasedWorkflowContext Modifier and Type Method Description void
ActionBasedWorkflowActivity. execute(ActionBasedWorkflowContext<M> workflowContext)
Execute the activityvoid
Comp. execute(M input, M current, ActionBasedWorkflowContext<M> context)
Executes this computation.java.util.List<Notification>
NotificationComp. execute(M input, M current, ActionBasedWorkflowContext<M> context)
Executes this notification computation.<M extends Model>
voidWorkflowService. executeIssueComps(ActionBasedWorkflowContext<M> workflowCtx, java.util.List<M> modelsToInclude, java.lang.String... issueCompNames)
Given a list of Models from your workflow, executes the given issue computations on those models.<M extends Model>
voidWorkflowService. mergeInputToCurrent(ActionBasedWorkflowContext<M> workflowCtx)
Copies values from the "input" down onto the "current".<M extends Model>
voidWorkflowService. populateCurrentFromDatabase(ActionBasedWorkflowContext<M> workflowCtx, FetchParam... fetchParams)
Based on the records provided by the user in the input of theActionBasedWorkflowContext
, fetches the current state of those records from the DB into the "current" collection of the context.default void
Callback. postWorkflow(ActionBasedWorkflowContext<M> context)
This method is called after the IntrinsicAction's workflow is executed.default void
Callback. postWorkflowFinally(ActionBasedWorkflowContext<M> context, java.lang.Throwable wfException)
This method is called after the IntrinsicAction's workflow is executed even if exception was thrown in the workflow.default void
Callback. postWrite(ActionBasedWorkflowContext<M> context)
This method is called after the IntrinsicAction's write is executed.default void
Callback. preMergeInputToCurrent(ActionBasedWorkflowContext<M> context)
This method is called just before the workflow merges the input records onto the current records.default void
Callback. preWorkflow(ActionBasedWorkflowContext<M> context)
This method is called before the IntrinsicAction's workflow is executed.default void
Callback. preWrite(ActionBasedWorkflowContext<M> context)
This method is called before the write activity is executed in the IntrinsicAction.<M extends Model>
voidWorkflowService. write(java.util.List<M> models, ActionBasedWorkflowContext<M> workflowCtx)
Writes the given Models to the database in the context of an Action-Based workflow.<M extends Model>
voidWorkflowService. write(java.util.List<M> models, ActionBasedWorkflowContext<M> workflowCtx, boolean writeWithNKChange)
Writes the given Models to the database in the context of an Action-Based workflow.