Package com.aquima.interactions.flow.ds
Interface IFlowDS
- All Superinterfaces:
IReportingDS
- All Known Implementing Classes:
FlowDS
,ReportingFlowDS
,XmlFlowDS
,XmlFlowDS
This data source provides all the information to initialize a single flow.
- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the definition of the DCM widget flow.This method returns the definition of the external flow.This method returns the (optional) type name of the flow.This method returns the definition of the function flow.getName()
This method returns the (unique) name of the flow.This method returns the ID of the start node.boolean
This method returns a boolean indicating if the flow may be accessed externally.void
iterateEdges
(IEdgeVisitor edgeVisitor) This method traverses all edges for this node pointing to the next node.void
iterateNodes
(INodeVisitor nodeVisitor) This method traverses all nodes for flow.void
iterateParameters
(IFlowParameterVisitor visitor) Optional method that may be used to pass additional parameters to the NodeFactory.Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Method Details
-
getName
String getName()This method returns the (unique) name of the flow.- Returns:
- The name of the flow.
-
isExposed
boolean isExposed()This method returns a boolean indicating if the flow may be accessed externally.- Returns:
- a boolean indicating if the flow may be accessed externally.
-
iterateParameters
Optional method that may be used to pass additional parameters to the NodeFactory. This method should be used in conjunction with the NodeFactory, as the optional parameters will be ignored by the default implementation.- Parameters:
visitor
- the visitor which accepts the parameter information
-
getStartNodeId
String getStartNodeId()This method returns the ID of the start node.- Returns:
- The ID of the start node.
-
getFlowTypeName
String getFlowTypeName()This method returns the (optional) type name of the flow.- Returns:
- The type name of the flow, may be null.
-
iterateNodes
This method traverses all nodes for flow.- Parameters:
nodeVisitor
- the visitor which accepts the node information- Throws:
InitializationException
- This exception is thrown when the nodes could not be initialized.
-
iterateEdges
This method traverses all edges for this node pointing to the next node.- Parameters:
edgeVisitor
- the visitor which accepts the edge information- Throws:
InitializationException
- This exception is thrown when some of the edges could not be accepted due to a fatal error.
-
getFunctionFlowDefinition
IFunctionFlowDefinitionDS getFunctionFlowDefinition()This method returns the definition of the function flow.- Returns:
- The function flow definition, may be null.
-
getExternalFlowDefinition
IExternalFlowDefinitionDS getExternalFlowDefinition()This method returns the definition of the external flow.- Returns:
- The external flow definition, may be null.
-
getDcmWidgetFlowDefinition
IDcmWidgetFlowDefinitionDS getDcmWidgetFlowDefinition()This method returns the definition of the DCM widget flow.- Returns:
- The DCM widget flow definition, may be null.
-