|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Navigation Manager interface.
Concrete implementations of this interface contain the internal status of the framework such as:
Field Summary |
Fields inherited from interface net.sf.wfnm.OwnershipConst |
GLOBAL_OWNERSHIP, NO_OWNERSHIP, OWNERSHIP_DESC, PAGE_OWNERSHIP, PREVIOUS_OWNERSHIP, WEBFLOW_OWNERSHIP, WORKING_OWNERSHIP |
Method Summary | |
String |
getCurrentPage()
Gets the url of the current page. |
String |
getCurrentWebflow()
Gets the current webflow name. |
Object |
getLock()
Gets the synchronization lock. |
String |
getPreviousPage()
Gets the url of the previous page. |
String |
getPreviousWebflow()
Gets the url of the previous webflow top page. |
String |
getPreviousWebflow(String webflow)
Gets the url of a webflow top page. |
Stack |
getWebflowStack()
Returns the webflow stack. |
boolean |
isPageVisited(String url)
Returns true if the page has been visited. |
boolean |
isWebflowVisited(String webflowName)
Returns true if the webflow has been visited. |
void |
notifyPage(AttributeContainer container,
String url,
Set addedObjectSet,
Set removedObjectSet)
Notify that the navigation has reached a page. |
void |
notifyPage(AttributeContainer container,
String url,
String webflowName,
int defaultWebflowOwnership,
Set addedObjectSet,
Set removedObjectSet)
Notify that the navigation has reached a page of a specified webflow. |
void |
resetFramework(AttributeContainer container)
Reset the navigation manager. |
void |
setLock(Object lock)
Sets the synchronization lock. |
void |
setObjectOwnership(String objectKey,
int objectOwnership)
Sets the object owner. |
void |
setPageChangedListener(PageChangedListener pageChangedListener)
Sets the page changed listener. |
void |
setWebflowChangedListener(WebflowChangedListener webflowChangedListener)
Sets the webflow changed listener. |
Method Detail |
public String getCurrentPage()
public String getCurrentWebflow()
public void setLock(Object lock)
lock
- the synchronization lockpublic Object getLock()
public void setObjectOwnership(String objectKey, int objectOwnership)
objectKey
- the object keyobjectOwnership
- the object ownershippublic void setPageChangedListener(PageChangedListener pageChangedListener)
pageChangedListener
- the page changed listenerpublic boolean isPageVisited(String url)
url
- the url of the page
public String getPreviousPage()
public String getPreviousWebflow()
public String getPreviousWebflow(String webflow)
webflow
- the webflow name
public void setWebflowChangedListener(WebflowChangedListener webflowChangedListener)
webflowChangedListener
- the webflow changed listenerpublic Stack getWebflowStack()
public boolean isWebflowVisited(String webflowName)
webflowName
- the webflow name
public void notifyPage(AttributeContainer container, String url, String webflowName, int defaultWebflowOwnership, Set addedObjectSet, Set removedObjectSet)
container
- the attribute containerurl
- the url of the pagewebflowName
- the webflow namedefaultWebflowOwnership
- the default webflow ownershipaddedObjectSet
- the added object setremovedObjectSet
- the removed object setpublic void notifyPage(AttributeContainer container, String url, Set addedObjectSet, Set removedObjectSet)
container
- the attribute containerurl
- the url of the pageaddedObjectSet
- the added object setremovedObjectSet
- the removed object setpublic void resetFramework(AttributeContainer container)
container
- the attribute container
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |