org.jboss.portal.portlet.impl
Class PortletURLImpl

java.lang.Object
  extended by org.jboss.portal.portlet.impl.PortletURLImpl
All Implemented Interfaces:
PortletURL

public class PortletURLImpl
extends java.lang.Object
implements PortletURL


Constructor Summary
PortletURLImpl(WindowURL windowURL, Window window, java.lang.String contentType, PortalResponse resp)
           
 
Method Summary
 void setParameter(java.lang.String name, java.lang.String value)
           
 void setParameter(java.lang.String name, java.lang.String[] values)
           
 void setParameters(java.util.Map parameters)
           
 void setPortletMode(PortletMode portletMode)
           
 void setSecure(boolean secure)
           
 void setWindowState(WindowState windowState)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortletURLImpl

public PortletURLImpl(WindowURL windowURL,
                      Window window,
                      java.lang.String contentType,
                      PortalResponse resp)
Method Detail

setWindowState

public void setWindowState(WindowState windowState)
                    throws WindowStateException
Specified by:
setWindowState in interface PortletURL
Throws:
WindowStateException

setPortletMode

public void setPortletMode(PortletMode portletMode)
                    throws PortletModeException
Specified by:
setPortletMode in interface PortletURL
Throws:
PortletModeException

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
Specified by:
setParameter in interface PortletURL
Throws:
java.lang.IllegalArgumentException - if the name is null

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String[] values)
Specified by:
setParameter in interface PortletURL

setParameters

public void setParameters(java.util.Map parameters)
Specified by:
setParameters in interface PortletURL

setSecure

public void setSecure(boolean secure)
               throws PortletSecurityException
Specified by:
setSecure in interface PortletURL
Throws:
PortletSecurityException

toString

public java.lang.String toString()
Specified by:
toString in interface PortletURL
Overrides:
toString in class java.lang.Object