gran.app.adapter.kernel.step
Interface StepAdapter

All Superinterfaces:
Adapter, KernelAdapter
All Known Implementing Classes:
BaseStepAdapter

public interface StepAdapter
extends KernelAdapter


Method Summary
 java.util.Collection availableMstatusImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result)
          get available mstatus for current state
 java.util.Collection getAllowedMsgRecepientImpl(java.lang.String task, java.lang.String mstatus, java.util.Collection result)
           
 java.util.Collection getHandlerListForTaskImpl(java.lang.String taskId, java.util.Collection result)
           
 java.util.Collection listMessagesImpl(java.lang.String taskid, java.lang.String userid, java.util.Collection result)
          Returns a collection of messages for specified Task
 void sendNotificationImpl(java.lang.String messageid, java.lang.String taskid, java.lang.String userid, boolean checkUDF)
           
 void stepImpl(java.lang.String mstatus, java.lang.String task, java.lang.String userid, java.lang.String handler, java.lang.String resolution)
           
 
Methods inherited from interface gran.app.adapter.Adapter
getDescription, init
 

Method Detail

stepImpl

public void stepImpl(java.lang.String mstatus,
                     java.lang.String task,
                     java.lang.String userid,
                     java.lang.String handler,
                     java.lang.String resolution)
              throws gran.exception.GranException
Throws:
gran.exception.GranException

listMessagesImpl

public java.util.Collection listMessagesImpl(java.lang.String taskid,
                                             java.lang.String userid,
                                             java.util.Collection result)
                                      throws gran.exception.GranException
Returns a collection of messages for specified Task

Returns:
Collection of MsgListItem
Throws:
gran.exception.GranException

getAllowedMsgRecepientImpl

public java.util.Collection getAllowedMsgRecepientImpl(java.lang.String task,
                                                       java.lang.String mstatus,
                                                       java.util.Collection result)
                                                throws gran.exception.GranException
Throws:
gran.exception.GranException

sendNotificationImpl

public void sendNotificationImpl(java.lang.String messageid,
                                 java.lang.String taskid,
                                 java.lang.String userid,
                                 boolean checkUDF)
                          throws gran.exception.GranException
Throws:
gran.exception.GranException

availableMstatusImpl

public java.util.Collection availableMstatusImpl(java.lang.String taskid,
                                                 java.lang.String userid,
                                                 java.util.Collection result)
                                          throws gran.exception.GranException
get available mstatus for current state

Throws:
gran.exception.GranException

getHandlerListForTaskImpl

public java.util.Collection getHandlerListForTaskImpl(java.lang.String taskId,
                                                      java.util.Collection result)
                                               throws gran.exception.GranException
Throws:
gran.exception.GranException


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