com.liferay.portal.wsrp.util
Class WSRPUtil

java.lang.Object
  extended by com.liferay.portal.wsrp.util.WSRPUtil

public class WSRPUtil
extends java.lang.Object

View Source

Author:
Michael Young

Constructor Summary
WSRPUtil()
           
 
Method Summary
static javax.portlet.PortletMode fromWsrpMode(java.lang.String wsrpMode)
           
static javax.portlet.WindowState fromWsrpWindowState(java.lang.String wsrpWindowState)
           
static long getCompanyId()
           
static javax.servlet.http.HttpServletRequest getHttpServletRequest()
           
static java.util.Comparator getPortletDescriptionComparator()
           
static javax.servlet.ServletContext getServletContext()
           
static java.lang.String toWsrpMode(java.lang.String mode)
           
static java.lang.String toWsrpWindowState(java.lang.String windowState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSRPUtil

public WSRPUtil()
Method Detail

getCompanyId

public static long getCompanyId()

getHttpServletRequest

public static javax.servlet.http.HttpServletRequest getHttpServletRequest()

getServletContext

public static javax.servlet.ServletContext getServletContext()

fromWsrpMode

public static javax.portlet.PortletMode fromWsrpMode(java.lang.String wsrpMode)

fromWsrpWindowState

public static javax.portlet.WindowState fromWsrpWindowState(java.lang.String wsrpWindowState)

toWsrpMode

public static java.lang.String toWsrpMode(java.lang.String mode)

toWsrpWindowState

public static java.lang.String toWsrpWindowState(java.lang.String windowState)

getPortletDescriptionComparator

public static java.util.Comparator getPortletDescriptionComparator()