com.livinglogic.struts.workflow
Class WorkflowUtils

java.lang.Object
  extended bycom.livinglogic.struts.workflow.WorkflowUtils

public class WorkflowUtils
extends Object

Class that provides utilities for the workflow extension.

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

Constructor Summary
WorkflowUtils()
           
 
Method Summary
static String getNextStateViolationAction(javax.servlet.http.HttpServletRequest request)
          Retrieves the action that caused a nextState workflow violation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowUtils

public WorkflowUtils()
Method Detail

getNextStateViolationAction

public static String getNextStateViolationAction(javax.servlet.http.HttpServletRequest request)
Retrieves the action that caused a nextState workflow violation. Each time a nextState violation is encountered, this path is saved in the request. Calling this method allows to find out, if a nextState violation occured during this request.

Parameters:
request - The request object
Returns:
The path that caused a nextState violation during this request if any. null, if no nextState violation was encountered during this request.


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