com.infoengine.webject.mgt
Class CallTask

java.lang.Object
  extended bycom.infoengine.webject.Webject
      extended bycom.infoengine.webject.mgt.CallTask

public class CallTask
extends Webject


Field Summary
private static Method EXECUTE_TASK
           
private static String RESOURCE
           
 
Constructor Summary
CallTask()
           
 
Method Summary
private  Group flattenGroup(Task task, String groupName)
           
 Task invoke(Task task)
          Execute a task identified by URI.
 
Methods inherited from class com.infoengine.webject.Webject
booleanParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

EXECUTE_TASK

private static final Method EXECUTE_TASK
Constructor Detail

CallTask

public CallTask()
Method Detail

invoke

public Task invoke(Task task)
            throws IEException
Execute a task identified by URI. Webject parameters allow the context groups of the task to be specified. In addition, individual attributes may be added to the FORM context group via webject parameters. The executed task's output groups are added to the VDB.

Specified by:
invoke in class Webject
Parameters:
task - a value of type 'Task'
Returns:
a value of type 'Task'
Throws:
IEException

flattenGroup

private Group flattenGroup(Task task,
                           String groupName)
                    throws GroupWebjectException
Throws:
GroupWebjectException