|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<String,GenericWorkflowHandler>
net.kwfgrid.gwes.GenericWorkflowHandlerTable
public class GenericWorkflowHandlerTable
A workflow handler table is an extended Hashtable with GenericWorkflowHandlers as values and their corresponding workflow instance identifiers as keys.
| Constructor Summary | |
|---|---|
GenericWorkflowHandlerTable()
|
|
| Method Summary | |
|---|---|
GenericWorkflowHandler |
get(String workflowID)
Returns the handler to which the specified workflowID is mapped in this hashtable. |
GenericWorkflowHandler |
put(String workflowID,
GenericWorkflowHandler handler)
Maps the specified workflowID to the specified
handler in this table. |
GenericWorkflowHandler |
remove(String workflowID)
Removes the workflowID (and its corresponding handler) from this hashtable. |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericWorkflowHandlerTable()
| Method Detail |
|---|
public final GenericWorkflowHandler put(String workflowID,
GenericWorkflowHandler handler)
workflowID to the specified
handler in this table. Neither the workflowID nor the
handler can be null.
put in interface Map<String,GenericWorkflowHandler>put in class Hashtable<String,GenericWorkflowHandler>workflowID - The workflow identifierhandler - The workflow handler
null if it did not have one.
public final GenericWorkflowHandler get(String workflowID)
throws NoSuchWorkflowException
null.
workflowID - a workflowID in the hashtable.
NullPointerException - if the workflowID is null.
NoSuchWorkflowException - if the workflowID is not mapped to any handler in
this hashtable.put(String, GenericWorkflowHandler)public final GenericWorkflowHandler remove(String workflowID)
workflowID - the workflowID that needs to be removed.
null if the workflowID did not have a mapping.
NullPointerException - if the workflowID is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||