gran.app.adapter.external.step
Class BaseSecuredStepAdapter

java.lang.Object
  extended bygran.app.adapter.external.step.BaseSecuredStepAdapter
All Implemented Interfaces:
Adapter, SecuredAdapter, SecuredStepAdapter

public class BaseSecuredStepAdapter
extends java.lang.Object
implements SecuredStepAdapter


Constructor Summary
BaseSecuredStepAdapter()
           
 
Method Summary
 java.util.ArrayList getAvailableMstatusListImpl(SessionContext sc, java.lang.String taskId, java.util.ArrayList result)
          Returns available Mstatuses for specified Task.
 java.lang.String getDescription()
          Get description of adapter as plain text
 java.util.ArrayList getHandlerListImpl(SessionContext sc, java.lang.String taskId, java.util.ArrayList result)
          Returns available Handlers for specified Task.
 boolean init()
          Initialize adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSecuredStepAdapter

public BaseSecuredStepAdapter()
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

getAvailableMstatusListImpl

public java.util.ArrayList getAvailableMstatusListImpl(SessionContext sc,
                                                       java.lang.String taskId,
                                                       java.util.ArrayList result)
                                                throws GranException
Description copied from interface: SecuredStepAdapter
Returns available Mstatuses for specified Task. Available via SOAP.

Specified by:
getAvailableMstatusListImpl in interface SecuredStepAdapter
Parameters:
sc -
taskId -
result -
Returns:
list of SecuredMstatusBeans
Throws:
GranException
See Also:
SecuredMstatusBean

getHandlerListImpl

public java.util.ArrayList getHandlerListImpl(SessionContext sc,
                                              java.lang.String taskId,
                                              java.util.ArrayList result)
                                       throws GranException
Description copied from interface: SecuredStepAdapter
Returns available Handlers for specified Task. Available via SOAP.

Specified by:
getHandlerListImpl in interface SecuredStepAdapter
Parameters:
sc -
taskId -
result -
Returns:
list of SecuredUserBean
Throws:
GranException


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