net.sf.wfnm.web
Class NotifyFactory

java.lang.Object
  extended bynet.sf.wfnm.web.NotifyFactory

public class NotifyFactory
extends Object

A factory that notify to the navigation context that a page has been reached.

Version:
1.0.6
Author:
Maurizio Albari

Method Summary
static NotifyFactory getInstance()
          Returns the unique instance of the NotifyFactory.
static void notifyPage(javax.servlet.http.HttpServletRequest request)
          Notify that a page has been reached.
protected  void notifyReachedPage(javax.servlet.http.HttpServletRequest request)
          Notify to the WFNM framework that a page has been reached
static void resetFramework(javax.servlet.http.HttpSession session)
          Reset the WFNM framework.
static void simulateNotifyPreviousPage(javax.servlet.http.HttpSession session)
          Simulates the notification of the previous page.
static void simulateNotifyPreviousPage(javax.servlet.http.HttpSession session, String url)
          Simulates the notification of a specified previous page.
static void simulateNotifyPreviousWebflow(javax.servlet.http.HttpSession session)
          Simulates the notification of a previous webflow.
static void simulateNotifyPreviousWebflow(javax.servlet.http.HttpSession session, String webflowName)
          Simulates the notification of a specified previous webflow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static NotifyFactory getInstance()
Returns the unique instance of the NotifyFactory.

Returns:
the unique instance of the NotifyFactory

notifyPage

public static void notifyPage(javax.servlet.http.HttpServletRequest request)
Notify that a page has been reached.

Parameters:
request - the http request

resetFramework

public static void resetFramework(javax.servlet.http.HttpSession session)
Reset the WFNM framework.

Parameters:
session - the http session

simulateNotifyPreviousPage

public static void simulateNotifyPreviousPage(javax.servlet.http.HttpSession session,
                                              String url)
Simulates the notification of a specified previous page.

Parameters:
session - the http session
url - the url of the page

simulateNotifyPreviousPage

public static void simulateNotifyPreviousPage(javax.servlet.http.HttpSession session)
Simulates the notification of the previous page.

Parameters:
session - the http session

simulateNotifyPreviousWebflow

public static void simulateNotifyPreviousWebflow(javax.servlet.http.HttpSession session)
Simulates the notification of a previous webflow.

Parameters:
session - the http session

simulateNotifyPreviousWebflow

public static void simulateNotifyPreviousWebflow(javax.servlet.http.HttpSession session,
                                                 String webflowName)
Simulates the notification of a specified previous webflow.

Parameters:
session - the http session
webflowName - the previous webflow

notifyReachedPage

protected void notifyReachedPage(javax.servlet.http.HttpServletRequest request)
Notify to the WFNM framework that a page has been reached

Parameters:
request - the HttpServletRequest


Copyright © 2004-2005 Maurizio Albari@SourceForge.net. All Rights Reserved.