com.infoengine.object.factory
Class BusinessTask

java.lang.Object
  extended bycom.infoengine.object.factory.Task
      extended bycom.infoengine.object.factory.BusinessTask
All Implemented Interfaces:
Serializable

public class BusinessTask
extends Task

Description...

 Examples...
 

See Also:
Serialized Form

Field Summary
protected  Hashtable globalAttributes
           
(package private) static String ID
           
 
Fields inherited from class com.infoengine.object.factory.Task
AUTH_MAP, CONTEXT, SOURCE, STATUS, TASKS, VDB, WEBJECTS
 
Constructor Summary
BusinessTask(IeRequest req)
          Construct a business task wrapper around an incoming request.
BusinessTask(String name)
          Constructor for a named business task.
BusinessTask(Webject webject)
          Construct a business task wrapper around an existing webject.
 
Method Summary
 void addAttribute(String key, String value)
           
 void addWebject(Webject subwebject)
          Add a subtask that must be completed before this task can be run.
 Object getAttribute(String key)
           
 Enumeration getWebjects()
          Get any subtasks that must be completed before this task can be run.
private static String ident()
           
static void main(String[] args)
           
 
Methods inherited from class com.infoengine.object.factory.Task
addContext, addError, addInput, addOutput, addOutput, addVdb, addVdb, bindParams, bindParams, checkWebjects, clearInput, deepClone, getAuthElement, getContext, getContext, getContextGroup, getDesc, getGroupIn, getGroupIn, getGroupOut, getGroupOut, getInput, getInput, getInputGroups, getInputs, getInputStream, getMessage, getMessages, getMimeInputStream, getName, getOutput, getOutput, getOutputGroups, getOutputStream, getPassword, getRequest, getSource, getStatus, getType, getUserName, getVariables, getVdb, getVdb, getVdbIn, getVdbIn, getWebject, newStructure, printTree, removeInput, removeVdb, setContext, setDesc, setInput, setInputStream, setName, setOutputStream, setPassword, setSource, setType, setUserName, setVdb, setWebject, subVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

static final String ID
See Also:
Constant Field Values

globalAttributes

protected Hashtable globalAttributes
Constructor Detail

BusinessTask

public BusinessTask(String name)
Constructor for a named business task.


BusinessTask

public BusinessTask(Webject webject)
Construct a business task wrapper around an existing webject.


BusinessTask

public BusinessTask(IeRequest req)
Construct a business task wrapper around an incoming request.

Method Detail

addAttribute

public void addAttribute(String key,
                         String value)

getAttribute

public Object getAttribute(String key)

getWebjects

public Enumeration getWebjects()
Get any subtasks that must be completed before this task can be run.

Returns:
The (possibly empty) list of subtasks.

addWebject

public void addWebject(Webject subwebject)
Add a subtask that must be completed before this task can be run.


ident

private static String ident()

main

public static void main(String[] args)