com.livinglogic.struts.workflow
Class ForwardNextStateViolationAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.livinglogic.struts.workflow.ForwardNextStateViolationAction

public class ForwardNextStateViolationAction
extends org.apache.struts.action.Action

This action forwards to the action that caused a nextState violation during this request (if any). If no nextState violation was encountered, e. g. because a prevState condition caused the initial workflow violation, the action forwards to the forward "noNextStateViolation"

Since:
$Name: $
Version:
$Revision: 1.3 $, $Date: 2004/04/08 14:58:23 $
Author:
M.Bauer, $Author: jason_pratt $

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
ForwardNextStateViolationAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardNextStateViolationAction

public ForwardNextStateViolationAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Returns an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.

Parameters:
mapping - The ActionMapping used to select this instance
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
ActionForward instance that describes where and how control should be forwarded to.
Throws:
Exception - if the application business logic throws an exception


Copyright © 2004 Struts Workflow Extension Team. All Rights Reserved.