org.jboss.portal.portlet
Class PortletUtils

java.lang.Object
  extended by org.jboss.portal.portlet.PortletUtils

public class PortletUtils
extends java.lang.Object


Constructor Summary
PortletUtils()
           
 
Method Summary
static PortletURL createActionURL(PortalResponse resp, Window window, java.lang.String contentType)
          Creates an action URL.
static PortletURL createRenderURL(PortalResponse resp, Window window, java.lang.String contentType)
          Creates an render URL.
static PortletURL createUpdatePortletModeURL(PortalResponse resp, Window window, java.lang.String contentType)
           
static PortletURL createUpdateWindowStateURL(PortalResponse resp, Window window, java.lang.String contentType)
           
static WindowURL createWindowActionURL(PortalResponse resp, Window window)
          Creates an action URL.
static WindowURL createWindowRenderURL(PortalResponse resp, Window window)
          Creates an render URL.
static PortletMode decodePortletMode(java.lang.String s)
           
static WindowState decodeWindowState(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletUtils

public PortletUtils()
Method Detail

decodeWindowState

public static WindowState decodeWindowState(java.lang.String s)

decodePortletMode

public static PortletMode decodePortletMode(java.lang.String s)

createActionURL

public static PortletURL createActionURL(PortalResponse resp,
                                         Window window,
                                         java.lang.String contentType)
Creates an action URL.


createRenderURL

public static PortletURL createRenderURL(PortalResponse resp,
                                         Window window,
                                         java.lang.String contentType)
Creates an render URL.


createWindowActionURL

public static WindowURL createWindowActionURL(PortalResponse resp,
                                              Window window)
Creates an action URL.


createWindowRenderURL

public static WindowURL createWindowRenderURL(PortalResponse resp,
                                              Window window)
Creates an render URL.


createUpdateWindowStateURL

public static PortletURL createUpdateWindowStateURL(PortalResponse resp,
                                                    Window window,
                                                    java.lang.String contentType)

createUpdatePortletModeURL

public static PortletURL createUpdatePortletModeURL(PortalResponse resp,
                                                    Window window,
                                                    java.lang.String contentType)