com.liferay.portal.kernel.util
Class PortalUtil
java.lang.Object
com.liferay.portal.kernel.util.PortalUtil
- public class PortalUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static java.lang.String |
getCDNHost()
|
static javax.servlet.http.HttpServletRequest |
getHttpServletRequest(javax.portlet.PortletRequest req)
|
static javax.servlet.http.HttpServletResponse |
getHttpServletResponse(javax.portlet.PortletResponse res)
|
static java.lang.String |
getPortletNamespace(java.lang.String portletId)
|
static java.lang.String |
getUserPassword(javax.portlet.ActionRequest req)
|
static java.lang.String |
getUserPassword(javax.servlet.http.HttpServletRequest req)
|
static java.lang.String |
getUserPassword(javax.servlet.http.HttpSession ses)
|
static java.lang.String |
getUserPassword(javax.portlet.RenderRequest req)
|
static void |
setPageSubtitle(java.lang.String subtitle,
javax.servlet.http.HttpServletRequest req)
|
static void |
setPageTitle(java.lang.String title,
javax.servlet.http.HttpServletRequest req)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalUtil
public PortalUtil()
getCDNHost
public static java.lang.String getCDNHost()
throws java.lang.Exception
- Throws:
java.lang.Exception
getHttpServletRequest
public static javax.servlet.http.HttpServletRequest getHttpServletRequest(javax.portlet.PortletRequest req)
throws java.lang.Exception
- Throws:
java.lang.Exception
getHttpServletResponse
public static javax.servlet.http.HttpServletResponse getHttpServletResponse(javax.portlet.PortletResponse res)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPortletNamespace
public static java.lang.String getPortletNamespace(java.lang.String portletId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUserPassword
public static java.lang.String getUserPassword(javax.servlet.http.HttpSession ses)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUserPassword
public static java.lang.String getUserPassword(javax.servlet.http.HttpServletRequest req)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUserPassword
public static java.lang.String getUserPassword(javax.portlet.ActionRequest req)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUserPassword
public static java.lang.String getUserPassword(javax.portlet.RenderRequest req)
throws java.lang.Exception
- Throws:
java.lang.Exception
setPageSubtitle
public static void setPageSubtitle(java.lang.String subtitle,
javax.servlet.http.HttpServletRequest req)
throws java.lang.Exception
- Throws:
java.lang.Exception
setPageTitle
public static void setPageTitle(java.lang.String title,
javax.servlet.http.HttpServletRequest req)
throws java.lang.Exception
- Throws:
java.lang.Exception