ALBPM Process API

fuego.papi.utils
Class AuditTrail.AuditNode

java.lang.Object
  extended by fuego.papi.utils.AuditTrail.AuditNode
Direct Known Subclasses:
AuditTrail.ItemExecutedNode, AuditTrail.ItemSelectedNode, AuditTrail.ItemUnselectedNode, AuditTrail.MeasureVariableNode, AuditTrail.SubFlowNode
Enclosing class:
AuditTrail

public class AuditTrail.AuditNode
extends Object

This class represent a Node in the AuditTrail Graph.


Method Summary
 void addChildren(List<AuditTrail.AuditNode> children, AuditTrail parent)
          Adds children to the node
 void collapse()
          Collapse node - Hide childrens
 void expand()
          Expands node - Show childrens
 void expandAll()
          Expands all nodes recursively.
 String getActivityName()
          Returns the activity name where the node is.
 int getActivityType()
          Returns the activity type where the node is.
 List<AuditTrail.AuditNode> getChildren()
          Returns the children of the node
 List<AuditTrail.AuditNode> getDescendants()
          Returns the descendants of the node
 String getDescription()
          Returns the description of the node
 String getEvent()
          Returns the event of the node
 String getEventData()
          Returns the information of the node
 int getEventType()
          Returns the event type of the node
 String getId()
          Returns the indentification of the node
 int getInstanceCopy()
          Returns the instance copy of the node
 int getInstanceIn()
          Returns the instance number of the node
 int getLevel()
          Returns the level of the node in the graph.
 AuditTrail.AuditNode getParent()
          Returns the parent node of this node
 String getParticipant()
          Returns the participant whos generate this node
 String getPath()
          Returns path generated by this node
 int getProcessIn()
          Returns the process number of this node
 Time getTimeStamp()
          Returns the time when the event of the node was generated.
 int getType()
          Returns the type of the node
 void hide()
          Hides node
 boolean isExpanded()
          Returns if this node was expanded or not
 boolean isLeaf()
          Returns if this node is a leaf
 boolean isSubflowLoaded()
           
 boolean isVisible()
          Returns if this node is visible or not.
 void print(PrintStream out, String space)
          Prints the node
 void setSubflowLoaded(boolean subflowLoaded)
           
 void show()
          Shows node
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getActivityName

public String getActivityName()
Returns the activity name where the node is.

Returns:
The activity name.

getActivityType

public int getActivityType()
Returns the activity type where the node is.

Returns:
The activity type.
See Also:
Activity

getChildren

public List<AuditTrail.AuditNode> getChildren()
Returns the children of the node

Returns:
Array with the children nodes.

getDescendants

public List<AuditTrail.AuditNode> getDescendants()
Returns the descendants of the node

Returns:
List with the descendants nodes.

getDescription

public String getDescription()
Returns the description of the node

Returns:
Node description.

getEvent

public String getEvent()
Returns the event of the node

Returns:
Event of the node.

getEventData

public String getEventData()
Returns the information of the node

Returns:
Node data.

getEventType

public int getEventType()
Returns the event type of the node

Returns:
Event type.
See Also:
EventType

isExpanded

public boolean isExpanded()
Returns if this node was expanded or not

Returns:
true if the node was expandes.

getId

public String getId()
Returns the indentification of the node

Returns:
Node identification.

getInstanceCopy

public int getInstanceCopy()
Returns the instance copy of the node

Returns:
Instance copy.

getInstanceIn

public int getInstanceIn()
Returns the instance number of the node

Returns:
Instance number.

isLeaf

public boolean isLeaf()
Returns if this node is a leaf

Returns:
true if the node is a leaf.

getLevel

public int getLevel()
Returns the level of the node in the graph.

Returns:
Level of the node.

getParent

public AuditTrail.AuditNode getParent()
Returns the parent node of this node

Returns:
Parent node.

getParticipant

public String getParticipant()
Returns the participant whos generate this node

Returns:
Participant identification.

getPath

public String getPath()
Returns path generated by this node

Returns:
String Path separated by ';'.

getProcessIn

public int getProcessIn()
Returns the process number of this node

Returns:
Process identification number.

setSubflowLoaded

public void setSubflowLoaded(boolean subflowLoaded)

isSubflowLoaded

public boolean isSubflowLoaded()

getTimeStamp

public Time getTimeStamp()
Returns the time when the event of the node was generated.

Returns:
Event time stamp.
See Also:
Time

getType

public int getType()
Returns the type of the node

Returns:
Node type.

isVisible

public boolean isVisible()
Returns if this node is visible or not.

Returns:
true if the node is visible

addChildren

public void addChildren(List<AuditTrail.AuditNode> children,
                        AuditTrail parent)
Adds children to the node

Parameters:
children - Nodes to add
parent - Parent AuditTrail to add childrens

collapse

public void collapse()
Collapse node - Hide childrens


expand

public void expand()
Expands node - Show childrens


expandAll

public void expandAll()
Expands all nodes recursively.


hide

public void hide()
Hides node


print

public void print(PrintStream out,
                  String space)
Prints the node

Parameters:
out - Output where the node will be printed.
space - Ident space

show

public void show()
Shows node


ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved