Package com.day.cq.workflow.exec
Interface ParticipantStepChooser
-
public interface ParticipantStepChooser
TheParticipantChooserNew
interface is intended for impls that will define the participant dynamically. This interface replaces the deprecatedParticipantChooser
interface.- Since:
- 5.4
- See Also:
ParticipantChooser
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_PROPERTY_LABEL
Constant denoting the name of the label service property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args)
Returns the dynamically resolvedPrincipal
id
-
-
-
Field Detail
-
SERVICE_PROPERTY_LABEL
static final java.lang.String SERVICE_PROPERTY_LABEL
Constant denoting the name of the label service property. Value = "chooser.label"- See Also:
- Constant Field Values
-
-
Method Detail
-
getParticipant
java.lang.String getParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
Returns the dynamically resolvedPrincipal
id- Parameters:
workItem
- Current workitemworkflowSession
- Workflow sessionargs
- Participant chooser specific arguments can be passed here- Returns:
- the dynamically resolved
Principal
id - Throws:
WorkflowException
- When an error is generated
-
-