E
- data object the worfklow is aboutF
- transition choice used for the lifecycle of the objectpublic class ObjectParentUserSelectionForTask<E extends DataObject<E> & LifecycleInterface<E,F>,F extends TransitionFieldChoiceDefinition<F>> extends UserSelectionForTask<E,F>
Constructor and Description |
---|
ObjectParentUserSelectionForTask(DataObjectExtractor<E,DataObjectId<Appuser>> userextractor)
Creates a user selection for task based on object
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<DataObjectId<Appuser>> |
select(DataObjectId<Workflow> workflowid,
E object)
generates the list of potential users for the workflow task
|
public ObjectParentUserSelectionForTask(DataObjectExtractor<E,DataObjectId<Appuser>> userextractor)
userextractor
- extractor getting the user if from the object that the
workflow is running onpublic java.util.ArrayList<DataObjectId<Appuser>> select(DataObjectId<Workflow> workflowid, E object)
UserSelectionForTask
select
in class UserSelectionForTask<E extends DataObject<E> & LifecycleInterface<E,F>,F extends TransitionFieldChoiceDefinition<F>>
workflowid
- object id of workflowobject
- parent data object