|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 NavigationContext
container
- the http sessionobjectKey
- the object keypublic void setDefaultOwnership(int defaultOwnership)
setDefaultOwnership
in interface NavigationContext
defaultOwnership
- the webflow default ownershippublic boolean isFrameworkToReset()
isFrameworkToReset
in interface NavigationContext
public void setIgnorePage(boolean ignorePage)
setIgnorePage
in interface NavigationContext
ignorePage
- true if the page has to be ignoredpublic boolean isIgnorePage()
isIgnorePage
in interface NavigationContext
public void setPreviousWebflowToForce(String previousWebflowToForce)
setPreviousWebflowToForce
in interface NavigationContext
previousWebflowToForce
- the previous webflow to forcepublic void setWebflowName(String webflowName)
setWebflowName
in interface NavigationContext
webflowName
- the webflow namepublic void addOwnership(String objectKey, int objectOwnership)
addOwnership
in interface NavigationContext
objectKey
- the object keyobjectOwnership
- the objectpublic void notifyPage(AttributeContainer container, String url)
notifyPage
in interface NavigationContext
container
- the attribute containerurl
- the http sessionpublic void removeAttribute(AttributeContainer container, String objectKey)
removeAttribute
in interface NavigationContext
container
- the attribute containerobjectKey
- the object key to removepublic void resetFramework()
resetFramework
in interface NavigationContext
protected boolean frameworkJustActivated()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |