gran.app.adapter.kernel.workflow
Class BaseWorkflowAdapter

java.lang.Object
  extended bygran.app.adapter.kernel.workflow.BaseWorkflowAdapter
All Implemented Interfaces:
Adapter, KernelAdapter, WorkflowAdapter

public class BaseWorkflowAdapter
extends java.lang.Object
implements WorkflowAdapter


Constructor Summary
BaseWorkflowAdapter()
           
 
Method Summary
 java.util.ArrayList availableWorkflowIdListImpl(java.lang.String taskid, java.util.ArrayList result)
           
 java.lang.String getDescription()
          Get description of adapter as plain text
 java.lang.String getStartStatusIdImpl(java.lang.String workflowid, java.lang.String result)
           
 java.util.ArrayList getUDFsImpl(java.lang.String id, java.util.ArrayList result)
           
 boolean init()
          Initialize adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseWorkflowAdapter

public BaseWorkflowAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

getStartStatusIdImpl

public java.lang.String getStartStatusIdImpl(java.lang.String workflowid,
                                             java.lang.String result)
                                      throws GranException
Specified by:
getStartStatusIdImpl in interface WorkflowAdapter
Throws:
GranException

availableWorkflowIdListImpl

public java.util.ArrayList availableWorkflowIdListImpl(java.lang.String taskid,
                                                       java.util.ArrayList result)
                                                throws GranException
Specified by:
availableWorkflowIdListImpl in interface WorkflowAdapter
Throws:
GranException

getUDFsImpl

public java.util.ArrayList getUDFsImpl(java.lang.String id,
                                       java.util.ArrayList result)
                                throws GranException
Specified by:
getUDFsImpl in interface WorkflowAdapter
Throws:
GranException


Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.