|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfuego.papi.utils.AuditTrail
| Nested Class Summary | |
class |
AuditTrail.AuditNode
This class represent a Node in the AuditTrail Graph. |
class |
AuditTrail.ItemExecutedNode
|
class |
AuditTrail.ItemSelectedNode
|
class |
AuditTrail.ItemUnselectedNode
|
class |
AuditTrail.MeasureVariableNode
This class represents a Measure Varible Node. |
class |
AuditTrail.SubFlowNode
|
| Field Summary | |
static int |
ACTIVITY_NODE
|
static int |
EVENT_NODE
|
static int |
MEASUREMENT_START_NODE
|
static int |
MEASUREMENT_START_STOP_NODE
|
static int |
MEASUREMENT_STOP_NODE
|
static int |
ROOT_NODE
|
static int |
THREAD_NODE
|
| Constructor Summary | |
AuditTrail(ProcessServiceNESession session,
String instanceId)
Constructor to create complete graph. |
|
AuditTrail(String instanceId,
Activity[] activities,
Locale locale)
Constructor to create only a root node |
|
| Method Summary | |
AuditTrail.AuditNode |
getNode(String id)
Returns the node represented by the id. |
AuditTrail.AuditNode |
getRootNode()
Returns the root node of the graph. |
Iterator |
iterator()
Returns san Iterator over the graph |
void |
load()
Loads the instance events and generate the graph. To use this method you must created the AuditTrail with a ProcessServiceNESession |
void |
load(InstanceEvent[] events)
Generates the graph from the events |
void |
load(ProcessServiceNESession session)
Loads the instance events and generate the graph. |
void |
print(PrintStream out)
Prints the graph over the PrintStream |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ROOT_NODE
public static final int THREAD_NODE
public static final int ACTIVITY_NODE
public static final int EVENT_NODE
public static final int MEASUREMENT_START_NODE
public static final int MEASUREMENT_STOP_NODE
public static final int MEASUREMENT_START_STOP_NODE
| Constructor Detail |
public AuditTrail(ProcessServiceNESession session,
String instanceId)
throws OperationException
OperationException - if the constructor fails when creates the object.
public AuditTrail(String instanceId,
Activity[] activities,
Locale locale)
| Method Detail |
public AuditTrail.AuditNode getNode(String id)
id - Node Identification
public AuditTrail.AuditNode getRootNode()
public final void load(InstanceEvent[] events)
public final void load(ProcessServiceNESession session)
throws OperationException
session - The ProcessServiceNESession used to obtain the events.
OperationException - if the AuditTrail was unable to retrieve the instance events.ProcessNotAvailableException if the process requested is not available.ProcessControlNotAvailableException if the remote process is
not available.InstanceNotFoundException if the instance of the AuditTrail
could not be found.
public final void load()
throws OperationException
OperationException - if the AuditTrail was unable to retrieve the instance events.ProcessNotAvailableException if the process requested is not available.ProcessControlNotAvailableException if the remote process is
not available.InstanceNotFoundException if the instance of the AuditTrail
could not be found.public Iterator iterator()
public void print(PrintStream out)
out - PrintStrem to print the graph
|
ALBPM Process API (PAPI) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||