apps.projectmanagement.registry
Class WorkflowRegistry

java.lang.Object
  extended by apps.projectmanagement.registry.WorkflowRegistry

public class WorkflowRegistry
extends java.lang.Object

The Class WorkflowRegistry.


Method Summary
 void addLink(GraphLink link)
          Adds the link.
 void addNode(GraphNode node)
          Adds the node.
static WorkflowRegistry getInstance()
          Gets the single instance of WorkflowRegistry.
 java.util.List<GraphLink> getLinks()
          Gets the links.
 java.util.List<GraphNode> getNodes()
          Gets the nodes.
 void hideWorkflow()
          Hide workflow.
 void removeLink(GraphLink link)
          Removes the link.
 void removeNode(GraphNode node)
          Removes the node.
 void setEditable(boolean b)
          Sets the editable.
 void setLinks(java.util.List<GraphLink> links)
          Sets the links.
 void setNodes(java.util.List<GraphNode> nodes)
          Sets the nodes.
 void showWorkflow()
          Show workflow.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WorkflowRegistry getInstance()
Gets the single instance of WorkflowRegistry.

Returns:
single instance of WorkflowRegistry

addLink

public void addLink(GraphLink link)
Adds the link.

Parameters:
link - the link

addNode

public void addNode(GraphNode node)
Adds the node.

Parameters:
node - the node

getLinks

public java.util.List<GraphLink> getLinks()
Gets the links.

Returns:
the links

getNodes

public java.util.List<GraphNode> getNodes()
Gets the nodes.

Returns:
the nodes

hideWorkflow

public void hideWorkflow()
Hide workflow.


removeLink

public void removeLink(GraphLink link)
Removes the link.

Parameters:
link - the link

removeNode

public void removeNode(GraphNode node)
Removes the node.

Parameters:
node - the node

setEditable

public void setEditable(boolean b)
Sets the editable.

Parameters:
b - the new editable

setLinks

public void setLinks(java.util.List<GraphLink> links)
Sets the links.

Parameters:
links - the new links

setNodes

public void setNodes(java.util.List<GraphNode> nodes)
Sets the nodes.

Parameters:
nodes - the new nodes

showWorkflow

public void showWorkflow()
Show workflow.