|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.portal.pluto.PortletURLProviderImpl
public class PortletURLProviderImpl
Create the URL for a portlet.
Field Summary | |
---|---|
protected boolean |
action
Is this an action |
protected boolean |
clearParameters
Clear parameters |
protected String |
generatedURL
The generated url |
protected javax.portlet.PortletMode |
mode
The new portlet mode |
protected Map |
parameters
Parameters |
protected org.apache.pluto.om.window.PortletWindow |
portletWindow
The portlet window (target) |
protected Boolean |
secure
Secure link? |
protected javax.portlet.WindowState |
state
The new window state |
Constructor Summary | |
---|---|
PortletURLProviderImpl(org.apache.pluto.om.window.PortletWindow portletWindow,
ServiceManager manager)
Constructor |
Method Summary | |
---|---|
String |
asString()
Return the URL as a String |
void |
clearParameters()
|
Map |
getParameters()
Return the parameters |
javax.portlet.PortletMode |
getPortletMode()
Return the portlet mode |
org.apache.pluto.om.window.PortletWindow |
getPortletWindow()
Return the window |
String |
getRequestParameterName()
The request parameter to be used for this event (if events are not hidden) |
Object |
getTarget()
|
javax.portlet.WindowState |
getWindowState()
Return the portlet mode |
boolean |
isAction()
Is this an action? |
void |
setAction()
|
void |
setParameters(Map parameters)
|
void |
setPortletMode(javax.portlet.PortletMode mode)
|
void |
setSecure()
|
void |
setWindowState(javax.portlet.WindowState state)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final org.apache.pluto.om.window.PortletWindow portletWindow
protected javax.portlet.PortletMode mode
protected javax.portlet.WindowState state
protected boolean action
protected Boolean secure
protected boolean clearParameters
protected Map parameters
protected String generatedURL
Constructor Detail |
---|
public PortletURLProviderImpl(org.apache.pluto.om.window.PortletWindow portletWindow, ServiceManager manager)
Method Detail |
---|
public org.apache.pluto.om.window.PortletWindow getPortletWindow()
public void setPortletMode(javax.portlet.PortletMode mode)
setPortletMode
in interface org.apache.pluto.services.information.PortletURLProvider
PortletURLProvider.setPortletMode(javax.portlet.PortletMode)
public javax.portlet.PortletMode getPortletMode()
public void setWindowState(javax.portlet.WindowState state)
setWindowState
in interface org.apache.pluto.services.information.PortletURLProvider
PortletURLProvider.setWindowState(javax.portlet.WindowState)
public javax.portlet.WindowState getWindowState()
public void setAction()
setAction
in interface org.apache.pluto.services.information.PortletURLProvider
PortletURLProvider.setAction()
public boolean isAction()
public void setSecure()
setSecure
in interface org.apache.pluto.services.information.PortletURLProvider
PortletURLProvider.setSecure()
public void clearParameters()
clearParameters
in interface org.apache.pluto.services.information.PortletURLProvider
PortletURLProvider.clearParameters()
public void setParameters(Map parameters)
setParameters
in interface org.apache.pluto.services.information.PortletURLProvider
PortletURLProvider.setParameters(java.util.Map)
public Map getParameters()
public String toString()
toString
in interface org.apache.pluto.services.information.PortletURLProvider
toString
in class Object
Object.toString()
public Object getTarget()
getTarget
in interface ActionEvent
ActionEvent.getTarget()
public String asString()
asString
in interface ConvertableEvent
public String getRequestParameterName()
getRequestParameterName
in interface ConvertableEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |