com.liferay.portal.util
Class PortalImpl

java.lang.Object
  extended by com.liferay.portal.util.PortalImpl
All Implemented Interfaces:
com.liferay.portal.util.Portal

public class PortalImpl
extends java.lang.Object
implements com.liferay.portal.util.Portal

View Source

Author:
Brian Wing Shun Chan, Brian Myunghun Kim, Jorge Ferrer, Raymond Augé, Eduardo Lundgren, Wesley Gong

Field Summary
 
Fields inherited from interface com.liferay.portal.util.Portal
FRIENDLY_URL_SEPARATOR, PATH_IMAGE, PATH_MAIN, PATH_PORTAL_LAYOUT, PORTLET_XML_FILE_NAME_CUSTOM, PORTLET_XML_FILE_NAME_STANDARD, TEMP_OBFUSCATION_VALUE
 
Constructor Summary
PortalImpl()
           
 
Method Summary
protected  void addDefaultResource(com.liferay.portal.theme.ThemeDisplay themeDisplay, com.liferay.portal.model.Layout layout, com.liferay.portal.model.Portlet portlet, boolean portletActions)
           
 void addPageDescription(java.lang.String description, javax.servlet.http.HttpServletRequest request)
          Adds the description for a page.
 void addPageKeywords(java.lang.String keywords, javax.servlet.http.HttpServletRequest request)
          Adds the keywords for a page.
 void addPageSubtitle(java.lang.String subtitle, javax.servlet.http.HttpServletRequest request)
          Adds the subtitle for a page.
 void addPageTitle(java.lang.String title, javax.servlet.http.HttpServletRequest request)
          Adds the whole title for a page.
 void addPortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
           
 void addPortletDefaultResource(javax.servlet.http.HttpServletRequest request, com.liferay.portal.model.Portlet portlet)
           
 java.lang.String addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay, com.liferay.portal.model.Layout layout, java.lang.String url, boolean doAsUser)
           
 java.lang.String addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay, java.lang.String url)
           
 void clearRequestParameters(javax.portlet.RenderRequest renderRequest)
           
 void copyRequestParameters(javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 java.lang.String escapeRedirect(java.lang.String url)
           
protected  java.util.List<com.liferay.portal.model.Portlet> filterControlPanelPortlets(java.util.Set<com.liferay.portal.model.Portlet> portlets, java.lang.String category, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String generateRandomKey(javax.servlet.http.HttpServletRequest request, java.lang.String input)
           
 com.liferay.portal.model.BaseModel<?> getBaseModel(com.liferay.portal.model.Resource resource)
           
 com.liferay.portal.model.BaseModel<?> getBaseModel(com.liferay.portal.model.ResourcePermission resourcePermission)
           
 com.liferay.portal.model.BaseModel<?> getBaseModel(java.lang.String modelName, java.lang.String primKey)
           
 long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
           
 long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request, long companyId)
           
 java.lang.String getCDNHost()
          Deprecated. getCDNHost(boolean)
 java.lang.String getCDNHost(boolean secure)
           
 java.lang.String getCDNHostHttp()
           
 java.lang.String getCDNHostHttps()
           
 java.lang.String getClassName(long classNameId)
           
 long getClassNameId(java.lang.Class<?> classObj)
           
 long getClassNameId(java.lang.String value)
           
 java.lang.String getClassNamePortletId(java.lang.String className)
           
 java.lang.String getCommunityLoginURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String[] getCommunityPermissions(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String[] getCommunityPermissions(javax.portlet.PortletRequest portletRequest)
           
 com.liferay.portal.model.Company getCompany(javax.servlet.http.HttpServletRequest request)
           
 com.liferay.portal.model.Company getCompany(javax.portlet.PortletRequest portletRequest)
           
 long getCompanyId(javax.servlet.http.HttpServletRequest request)
           
 long getCompanyId(javax.portlet.PortletRequest portletRequest)
           
 long[] getCompanyIds()
           
 java.lang.String getComputerAddress()
           
 java.lang.String getComputerName()
           
 java.lang.String getControlPanelCategory(java.lang.String portletId, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getControlPanelFullURL(long scopeGroupId, java.lang.String ppid, java.util.Map<java.lang.String,java.lang.String[]> params)
           
 java.util.List<com.liferay.portal.model.Portlet> getControlPanelPortlets(java.lang.String category, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getCurrentURL(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getCurrentURL(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getCustomSQLFunctionIsNotNull()
           
 java.lang.String getCustomSQLFunctionIsNull()
           
 java.util.Date getDate(int month, int day, int year)
           
 java.util.Date getDate(int month, int day, int year, int hour, int min, com.liferay.portal.PortalException pe)
           
 java.util.Date getDate(int month, int day, int year, int hour, int min, java.util.TimeZone timeZone, com.liferay.portal.PortalException pe)
           
 java.util.Date getDate(int month, int day, int year, com.liferay.portal.PortalException pe)
           
 java.util.Date getDate(int month, int day, int year, java.util.TimeZone timeZone, com.liferay.portal.PortalException pe)
           
 long getDefaultCompanyId()
           
protected  long getDoAsUserId(javax.servlet.http.HttpServletRequest request, java.lang.String doAsUserIdString, boolean alwaysAllowDoAsUser)
           
 java.util.Map<java.lang.String,java.io.Serializable> getExpandoBridgeAttributes(com.liferay.portlet.expando.model.ExpandoBridge expandoBridge, javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getFacebookURL(com.liferay.portal.model.Portlet portlet, java.lang.String facebookCanvasPageURL, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
           
 java.lang.String getGlobalLibDir()
           
 java.lang.String getGoogleGadgetURL(com.liferay.portal.model.Portlet portlet, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String[] getGuestPermissions(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getHomeURL(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getHost(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getHost(javax.portlet.PortletRequest portletRequest)
           
 javax.servlet.http.HttpServletRequest getHttpServletRequest(javax.portlet.PortletRequest portletRequest)
           
 javax.servlet.http.HttpServletResponse getHttpServletResponse(javax.portlet.PortletResponse portletResponse)
           
 java.lang.String getJsSafePortletId(java.lang.String portletId)
           
 java.lang.String getLayoutActualURL(com.liferay.portal.model.Layout layout)
           
 java.lang.String getLayoutActualURL(com.liferay.portal.model.Layout layout, java.lang.String mainPath)
           
 java.lang.String getLayoutActualURL(long groupId, boolean privateLayout, java.lang.String mainPath, java.lang.String friendlyURL)
           
 java.lang.String getLayoutActualURL(long groupId, boolean privateLayout, java.lang.String mainPath, java.lang.String friendlyURL, java.util.Map<java.lang.String,java.lang.String[]> params)
           
 java.lang.String getLayoutEditPage(com.liferay.portal.model.Layout layout)
           
 java.lang.String getLayoutEditPage(java.lang.String type)
           
 java.lang.String getLayoutFriendlyURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getLayoutFriendlyURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay, java.util.Locale locale)
           
 java.lang.String getLayoutFullURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getLayoutFullURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay, boolean doAsUser)
           
 java.lang.String getLayoutFullURL(long groupId, java.lang.String portletId)
           
 java.lang.String getLayoutFullURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getLayoutSetFriendlyURL(com.liferay.portal.model.LayoutSet layoutSet, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getLayoutTarget(com.liferay.portal.model.Layout layout)
           
 java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout, com.liferay.portal.theme.ThemeDisplay themeDisplay, boolean doAsUser)
           
 java.lang.String getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getLayoutViewPage(com.liferay.portal.model.Layout layout)
           
 java.lang.String getLayoutViewPage(java.lang.String type)
           
 com.liferay.portal.kernel.portlet.LiferayPortletResponse getLiferayPortletResponse(javax.portlet.PortletResponse portletResponse)
           
 java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
           
 java.util.Locale getLocale(javax.portlet.RenderRequest renderRequest)
           
 java.lang.String getNetvibesURL(com.liferay.portal.model.Portlet portlet, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getOuterPortletId(javax.servlet.http.HttpServletRequest request)
           
 long getParentGroupId(long groupId)
           
 java.lang.String getPathContext()
           
 java.lang.String getPathFriendlyURLPrivateGroup()
           
 java.lang.String getPathFriendlyURLPrivateUser()
           
 java.lang.String getPathFriendlyURLPublic()
           
 java.lang.String getPathImage()
           
 java.lang.String getPathMain()
           
 long getPlidFromFriendlyURL(long companyId, java.lang.String friendlyURL)
           
 long getPlidFromPortletId(long groupId, boolean privateLayout, java.lang.String portletId)
           
 long getPlidFromPortletId(long groupId, java.lang.String portletId)
           
 java.lang.String getPortalLibDir()
           
 int getPortalPort()
           
 java.util.Properties getPortalProperties()
           
 java.lang.String getPortalURL(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getPortalURL(javax.servlet.http.HttpServletRequest request, boolean secure)
           
 java.lang.String getPortalURL(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getPortalURL(javax.portlet.PortletRequest portletRequest, boolean secure)
           
 java.lang.String getPortalURL(java.lang.String serverName, int serverPort, boolean secure)
           
 java.lang.String getPortalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getPortalWebDir()
           
 java.util.Set<java.lang.String> getPortletAddDefaultResourceCheckWhitelist()
           
 java.lang.String getPortletDescription(com.liferay.portal.model.Portlet portlet, javax.servlet.ServletContext servletContext, java.util.Locale locale)
           
 java.lang.String getPortletDescription(com.liferay.portal.model.Portlet portlet, com.liferay.portal.model.User user)
           
 java.lang.String getPortletDescription(java.lang.String portletId, java.util.Locale locale)
           
 java.lang.String getPortletDescription(java.lang.String portletId, java.lang.String languageId)
           
 java.lang.String getPortletDescription(java.lang.String portletId, com.liferay.portal.model.User user)
           
 java.lang.Object[] getPortletFriendlyURLMapper(long groupId, boolean privateLayout, java.lang.String url)
           
 java.lang.Object[] getPortletFriendlyURLMapper(long groupId, boolean privateLayout, java.lang.String url, java.util.Map<java.lang.String,java.lang.String[]> params)
           
 long getPortletGroupId(javax.portlet.ActionRequest actionRequest)
          Deprecated. Use getScopeGroupId.
 long getPortletGroupId(javax.servlet.http.HttpServletRequest request)
          Deprecated. Use getScopeGroupId.
 long getPortletGroupId(com.liferay.portal.model.Layout layout)
          Deprecated. Use getScopeGroupId.
 long getPortletGroupId(long plid)
          Deprecated. Use getScopeGroupId.
 long getPortletGroupId(javax.portlet.RenderRequest renderRequest)
          Deprecated. Use getScopeGroupId.
 java.lang.String getPortletId(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getPortletId(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getPortletNamespace(java.lang.String portletId)
           
 java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, java.util.Locale locale)
           
 java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, javax.servlet.ServletContext servletContext, java.util.Locale locale)
           
 java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, java.lang.String languageId)
           
 java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet, com.liferay.portal.model.User user)
           
 java.lang.String getPortletTitle(javax.portlet.RenderResponse renderResponse)
           
 java.lang.String getPortletTitle(java.lang.String portletId, java.util.Locale locale)
           
 java.lang.String getPortletTitle(java.lang.String portletId, java.lang.String languageId)
           
 java.lang.String getPortletTitle(java.lang.String portletId, com.liferay.portal.model.User user)
           
 java.lang.String getPortletXmlFileName()
           
 javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
           
 javax.portlet.PreferencesValidator getPreferencesValidator(com.liferay.portal.model.Portlet portlet)
           
 long getScopeGroupId(javax.servlet.http.HttpServletRequest request)
           
 long getScopeGroupId(javax.servlet.http.HttpServletRequest request, java.lang.String portletId)
           
 long getScopeGroupId(com.liferay.portal.model.Layout layout)
           
 long getScopeGroupId(com.liferay.portal.model.Layout layout, java.lang.String portletId)
           
 long getScopeGroupId(long plid)
           
 long getScopeGroupId(javax.portlet.PortletRequest portletRequest)
           
 com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request)
           
 com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request, boolean checkPermission)
           
 com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest)
           
 com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest, boolean checkPermission)
           
 javax.servlet.ServletContext getServletContext(com.liferay.portal.model.Portlet portlet, javax.servlet.ServletContext servletContext)
           
 java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri)
           
 java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri, long timestamp)
           
 java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri, java.lang.String queryString)
           
 java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request, java.lang.String uri, java.lang.String queryString, long timestamp)
           
 java.lang.String getStrutsAction(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String[] getSystemCommunityRoles()
           
 java.lang.String[] getSystemGroups()
           
 java.lang.String[] getSystemOrganizationRoles()
           
 java.lang.String[] getSystemRoles()
           
 java.lang.String[] getTagsCategories(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String[] getTagsEntries(javax.portlet.PortletRequest portletRequest)
           
 com.liferay.portal.kernel.upload.UploadPortletRequest getUploadPortletRequest(javax.portlet.PortletRequest portletRequest)
           
 com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
           
 java.util.Date getUptime()
           
 java.lang.String getURLWithSessionId(java.lang.String url, java.lang.String sessionId)
           
 com.liferay.portal.model.User getUser(javax.servlet.http.HttpServletRequest request)
           
 com.liferay.portal.model.User getUser(javax.portlet.PortletRequest portletRequest)
           
 long getUserId(javax.servlet.http.HttpServletRequest request)
           
 long getUserId(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getUserName(long userId, java.lang.String defaultUserName)
           
 java.lang.String getUserName(long userId, java.lang.String defaultUserName, javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getUserName(long userId, java.lang.String defaultUserName, java.lang.String userAttribute)
           
 java.lang.String getUserName(long userId, java.lang.String defaultUserName, java.lang.String userAttribute, javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getUserPassword(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getUserPassword(javax.servlet.http.HttpSession session)
           
 java.lang.String getUserPassword(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getUserValue(long userId, java.lang.String param, java.lang.String defaultValue)
           
 long getValidUserId(long companyId, long userId)
           
 java.lang.String getWidgetURL(com.liferay.portal.model.Portlet portlet, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 boolean isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request, com.liferay.portal.model.Portlet portlet)
           
 boolean isCommunityAdmin(com.liferay.portal.model.User user, long groupId)
           
 boolean isCommunityOwner(com.liferay.portal.model.User user, long groupId)
           
 boolean isCompanyAdmin(com.liferay.portal.model.User user)
           
 boolean isControlPanelPortlet(java.lang.String portletId, java.lang.String category, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 boolean isControlPanelPortlet(java.lang.String portletId, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 boolean isLayoutFirstPageable(com.liferay.portal.model.Layout layout)
           
 boolean isLayoutFirstPageable(java.lang.String type)
           
 boolean isLayoutFriendliable(com.liferay.portal.model.Layout layout)
           
 boolean isLayoutFriendliable(java.lang.String type)
           
 boolean isLayoutParentable(com.liferay.portal.model.Layout layout)
           
 boolean isLayoutParentable(java.lang.String type)
           
 boolean isLayoutSitemapable(com.liferay.portal.model.Layout layout)
           
 boolean isMethodGet(javax.portlet.PortletRequest portletRequest)
           
 boolean isMethodPost(javax.portlet.PortletRequest portletRequest)
           
 boolean isOmniadmin(long userId)
           
 boolean isReservedParameter(java.lang.String name)
           
 boolean isSystemGroup(java.lang.String groupName)
           
 boolean isSystemRole(java.lang.String roleName)
           
 boolean isUpdateAvailable()
           
 boolean isValidResourceId(java.lang.String resourceId)
           
protected  void notifyPortalPortEventListeners(int portalPort)
           
 void removePortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
           
 java.lang.String renderPage(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path)
           
 java.lang.String renderPortlet(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.model.Portlet portlet, java.lang.String queryString, boolean writeOutput)
           
 java.lang.String renderPortlet(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.liferay.portal.model.Portlet portlet, java.lang.String queryString, java.lang.String columnId, java.lang.Integer columnPos, java.lang.Integer columnCount, boolean writeOutput)
           
 java.lang.String renderPortlet(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, 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, boolean writeOutput)
           
 void sendError(java.lang.Exception e, javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 void sendError(java.lang.Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void sendError(int status, java.lang.Exception e, javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse)
           
 void sendError(int status, java.lang.Exception e, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setPageDescription(java.lang.String description, javax.servlet.http.HttpServletRequest request)
          Sets the description for a page.
 void setPageKeywords(java.lang.String keywords, javax.servlet.http.HttpServletRequest request)
          Sets the keywords for a page.
 void setPageSubtitle(java.lang.String subtitle, javax.servlet.http.HttpServletRequest request)
          Sets the subtitle for a page.
 void setPageTitle(java.lang.String title, javax.servlet.http.HttpServletRequest request)
          Sets the whole title for a page.
 void setPortalPort(javax.servlet.http.HttpServletRequest request)
          Sets the port obtained on the first request to the portal.
 void storePreferences(javax.portlet.PortletPreferences preferences)
           
 java.lang.String transformCustomSQL(java.lang.String sql)
           
 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 request)
           
 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 request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalImpl

public PortalImpl()
Method Detail

addPageDescription

public void addPageDescription(java.lang.String description,
                               javax.servlet.http.HttpServletRequest request)
Adds the description for a page. This appends to the existing page description.

Specified by:
addPageDescription in interface com.liferay.portal.util.Portal

addPageKeywords

public void addPageKeywords(java.lang.String keywords,
                            javax.servlet.http.HttpServletRequest request)
Adds the keywords for a page. This appends to the existing page keywords.

Specified by:
addPageKeywords in interface com.liferay.portal.util.Portal

addPageSubtitle

public void addPageSubtitle(java.lang.String subtitle,
                            javax.servlet.http.HttpServletRequest request)
Adds the subtitle for a page. This appends to the existing page subtitle.

Specified by:
addPageSubtitle in interface com.liferay.portal.util.Portal

addPageTitle

public void addPageTitle(java.lang.String title,
                         javax.servlet.http.HttpServletRequest request)
Adds the whole title for a page. This appends to the existing page whole title.

Specified by:
addPageTitle in interface com.liferay.portal.util.Portal

addPortalPortEventListener

public void addPortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
Specified by:
addPortalPortEventListener in interface com.liferay.portal.util.Portal

addPortletDefaultResource

public void addPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
                                      com.liferay.portal.model.Portlet portlet)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Specified by:
addPortletDefaultResource in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addPreservedParameters

public java.lang.String addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                               com.liferay.portal.model.Layout layout,
                                               java.lang.String url,
                                               boolean doAsUser)
Specified by:
addPreservedParameters in interface com.liferay.portal.util.Portal

addPreservedParameters

public java.lang.String addPreservedParameters(com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                               java.lang.String url)
Specified by:
addPreservedParameters in interface com.liferay.portal.util.Portal

clearRequestParameters

public void clearRequestParameters(javax.portlet.RenderRequest renderRequest)
Specified by:
clearRequestParameters in interface com.liferay.portal.util.Portal

copyRequestParameters

public void copyRequestParameters(javax.portlet.ActionRequest actionRequest,
                                  javax.portlet.ActionResponse actionResponse)
Specified by:
copyRequestParameters in interface com.liferay.portal.util.Portal

escapeRedirect

public java.lang.String escapeRedirect(java.lang.String url)
Specified by:
escapeRedirect in interface com.liferay.portal.util.Portal

generateRandomKey

public java.lang.String generateRandomKey(javax.servlet.http.HttpServletRequest request,
                                          java.lang.String input)
Specified by:
generateRandomKey in interface com.liferay.portal.util.Portal

getBaseModel

public com.liferay.portal.model.BaseModel<?> getBaseModel(com.liferay.portal.model.Resource resource)
                                                   throws com.liferay.portal.PortalException,
                                                          com.liferay.portal.SystemException
Specified by:
getBaseModel in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getBaseModel

public com.liferay.portal.model.BaseModel<?> getBaseModel(com.liferay.portal.model.ResourcePermission resourcePermission)
                                                   throws com.liferay.portal.PortalException,
                                                          com.liferay.portal.SystemException
Specified by:
getBaseModel in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getBaseModel

public com.liferay.portal.model.BaseModel<?> getBaseModel(java.lang.String modelName,
                                                          java.lang.String primKey)
                                                   throws com.liferay.portal.PortalException,
                                                          com.liferay.portal.SystemException
Specified by:
getBaseModel in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getBasicAuthUserId

public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
getBasicAuthUserId in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getBasicAuthUserId

public long getBasicAuthUserId(javax.servlet.http.HttpServletRequest request,
                               long companyId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
getBasicAuthUserId in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCDNHost

public java.lang.String getCDNHost()
Deprecated. getCDNHost(boolean)

Specified by:
getCDNHost in interface com.liferay.portal.util.Portal

getCDNHost

public java.lang.String getCDNHost(boolean secure)
Specified by:
getCDNHost in interface com.liferay.portal.util.Portal

getCDNHostHttp

public java.lang.String getCDNHostHttp()
Specified by:
getCDNHostHttp in interface com.liferay.portal.util.Portal

getCDNHostHttps

public java.lang.String getCDNHostHttps()
Specified by:
getCDNHostHttps in interface com.liferay.portal.util.Portal

getClassName

public java.lang.String getClassName(long classNameId)
Specified by:
getClassName in interface com.liferay.portal.util.Portal

getClassNameId

public long getClassNameId(java.lang.Class<?> classObj)
Specified by:
getClassNameId in interface com.liferay.portal.util.Portal

getClassNameId

public long getClassNameId(java.lang.String value)
Specified by:
getClassNameId in interface com.liferay.portal.util.Portal

getClassNamePortletId

public java.lang.String getClassNamePortletId(java.lang.String className)
Specified by:
getClassNamePortletId in interface com.liferay.portal.util.Portal

getCommunityLoginURL

public java.lang.String getCommunityLoginURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Specified by:
getCommunityLoginURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCommunityPermissions

public java.lang.String[] getCommunityPermissions(javax.servlet.http.HttpServletRequest request)
Specified by:
getCommunityPermissions in interface com.liferay.portal.util.Portal

getCommunityPermissions

public java.lang.String[] getCommunityPermissions(javax.portlet.PortletRequest portletRequest)
Specified by:
getCommunityPermissions in interface com.liferay.portal.util.Portal

getCompany

public com.liferay.portal.model.Company getCompany(javax.servlet.http.HttpServletRequest request)
                                            throws com.liferay.portal.PortalException,
                                                   com.liferay.portal.SystemException
Specified by:
getCompany in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompany

public com.liferay.portal.model.Company getCompany(javax.portlet.PortletRequest portletRequest)
                                            throws com.liferay.portal.PortalException,
                                                   com.liferay.portal.SystemException
Specified by:
getCompany in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompanyId

public long getCompanyId(javax.servlet.http.HttpServletRequest request)
Specified by:
getCompanyId in interface com.liferay.portal.util.Portal

getCompanyId

public long getCompanyId(javax.portlet.PortletRequest portletRequest)
Specified by:
getCompanyId in interface com.liferay.portal.util.Portal

getCompanyIds

public long[] getCompanyIds()
Specified by:
getCompanyIds in interface com.liferay.portal.util.Portal

getComputerAddress

public java.lang.String getComputerAddress()
Specified by:
getComputerAddress in interface com.liferay.portal.util.Portal

getComputerName

public java.lang.String getComputerName()
Specified by:
getComputerName in interface com.liferay.portal.util.Portal

getControlPanelCategory

public java.lang.String getControlPanelCategory(java.lang.String portletId,
                                                com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                         throws com.liferay.portal.SystemException
Specified by:
getControlPanelCategory in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.SystemException

getControlPanelFullURL

public java.lang.String getControlPanelFullURL(long scopeGroupId,
                                               java.lang.String ppid,
                                               java.util.Map<java.lang.String,java.lang.String[]> params)
                                        throws com.liferay.portal.PortalException,
                                               com.liferay.portal.SystemException
Specified by:
getControlPanelFullURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getControlPanelPortlets

public java.util.List<com.liferay.portal.model.Portlet> getControlPanelPortlets(java.lang.String category,
                                                                                com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                                                         throws com.liferay.portal.SystemException
Specified by:
getControlPanelPortlets in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.SystemException

getCurrentCompleteURL

public java.lang.String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getCurrentCompleteURL in interface com.liferay.portal.util.Portal

getCurrentURL

public java.lang.String getCurrentURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getCurrentURL in interface com.liferay.portal.util.Portal

getCurrentURL

public java.lang.String getCurrentURL(javax.portlet.PortletRequest portletRequest)
Specified by:
getCurrentURL in interface com.liferay.portal.util.Portal

getCustomSQLFunctionIsNotNull

public java.lang.String getCustomSQLFunctionIsNotNull()
Specified by:
getCustomSQLFunctionIsNotNull in interface com.liferay.portal.util.Portal

getCustomSQLFunctionIsNull

public java.lang.String getCustomSQLFunctionIsNull()
Specified by:
getCustomSQLFunctionIsNull in interface com.liferay.portal.util.Portal

getDate

public java.util.Date getDate(int month,
                              int day,
                              int year)
Specified by:
getDate in interface com.liferay.portal.util.Portal

getDate

public java.util.Date getDate(int month,
                              int day,
                              int year,
                              int hour,
                              int min,
                              com.liferay.portal.PortalException pe)
                       throws com.liferay.portal.PortalException
Specified by:
getDate in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException

getDate

public java.util.Date getDate(int month,
                              int day,
                              int year,
                              int hour,
                              int min,
                              java.util.TimeZone timeZone,
                              com.liferay.portal.PortalException pe)
                       throws com.liferay.portal.PortalException
Specified by:
getDate in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException

getDate

public java.util.Date getDate(int month,
                              int day,
                              int year,
                              com.liferay.portal.PortalException pe)
                       throws com.liferay.portal.PortalException
Specified by:
getDate in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException

getDate

public java.util.Date getDate(int month,
                              int day,
                              int year,
                              java.util.TimeZone timeZone,
                              com.liferay.portal.PortalException pe)
                       throws com.liferay.portal.PortalException
Specified by:
getDate in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException

getDefaultCompanyId

public long getDefaultCompanyId()
Specified by:
getDefaultCompanyId in interface com.liferay.portal.util.Portal

getExpandoBridgeAttributes

public java.util.Map<java.lang.String,java.io.Serializable> getExpandoBridgeAttributes(com.liferay.portlet.expando.model.ExpandoBridge expandoBridge,
                                                                                       javax.portlet.PortletRequest portletRequest)
                                                                                throws com.liferay.portal.PortalException,
                                                                                       com.liferay.portal.SystemException
Specified by:
getExpandoBridgeAttributes in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFacebookURL

public java.lang.String getFacebookURL(com.liferay.portal.model.Portlet portlet,
                                       java.lang.String facebookCanvasPageURL,
                                       com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Specified by:
getFacebookURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFirstPageLayoutTypes

public java.lang.String getFirstPageLayoutTypes(javax.servlet.jsp.PageContext pageContext)
Specified by:
getFirstPageLayoutTypes in interface com.liferay.portal.util.Portal

getGlobalLibDir

public java.lang.String getGlobalLibDir()
Specified by:
getGlobalLibDir in interface com.liferay.portal.util.Portal

getGoogleGadgetURL

public java.lang.String getGoogleGadgetURL(com.liferay.portal.model.Portlet portlet,
                                           com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getGoogleGadgetURL in interface com.liferay.portal.util.Portal

getGuestPermissions

public java.lang.String[] getGuestPermissions(javax.servlet.http.HttpServletRequest request)
Specified by:
getGuestPermissions in interface com.liferay.portal.util.Portal

getGuestPermissions

public java.lang.String[] getGuestPermissions(javax.portlet.PortletRequest portletRequest)
Specified by:
getGuestPermissions in interface com.liferay.portal.util.Portal

getHomeURL

public java.lang.String getHomeURL(javax.servlet.http.HttpServletRequest request)
                            throws com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Specified by:
getHomeURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getHost

public java.lang.String getHost(javax.servlet.http.HttpServletRequest request)
Specified by:
getHost in interface com.liferay.portal.util.Portal

getHost

public java.lang.String getHost(javax.portlet.PortletRequest portletRequest)
Specified by:
getHost in interface com.liferay.portal.util.Portal

getHttpServletRequest

public javax.servlet.http.HttpServletRequest getHttpServletRequest(javax.portlet.PortletRequest portletRequest)
Specified by:
getHttpServletRequest in interface com.liferay.portal.util.Portal

getHttpServletResponse

public javax.servlet.http.HttpServletResponse getHttpServletResponse(javax.portlet.PortletResponse portletResponse)
Specified by:
getHttpServletResponse in interface com.liferay.portal.util.Portal

getJsSafePortletId

public java.lang.String getJsSafePortletId(java.lang.String portletId)
Specified by:
getJsSafePortletId in interface com.liferay.portal.util.Portal

getLayoutActualURL

public java.lang.String getLayoutActualURL(com.liferay.portal.model.Layout layout)
Specified by:
getLayoutActualURL in interface com.liferay.portal.util.Portal

getLayoutActualURL

public java.lang.String getLayoutActualURL(com.liferay.portal.model.Layout layout,
                                           java.lang.String mainPath)
Specified by:
getLayoutActualURL in interface com.liferay.portal.util.Portal

getLayoutActualURL

public java.lang.String getLayoutActualURL(long groupId,
                                           boolean privateLayout,
                                           java.lang.String mainPath,
                                           java.lang.String friendlyURL)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Specified by:
getLayoutActualURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutActualURL

public java.lang.String getLayoutActualURL(long groupId,
                                           boolean privateLayout,
                                           java.lang.String mainPath,
                                           java.lang.String friendlyURL,
                                           java.util.Map<java.lang.String,java.lang.String[]> params)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Specified by:
getLayoutActualURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutEditPage

public java.lang.String getLayoutEditPage(com.liferay.portal.model.Layout layout)
Specified by:
getLayoutEditPage in interface com.liferay.portal.util.Portal

getLayoutEditPage

public java.lang.String getLayoutEditPage(java.lang.String type)
Specified by:
getLayoutEditPage in interface com.liferay.portal.util.Portal

getLayoutFriendlyURL

public java.lang.String getLayoutFriendlyURL(com.liferay.portal.model.Layout layout,
                                             com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getLayoutFriendlyURL in interface com.liferay.portal.util.Portal

getLayoutFriendlyURL

public java.lang.String getLayoutFriendlyURL(com.liferay.portal.model.Layout layout,
                                             com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                             java.util.Locale locale)
Specified by:
getLayoutFriendlyURL in interface com.liferay.portal.util.Portal

getLayoutFullURL

public java.lang.String getLayoutFullURL(com.liferay.portal.model.Layout layout,
                                         com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getLayoutFullURL in interface com.liferay.portal.util.Portal

getLayoutFullURL

public java.lang.String getLayoutFullURL(com.liferay.portal.model.Layout layout,
                                         com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                         boolean doAsUser)
Specified by:
getLayoutFullURL in interface com.liferay.portal.util.Portal

getLayoutFullURL

public java.lang.String getLayoutFullURL(long groupId,
                                         java.lang.String portletId)
                                  throws com.liferay.portal.PortalException,
                                         com.liferay.portal.SystemException
Specified by:
getLayoutFullURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutFullURL

public java.lang.String getLayoutFullURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getLayoutFullURL in interface com.liferay.portal.util.Portal

getLayoutSetFriendlyURL

public java.lang.String getLayoutSetFriendlyURL(com.liferay.portal.model.LayoutSet layoutSet,
                                                com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Specified by:
getLayoutSetFriendlyURL in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getLayoutTarget

public java.lang.String getLayoutTarget(com.liferay.portal.model.Layout layout)
Specified by:
getLayoutTarget in interface com.liferay.portal.util.Portal

getLayoutURL

public java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout,
                                     com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getLayoutURL in interface com.liferay.portal.util.Portal

getLayoutURL

public java.lang.String getLayoutURL(com.liferay.portal.model.Layout layout,
                                     com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                     boolean doAsUser)
Specified by:
getLayoutURL in interface com.liferay.portal.util.Portal

getLayoutURL

public java.lang.String getLayoutURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getLayoutURL in interface com.liferay.portal.util.Portal

getLayoutViewPage

public java.lang.String getLayoutViewPage(com.liferay.portal.model.Layout layout)
Specified by:
getLayoutViewPage in interface com.liferay.portal.util.Portal

getLayoutViewPage

public java.lang.String getLayoutViewPage(java.lang.String type)
Specified by:
getLayoutViewPage in interface com.liferay.portal.util.Portal

getLiferayPortletResponse

public com.liferay.portal.kernel.portlet.LiferayPortletResponse getLiferayPortletResponse(javax.portlet.PortletResponse portletResponse)
Specified by:
getLiferayPortletResponse in interface com.liferay.portal.util.Portal

getLocale

public java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
Specified by:
getLocale in interface com.liferay.portal.util.Portal

getLocale

public java.util.Locale getLocale(javax.portlet.RenderRequest renderRequest)
Specified by:
getLocale in interface com.liferay.portal.util.Portal

getNetvibesURL

public java.lang.String getNetvibesURL(com.liferay.portal.model.Portlet portlet,
                                       com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getNetvibesURL in interface com.liferay.portal.util.Portal

getOriginalServletRequest

public javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
getOriginalServletRequest in interface com.liferay.portal.util.Portal

getOuterPortletId

public java.lang.String getOuterPortletId(javax.servlet.http.HttpServletRequest request)
Specified by:
getOuterPortletId in interface com.liferay.portal.util.Portal

getParentGroupId

public long getParentGroupId(long groupId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Specified by:
getParentGroupId in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPathContext

public java.lang.String getPathContext()
Specified by:
getPathContext in interface com.liferay.portal.util.Portal

getPathFriendlyURLPrivateGroup

public java.lang.String getPathFriendlyURLPrivateGroup()
Specified by:
getPathFriendlyURLPrivateGroup in interface com.liferay.portal.util.Portal

getPathFriendlyURLPrivateUser

public java.lang.String getPathFriendlyURLPrivateUser()
Specified by:
getPathFriendlyURLPrivateUser in interface com.liferay.portal.util.Portal

getPathFriendlyURLPublic

public java.lang.String getPathFriendlyURLPublic()
Specified by:
getPathFriendlyURLPublic in interface com.liferay.portal.util.Portal

getPathImage

public java.lang.String getPathImage()
Specified by:
getPathImage in interface com.liferay.portal.util.Portal

getPathMain

public java.lang.String getPathMain()
Specified by:
getPathMain in interface com.liferay.portal.util.Portal

getPlidFromFriendlyURL

public long getPlidFromFriendlyURL(long companyId,
                                   java.lang.String friendlyURL)
Specified by:
getPlidFromFriendlyURL in interface com.liferay.portal.util.Portal

getPlidFromPortletId

public long getPlidFromPortletId(long groupId,
                                 boolean privateLayout,
                                 java.lang.String portletId)
Specified by:
getPlidFromPortletId in interface com.liferay.portal.util.Portal

getPlidFromPortletId

public long getPlidFromPortletId(long groupId,
                                 java.lang.String portletId)
Specified by:
getPlidFromPortletId in interface com.liferay.portal.util.Portal

getPortalLibDir

public java.lang.String getPortalLibDir()
Specified by:
getPortalLibDir in interface com.liferay.portal.util.Portal

getPortalPort

public int getPortalPort()
Specified by:
getPortalPort in interface com.liferay.portal.util.Portal

getPortalProperties

public java.util.Properties getPortalProperties()
Specified by:
getPortalProperties in interface com.liferay.portal.util.Portal

getPortalURL

public java.lang.String getPortalURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getPortalURL in interface com.liferay.portal.util.Portal

getPortalURL

public java.lang.String getPortalURL(javax.servlet.http.HttpServletRequest request,
                                     boolean secure)
Specified by:
getPortalURL in interface com.liferay.portal.util.Portal

getPortalURL

public java.lang.String getPortalURL(javax.portlet.PortletRequest portletRequest)
Specified by:
getPortalURL in interface com.liferay.portal.util.Portal

getPortalURL

public java.lang.String getPortalURL(javax.portlet.PortletRequest portletRequest,
                                     boolean secure)
Specified by:
getPortalURL in interface com.liferay.portal.util.Portal

getPortalURL

public java.lang.String getPortalURL(java.lang.String serverName,
                                     int serverPort,
                                     boolean secure)
Specified by:
getPortalURL in interface com.liferay.portal.util.Portal

getPortalURL

public java.lang.String getPortalURL(com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getPortalURL in interface com.liferay.portal.util.Portal

getPortalWebDir

public java.lang.String getPortalWebDir()
Specified by:
getPortalWebDir in interface com.liferay.portal.util.Portal

getPortletAddDefaultResourceCheckWhitelist

public java.util.Set<java.lang.String> getPortletAddDefaultResourceCheckWhitelist()
Specified by:
getPortletAddDefaultResourceCheckWhitelist in interface com.liferay.portal.util.Portal

getPortletDescription

public java.lang.String getPortletDescription(com.liferay.portal.model.Portlet portlet,
                                              javax.servlet.ServletContext servletContext,
                                              java.util.Locale locale)
Specified by:
getPortletDescription in interface com.liferay.portal.util.Portal

getPortletDescription

public java.lang.String getPortletDescription(com.liferay.portal.model.Portlet portlet,
                                              com.liferay.portal.model.User user)
Specified by:
getPortletDescription in interface com.liferay.portal.util.Portal

getPortletDescription

public java.lang.String getPortletDescription(java.lang.String portletId,
                                              java.util.Locale locale)
Specified by:
getPortletDescription in interface com.liferay.portal.util.Portal

getPortletDescription

public java.lang.String getPortletDescription(java.lang.String portletId,
                                              java.lang.String languageId)
Specified by:
getPortletDescription in interface com.liferay.portal.util.Portal

getPortletDescription

public java.lang.String getPortletDescription(java.lang.String portletId,
                                              com.liferay.portal.model.User user)
Specified by:
getPortletDescription in interface com.liferay.portal.util.Portal

getPortletFriendlyURLMapper

public java.lang.Object[] getPortletFriendlyURLMapper(long groupId,
                                                      boolean privateLayout,
                                                      java.lang.String url)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Specified by:
getPortletFriendlyURLMapper in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletFriendlyURLMapper

public java.lang.Object[] getPortletFriendlyURLMapper(long groupId,
                                                      boolean privateLayout,
                                                      java.lang.String url,
                                                      java.util.Map<java.lang.String,java.lang.String[]> params)
                                               throws com.liferay.portal.PortalException,
                                                      com.liferay.portal.SystemException
Specified by:
getPortletFriendlyURLMapper in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletGroupId

public long getPortletGroupId(javax.portlet.ActionRequest actionRequest)
Deprecated. Use getScopeGroupId.

Specified by:
getPortletGroupId in interface com.liferay.portal.util.Portal

getPortletGroupId

public long getPortletGroupId(javax.servlet.http.HttpServletRequest request)
Deprecated. Use getScopeGroupId.

Specified by:
getPortletGroupId in interface com.liferay.portal.util.Portal

getPortletGroupId

public long getPortletGroupId(com.liferay.portal.model.Layout layout)
Deprecated. Use getScopeGroupId.

Specified by:
getPortletGroupId in interface com.liferay.portal.util.Portal

getPortletGroupId

public long getPortletGroupId(long plid)
Deprecated. Use getScopeGroupId.

Specified by:
getPortletGroupId in interface com.liferay.portal.util.Portal

getPortletGroupId

public long getPortletGroupId(javax.portlet.RenderRequest renderRequest)
Deprecated. Use getScopeGroupId.

Specified by:
getPortletGroupId in interface com.liferay.portal.util.Portal

getPortletId

public java.lang.String getPortletId(javax.servlet.http.HttpServletRequest request)
Specified by:
getPortletId in interface com.liferay.portal.util.Portal

getPortletId

public java.lang.String getPortletId(javax.portlet.PortletRequest portletRequest)
Specified by:
getPortletId in interface com.liferay.portal.util.Portal

getPortletNamespace

public java.lang.String getPortletNamespace(java.lang.String portletId)
Specified by:
getPortletNamespace in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet,
                                        java.util.Locale locale)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet,
                                        java.lang.String languageId)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet,
                                        javax.servlet.ServletContext servletContext,
                                        java.util.Locale locale)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(com.liferay.portal.model.Portlet portlet,
                                        com.liferay.portal.model.User user)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(javax.portlet.RenderResponse renderResponse)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(java.lang.String portletId,
                                        java.util.Locale locale)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(java.lang.String portletId,
                                        java.lang.String languageId)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletTitle

public java.lang.String getPortletTitle(java.lang.String portletId,
                                        com.liferay.portal.model.User user)
Specified by:
getPortletTitle in interface com.liferay.portal.util.Portal

getPortletXmlFileName

public java.lang.String getPortletXmlFileName()
                                       throws com.liferay.portal.SystemException
Specified by:
getPortletXmlFileName in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest request)
Specified by:
getPreferences in interface com.liferay.portal.util.Portal

getPreferencesValidator

public javax.portlet.PreferencesValidator getPreferencesValidator(com.liferay.portal.model.Portlet portlet)
Specified by:
getPreferencesValidator in interface com.liferay.portal.util.Portal

getScopeGroupId

public long getScopeGroupId(javax.servlet.http.HttpServletRequest request)
Specified by:
getScopeGroupId in interface com.liferay.portal.util.Portal

getScopeGroupId

public long getScopeGroupId(javax.servlet.http.HttpServletRequest request,
                            java.lang.String portletId)
Specified by:
getScopeGroupId in interface com.liferay.portal.util.Portal

getScopeGroupId

public long getScopeGroupId(com.liferay.portal.model.Layout layout)
Specified by:
getScopeGroupId in interface com.liferay.portal.util.Portal

getScopeGroupId

public long getScopeGroupId(com.liferay.portal.model.Layout layout,
                            java.lang.String portletId)
Specified by:
getScopeGroupId in interface com.liferay.portal.util.Portal

getScopeGroupId

public long getScopeGroupId(long plid)
Specified by:
getScopeGroupId in interface com.liferay.portal.util.Portal

getScopeGroupId

public long getScopeGroupId(javax.portlet.PortletRequest portletRequest)
Specified by:
getScopeGroupId in interface com.liferay.portal.util.Portal

getSelectedUser

public com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Specified by:
getSelectedUser in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getSelectedUser

public com.liferay.portal.model.User getSelectedUser(javax.servlet.http.HttpServletRequest request,
                                                     boolean checkPermission)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Specified by:
getSelectedUser in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getSelectedUser

public com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Specified by:
getSelectedUser in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getSelectedUser

public com.liferay.portal.model.User getSelectedUser(javax.portlet.PortletRequest portletRequest,
                                                     boolean checkPermission)
                                              throws com.liferay.portal.PortalException,
                                                     com.liferay.portal.SystemException
Specified by:
getSelectedUser in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getServletContext

public javax.servlet.ServletContext getServletContext(com.liferay.portal.model.Portlet portlet,
                                                      javax.servlet.ServletContext servletContext)
Specified by:
getServletContext in interface com.liferay.portal.util.Portal

getStaticResourceURL

public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                             java.lang.String uri)
Specified by:
getStaticResourceURL in interface com.liferay.portal.util.Portal

getStaticResourceURL

public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                             java.lang.String uri,
                                             long timestamp)
Specified by:
getStaticResourceURL in interface com.liferay.portal.util.Portal

getStaticResourceURL

public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                             java.lang.String uri,
                                             java.lang.String queryString)
Specified by:
getStaticResourceURL in interface com.liferay.portal.util.Portal

getStaticResourceURL

public java.lang.String getStaticResourceURL(javax.servlet.http.HttpServletRequest request,
                                             java.lang.String uri,
                                             java.lang.String queryString,
                                             long timestamp)
Specified by:
getStaticResourceURL in interface com.liferay.portal.util.Portal

getStrutsAction

public java.lang.String getStrutsAction(javax.servlet.http.HttpServletRequest request)
Specified by:
getStrutsAction in interface com.liferay.portal.util.Portal

getSystemCommunityRoles

public java.lang.String[] getSystemCommunityRoles()
Specified by:
getSystemCommunityRoles in interface com.liferay.portal.util.Portal

getSystemGroups

public java.lang.String[] getSystemGroups()
Specified by:
getSystemGroups in interface com.liferay.portal.util.Portal

getSystemOrganizationRoles

public java.lang.String[] getSystemOrganizationRoles()
Specified by:
getSystemOrganizationRoles in interface com.liferay.portal.util.Portal

getSystemRoles

public java.lang.String[] getSystemRoles()
Specified by:
getSystemRoles in interface com.liferay.portal.util.Portal

getTagsCategories

public java.lang.String[] getTagsCategories(javax.portlet.PortletRequest portletRequest)
Specified by:
getTagsCategories in interface com.liferay.portal.util.Portal

getTagsEntries

public java.lang.String[] getTagsEntries(javax.portlet.PortletRequest portletRequest)
Specified by:
getTagsEntries in interface com.liferay.portal.util.Portal

getUploadPortletRequest

public com.liferay.portal.kernel.upload.UploadPortletRequest getUploadPortletRequest(javax.portlet.PortletRequest portletRequest)
Specified by:
getUploadPortletRequest in interface com.liferay.portal.util.Portal

getUploadServletRequest

public com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
getUploadServletRequest in interface com.liferay.portal.util.Portal

getUptime

public java.util.Date getUptime()
Specified by:
getUptime in interface com.liferay.portal.util.Portal

getURLWithSessionId

public java.lang.String getURLWithSessionId(java.lang.String url,
                                            java.lang.String sessionId)
Specified by:
getURLWithSessionId in interface com.liferay.portal.util.Portal

getUser

public com.liferay.portal.model.User getUser(javax.servlet.http.HttpServletRequest request)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Specified by:
getUser in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUser

public com.liferay.portal.model.User getUser(javax.portlet.PortletRequest portletRequest)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Specified by:
getUser in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getUserId

public long getUserId(javax.servlet.http.HttpServletRequest request)
Specified by:
getUserId in interface com.liferay.portal.util.Portal

getUserId

public long getUserId(javax.portlet.PortletRequest portletRequest)
Specified by:
getUserId in interface com.liferay.portal.util.Portal

getUserName

public java.lang.String getUserName(long userId,
                                    java.lang.String defaultUserName)
Specified by:
getUserName in interface com.liferay.portal.util.Portal

getUserName

public java.lang.String getUserName(long userId,
                                    java.lang.String defaultUserName,
                                    javax.servlet.http.HttpServletRequest request)
Specified by:
getUserName in interface com.liferay.portal.util.Portal

getUserName

public java.lang.String getUserName(long userId,
                                    java.lang.String defaultUserName,
                                    java.lang.String userAttribute)
Specified by:
getUserName in interface com.liferay.portal.util.Portal

getUserName

public java.lang.String getUserName(long userId,
                                    java.lang.String defaultUserName,
                                    java.lang.String userAttribute,
                                    javax.servlet.http.HttpServletRequest request)
Specified by:
getUserName in interface com.liferay.portal.util.Portal

getUserPassword

public java.lang.String getUserPassword(javax.servlet.http.HttpServletRequest request)
Specified by:
getUserPassword in interface com.liferay.portal.util.Portal

getUserPassword

public java.lang.String getUserPassword(javax.servlet.http.HttpSession session)
Specified by:
getUserPassword in interface com.liferay.portal.util.Portal

getUserPassword

public java.lang.String getUserPassword(javax.portlet.PortletRequest portletRequest)
Specified by:
getUserPassword in interface com.liferay.portal.util.Portal

getUserValue

public java.lang.String getUserValue(long userId,
                                     java.lang.String param,
                                     java.lang.String defaultValue)
                              throws com.liferay.portal.SystemException
Specified by:
getUserValue in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.SystemException

getValidUserId

public long getValidUserId(long companyId,
                           long userId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
getValidUserId in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWidgetURL

public java.lang.String getWidgetURL(com.liferay.portal.model.Portlet portlet,
                                     com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getWidgetURL in interface com.liferay.portal.util.Portal

isAllowAddPortletDefaultResource

public boolean isAllowAddPortletDefaultResource(javax.servlet.http.HttpServletRequest request,
                                                com.liferay.portal.model.Portlet portlet)
                                         throws com.liferay.portal.PortalException,
                                                com.liferay.portal.SystemException
Specified by:
isAllowAddPortletDefaultResource in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

isCommunityAdmin

public boolean isCommunityAdmin(com.liferay.portal.model.User user,
                                long groupId)
                         throws java.lang.Exception
Specified by:
isCommunityAdmin in interface com.liferay.portal.util.Portal
Throws:
java.lang.Exception

isCommunityOwner

public boolean isCommunityOwner(com.liferay.portal.model.User user,
                                long groupId)
                         throws java.lang.Exception
Specified by:
isCommunityOwner in interface com.liferay.portal.util.Portal
Throws:
java.lang.Exception

isCompanyAdmin

public boolean isCompanyAdmin(com.liferay.portal.model.User user)
                       throws java.lang.Exception
Specified by:
isCompanyAdmin in interface com.liferay.portal.util.Portal
Throws:
java.lang.Exception

isControlPanelPortlet

public boolean isControlPanelPortlet(java.lang.String portletId,
                                     java.lang.String category,
                                     com.liferay.portal.theme.ThemeDisplay themeDisplay)
                              throws com.liferay.portal.SystemException
Specified by:
isControlPanelPortlet in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.SystemException

isControlPanelPortlet

public boolean isControlPanelPortlet(java.lang.String portletId,
                                     com.liferay.portal.theme.ThemeDisplay themeDisplay)
                              throws com.liferay.portal.SystemException
Specified by:
isControlPanelPortlet in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.SystemException

isLayoutFirstPageable

public boolean isLayoutFirstPageable(com.liferay.portal.model.Layout layout)
Specified by:
isLayoutFirstPageable in interface com.liferay.portal.util.Portal

isLayoutFirstPageable

public boolean isLayoutFirstPageable(java.lang.String type)
Specified by:
isLayoutFirstPageable in interface com.liferay.portal.util.Portal

isLayoutFriendliable

public boolean isLayoutFriendliable(com.liferay.portal.model.Layout layout)
Specified by:
isLayoutFriendliable in interface com.liferay.portal.util.Portal

isLayoutFriendliable

public boolean isLayoutFriendliable(java.lang.String type)
Specified by:
isLayoutFriendliable in interface com.liferay.portal.util.Portal

isLayoutParentable

public boolean isLayoutParentable(com.liferay.portal.model.Layout layout)
Specified by:
isLayoutParentable in interface com.liferay.portal.util.Portal

isLayoutParentable

public boolean isLayoutParentable(java.lang.String type)
Specified by:
isLayoutParentable in interface com.liferay.portal.util.Portal

isLayoutSitemapable

public boolean isLayoutSitemapable(com.liferay.portal.model.Layout layout)
Specified by:
isLayoutSitemapable in interface com.liferay.portal.util.Portal

isMethodGet

public boolean isMethodGet(javax.portlet.PortletRequest portletRequest)
Specified by:
isMethodGet in interface com.liferay.portal.util.Portal

isMethodPost

public boolean isMethodPost(javax.portlet.PortletRequest portletRequest)
Specified by:
isMethodPost in interface com.liferay.portal.util.Portal

isOmniadmin

public boolean isOmniadmin(long userId)
Specified by:
isOmniadmin in interface com.liferay.portal.util.Portal

isReservedParameter

public boolean isReservedParameter(java.lang.String name)
Specified by:
isReservedParameter in interface com.liferay.portal.util.Portal

isSystemGroup

public boolean isSystemGroup(java.lang.String groupName)
Specified by:
isSystemGroup in interface com.liferay.portal.util.Portal

isSystemRole

public boolean isSystemRole(java.lang.String roleName)
Specified by:
isSystemRole in interface com.liferay.portal.util.Portal

isUpdateAvailable

public boolean isUpdateAvailable()
                          throws com.liferay.portal.SystemException
Specified by:
isUpdateAvailable in interface com.liferay.portal.util.Portal
Throws:
com.liferay.portal.SystemException

isValidResourceId

public boolean isValidResourceId(java.lang.String resourceId)
Specified by:
isValidResourceId in interface com.liferay.portal.util.Portal

removePortalPortEventListener

public void removePortalPortEventListener(com.liferay.portal.util.PortalPortEventListener portalPortEventListener)
Specified by:
removePortalPortEventListener in interface com.liferay.portal.util.Portal

renderPage

public java.lang.String renderPage(javax.servlet.ServletContext servletContext,
                                   javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response,
                                   java.lang.String path)
                            throws java.io.IOException,
                                   javax.servlet.ServletException
Specified by:
renderPage in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException
javax.servlet.ServletException

renderPortlet

public java.lang.String renderPortlet(javax.servlet.ServletContext servletContext,
                                      javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response,
                                      com.liferay.portal.model.Portlet portlet,
                                      java.lang.String queryString,
                                      boolean writeOutput)
                               throws java.io.IOException,
                                      javax.servlet.ServletException
Specified by:
renderPortlet in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException
javax.servlet.ServletException

renderPortlet

public java.lang.String renderPortlet(javax.servlet.ServletContext servletContext,
                                      javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response,
                                      com.liferay.portal.model.Portlet portlet,
                                      java.lang.String queryString,
                                      java.lang.String columnId,
                                      java.lang.Integer columnPos,
                                      java.lang.Integer columnCount,
                                      boolean writeOutput)
                               throws java.io.IOException,
                                      javax.servlet.ServletException
Specified by:
renderPortlet in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException
javax.servlet.ServletException

renderPortlet

public java.lang.String renderPortlet(javax.servlet.ServletContext servletContext,
                                      javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response,
                                      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,
                                      boolean writeOutput)
                               throws java.io.IOException,
                                      javax.servlet.ServletException
Specified by:
renderPortlet in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException
javax.servlet.ServletException

sendError

public void sendError(java.lang.Exception e,
                      javax.portlet.ActionRequest actionRequest,
                      javax.portlet.ActionResponse actionResponse)
               throws java.io.IOException
Specified by:
sendError in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException

sendError

public void sendError(java.lang.Exception e,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws java.io.IOException,
                      javax.servlet.ServletException
Specified by:
sendError in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException
javax.servlet.ServletException

sendError

public void sendError(int status,
                      java.lang.Exception e,
                      javax.portlet.ActionRequest actionRequest,
                      javax.portlet.ActionResponse actionResponse)
               throws java.io.IOException
Specified by:
sendError in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException

sendError

public void sendError(int status,
                      java.lang.Exception e,
                      javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws java.io.IOException,
                      javax.servlet.ServletException
Specified by:
sendError in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException
javax.servlet.ServletException

setPageDescription

public void setPageDescription(java.lang.String description,
                               javax.servlet.http.HttpServletRequest request)
Sets the description for a page. This overrides the existing page description.

Specified by:
setPageDescription in interface com.liferay.portal.util.Portal

setPageKeywords

public void setPageKeywords(java.lang.String keywords,
                            javax.servlet.http.HttpServletRequest request)
Sets the keywords for a page. This overrides the existing page keywords.

Specified by:
setPageKeywords in interface com.liferay.portal.util.Portal

setPageSubtitle

public void setPageSubtitle(java.lang.String subtitle,
                            javax.servlet.http.HttpServletRequest request)
Sets the subtitle for a page. This overrides the existing page subtitle.

Specified by:
setPageSubtitle in interface com.liferay.portal.util.Portal

setPageTitle

public void setPageTitle(java.lang.String title,
                         javax.servlet.http.HttpServletRequest request)
Sets the whole title for a page. This overrides the existing page whole title.

Specified by:
setPageTitle in interface com.liferay.portal.util.Portal

setPortalPort

public void setPortalPort(javax.servlet.http.HttpServletRequest request)
Sets the port obtained on the first request to the portal.

Specified by:
setPortalPort in interface com.liferay.portal.util.Portal

storePreferences

public void storePreferences(javax.portlet.PortletPreferences preferences)
                      throws java.io.IOException,
                             javax.portlet.ValidatorException
Specified by:
storePreferences in interface com.liferay.portal.util.Portal
Throws:
java.io.IOException
javax.portlet.ValidatorException

transformCustomSQL

public java.lang.String transformCustomSQL(java.lang.String sql)
Specified by:
transformCustomSQL in interface com.liferay.portal.util.Portal

updatePortletMode

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 request)
Specified by:
updatePortletMode in interface com.liferay.portal.util.Portal

updateWindowState

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 request)
Specified by:
updateWindowState in interface com.liferay.portal.util.Portal

addDefaultResource

protected void addDefaultResource(com.liferay.portal.theme.ThemeDisplay themeDisplay,
                                  com.liferay.portal.model.Layout layout,
                                  com.liferay.portal.model.Portlet portlet,
                                  boolean portletActions)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

filterControlPanelPortlets

protected java.util.List<com.liferay.portal.model.Portlet> filterControlPanelPortlets(java.util.Set<com.liferay.portal.model.Portlet> portlets,
                                                                                      java.lang.String category,
                                                                                      com.liferay.portal.theme.ThemeDisplay themeDisplay)

getDoAsUserId

protected long getDoAsUserId(javax.servlet.http.HttpServletRequest request,
                             java.lang.String doAsUserIdString,
                             boolean alwaysAllowDoAsUser)
                      throws java.lang.Exception
Throws:
java.lang.Exception

notifyPortalPortEventListeners

protected void notifyPortalPortEventListeners(int portalPort)