|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.core.model.portal.navstate.PortalObjectNavigationalStateContext
public class PortalObjectNavigationalStateContext
| Constructor Summary | |
|---|---|
PortalObjectNavigationalStateContext(org.jboss.portal.common.invocation.AttributeResolver store)
|
|
| Method Summary | |
|---|---|
boolean |
applyChanges()
Apply the navigational state changes to the real storage. |
java.lang.Object |
getAttribute(java.lang.Object attrKey)
|
java.util.Iterator<NavigationalStateObjectChange> |
getChanges()
Retrieve an iterator over the current changes. |
java.util.Set |
getKeys()
|
PageNavigationalState |
getPageNavigationalState(java.lang.String pageId)
Retrieves the navigational state associated with the specified page identifier. |
java.lang.String |
getViewId()
Returns the current view id. |
WindowNavigationalState |
getWindowNavigationalState(java.lang.String windowId)
Retrieves the navigational state associated with the specified window identifier. |
void |
setAttribute(java.lang.Object attrKey,
java.lang.Object newNS)
|
void |
setPageNavigationalState(java.lang.String pageId,
PageNavigationalState pageNavigationalState)
Set the navigational state associated with the page identified by the given identifier. |
void |
setWindowNavigationalState(java.lang.String windowId,
WindowNavigationalState windowNavigationalState)
Set the navigational state associated with the window identified by the given identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortalObjectNavigationalStateContext(org.jboss.portal.common.invocation.AttributeResolver store)
| Method Detail |
|---|
public java.util.Set getKeys()
getKeys in interface org.jboss.portal.common.invocation.AttributeResolver
public java.lang.Object getAttribute(java.lang.Object attrKey)
throws java.lang.IllegalArgumentException
getAttribute in interface org.jboss.portal.common.invocation.AttributeResolverjava.lang.IllegalArgumentException
public void setAttribute(java.lang.Object attrKey,
java.lang.Object newNS)
throws java.lang.IllegalArgumentException
setAttribute in interface org.jboss.portal.common.invocation.AttributeResolverjava.lang.IllegalArgumentExceptionpublic java.util.Iterator<NavigationalStateObjectChange> getChanges()
NavigationalStateContext
getChanges in interface NavigationalStateContextpublic WindowNavigationalState getWindowNavigationalState(java.lang.String windowId)
NavigationalStateContext
getWindowNavigationalState in interface NavigationalStateContextwindowId - a String identifying the window which navigational state is to be retrieved
null if the given
window identifier is not known by this NavigationalStateContext or no navigational state is associated
with the given identifier.
public void setWindowNavigationalState(java.lang.String windowId,
WindowNavigationalState windowNavigationalState)
NavigationalStateContext
setWindowNavigationalState in interface NavigationalStateContextwindowId - the window identifierwindowNavigationalState - the window navigational statepublic PageNavigationalState getPageNavigationalState(java.lang.String pageId)
NavigationalStateContext
getPageNavigationalState in interface NavigationalStateContextpageId - a String identifying the page which navigational state is to be retrieved
null if the given
page identifier is not known by this NavigationalStateContext or no navigational state is associated
with the given identifier.
public void setPageNavigationalState(java.lang.String pageId,
PageNavigationalState pageNavigationalState)
NavigationalStateContext
setPageNavigationalState in interface NavigationalStateContextpageId - the page identifierpageNavigationalState - the page navigational statepublic boolean applyChanges()
applyChanges in interface NavigationalStateContextpublic java.lang.String getViewId()
NavigationalStateContext
getViewId in interface NavigationalStateContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||