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 StringgetAdminURL(javax.servlet.http.HttpServletRequest request)static StringgetDeployerURL(javax.servlet.http.HttpServletRequest request)static StringgetDriverAction(javax.servlet.http.HttpServletRequest request)static PortletRegistryContextgetPortletRegistryContext(String context)static StringgetPortletRemove(javax.servlet.http.HttpServletRequest request)static StringgetPortletsURL(javax.servlet.http.HttpServletRequest request)static StringgetPortletWindowFromRequest(javax.servlet.http.HttpServletRequest request)static com.sun.portal.container.ChannelModegetPortletWindowModeOfPortletWindow(javax.servlet.http.HttpServletRequest request, String portletWindowName)static com.sun.portal.container.ChannelStategetPortletWindowStateOfPortletWindow(javax.servlet.http.HttpServletRequest request, String portletWindowName)static StringgetWSRPTabName()static StringgetWSRPURL(javax.servlet.http.HttpServletRequest request)static voidinit(javax.servlet.http.HttpServletRequest request)static booleanisWSRPAvailable()
-
-
-
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
-
-