Class AbstractNodeWorkflowComponent
java.lang.Object
org.ametys.plugins.workflow.AbstractWorkflowComponent
org.ametys.plugins.workspaces.workflow.AbstractNodeWorkflowComponent
- All Implemented Interfaces:
 LogEnabled,Serviceable
- Direct Known Subclasses:
 AddEventFunction
Abstract class for easily retrieving environment components
 in a condition or a function and especially a resource.
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.plugins.workflow.AbstractWorkflowComponent
AbstractWorkflowComponent.ConditionFailure - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for storing the content into the transient variables map.Fields inherited from class org.ametys.plugins.workflow.AbstractWorkflowComponent
_logger, _manager, CONTEXT_PARAMETERS_KEY, FAIL_CONDITIONS_KEY, RESULT_MAP_KEY, WORKFLOW_VALIDATION_KEY - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected ExplorerNodegetExplorerNode(Map transientVars) Retrieve the resource associated with the workflow.Methods inherited from class org.ametys.plugins.workflow.AbstractWorkflowComponent
addWorkflowError, addWorkflowWarning, enableLogging, getConditionFailures, getContextParameters, getResultsMap, getUser, service 
- 
Field Details
- 
EXPLORERNODE_KEY
Constant for storing the content into the transient variables map. 
 - 
 - 
Constructor Details
- 
AbstractNodeWorkflowComponent
public AbstractNodeWorkflowComponent() 
 - 
 - 
Method Details
- 
getExplorerNode
protected ExplorerNode getExplorerNode(Map transientVars) throws com.opensymphony.workflow.WorkflowException Retrieve the resource associated with the workflow.- Parameters:
 transientVars- the parameters from the call.- Returns:
 - the resource.
 - Throws:
 com.opensymphony.workflow.WorkflowException- if the resource is not found.
 
 -