com.silverpeas.portlets.portal
Class DriverUtil

java.lang.Object
  extended by com.silverpeas.portlets.portal.DriverUtil

public class DriverUtil
extends Object

DriverUtil has utility methods needed for the driver


Constructor Summary
DriverUtil()
           
 
Method Summary
static String getAdminURL(javax.servlet.http.HttpServletRequest request)
           
static String getDeployerURL(javax.servlet.http.HttpServletRequest request)
           
static String getDriverAction(javax.servlet.http.HttpServletRequest request)
           
static PortletRegistryContext getPortletRegistryContext(String context)
           
static String getPortletRemove(javax.servlet.http.HttpServletRequest request)
           
static String getPortletsURL(javax.servlet.http.HttpServletRequest request)
           
static String getPortletWindowFromRequest(javax.servlet.http.HttpServletRequest request)
           
static com.sun.portal.container.ChannelMode getPortletWindowModeOfPortletWindow(javax.servlet.http.HttpServletRequest request, String portletWindowName)
           
static com.sun.portal.container.ChannelState getPortletWindowStateOfPortletWindow(javax.servlet.http.HttpServletRequest request, String portletWindowName)
           
static String getWSRPTabName()
           
static String getWSRPURL(javax.servlet.http.HttpServletRequest request)
           
static void init(javax.servlet.http.HttpServletRequest request)
           
static boolean isWSRPAvailable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverUtil

public DriverUtil()
Method Detail

init

public static void init(javax.servlet.http.HttpServletRequest request)

getAdminURL

public static String getAdminURL(javax.servlet.http.HttpServletRequest request)

getDeployerURL

public static String getDeployerURL(javax.servlet.http.HttpServletRequest request)

getPortletsURL

public static String getPortletsURL(javax.servlet.http.HttpServletRequest request)

getWSRPURL

public static String getWSRPURL(javax.servlet.http.HttpServletRequest request)

getWSRPTabName

public static String getWSRPTabName()

isWSRPAvailable

public static boolean isWSRPAvailable()

getDriverAction

public static String getDriverAction(javax.servlet.http.HttpServletRequest request)

getPortletRemove

public static String getPortletRemove(javax.servlet.http.HttpServletRequest request)

getPortletWindowFromRequest

public static String getPortletWindowFromRequest(javax.servlet.http.HttpServletRequest request)

getPortletWindowModeOfPortletWindow

public static com.sun.portal.container.ChannelMode getPortletWindowModeOfPortletWindow(javax.servlet.http.HttpServletRequest request,
                                                                                       String portletWindowName)

getPortletWindowStateOfPortletWindow

public static com.sun.portal.container.ChannelState getPortletWindowStateOfPortletWindow(javax.servlet.http.HttpServletRequest request,
                                                                                         String portletWindowName)

getPortletRegistryContext

public static PortletRegistryContext getPortletRegistryContext(String context)
                                                        throws PortletRegistryException
Throws:
PortletRegistryException


Copyright © 2016 Silverpeas. All Rights Reserved.