lookupActivity(ActivityUniqueKey key) This method returns the activity identified be the given unique
key.
Parameters: key - denotes the activity to be looked up.
lookupActivityInfo(ActivityUniqueKey key) This method finds the activity identified be the given unique
key and returns all available information about it.
lookupProcess(String processMgrName, String processKey) This method finds the process identified by the given
type and key.
Parameters: processMgrName - type of the given process. Parameters: processKey - key of the process.
This method returns the activity identified be the given unique
key.
Parameters: key - denotes the activity to be looked up. the corresponding Activity value throws: RemoteException - if a system-level error occurs. exception: InvalidKeyException - if the activity specified bykey cannot be found.
This method finds the activity identified be the given unique
key and returns all available information about it. This is a
shortcut for first looking up the activity and then retrieving
the "essential" information about it.
Parameters: key - denotes the activity to be looked up. the corresponding Activity.Info value exception: InvalidKeyException - if the activity specified bykey cannot be found. throws: RemoteException - if a system-level error occurs.
This method finds the process identified by the given
type and key.
Parameters: processMgrName - type of the given process. Parameters: processKey - key of the process. the process found. throws: InvalidKeyException - if no such process can be found. throws: RemoteException - if a system-level error occurs.
This operation method returns a collection of the
defined process types as Strings.
collection of String throws: RemoteException - if a system-level error occurs.
Removes the given process. The process can be removed, only if
it is in state "closed" or "not started".
Parameters: process - the process to remove. throws: RemoteException - if a system-level error occurs. throws: CannotRemoveException - if the process cannot be removed,because it is still in progress.