|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portal.pluto.PortletURLConverter
public class PortletURLConverter
Create the URL for a portlet
Field Summary | |
---|---|
static String |
ACTION
|
static String |
MODE
|
static String |
PARAM
|
static String |
PORTLET_ID
|
static String |
PREFIX
|
static String |
STATE
|
Constructor Summary | |
---|---|
PortletURLConverter(CopletInstanceData cid)
Constructor used when the URL will be marshalled. |
|
PortletURLConverter(String eventData)
Constructor used when the URL will be unmarshalled. |
Method Summary | |
---|---|
javax.portlet.PortletMode |
getMode()
Return the PortletMode |
Map |
getParameters()
Returns the request parameters for this portlet URL. |
String |
getPortletId()
Returns the portlet id. |
javax.portlet.WindowState |
getState()
Return the WindowState |
boolean |
isAction()
Return the indicator if this is an action. |
void |
setAction()
Indicates that the URL is an action. |
void |
setMode(javax.portlet.PortletMode mode)
Sets the PortletMode. |
void |
setParam(String name,
String[] values)
Adds the parameter, replacing a parameter with the same name. |
void |
setState(javax.portlet.WindowState state)
Sets the WindowState |
String |
toString()
Returns the marshalled URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ACTION
public static final String MODE
public static final String PORTLET_ID
public static final String PREFIX
public static final String PARAM
public static final String STATE
Constructor Detail |
---|
public PortletURLConverter(CopletInstanceData cid)
cid
- The coplet id.public PortletURLConverter(String eventData)
eventData
- The url data.Method Detail |
---|
public javax.portlet.PortletMode getMode()
public javax.portlet.WindowState getState()
public boolean isAction()
public void setAction()
public void setMode(javax.portlet.PortletMode mode)
mode
- The PortletModepublic void setState(javax.portlet.WindowState state)
state
- The WindowStatepublic String getPortletId()
public Map getParameters()
public void setParam(String name, String[] values)
name
- The parameter namevalues
- An array of Strings.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |