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
 SecuredStatusBean getNextStatusImpl(SessionContext sc, java.lang.String taskId, java.lang.String mstatusId, SecuredStatusBean result)
           
 java.util.ArrayList getTaskEditGroupHandlerListImpl(SessionContext sc, java.lang.String taskId, java.lang.String categoryId, java.util.ArrayList result)
           
 java.util.ArrayList getTaskEditHandlerListImpl(SessionContext sc, java.lang.String taskId, java.lang.String categoryId, 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

getTaskEditHandlerListImpl

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

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

getTaskEditGroupHandlerListImpl

public java.util.ArrayList getTaskEditGroupHandlerListImpl(SessionContext sc,
                                                           java.lang.String taskId,
                                                           java.lang.String categoryId,
                                                           java.util.ArrayList result)
                                                    throws GranException
Specified by:
getTaskEditGroupHandlerListImpl in interface SecuredStepAdapter
Throws:
GranException

getNextStatusImpl

public SecuredStatusBean getNextStatusImpl(SessionContext sc,
                                           java.lang.String taskId,
                                           java.lang.String mstatusId,
                                           SecuredStatusBean result)
                                    throws GranException
Specified by:
getNextStatusImpl in interface SecuredStepAdapter
Throws:
GranException


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