Interface IProcessFlowDS
- All Superinterfaces:
IReportingDS
- All Known Implementing Classes:
XmlProcessFlowDS
,XmlProcessFlowDS
This interface is used to initialize a single process flow.
- Since:
- 7.0
- Author:
- O. Kerpershoek
-
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 interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
Method Details
-
getId
GUID getId()This method returns the id of the process flow.- Returns:
- the id of the process flow, never null.
-
getName
String getName()This method returns the name of the process flow.- Returns:
- the name of the process flow.
-
getDisplayName
IMultilingualText getDisplayName()This method returns the display name for the process.- Returns:
- the display name for the process.
-
getTypeName
String getTypeName()This method returns the name of the process type.- Returns:
- the name of the process type.
-
getRoles
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. 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.- Returns:
- an array containing the names of the roles a user should have in order to be allowed to start a process.
-
getStartNodeId
GUID getStartNodeId()This method returns the ID of the start node.- Returns:
- The ID of the start node.
-
iterateNodes
This method should iterate over all the nodes of the process flow, and add a data source to the visitor for each one.- Parameters:
visitor
- The visitor that should be used to add the nodes to.- Throws:
InitializationException
- This exception is thrown if the nodes could not be initialized.
-
iterateEdges
This method should iterate over all the edges of the process flow, and add a data source to the visitor for each one.- Parameters:
visitor
- The visitor that should be used to add the edges to.- Throws:
InitializationException
- This exception is thrown if the edges could not be initialized.
-
iterateEventStartDefinitions
This method should iterate about all the event start definitions of the process flow.- Parameters:
visitor
- The visitor to add the start definitions to.- Throws:
InitializationException
- This exception is thrown if the start definitions could not be initialized.
-