public final class PageNavigationalState extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<QName,String[]> |
page
.
|
protected Map<String,WindowNavigationalState> |
windows
.
|
| Constructor and Description |
|---|
PageNavigationalState(boolean modifiable) |
PageNavigationalState(PageNavigationalState original,
boolean modifiable) |
| Modifier and Type | Method and Description |
|---|---|
Set<QName> |
getPublicNames()
Returns the set of public names.
|
String[] |
getPublicNavigationalState(QName name)
Returns a public navigational state entry or null if it is not found.
|
Set<String> |
getWindowIds()
Returns the window ids referenced.
|
WindowNavigationalState |
getWindowNavigationalState(String windowId)
Returns the navigational state of a portlet window or null if it does not exist.
|
void |
removePublicNavigationalState(QName name)
Removes a public navigational state entry.
|
void |
setPublicNavigationalState(QName name,
String[] value)
Sets a public navigational state entry.
|
void |
setWindowNavigationalState(String windowId,
WindowNavigationalState windowState)
Update the navigational state of a portlet window.
|
protected final Map<String,WindowNavigationalState> windows
public PageNavigationalState(boolean modifiable)
public PageNavigationalState(PageNavigationalState original, boolean modifiable)
public Set<String> getWindowIds()
public WindowNavigationalState getWindowNavigationalState(String windowId) throws IllegalArgumentException
windowId - the portlet window idIllegalArgumentException - if an argument is not validpublic void setWindowNavigationalState(String windowId, WindowNavigationalState windowState) throws IllegalArgumentException, IllegalStateException
windowId - the portlet window idwindowState - the portlet window stateIllegalArgumentException - if an argument is not validIllegalStateException - if the page state is read onlypublic Set<QName> getPublicNames()
public String[] getPublicNavigationalState(QName name) throws IllegalArgumentException
name - the nameIllegalArgumentException - if an argument is not validpublic void setPublicNavigationalState(QName name, String[] value) throws IllegalArgumentException, IllegalStateException
name - the namevalue - the new valueIllegalArgumentException - if an argument is not validIllegalStateException - if the page state is read onlypublic void removePublicNavigationalState(QName name) throws IllegalArgumentException, IllegalStateException
name - the nameIllegalArgumentException - if an argument is not validIllegalStateException - if the page state is read onlyCopyright © 2003-2019 GateIn. All Rights Reserved.