站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortletUtils - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.impl.jsr168
Class PortletUtils

java.lang.Object
  extended byorg.jboss.portal.portlet.impl.jsr168.PortletUtils

public class PortletUtils
extends java.lang.Object

Version:
$Revision: 1.1 $
Author:
Julien Viet

Constructor Summary
PortletUtils()
           
 
Method Summary
static void checkRenderParameter(java.lang.String name, java.lang.String value)
           
static void checkRenderParameter(java.lang.String name, java.lang.String[] values)
           
static void checkRenderParameterMap(java.util.Map map)
           
static PortletURL createActionURL(PortletInvocation invocation, PortletRequest preq)
          Creates an action URL.
static PortletURL createRenderURL(PortletInvocation invocation, PortletRequest preq)
          Creates an render URL.
static PortletMode decodePortletMode(java.lang.String portletModeName)
          Creates a PortletMode object based on the specified name.
static WindowState decodeWindowState(java.lang.String windowStateName)
          Creates a WindowState object based on the specified name.
 
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

checkRenderParameterMap

public static void checkRenderParameterMap(java.util.Map map)

checkRenderParameter

public static void checkRenderParameter(java.lang.String name,
                                        java.lang.String value)

checkRenderParameter

public static void checkRenderParameter(java.lang.String name,
                                        java.lang.String[] values)

createActionURL

public static PortletURL createActionURL(PortletInvocation invocation,
                                         PortletRequest preq)
Creates an action URL.


createRenderURL

public static PortletURL createRenderURL(PortletInvocation invocation,
                                         PortletRequest preq)
Creates an render URL.


decodeWindowState

public static WindowState decodeWindowState(java.lang.String windowStateName)
Creates a WindowState object based on the specified name.

Parameters:
windowStateName - the name of the window state
Returns:
one of the standard WindowStates if the specified name matches one of them or a new WindowState.
See Also:
WindowState

decodePortletMode

public static PortletMode decodePortletMode(java.lang.String portletModeName)
Creates a PortletMode object based on the specified name.

Parameters:
portletModeName - the name of the portlet mode
Returns:
one of the standard PortletModes if the specified name matches one of them or a new PortletMode.
See Also:
PortletMode