com.uwyn.rife.engine
Class StateStoreSession

java.lang.Object
  extended by com.uwyn.rife.engine.StateStoreSession
All Implemented Interfaces:
StateStore

public class StateStoreSession
extends Object
implements StateStore


Field Summary
static String IDENTIFIER
           
 
Method Summary
 ElementResultState createNewResultState(String contextId)
           
 void exportFormState(CharSequenceDeferred deferred, FlowState state, FormStateType stateType)
           
 void exportFormUrl(CharSequenceDeferred deferred, String url)
           
 void exportQueryUrl(CharSequenceDeferred deferred, String url, FlowState state, ElementInfo source, String type, String name)
           
 Class getResultStateType()
           
 void init(Request request)
           
 Map<String,String[]> restoreParameters(Request request)
           
 ResultStates restoreResultStates(Request request)
           
protected  void storeStates(UniqueID stateId, HttpSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final String IDENTIFIER
See Also:
Constant Field Values
Method Detail

init

public void init(Request request)
          throws EngineException
Specified by:
init in interface StateStore
Throws:
EngineException

exportQueryUrl

public void exportQueryUrl(CharSequenceDeferred deferred,
                           String url,
                           FlowState state,
                           ElementInfo source,
                           String type,
                           String name)
                    throws EngineException
Specified by:
exportQueryUrl in interface StateStore
Throws:
EngineException

exportFormState

public void exportFormState(CharSequenceDeferred deferred,
                            FlowState state,
                            FormStateType stateType)
                     throws EngineException
Specified by:
exportFormState in interface StateStore
Throws:
EngineException

exportFormUrl

public void exportFormUrl(CharSequenceDeferred deferred,
                          String url)
                   throws EngineException
Specified by:
exportFormUrl in interface StateStore
Throws:
EngineException

restoreParameters

public Map<String,String[]> restoreParameters(Request request)
                                       throws EngineException
Specified by:
restoreParameters in interface StateStore
Throws:
EngineException

restoreResultStates

public ResultStates restoreResultStates(Request request)
                                 throws EngineException
Specified by:
restoreResultStates in interface StateStore
Throws:
EngineException

createNewResultState

public ElementResultState createNewResultState(String contextId)
                                        throws EngineException
Specified by:
createNewResultState in interface StateStore
Throws:
EngineException

getResultStateType

public Class getResultStateType()
                         throws EngineException
Specified by:
getResultStateType in interface StateStore
Throws:
EngineException

storeStates

protected void storeStates(UniqueID stateId,
                           HttpSession session)


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.