Package com.day.cq.workflow.exec
Interface ParticipantStepChooser
-
public interface ParticipantStepChooserTheParticipantChooserNewinterface is intended for impls that will define the participant dynamically. This interface replaces the deprecatedParticipantChooserinterface.- Since:
- 5.4
- See Also:
ParticipantChooser
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_PROPERTY_LABELConstant denoting the name of the label service property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetParticipant(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args)Returns the dynamically resolvedPrincipalid
-
-
-
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 resolvedPrincipalid- Parameters:
workItem- Current workitemworkflowSession- Workflow sessionargs- Participant chooser specific arguments can be passed here- Returns:
- the dynamically resolved
Principalid - Throws:
WorkflowException- When an error is generated
-
-