|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.portlet.test.tck.TCKPortletPageNavigationalState
public class TCKPortletPageNavigationalState
| Constructor Summary | |
|---|---|
TCKPortletPageNavigationalState(PortletPageNavigationalState defaultState,
java.util.Set<java.lang.String> involvedPortlets)
|
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.String> |
getInvolvedPortlets()
|
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 |
| Constructor Detail |
|---|
public TCKPortletPageNavigationalState(PortletPageNavigationalState defaultState,
java.util.Set<java.lang.String> involvedPortlets)
| Method Detail |
|---|
public java.util.Set<java.lang.String> getInvolvedPortlets()
public java.util.Set<java.lang.String> getPortletWindowIds()
PortletPageNavigationalState
getPortletWindowIds in interface PortletPageNavigationalState
public PortletWindowNavigationalState getPortletWindowNavigationalState(java.lang.String portletWindowId)
throws java.lang.IllegalArgumentException
PortletPageNavigationalState
getPortletWindowNavigationalState in interface PortletPageNavigationalStateportletWindowId - the portlet window id
java.lang.IllegalArgumentException - if an argument is not valid
public void setPortletWindowNavigationalState(java.lang.String portletWindowId,
PortletWindowNavigationalState portletWindowState)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
PortletPageNavigationalState
setPortletWindowNavigationalState in interface PortletPageNavigationalStateportletWindowId - the portlet window idportletWindowState - the portlet window state
java.lang.IllegalArgumentException - if an argument is not valid
java.lang.IllegalStateException - if the page state is read only
public java.util.Map<java.lang.String,java.lang.String[]> getPortletPublicNavigationalState(java.lang.String portletWindowId)
throws java.lang.IllegalArgumentException
PortletPageNavigationalState
getPortletPublicNavigationalState in interface PortletPageNavigationalStateportletWindowId - the portlet window id
java.lang.IllegalArgumentException - if an argument is not validpublic java.util.Set<javax.xml.namespace.QName> getPublicNames()
PortletPageNavigationalState
getPublicNames in interface PortletPageNavigationalState
public void setPortletPublicNavigationalState(java.lang.String portletWindowId,
java.util.Map<java.lang.String,java.lang.String[]> update)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
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
java.lang.IllegalArgumentException - if an argument is not valid
java.lang.IllegalStateException - if the page state is read only
public java.lang.String[] getPublicNavigationalState(javax.xml.namespace.QName name)
throws java.lang.IllegalArgumentException
PortletPageNavigationalState
getPublicNavigationalState in interface PortletPageNavigationalStatename - the name
java.lang.IllegalArgumentException - if an argument is not valid
public void setPublicNavigationalState(javax.xml.namespace.QName name,
java.lang.String[] value)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
PortletPageNavigationalState
setPublicNavigationalState in interface PortletPageNavigationalStatename - the namevalue - the new value
java.lang.IllegalArgumentException - if an argument is not valid
java.lang.IllegalStateException - if the page state is read only
public void removePublicNavigationalState(javax.xml.namespace.QName name)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
PortletPageNavigationalState
removePublicNavigationalState in interface PortletPageNavigationalStatename - the name
java.lang.IllegalArgumentException - if an argument is not valid
java.lang.IllegalStateException - if the page state is read only
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||