|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.controller.impl.state.PortletPageNavigationalStateImpl
public class PortletPageNavigationalStateImpl
| Field Summary | |
|---|---|
protected StateControllerContextImpl |
context
. |
protected java.util.Map<javax.xml.namespace.QName,java.lang.String[]> |
page
. |
protected java.util.Map<java.lang.String,PortletWindowNavigationalState> |
windows
. |
| Constructor Summary | |
|---|---|
|
PortletPageNavigationalStateImpl(PortletPageNavigationalStateImpl original,
boolean modifiable)
|
protected |
PortletPageNavigationalStateImpl(StateControllerContextImpl context,
boolean modifiable)
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String[]> |
getPortletPublicNavigationalState(java.lang.String portletWindowId)
Obtain the public navigational state of a portlet window. |
java.util.Set<java.lang.String> |
getPortletWindowIds()
Returns the portlet window ids referenced. |
PortletWindowNavigationalState |
getPortletWindowNavigationalState(java.lang.String portletWindowId)
Returns the navigational state of a portlet window or null if it does not exist. |
java.util.Set<javax.xml.namespace.QName> |
getPublicNames()
Returns the set of public names. |
java.lang.String[] |
getPublicNavigationalState(javax.xml.namespace.QName name)
Returns a public navigational state entry or null if it is not found. |
void |
removePublicNavigationalState(javax.xml.namespace.QName name)
Removes a public navigational state entry. |
void |
setPortletPublicNavigationalState(java.lang.String portletWindowId,
java.util.Map<java.lang.String,java.lang.String[]> update)
Update the public navigational state of a portlet window. |
void |
setPortletWindowNavigationalState(java.lang.String portletWindowId,
PortletWindowNavigationalState portletWindowState)
Update the navigational state of a portlet window. |
void |
setPublicNavigationalState(javax.xml.namespace.QName name,
java.lang.String[] value)
Sets a public navigational state entry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final StateControllerContextImpl context
protected final java.util.Map<java.lang.String,PortletWindowNavigationalState> windows
protected final java.util.Map<javax.xml.namespace.QName,java.lang.String[]> page
| Constructor Detail |
|---|
protected PortletPageNavigationalStateImpl(StateControllerContextImpl context,
boolean modifiable)
public PortletPageNavigationalStateImpl(PortletPageNavigationalStateImpl original,
boolean modifiable)
| Method Detail |
|---|
public java.util.Set<java.lang.String> getPortletWindowIds()
PortletPageNavigationalState
getPortletWindowIds in interface PortletPageNavigationalStatepublic PortletWindowNavigationalState getPortletWindowNavigationalState(java.lang.String portletWindowId)
PortletPageNavigationalState
getPortletWindowNavigationalState in interface PortletPageNavigationalStateportletWindowId - the portlet window id
public java.util.Map<java.lang.String,java.lang.String[]> getPortletPublicNavigationalState(java.lang.String portletWindowId)
PortletPageNavigationalState
getPortletPublicNavigationalState in interface PortletPageNavigationalStateportletWindowId - the portlet window id
public java.util.Set<javax.xml.namespace.QName> getPublicNames()
PortletPageNavigationalState
getPublicNames in interface PortletPageNavigationalStatepublic java.lang.String[] getPublicNavigationalState(javax.xml.namespace.QName name)
PortletPageNavigationalState
getPublicNavigationalState in interface PortletPageNavigationalStatename - the name
public void setPortletWindowNavigationalState(java.lang.String portletWindowId,
PortletWindowNavigationalState portletWindowState)
PortletPageNavigationalState
setPortletWindowNavigationalState in interface PortletPageNavigationalStateportletWindowId - the portlet window idportletWindowState - the portlet window state
public void setPortletPublicNavigationalState(java.lang.String portletWindowId,
java.util.Map<java.lang.String,java.lang.String[]> update)
PortletPageNavigationalStateUpdate the public navigational state of a portlet window. The interpretation of what should be updated is left up to the implementor. An example of implementation would use the mapping between qname and name provided by the referenced portlet info.
The update argument values with a length of zero should be treated as removals.
setPortletPublicNavigationalState in interface PortletPageNavigationalStateportletWindowId - the portlet window idupdate - the updates
public void setPublicNavigationalState(javax.xml.namespace.QName name,
java.lang.String[] value)
PortletPageNavigationalState
setPublicNavigationalState in interface PortletPageNavigationalStatename - the namevalue - the new valuepublic void removePublicNavigationalState(javax.xml.namespace.QName name)
PortletPageNavigationalState
removePublicNavigationalState in interface PortletPageNavigationalStatename - the name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||