|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PortletURI
represents a URI to a specific portlet function.
A URI is created through the PortletResponse
.
Then additional parameter can be added to the URI, action or mode can be set.
The complete URI can be converted to a string which is ready
for embedding into markup.
Method Summary | |
void |
addParameter(java.lang.String name,
java.lang.String value)
Adds the given parameter to this URI. |
java.lang.String |
getAction()
Return the name action |
Portlet.Mode |
getMode()
Return the current mode |
PortletWindow.State |
getState()
Returnt the state of the portlet |
void |
setAction(java.lang.String action)
Set the name of the action |
void |
setMode(Portlet.Mode mode)
Set the mode of the portlet |
void |
setState(PortletWindow.State state)
Set the state of the window |
java.lang.String |
toString()
Returns the complete URI as a string. |
Method Detail |
public void addParameter(java.lang.String name, java.lang.String value)
name
- value
- public java.lang.String getAction()
public Portlet.Mode getMode()
public PortletWindow.State getState()
public void setAction(java.lang.String action)
action
- public void setMode(Portlet.Mode mode)
mode
- public void setState(PortletWindow.State state)
state
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |