Uses of Class
com.onenetwork.platform.workflow.FetchParam
Package | Description |
---|---|
com.onenetwork.platform.workflow |
Services to facilitate the implementation of model workflows.
|
-
Uses of FetchParam in com.onenetwork.platform.workflow
Methods in com.onenetwork.platform.workflow that return FetchParam Modifier and Type Method Description static FetchParam
FetchParam. all(java.lang.Class<? extends Model> modelLevelClass)
A new FetchParam which indicates all records in the database should be fetched for the given level, regardless of what was passed to the workflow.static FetchParam[]
FetchParam. allChildren(java.lang.Class<? extends Model> jaxbClass)
A convenience method to construct FetchParams for all child ModelLevelType excluding the top one.static FetchParam
FetchParam. inputOnly(java.lang.Class<? extends Model> modelLevelClass)
A new FetchParam which indicates only records passed in to the current workflow should be fetched for the given level.Methods in com.onenetwork.platform.workflow with parameters of type FetchParam Modifier and Type Method Description <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.