Class XmlProcessFlowDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.process.ds.xml.r17.parsing.XmlProcessFlowDS
- All Implemented Interfaces:
IReportingDS
,IProcessFlowDS
Xml datasource implementation.
- Since:
- 7.2
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
XmlProcessFlowDS
(IInitializationReport report, IXmlNode node) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the display name for the process.getId()
This method returns the id of the process flow.getName()
This method returns the name of the process flow.String[]
getRoles()
This method returns an array containing the names of the roles a user should have in order to be allowed to start a process.This method returns the ID of the start node.This method returns the name of the process type.void
iterateEdges
(IProcessEdgeVisitor visitor) This method should iterate over all the edges of the process flow, and add a data source to the visitor for each one.void
This method should iterate about all the event start definitions of the process flow.void
iterateNodes
(IProcessNodeVisitor visitor) This method should iterate over all the nodes of the process flow, and add a data source to the visitor for each one.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Constructor Details
-
XmlProcessFlowDS
-
-
Method Details
-
getDisplayName
Description copied from interface:IProcessFlowDS
This method returns the display name for the process.- Specified by:
getDisplayName
in interfaceIProcessFlowDS
- Returns:
- the display name for the process.
-
getName
Description copied from interface:IProcessFlowDS
This method returns the name of the process flow.- Specified by:
getName
in interfaceIProcessFlowDS
- Returns:
- the name of the process flow.
-
getRoles
Description copied from interface:IProcessFlowDS
This method returns an array containing the names of the roles a user should have in order to be allowed to start a process. The roles are only relevant for top-level process definitions. If this method does not return any roles, any user is allowed to start the process.- Specified by:
getRoles
in interfaceIProcessFlowDS
- Returns:
- an array containing the names of the roles a user should have in order to be allowed to start a process.
-
getStartNodeId
Description copied from interface:IProcessFlowDS
This method returns the ID of the start node.- Specified by:
getStartNodeId
in interfaceIProcessFlowDS
- Returns:
- The ID of the start node.
-
getTypeName
Description copied from interface:IProcessFlowDS
This method returns the name of the process type.- Specified by:
getTypeName
in interfaceIProcessFlowDS
- Returns:
- the name of the process type.
-
iterateEdges
Description copied from interface:IProcessFlowDS
This method should iterate over all the edges of the process flow, and add a data source to the visitor for each one.- Specified by:
iterateEdges
in interfaceIProcessFlowDS
- Parameters:
visitor
- The visitor that should be used to add the edges to.
-
iterateNodes
Description copied from interface:IProcessFlowDS
This method should iterate over all the nodes of the process flow, and add a data source to the visitor for each one.- Specified by:
iterateNodes
in interfaceIProcessFlowDS
- Parameters:
visitor
- The visitor that should be used to add the nodes to.
-
iterateEventStartDefinitions
Description copied from interface:IProcessFlowDS
This method should iterate about all the event start definitions of the process flow.- Specified by:
iterateEventStartDefinitions
in interfaceIProcessFlowDS
- Parameters:
visitor
- The visitor to add the start definitions to.
-
getId
Description copied from interface:IProcessFlowDS
This method returns the id of the process flow.- Specified by:
getId
in interfaceIProcessFlowDS
- Returns:
- the id of the process flow, never null.
-