org.norther.tammi.spray.template.step
Class NextStepAction

java.lang.Object
  extended by org.norther.tammi.spray.loader.task.Action
      extended by org.norther.tammi.spray.loader.task.ActionEvent
          extended by org.norther.tammi.spray.template.step.FlowStepAction
              extended by org.norther.tammi.spray.template.step.NextStepAction
All Implemented Interfaces:
Serializable, Task, StepFlowConstants
Direct Known Subclasses:
FormStepAction

public class NextStepAction
extends FlowStepAction

A flow step action supporting simple browsing.

Author:
Ilkka Priha
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.norther.tammi.spray.template.flow.StepFlowConstants
ADAPTABLE_STATE, DISPOSABLE_STATE, EXPLICIT_STATE, FINISHED_STATE, HELP_PIPE_PROPERTY, QUALIFIED_STATE, READ_ONLY_STATE, REPOSITORY_PROPERTY, SELECTABLE_STATE
 
Constructor Summary
NextStepAction()
          Constructs a new flow step action.
 
Method Summary
 void submitBackStep(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Goes back to the current page.
 void submitCancelStep(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Cancels the step.
 void submitFinishStep(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Finishes the step.
 void submitNextStep(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Goes to the next step.
 void submitPreviousStep(ServletRequest request, ServletResponse response, FilterChain chain, StepFlowContext context)
          Goes to the previous step.
 
Methods inherited from class org.norther.tammi.spray.template.step.FlowStepAction
checkPermission, checkPermission, done, execute, execute, finish, forward, getPermissibleRoles, getSignature, include, initialize, initialize, prepare, pushError, submit, submit, submitOpenHelp
 
Methods inherited from class org.norther.tammi.spray.loader.task.ActionEvent
getAction, getAction, getAction, invoke
 
Methods inherited from class org.norther.tammi.spray.loader.task.Action
find, getFilter, getMBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NextStepAction

public NextStepAction()
Constructs a new flow step action.

Method Detail

submitNextStep

public void submitNextStep(ServletRequest request,
                           ServletResponse response,
                           FilterChain chain,
                           StepFlowContext context)
                    throws Exception
Goes to the next step.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

submitPreviousStep

public void submitPreviousStep(ServletRequest request,
                               ServletResponse response,
                               FilterChain chain,
                               StepFlowContext context)
                        throws Exception
Goes to the previous step.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

submitFinishStep

public void submitFinishStep(ServletRequest request,
                             ServletResponse response,
                             FilterChain chain,
                             StepFlowContext context)
                      throws Exception
Finishes the step.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

submitCancelStep

public void submitCancelStep(ServletRequest request,
                             ServletResponse response,
                             FilterChain chain,
                             StepFlowContext context)
                      throws Exception
Cancels the step.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.

submitBackStep

public void submitBackStep(ServletRequest request,
                           ServletResponse response,
                           FilterChain chain,
                           StepFlowContext context)
                    throws Exception
Goes back to the current page.

Parameters:
request - the request.
response - the response.
chain - the filter chain.
context - the flow context.
Throws:
Exception - on errors.


Copyright © 2004 The Norther Organization. All rights reserved.