|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.wfnm.web.DynamicFactory
The factory for dynamic navigation and info.
It allows to get the following information:
Constructor Summary | |
DynamicFactory()
|
Method Summary | |
static String |
getCurrentPage(javax.servlet.http.HttpSession session)
Gets the current page. |
static String |
getCurrentWebflowName(javax.servlet.http.HttpSession session)
Get the current webflow name |
static NavigationManager |
getNavigationManager(javax.servlet.http.HttpSession session)
Gets the navigation manager. |
static String |
getPreviousPage(javax.servlet.http.HttpSession session)
Gets the previous page. |
static String |
getPreviousPage(javax.servlet.http.HttpSession session,
boolean currentIfNotExists)
Gets the previous page. |
static String |
getPreviousWebflow(javax.servlet.http.HttpSession session)
Gets the previous webflow (top page). |
static String |
getPreviousWebflow(javax.servlet.http.HttpSession session,
boolean currentIfNotExists)
Gets the previous webflow (top page). |
static String |
getPreviousWebflow(javax.servlet.http.HttpSession session,
String webflowName)
Gets a previous webflow (top page) given its name. |
static String |
getPreviousWebflow(javax.servlet.http.HttpSession session,
String webflowName,
boolean currentIfNotExists)
Gets a previous webflow (top page) given its name. |
static boolean |
isPageVisited(javax.servlet.http.HttpSession session,
String url)
Returns true if the page has been visited. |
static boolean |
isWebflowVisited(javax.servlet.http.HttpSession session,
String webflowName)
Returns true if the webflow has been visited. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DynamicFactory()
Method Detail |
public static String getCurrentPage(javax.servlet.http.HttpSession session)
session
- the http session
public static String getCurrentWebflowName(javax.servlet.http.HttpSession session)
session
- the http session
public static NavigationManager getNavigationManager(javax.servlet.http.HttpSession session)
session
- the http session
public static boolean isPageVisited(javax.servlet.http.HttpSession session, String url)
session
- the http sessionurl
- the url of the page
public static String getPreviousPage(javax.servlet.http.HttpSession session, boolean currentIfNotExists)
session
- the http sessioncurrentIfNotExists
- indicates to reload the current page if it does not exists
public static String getPreviousPage(javax.servlet.http.HttpSession session)
session
- the http session
public static String getPreviousWebflow(javax.servlet.http.HttpSession session, boolean currentIfNotExists)
session
- the http sessioncurrentIfNotExists
- indicates to reload the current page if it does not exists
public static String getPreviousWebflow(javax.servlet.http.HttpSession session)
session
- the http session
public static String getPreviousWebflow(javax.servlet.http.HttpSession session, String webflowName, boolean currentIfNotExists)
session
- the http sessionwebflowName
- the webflow namecurrentIfNotExists
- indicates to reload the current page if it does not exists
public static String getPreviousWebflow(javax.servlet.http.HttpSession session, String webflowName)
session
- the http sessionwebflowName
- the webflow name
public static boolean isWebflowVisited(javax.servlet.http.HttpSession session, String webflowName)
session
- the http sessionwebflowName
- the webflow name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |