|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.wfnm.NavigationContextImpl
The navigation context default implementation.
| Nested Class Summary | |
protected class |
NavigationContextImpl.Ownership
Defines a ownership as a key-ownership pair. |
| Field Summary | |
protected Set |
addedObjectSet
The added object set. |
protected int |
defaultOwnership
The webflow default ownership. |
protected boolean |
ignorePage
Indicates that the page has to be ignored. |
protected List |
ownershipList
A list of ownership. |
protected String |
previousWebflowToForce
The previous webflow to force |
protected Set |
removedObjectSet
The removed object set. |
protected boolean |
reset
Indicates if the Webflow Navigation Manager has been reset. |
protected String |
webflowName
The webflow name. |
| Constructor Summary | |
protected |
NavigationContextImpl()
Creates a new DeferredSetting object. |
| Method Summary | |
void |
addOwnership(String objectKey,
int objectOwnership)
Adds a deferred ownership. |
protected boolean |
frameworkJustActivated()
Returns true if the framework has just been activated. |
boolean |
isFrameworkToReset()
Returns true if the framework has to be resetted. |
boolean |
isIgnorePage()
Indicates if the page has to be ignored. |
void |
notifyPage(AttributeContainer container,
String url)
Notify that a page has been reached. |
void |
removeAttribute(AttributeContainer container,
String objectKey)
Removes an attribute. |
void |
resetFramework()
Reset the Webflow Navigation Manager framework. |
void |
setAttribute(AttributeContainer container,
String objectKey)
Sets an attribute. |
void |
setDefaultOwnership(int defaultOwnership)
Sets the webflow default ownership. |
void |
setIgnorePage(boolean ignorePage)
Sets whether the page has to be ignored. |
void |
setPreviousWebflowToForce(String previousWebflowToForce)
Force the previous webflow. |
void |
setWebflowName(String webflowName)
Sets the webflow name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected List ownershipList
protected Set addedObjectSet
protected Set removedObjectSet
protected String previousWebflowToForce
protected String webflowName
protected boolean ignorePage
protected boolean reset
protected int defaultOwnership
| Constructor Detail |
protected NavigationContextImpl()
| Method Detail |
public void setAttribute(AttributeContainer container,
String objectKey)
setAttribute in interface NavigationContextcontainer - the http sessionobjectKey - the object keypublic void setDefaultOwnership(int defaultOwnership)
setDefaultOwnership in interface NavigationContextdefaultOwnership - the webflow default ownershippublic boolean isFrameworkToReset()
isFrameworkToReset in interface NavigationContextpublic void setIgnorePage(boolean ignorePage)
setIgnorePage in interface NavigationContextignorePage - true if the page has to be ignoredpublic boolean isIgnorePage()
isIgnorePage in interface NavigationContextpublic void setPreviousWebflowToForce(String previousWebflowToForce)
setPreviousWebflowToForce in interface NavigationContextpreviousWebflowToForce - the previous webflow to forcepublic void setWebflowName(String webflowName)
setWebflowName in interface NavigationContextwebflowName - the webflow name
public void addOwnership(String objectKey,
int objectOwnership)
addOwnership in interface NavigationContextobjectKey - the object keyobjectOwnership - the object
public void notifyPage(AttributeContainer container,
String url)
notifyPage in interface NavigationContextcontainer - the attribute containerurl - the http session
public void removeAttribute(AttributeContainer container,
String objectKey)
removeAttribute in interface NavigationContextcontainer - the attribute containerobjectKey - the object key to removepublic void resetFramework()
resetFramework in interface NavigationContextprotected boolean frameworkJustActivated()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||