| java.lang.Object com.liferay.portal.util.PortalUtil_IW
PortalUtil_IW | public class PortalUtil_IW (Code) | | View Source
author: Brian Wing Shun Chan |
Method Summary | |
public void | clearRequestParameters(javax.portlet.RenderRequest req) | public void | copyRequestParameters(javax.portlet.ActionRequest req, javax.portlet.ActionResponse res) | public java.lang.String | createSecureProxyURL(java.lang.String url, java.security.Key key, boolean secure) | public java.lang.String | getCDNHost() | public java.lang.String | getClassName(long classNameId) | public long | getClassNameId(java.lang.Class classObj) | public long | getClassNameId(java.lang.String value) | public java.lang.String | getClassNamePortletId(java.lang.String className) | public com.liferay.portal.model.Company | getCompany(javax.servlet.http.HttpServletRequest req) | public com.liferay.portal.model.Company | getCompany(javax.portlet.ActionRequest req) | public com.liferay.portal.model.Company | getCompany(javax.portlet.RenderRequest req) | public long | getCompanyId(javax.servlet.http.HttpServletRequest req) | public long | getCompanyId(javax.portlet.ActionRequest req) | public long | getCompanyId(javax.portlet.PortletRequest req) | public long | getCompanyId(javax.portlet.RenderRequest req) | public long | getCompanyIdByWebId(javax.servlet.ServletContext ctx) | public long | getCompanyIdByWebId(java.lang.String webId) | public java.lang.String | getComputerName() | public java.lang.String | getCurrentURL(javax.servlet.http.HttpServletRequest req) | public java.lang.String | getCurrentURL(javax.portlet.PortletRequest req) | public java.util.Date | getDate(int month, int day, int year, com.liferay.portal.PortalException pe) | public java.util.Date | getDate(int month, int day, int year, java.util.TimeZone timeZone, com.liferay.portal.PortalException pe) | public java.util.Date | getDate(int month, int day, int year, int hour, int min, com.liferay.portal.PortalException pe) | public java.util.Date | getDate(int month, int day, int year, int hour, int min, java.util.TimeZone timeZone, com.liferay.portal.PortalException pe) | public java.lang.String | getHost(javax.servlet.http.HttpServletRequest req) | public java.lang.String | getHost(javax.portlet.ActionRequest req) | public java.lang.String | getHost(javax.portlet.RenderRequest req) | public javax.servlet.http.HttpServletRequest | getHttpServletRequest(javax.portlet.PortletRequest req) | public javax.servlet.http.HttpServletResponse | getHttpServletResponse(javax.portlet.PortletResponse res) | public static PortalUtil_IW | getInstance() | public java.lang.String | getJsSafePortletId(java.lang.String portletId) | public java.lang.String | getJsSafePortletName(java.lang.String portletName) | public java.lang.String | getLayoutActualURL(com.liferay.portal.model.Layout layout) | public java.lang.String | getLayoutActualURL(com.liferay.portal.model.Layout layout, java.lang.String mainPath) | public java.lang.String | getLayoutActualURL(long groupId, boolean privateLayout, java.lang.String mainPath, java.lang.String friendlyURL) | public java.lang.String | getLayoutActualURL(long groupId, boolean privateLayout, java.lang.String mainPath, java.lang.String friendlyURL, java.util.Map params) | public java.lang.String | getLayoutEditPage(com.liferay.portal.model.Layout layout) | public java.lang.String | getLayoutFriendlyURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public java.lang.String | getLayoutTarget(com.liferay.portal.model.Layout layout) | public java.lang.String | getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay) | public java.lang.String | getLayoutURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public java.lang.String | getLayoutURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay, boolean doAsUser) | public java.lang.String | getLayoutViewPage(com.liferay.portal.model.Layout layout) | public java.util.Locale | getLocale(javax.servlet.http.HttpServletRequest req) | public java.util.Locale | getLocale(javax.portlet.RenderRequest req) | public javax.servlet.http.HttpServletRequest | getOriginalServletRequest(javax.servlet.http.HttpServletRequest req) | public java.lang.String | getPathContext() | public java.lang.String | getPathFriendlyURLPrivateGroup() | public java.lang.String | getPathFriendlyURLPrivateUser() | public java.lang.String | getPathFriendlyURLPublic() | public java.lang.String | getPathImage() | public java.lang.String | getPathMain() | public long | getPlidIdFromFriendlyURL(long companyId, java.lang.String friendlyURL) | public java.lang.String | getPortalLibDir() | public java.lang.String | getPortalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay) | public java.lang.String | getPortalURL(javax.servlet.http.HttpServletRequest req) | public java.lang.String | getPortalURL(javax.servlet.http.HttpServletRequest req, boolean secure) | public java.lang.String | getPortalURL(javax.portlet.PortletRequest req) | public java.lang.String | getPortalURL(javax.portlet.PortletRequest req, boolean secure) | public java.lang.String | getPortalURL(java.lang.String serverName, int serverPort, boolean secure) | public java.lang.Object[] | getPortletFriendlyURLMapper(long groupId, boolean privateLayout, java.lang.String url) | public java.lang.Object[] | getPortletFriendlyURLMapper(long groupId, boolean privateLayout, java.lang.String url, java.util.Map params) | public long | getPortletGroupId(long plid) | public long | getPortletGroupId(com.liferay.portal.model.Layout layout) | public long | getPortletGroupId(javax.servlet.http.HttpServletRequest req) | public long | getPortletGroupId(javax.portlet.ActionRequest req) | public long | getPortletGroupId(javax.portlet.RenderRequest req) | public java.lang.String | getPortletNamespace(java.lang.String portletId) | public java.lang.String | getPortletTitle(java.lang.String portletId, long companyId, java.lang.String languageId) | public java.lang.String | getPortletTitle(java.lang.String portletId, com.liferay.portal.model.User user) | public java.lang.String | getPortletTitle(com.liferay.portal.model.Portlet portlet, javax.servlet.ServletContext ctx, java.util.Locale locale) | public java.lang.String | getPortletXmlFileName() | public javax.portlet.PortletPreferences | getPreferences(javax.servlet.http.HttpServletRequest req) | public javax.portlet.PreferencesValidator | getPreferencesValidator(com.liferay.portal.model.Portlet portlet) | public com.liferay.portlet.RenderResponseImpl | getRenderResponseImpl(javax.portlet.RenderResponse res) | public com.liferay.portal.model.User | getSelectedUser(javax.servlet.http.HttpServletRequest req) | public com.liferay.portal.model.User | getSelectedUser(javax.servlet.http.HttpServletRequest req, boolean checkPermission) | public com.liferay.portal.model.User | getSelectedUser(javax.portlet.ActionRequest req) | public com.liferay.portal.model.User | getSelectedUser(javax.portlet.ActionRequest req, boolean checkPermission) | public com.liferay.portal.model.User | getSelectedUser(javax.portlet.RenderRequest req) | public com.liferay.portal.model.User | getSelectedUser(javax.portlet.RenderRequest req, boolean checkPermission) | public java.lang.String | getStrutsAction(javax.servlet.http.HttpServletRequest req) | public java.lang.String[] | getSystemCommunityRoles() | public java.lang.String[] | getSystemGroups() | public java.lang.String[] | getSystemOrganizationRoles() | public java.lang.String[] | getSystemRoles() | public java.lang.String | getURLWithSessionId(java.lang.String url, java.lang.String sessionId) | public com.liferay.util.servlet.UploadPortletRequest | getUploadPortletRequest(javax.portlet.ActionRequest req) | public com.liferay.util.servlet.UploadServletRequest | getUploadServletRequest(javax.servlet.http.HttpServletRequest httpReq) | public java.util.Date | getUptime() | public com.liferay.portal.model.User | getUser(javax.servlet.http.HttpServletRequest req) | public com.liferay.portal.model.User | getUser(javax.portlet.ActionRequest req) | public com.liferay.portal.model.User | getUser(javax.portlet.RenderRequest req) | public long | getUserId(javax.servlet.http.HttpServletRequest req) | public long | getUserId(javax.portlet.ActionRequest req) | public long | getUserId(javax.portlet.RenderRequest req) | public java.lang.String | getUserName(long userId, java.lang.String defaultUserName) | public java.lang.String | getUserName(long userId, java.lang.String defaultUserName, java.lang.String userAttribute) | public java.lang.String | getUserName(long userId, java.lang.String defaultUserName, javax.servlet.http.HttpServletRequest req) | public java.lang.String | getUserName(long userId, java.lang.String defaultUserName, java.lang.String userAttribute, javax.servlet.http.HttpServletRequest req) | public java.lang.String | getUserPassword(javax.servlet.http.HttpSession ses) | public java.lang.String | getUserPassword(javax.servlet.http.HttpServletRequest req) | public java.lang.String | getUserPassword(javax.portlet.ActionRequest req) | public java.lang.String | getUserPassword(javax.portlet.RenderRequest req) | public java.lang.String | getUserValue(long userId, java.lang.String param, java.lang.String defaultValue) | public boolean | isLayoutFriendliable(com.liferay.portal.model.Layout layout) | public boolean | isLayoutParentable(com.liferay.portal.model.Layout layout) | public boolean | isLayoutParentable(java.lang.String type) | public boolean | isLayoutSitemapable(com.liferay.portal.model.Layout layout) | public boolean | isMethodGet(javax.portlet.PortletRequest req) | public boolean | isMethodPost(javax.portlet.PortletRequest req) | public boolean | isReservedParameter(java.lang.String name) | public boolean | isSystemGroup(java.lang.String groupName) | public boolean | isSystemRole(java.lang.String roleName) | public boolean | isUpdateAvailable() | public org.dom4j.Document | readDocumentFromFile(java.io.File file) | public org.dom4j.Document | readDocumentFromFile(java.io.File file, boolean validate) | public org.dom4j.Document | readDocumentFromStream(java.io.InputStream is) | public org.dom4j.Document | readDocumentFromStream(java.io.InputStream is, boolean validate) | public org.dom4j.Document | readDocumentFromURL(java.lang.String url) | public org.dom4j.Document | readDocumentFromURL(java.lang.String url, boolean validate) | public org.dom4j.Document | readDocumentFromXML(java.lang.String xml) | public org.dom4j.Document | readDocumentFromXML(java.lang.String xml, boolean validate) | public void | renderPage(com.liferay.portal.kernel.util.StringMaker sm, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String path) | public void | renderPortlet(com.liferay.portal.kernel.util.StringMaker sm, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, com.liferay.portal.model.Portlet portlet, java.lang.String queryString) | public void | renderPortlet(com.liferay.portal.kernel.util.StringMaker sm, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, com.liferay.portal.model.Portlet portlet, java.lang.String queryString, java.lang.String columnId, java.lang.Integer columnPos, java.lang.Integer columnCount) | public void | renderPortlet(com.liferay.portal.kernel.util.StringMaker sm, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, com.liferay.portal.model.Portlet portlet, java.lang.String queryString, java.lang.String columnId, java.lang.Integer columnPos, java.lang.Integer columnCount, java.lang.String path) | public void | sendError(int status, java.lang.Exception e, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) | public void | setPageSubtitle(java.lang.String subtitle, javax.servlet.http.HttpServletRequest req) | public void | setPageTitle(java.lang.String title, javax.servlet.http.HttpServletRequest req) | public void | storePreferences(javax.portlet.PortletPreferences prefs) | public javax.portlet.PortletMode | updatePortletMode(java.lang.String portletId, com.liferay.portal.model.User user, com.liferay.portal.model.Layout layout, javax.portlet.PortletMode portletMode, javax.servlet.http.HttpServletRequest req) | public javax.portlet.WindowState | updateWindowState(java.lang.String portletId, com.liferay.portal.model.User user, com.liferay.portal.model.Layout layout, javax.portlet.WindowState windowState, javax.servlet.http.HttpServletRequest req) |
clearRequestParameters | public void clearRequestParameters(javax.portlet.RenderRequest req)(Code) | | |
copyRequestParameters | public void copyRequestParameters(javax.portlet.ActionRequest req, javax.portlet.ActionResponse res)(Code) | | |
getCompanyId | public long getCompanyId(javax.portlet.ActionRequest req)(Code) | | |
getCompanyId | public long getCompanyId(javax.portlet.PortletRequest req)(Code) | | |
getCompanyId | public long getCompanyId(javax.portlet.RenderRequest req)(Code) | | |
getPlidIdFromFriendlyURL | public long getPlidIdFromFriendlyURL(long companyId, java.lang.String friendlyURL)(Code) | | |
getPortletGroupId | public long getPortletGroupId(long plid)(Code) | | |
getPortletGroupId | public long getPortletGroupId(javax.portlet.ActionRequest req)(Code) | | |
getPortletGroupId | public long getPortletGroupId(javax.portlet.RenderRequest req)(Code) | | |
getUserId | public long getUserId(javax.portlet.ActionRequest req)(Code) | | |
getUserId | public long getUserId(javax.portlet.RenderRequest req)(Code) | | |
isMethodGet | public boolean isMethodGet(javax.portlet.PortletRequest req)(Code) | | |
isMethodPost | public boolean isMethodPost(javax.portlet.PortletRequest req)(Code) | | |
readDocumentFromFile | public org.dom4j.Document readDocumentFromFile(java.io.File file) throws org.dom4j.DocumentException(Code) | | |
readDocumentFromFile | public org.dom4j.Document readDocumentFromFile(java.io.File file, boolean validate) throws org.dom4j.DocumentException(Code) | | |
readDocumentFromStream | public org.dom4j.Document readDocumentFromStream(java.io.InputStream is) throws org.dom4j.DocumentException(Code) | | |
readDocumentFromStream | public org.dom4j.Document readDocumentFromStream(java.io.InputStream is, boolean validate) throws org.dom4j.DocumentException(Code) | | |
readDocumentFromXML | public org.dom4j.Document readDocumentFromXML(java.lang.String xml) throws org.dom4j.DocumentException(Code) | | |
readDocumentFromXML | public org.dom4j.Document readDocumentFromXML(java.lang.String xml, boolean validate) throws org.dom4j.DocumentException(Code) | | |
renderPortlet | public void renderPortlet(com.liferay.portal.kernel.util.StringMaker sm, javax.servlet.ServletContext ctx, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, com.liferay.portal.model.Portlet portlet, java.lang.String queryString, java.lang.String columnId, java.lang.Integer columnPos, java.lang.Integer columnCount, java.lang.String path) throws java.io.IOException, javax.servlet.ServletException(Code) | | |
storePreferences | public void storePreferences(javax.portlet.PortletPreferences prefs) throws java.io.IOException, javax.portlet.ValidatorException(Code) | | |
|
|