com.javaplant.portlet
Class PortletUtils
java.lang.Object
com.javaplant.portlet.PortletUtils
- public class PortletUtils
- extends java.lang.Object
- Author:
- Brad Smith
Date: Aug 14, 2005
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletUtils
public PortletUtils()
populatePortletForm
public static final PortletForm populatePortletForm(PortletForm portletForm,
javax.portlet.PortletRequest request)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
getPortletConfiguration
public static final PortletConfiguration getPortletConfiguration(javax.portlet.PortletContext portletContext,
javax.portlet.PortletConfig portletConfig)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
validateJspViewFragment
public static final boolean validateJspViewFragment(javax.portlet.PortletContext portletContext,
java.lang.String jspFragmentName,
java.lang.String jspFragmentURI)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
createWWWFormURLEncoded
public static final java.lang.String createWWWFormURLEncoded(java.lang.String s)
isUserInRole
public static final boolean isUserInRole(java.lang.String role,
javax.portlet.PortletRequest request)
showInitParams
public static final java.lang.String showInitParams(javax.portlet.PortletConfig config)
- Generates a report displaying the <init-param>'s for this this portlet (from portlet.xml).
- Parameters:
config
-
- Returns:
- String containing generated report of portlet configuration.