Class DriverUtil
- java.lang.Object
-
- org.silverpeas.web.portlets.portal.DriverUtil
-
public class DriverUtil extends Object
DriverUtil has utility methods needed for the driver
-
-
Constructor Summary
Constructors Constructor Description DriverUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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
-
-