|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletPageNavigationalState
Defines the page navigational state view that the controller needs to operate on. Its name begins with page however it does not mandate that the represented context to be a page. I.E it could represent a set of physical pages or something else.
| 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. |
| Method Detail |
|---|
java.util.Set<java.lang.String> getPortletWindowIds()
PortletWindowNavigationalState getPortletWindowNavigationalState(java.lang.String portletWindowId)
throws java.lang.IllegalArgumentException
portletWindowId - the portlet window id
java.lang.IllegalArgumentException - if an argument is not valid
void setPortletWindowNavigationalState(java.lang.String portletWindowId,
PortletWindowNavigationalState portletWindowState)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
portletWindowId - 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
java.util.Map<java.lang.String,java.lang.String[]> getPortletPublicNavigationalState(java.lang.String portletWindowId)
throws java.lang.IllegalArgumentException
portletWindowId - the portlet window id
java.lang.IllegalArgumentException - if an argument is not valid
void setPortletPublicNavigationalState(java.lang.String portletWindowId,
java.util.Map<java.lang.String,java.lang.String[]> update)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
Update 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.
portletWindowId - the portlet window idupdate - the updates
java.lang.IllegalArgumentException - if an argument is not valid
java.lang.IllegalStateException - if the page state is read onlyjava.util.Set<javax.xml.namespace.QName> getPublicNames()
java.lang.String[] getPublicNavigationalState(javax.xml.namespace.QName name)
throws java.lang.IllegalArgumentException
name - the name
java.lang.IllegalArgumentException - if an argument is not valid
void setPublicNavigationalState(javax.xml.namespace.QName name,
java.lang.String[] value)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
name - the namevalue - the new value
java.lang.IllegalArgumentException - if an argument is not valid
java.lang.IllegalStateException - if the page state is read only
void removePublicNavigationalState(javax.xml.namespace.QName name)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException
name - 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 | |||||||||