Class PortalImpl

Object
com.liferay.portal.util.PortalImpl
All Implemented Interfaces:
com.liferay.portal.kernel.util.Portal

public class PortalImpl extends Object implements com.liferay.portal.kernel.util.Portal
Author:
Brian Wing Shun Chan, Brian Myunghun Kim, Jorge Ferrer, Raymond Augé, Eduardo Lundgren, Wesley Gong, Hugo Huijser, Juan Fernández, Marco Leo, Neil Griffin
  • Constructor Details

    • PortalImpl

      public PortalImpl()
  • Method Details

    • addPageDescription

      public void addPageDescription(String description, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      addPageDescription in interface com.liferay.portal.kernel.util.Portal
    • addPageKeywords

      public void addPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      addPageKeywords in interface com.liferay.portal.kernel.util.Portal
    • addPageSubtitle

      public void addPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      addPageSubtitle in interface com.liferay.portal.kernel.util.Portal
    • addPageTitle

      public void addPageTitle(String title, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      addPageTitle in interface com.liferay.portal.kernel.util.Portal
    • addPortletBreadcrumbEntry

      public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url)
      Specified by:
      addPortletBreadcrumbEntry in interface com.liferay.portal.kernel.util.Portal
    • addPortletBreadcrumbEntry

      public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String,Object> data)
      Specified by:
      addPortletBreadcrumbEntry in interface com.liferay.portal.kernel.util.Portal
    • addPortletBreadcrumbEntry

      public void addPortletBreadcrumbEntry(javax.servlet.http.HttpServletRequest httpServletRequest, String title, String url, Map<String,Object> data, boolean portletBreadcrumbEntry)
      Specified by:
      addPortletBreadcrumbEntry in interface com.liferay.portal.kernel.util.Portal
    • addPortletDefaultResource

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

      public void addPortletDefaultResource(long companyId, com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.model.Portlet portlet) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addPortletDefaultResource in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addPreservedParameters

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

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

      public String addPreservedParameters(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String url, boolean typeControlPanel, boolean doAsUser)
      Specified by:
      addPreservedParameters in interface com.liferay.portal.kernel.util.Portal
    • copyRequestParameters

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

      public String escapeRedirect(String url)
      Specified by:
      escapeRedirect in interface com.liferay.portal.kernel.util.Portal
    • generateRandomKey

      public String generateRandomKey(javax.servlet.http.HttpServletRequest httpServletRequest, String input)
      Specified by:
      generateRandomKey in interface com.liferay.portal.kernel.util.Portal
    • getAbsoluteURL

      public String getAbsoluteURL(javax.servlet.http.HttpServletRequest httpServletRequest, String url)
      Specified by:
      getAbsoluteURL in interface com.liferay.portal.kernel.util.Portal
    • getActualLayoutQueryStringComposite

      public com.liferay.portal.kernel.model.LayoutQueryStringComposite getActualLayoutQueryStringComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getActualLayoutQueryStringComposite in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getActualURL

      public String getActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getActualURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAlternateURL

      public String getAlternateURL(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale, com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAlternateURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAlternateURLs

      public Map<Locale,String> getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAlternateURLs in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAlternateURLs

      public Map<Locale,String> getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, Set<Locale> availableLocales) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAlternateURLs in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAncestorSiteGroupIds

      public long[] getAncestorSiteGroupIds(long groupId)
      Specified by:
      getAncestorSiteGroupIds in interface com.liferay.portal.kernel.util.Portal
    • getCanonicalURL

      public String getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCanonicalURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCanonicalURL

      public String getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, boolean forceLayoutFriendlyURL) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCanonicalURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCanonicalURL

      public String getCanonicalURL(String completeURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout, boolean forceLayoutFriendlyURL, boolean includeQueryString) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCanonicalURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCDNHost

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

      public String getCDNHost(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCDNHost in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCDNHostHttp

      public String getCDNHostHttp(long companyId)
      Specified by:
      getCDNHostHttp in interface com.liferay.portal.kernel.util.Portal
    • getCDNHostHttps

      public String getCDNHostHttps(long companyId)
      Specified by:
      getCDNHostHttps in interface com.liferay.portal.kernel.util.Portal
    • getClassName

      public String getClassName(long classNameId)
      Specified by:
      getClassName in interface com.liferay.portal.kernel.util.Portal
    • getClassNameId

      public long getClassNameId(Class<?> clazz)
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.util.Portal
    • getClassNameId

      public long getClassNameId(String value)
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.util.Portal
    • getCompany

      public com.liferay.portal.kernel.model.Company getCompany(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCompany in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCompany

      public com.liferay.portal.kernel.model.Company getCompany(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCompany in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCompanyId

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

      public long getCompanyId(PortletRequest portletRequest)
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.util.Portal
    • getCompanyIds

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

      public Set<String> getComputerAddresses()
      Specified by:
      getComputerAddresses in interface com.liferay.portal.kernel.util.Portal
    • getComputerName

      public String getComputerName()
      Specified by:
      getComputerName in interface com.liferay.portal.kernel.util.Portal
    • getControlPanelFullURL

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

      public long getControlPanelPlid(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getControlPanelPlid in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getControlPanelPlid

      public long getControlPanelPlid(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getControlPanelPlid in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getControlPanelPortletURL

      public PortletURL getControlPanelPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle)
      Specified by:
      getControlPanelPortletURL in interface com.liferay.portal.kernel.util.Portal
    • getControlPanelPortletURL

      public PortletURL getControlPanelPortletURL(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, String lifecycle)
      Specified by:
      getControlPanelPortletURL in interface com.liferay.portal.kernel.util.Portal
    • getControlPanelPortletURL

      public PortletURL getControlPanelPortletURL(PortletRequest portletRequest, com.liferay.portal.kernel.model.Group group, String portletId, long refererGroupId, long refererPlid, String lifecycle)
      Specified by:
      getControlPanelPortletURL in interface com.liferay.portal.kernel.util.Portal
    • getControlPanelPortletURL

      public PortletURL getControlPanelPortletURL(PortletRequest portletRequest, String portletId, String lifecycle)
      Specified by:
      getControlPanelPortletURL in interface com.liferay.portal.kernel.util.Portal
    • getCreateAccountURL

      public String getCreateAccountURL(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws Exception
      Specified by:
      getCreateAccountURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      Exception
    • getCurrentAndAncestorSiteGroupIds

      public long[] getCurrentAndAncestorSiteGroupIds(long groupId)
      Specified by:
      getCurrentAndAncestorSiteGroupIds in interface com.liferay.portal.kernel.util.Portal
    • getCurrentAndAncestorSiteGroupIds

      public long[] getCurrentAndAncestorSiteGroupIds(long groupId, boolean checkContentSharingWithChildrenEnabled)
      Specified by:
      getCurrentAndAncestorSiteGroupIds in interface com.liferay.portal.kernel.util.Portal
    • getCurrentAndAncestorSiteGroupIds

      public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds)
      Specified by:
      getCurrentAndAncestorSiteGroupIds in interface com.liferay.portal.kernel.util.Portal
    • getCurrentAndAncestorSiteGroupIds

      public long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds, boolean checkContentSharingWithChildrenEnabled)
      Specified by:
      getCurrentAndAncestorSiteGroupIds in interface com.liferay.portal.kernel.util.Portal
    • getCurrentAndAncestorSiteGroups

      public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled)
      Specified by:
      getCurrentAndAncestorSiteGroups in interface com.liferay.portal.kernel.util.Portal
    • getCurrentAndAncestorSiteGroups

      public List<com.liferay.portal.kernel.model.Group> getCurrentAndAncestorSiteGroups(long[] groupIds, boolean checkContentSharingWithChildrenEnabled)
      Specified by:
      getCurrentAndAncestorSiteGroups in interface com.liferay.portal.kernel.util.Portal
    • getCurrentCompleteURL

      public String getCurrentCompleteURL(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getCurrentCompleteURL in interface com.liferay.portal.kernel.util.Portal
    • getCurrentURL

      public String getCurrentURL(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getCurrentURL in interface com.liferay.portal.kernel.util.Portal
    • getCurrentURL

      public String getCurrentURL(PortletRequest portletRequest)
      Specified by:
      getCurrentURL in interface com.liferay.portal.kernel.util.Portal
    • getCustomSQLFunctionIsNotNull

      public String getCustomSQLFunctionIsNotNull()
      Specified by:
      getCustomSQLFunctionIsNotNull in interface com.liferay.portal.kernel.util.Portal
    • getCustomSQLFunctionIsNull

      public String getCustomSQLFunctionIsNull()
      Specified by:
      getCustomSQLFunctionIsNull in interface com.liferay.portal.kernel.util.Portal
    • getDate

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

      public Date getDate(int month, int day, int year, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDate in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDate

      public Date getDate(int month, int day, int year, int hour, int min, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDate in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDate

      public Date getDate(int month, int day, int year, int hour, int min, TimeZone timeZone, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDate in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDate

      public Date getDate(int month, int day, int year, TimeZone timeZone, Class<? extends com.liferay.portal.kernel.exception.PortalException> clazz) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDate in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefaultCompanyId

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

      public String getEmailFromAddress(PortletPreferences portletPreferences, long companyId, String defaultValue)
      Specified by:
      getEmailFromAddress in interface com.liferay.portal.kernel.util.Portal
    • getEmailFromName

      public String getEmailFromName(PortletPreferences portletPreferences, long companyId, String defaultValue)
      Specified by:
      getEmailFromName in interface com.liferay.portal.kernel.util.Portal
    • getForwardedHost

      public String getForwardedHost(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getForwardedHost in interface com.liferay.portal.kernel.util.Portal
    • getForwardedPort

      public int getForwardedPort(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getForwardedPort in interface com.liferay.portal.kernel.util.Portal
    • getFullName

      public String getFullName(String firstName, String middleName, String lastName)
      Specified by:
      getFullName in interface com.liferay.portal.kernel.util.Portal
    • getGoogleGadgetURL

      public String getGoogleGadgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGoogleGadgetURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupFriendlyURL

      public String getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean canonicalURL, boolean controlPanel) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGroupFriendlyURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupFriendlyURL

      public String getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getGroupFriendlyURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupFriendlyURLIndex

      public int[] getGroupFriendlyURLIndex(String requestURI)
      Specified by:
      getGroupFriendlyURLIndex in interface com.liferay.portal.kernel.util.Portal
    • getHomeURL

      public String getHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getHomeURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getHost

      public String getHost(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getHost in interface com.liferay.portal.kernel.util.Portal
    • getHost

      public String getHost(PortletRequest portletRequest)
      Specified by:
      getHost in interface com.liferay.portal.kernel.util.Portal
    • getHttpServletRequest

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

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

      public String getI18nPathLanguageId(Locale locale, String defaultI18nPathLanguageId)
      Specified by:
      getI18nPathLanguageId in interface com.liferay.portal.kernel.util.Portal
    • getJsSafePortletId

      public String getJsSafePortletId(String portletId)
      Specified by:
      getJsSafePortletId in interface com.liferay.portal.kernel.util.Portal
    • getLayoutActualURL

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

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

      public String getLayoutActualURL(long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutActualURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFriendlyURL

      public String getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFriendlyURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFriendlyURL

      public String getLayoutFriendlyURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFriendlyURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFriendlyURL

      public String getLayoutFriendlyURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFriendlyURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFriendlyURLSeparatorComposite

      public com.liferay.portal.kernel.portlet.LayoutFriendlyURLSeparatorComposite getLayoutFriendlyURLSeparatorComposite(long groupId, boolean privateLayout, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFriendlyURLSeparatorComposite in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFullURL

      public String getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFullURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFullURL

      public String getLayoutFullURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFullURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFullURL

      public String getLayoutFullURL(long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFullURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFullURL

      public String getLayoutFullURL(long groupId, String portletId, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFullURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFullURL

      public String getLayoutFullURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFullURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutRelativeURL

      public String getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutRelativeURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutRelativeURL

      public String getLayoutRelativeURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutRelativeURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutSetDisplayURL

      public String getLayoutSetDisplayURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, boolean secureConnection) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutSetDisplayURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutSetFriendlyURL

      public String getLayoutSetFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutSetFriendlyURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutTarget

      public String getLayoutTarget(com.liferay.portal.kernel.model.Layout layout)
      Specified by:
      getLayoutTarget in interface com.liferay.portal.kernel.util.Portal
    • getLayoutURL

      public String getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutURL

      public String getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean doAsUser) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutURL

      public String getLayoutURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutURL

      public String getLayoutURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLiferayPortletRequest

      public com.liferay.portal.kernel.portlet.LiferayPortletRequest getLiferayPortletRequest(PortletRequest portletRequest)
      Specified by:
      getLiferayPortletRequest in interface com.liferay.portal.kernel.util.Portal
    • getLiferayPortletResponse

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

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

      public Locale getLocale(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, boolean initialize)
      Specified by:
      getLocale in interface com.liferay.portal.kernel.util.Portal
    • getLocale

      public Locale getLocale(PortletRequest portletRequest)
      Specified by:
      getLocale in interface com.liferay.portal.kernel.util.Portal
    • getMailId

      public String getMailId(String mx, String popPortletPrefix, Object... ids)
      Specified by:
      getMailId in interface com.liferay.portal.kernel.util.Portal
    • getNetvibesURL

      public String getNetvibesURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getNetvibesURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getNewPortletTitle

      public String getNewPortletTitle(String portletTitle, String oldScopeName, String newScopeName)
      Specified by:
      getNewPortletTitle in interface com.liferay.portal.kernel.util.Portal
    • getOriginalServletRequest

      public javax.servlet.http.HttpServletRequest getOriginalServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getOriginalServletRequest in interface com.liferay.portal.kernel.util.Portal
    • getPathContext

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

      public String getPathContext(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getPathContext in interface com.liferay.portal.kernel.util.Portal
    • getPathContext

      public String getPathContext(PortletRequest portletRequest)
      Specified by:
      getPathContext in interface com.liferay.portal.kernel.util.Portal
    • getPathContext

      public String getPathContext(String contextPath)
      Specified by:
      getPathContext in interface com.liferay.portal.kernel.util.Portal
    • getPathFriendlyURLPrivateGroup

      public String getPathFriendlyURLPrivateGroup()
      Specified by:
      getPathFriendlyURLPrivateGroup in interface com.liferay.portal.kernel.util.Portal
    • getPathFriendlyURLPrivateUser

      public String getPathFriendlyURLPrivateUser()
      Specified by:
      getPathFriendlyURLPrivateUser in interface com.liferay.portal.kernel.util.Portal
    • getPathFriendlyURLPublic

      public String getPathFriendlyURLPublic()
      Specified by:
      getPathFriendlyURLPublic in interface com.liferay.portal.kernel.util.Portal
    • getPathImage

      public String getPathImage()
      Specified by:
      getPathImage in interface com.liferay.portal.kernel.util.Portal
    • getPathMain

      public String getPathMain()
      Specified by:
      getPathMain in interface com.liferay.portal.kernel.util.Portal
    • getPathModule

      public String getPathModule()
      Specified by:
      getPathModule in interface com.liferay.portal.kernel.util.Portal
    • getPathProxy

      public String getPathProxy()
      Specified by:
      getPathProxy in interface com.liferay.portal.kernel.util.Portal
    • getPlidFromFriendlyURL

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

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

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

      public int getPortalLocalPort(boolean secure)
      Specified by:
      getPortalLocalPort in interface com.liferay.portal.kernel.util.Portal
    • getPortalProperties

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

      public int getPortalServerPort(boolean secure)
      Specified by:
      getPortalServerPort in interface com.liferay.portal.kernel.util.Portal
    • getPortalURL

      public String getPortalURL(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getPortalURL in interface com.liferay.portal.kernel.util.Portal
    • getPortalURL

      public String getPortalURL(javax.servlet.http.HttpServletRequest httpServletRequest, boolean secure)
      Specified by:
      getPortalURL in interface com.liferay.portal.kernel.util.Portal
    • getPortalURL

      public String getPortalURL(com.liferay.portal.kernel.model.Layout layout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPortalURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPortalURL

      public String getPortalURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
      Specified by:
      getPortalURL in interface com.liferay.portal.kernel.util.Portal
    • getPortalURL

      public String getPortalURL(PortletRequest portletRequest)
      Specified by:
      getPortalURL in interface com.liferay.portal.kernel.util.Portal
    • getPortalURL

      public String getPortalURL(PortletRequest portletRequest, boolean secure)
      Specified by:
      getPortalURL in interface com.liferay.portal.kernel.util.Portal
    • getPortalURL

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

      public String getPortalURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPortalURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPortletConfig

      public PortletConfig getPortletConfig(long companyId, String portletId, javax.servlet.ServletContext servletContext) throws PortletException
      Specified by:
      getPortletConfig in interface com.liferay.portal.kernel.util.Portal
      Throws:
      PortletException
    • getPortletDescription

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

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

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

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

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

      public com.liferay.portal.kernel.model.LayoutQueryStringComposite getPortletFriendlyURLMapperLayoutQueryStringComposite(long groupId, boolean privateLayout, String url, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPortletFriendlyURLMapperLayoutQueryStringComposite

      public com.liferay.portal.kernel.model.LayoutQueryStringComposite getPortletFriendlyURLMapperLayoutQueryStringComposite(String url, Map<String,String[]> params, Map<String,Object> requestContext)
      Specified by:
      getPortletFriendlyURLMapperLayoutQueryStringComposite in interface com.liferay.portal.kernel.util.Portal
    • getPortletId

      public String getPortletId(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getPortletId in interface com.liferay.portal.kernel.util.Portal
    • getPortletId

      public String getPortletId(PortletRequest portletRequest)
      Specified by:
      getPortletId in interface com.liferay.portal.kernel.util.Portal
    • getPortletLongTitle

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

      public String getPortletLongTitle(String portletId, Locale locale)
      Specified by:
      getPortletLongTitle in interface com.liferay.portal.kernel.util.Portal
    • getPortletNamespace

      public String getPortletNamespace(String portletId)
      Specified by:
      getPortletNamespace in interface com.liferay.portal.kernel.util.Portal
    • getPortletTitle

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

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

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

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

      public String getPortletTitle(PortletRequest portletRequest)
      Specified by:
      getPortletTitle in interface com.liferay.portal.kernel.util.Portal
    • getPortletTitle

      public String getPortletTitle(PortletResponse portletResponse)
      Specified by:
      getPortletTitle in interface com.liferay.portal.kernel.util.Portal
    • getPortletTitle

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

      public String getPortletTitle(String portletId, ResourceBundle resourceBundle)
      Specified by:
      getPortletTitle in interface com.liferay.portal.kernel.util.Portal
    • getPortletTitle

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

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

      public PortletPreferences getPreferences(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getPreferences in interface com.liferay.portal.kernel.util.Portal
    • getPreferencesValidator

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

      public String getRelativeHomeURL(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRelativeHomeURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getResourceBundle

      public ResourceBundle getResourceBundle(Locale locale)
      Specified by:
      getResourceBundle in interface com.liferay.portal.kernel.util.Portal
    • getScopeGroupId

      public long getScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getScopeGroupId in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getScopeGroupId

      public long getScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getScopeGroupId in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getScopeGroupId

      public long getScopeGroupId(javax.servlet.http.HttpServletRequest httpServletRequest, String portletId, boolean checkStagingGroup) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getScopeGroupId in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getScopeGroupId

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

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

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

      public long getScopeGroupId(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getScopeGroupId in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSelectedUser

      public com.liferay.portal.kernel.model.User getSelectedUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSelectedUser in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSelectedUser

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

      public com.liferay.portal.kernel.model.User getSelectedUser(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSelectedUser in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSelectedUser

      public com.liferay.portal.kernel.model.User getSelectedUser(PortletRequest portletRequest, boolean checkPermission) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSelectedUser in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getServletContextName

      public String getServletContextName()
      Specified by:
      getServletContextName in interface com.liferay.portal.kernel.util.Portal
    • getSharedContentSiteGroupIds

      public long[] getSharedContentSiteGroupIds(long companyId, long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSharedContentSiteGroupIds in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSiteAdminURL

      public String getSiteAdminURL(String portalURL, com.liferay.portal.kernel.model.Group group, String ppid, Map<String,String[]> params) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSiteAdminURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSiteAdminURL

      public String getSiteAdminURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String ppid, Map<String,String[]> params) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSiteAdminURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSiteDefaultLocale

      public Locale getSiteDefaultLocale(com.liferay.portal.kernel.model.Group group) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSiteDefaultLocale in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSiteDefaultLocale

      public Locale getSiteDefaultLocale(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSiteDefaultLocale in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getSiteGroupId

      public long getSiteGroupId(long groupId)
      Specified by:
      getSiteGroupId in interface com.liferay.portal.kernel.util.Portal
    • getSiteLoginURL

      public String getSiteLoginURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getSiteLoginURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getStaticResourceURL

      public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri)
      Specified by:
      getStaticResourceURL in interface com.liferay.portal.kernel.util.Portal
    • getStaticResourceURL

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

      public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString)
      Specified by:
      getStaticResourceURL in interface com.liferay.portal.kernel.util.Portal
    • getStaticResourceURL

      public String getStaticResourceURL(javax.servlet.http.HttpServletRequest httpServletRequest, String uri, String queryString, long timestamp)
      Specified by:
      getStaticResourceURL in interface com.liferay.portal.kernel.util.Portal
    • getStrutsAction

      public String getStrutsAction(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getStrutsAction in interface com.liferay.portal.kernel.util.Portal
    • getSystemGroups

      public String[] getSystemGroups()
      Specified by:
      getSystemGroups in interface com.liferay.portal.kernel.util.Portal
    • getSystemOrganizationRoles

      public String[] getSystemOrganizationRoles()
      Specified by:
      getSystemOrganizationRoles in interface com.liferay.portal.kernel.util.Portal
    • getSystemRoles

      public String[] getSystemRoles()
      Specified by:
      getSystemRoles in interface com.liferay.portal.kernel.util.Portal
    • getSystemSiteRoles

      public String[] getSystemSiteRoles()
      Specified by:
      getSystemSiteRoles in interface com.liferay.portal.kernel.util.Portal
    • getUniqueElementId

      public String getUniqueElementId(javax.servlet.http.HttpServletRequest httpServletRequest, String namespace, String elementId)
      Specified by:
      getUniqueElementId in interface com.liferay.portal.kernel.util.Portal
    • getUniqueElementId

      public String getUniqueElementId(PortletRequest request, String namespace, String elementId)
      Specified by:
      getUniqueElementId in interface com.liferay.portal.kernel.util.Portal
    • getUploadPortletRequest

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

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

      public com.liferay.portal.kernel.upload.UploadServletRequest getUploadServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest, int fileSizeThreshold, String location)
      Specified by:
      getUploadServletRequest in interface com.liferay.portal.kernel.util.Portal
    • getUptime

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

      public String getURLWithSessionId(String url, String sessionId)
      Specified by:
      getURLWithSessionId in interface com.liferay.portal.kernel.util.Portal
    • getUser

      public com.liferay.portal.kernel.model.User getUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getUser in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUser

      public com.liferay.portal.kernel.model.User getUser(PortletRequest portletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getUser in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserEmailAddress

      public String getUserEmailAddress(long userId)
      Specified by:
      getUserEmailAddress in interface com.liferay.portal.kernel.util.Portal
    • getUserId

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

      public long getUserId(PortletRequest portletRequest)
      Specified by:
      getUserId in interface com.liferay.portal.kernel.util.Portal
    • getUserName

      public String getUserName(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
      Specified by:
      getUserName in interface com.liferay.portal.kernel.util.Portal
    • getUserName

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

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

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

      public String getUserName(long userId, String defaultUserName, String userAttribute, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getUserName in interface com.liferay.portal.kernel.util.Portal
    • getUserPassword

      public String getUserPassword(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      getUserPassword in interface com.liferay.portal.kernel.util.Portal
    • getUserPassword

      public String getUserPassword(javax.servlet.http.HttpSession httpSession)
      Specified by:
      getUserPassword in interface com.liferay.portal.kernel.util.Portal
    • getUserPassword

      public String getUserPassword(PortletRequest portletRequest)
      Specified by:
      getUserPassword in interface com.liferay.portal.kernel.util.Portal
    • getValidPortalDomain

      public String getValidPortalDomain(long companyId, String domain)
      Specified by:
      getValidPortalDomain in interface com.liferay.portal.kernel.util.Portal
    • getValidUserId

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

      public TreeMap<String,String> getVirtualHostnames(com.liferay.portal.kernel.model.LayoutSet layoutSet)
      Specified by:
      getVirtualHostnames in interface com.liferay.portal.kernel.util.Portal
    • getWidgetURL

      public String getWidgetURL(com.liferay.portal.kernel.model.Portlet portlet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getWidgetURL in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • initUser

      public com.liferay.portal.kernel.model.User initUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws Exception
      Specified by:
      initUser in interface com.liferay.portal.kernel.util.Portal
      Throws:
      Exception
    • isCDNDynamicResourcesEnabled

      public boolean isCDNDynamicResourcesEnabled(javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isCDNDynamicResourcesEnabled in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isCDNDynamicResourcesEnabled

      public boolean isCDNDynamicResourcesEnabled(long companyId)
      Specified by:
      isCDNDynamicResourcesEnabled in interface com.liferay.portal.kernel.util.Portal
    • isCompanyAdmin

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

      public boolean isCustomPortletMode(PortletMode portletMode)
      Specified by:
      isCustomPortletMode in interface com.liferay.portal.kernel.util.Portal
    • isForwardedSecure

      public boolean isForwardedSecure(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      isForwardedSecure in interface com.liferay.portal.kernel.util.Portal
    • isGroupAdmin

      public boolean isGroupAdmin(com.liferay.portal.kernel.model.User user, long groupId) throws Exception
      Specified by:
      isGroupAdmin in interface com.liferay.portal.kernel.util.Portal
      Throws:
      Exception
    • isGroupControlPanelPath

      public boolean isGroupControlPanelPath(String path)
      Specified by:
      isGroupControlPanelPath in interface com.liferay.portal.kernel.util.Portal
    • isGroupFriendlyURL

      public boolean isGroupFriendlyURL(String fullURL, String groupFriendlyURL, String layoutFriendlyURL)
      Specified by:
      isGroupFriendlyURL in interface com.liferay.portal.kernel.util.Portal
    • isGroupOwner

      public boolean isGroupOwner(com.liferay.portal.kernel.model.User user, long groupId) throws Exception
      Specified by:
      isGroupOwner in interface com.liferay.portal.kernel.util.Portal
      Throws:
      Exception
    • isLayoutDescendant

      public boolean isLayoutDescendant(com.liferay.portal.kernel.model.Layout layout, long layoutId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isLayoutDescendant in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isLayoutSitemapable

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

      public boolean isLoginRedirectRequired(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      isLoginRedirectRequired in interface com.liferay.portal.kernel.util.Portal
    • isMultipartRequest

      public boolean isMultipartRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      isMultipartRequest in interface com.liferay.portal.kernel.util.Portal
    • isOmniadmin

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

      public boolean isOmniadmin(com.liferay.portal.kernel.model.User user)
      Specified by:
      isOmniadmin in interface com.liferay.portal.kernel.util.Portal
    • isReservedParameter

      public boolean isReservedParameter(String name)
      Specified by:
      isReservedParameter in interface com.liferay.portal.kernel.util.Portal
    • isRightToLeft

      public boolean isRightToLeft(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      isRightToLeft in interface com.liferay.portal.kernel.util.Portal
    • isRSSFeedsEnabled

      public boolean isRSSFeedsEnabled()
      Specified by:
      isRSSFeedsEnabled in interface com.liferay.portal.kernel.util.Portal
    • isSecure

      public boolean isSecure(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      isSecure in interface com.liferay.portal.kernel.util.Portal
    • isSkipPortletContentRendering

      public boolean isSkipPortletContentRendering(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.model.LayoutTypePortlet layoutTypePortlet, com.liferay.portal.kernel.theme.PortletDisplay portletDisplay, String portletName)
      Specified by:
      isSkipPortletContentRendering in interface com.liferay.portal.kernel.util.Portal
    • isSystemGroup

      public boolean isSystemGroup(String groupName)
      Specified by:
      isSystemGroup in interface com.liferay.portal.kernel.util.Portal
    • isSystemRole

      public boolean isSystemRole(String roleName)
      Specified by:
      isSystemRole in interface com.liferay.portal.kernel.util.Portal
    • isValidPortalDomain

      public boolean isValidPortalDomain(long companyId, String domain)
      Specified by:
      isValidPortalDomain in interface com.liferay.portal.kernel.util.Portal
    • isValidResourceId

      public boolean isValidResourceId(String resourceId)
      Specified by:
      isValidResourceId in interface com.liferay.portal.kernel.util.Portal
    • resetCDNHosts

      public void resetCDNHosts()
      Specified by:
      resetCDNHosts in interface com.liferay.portal.kernel.util.Portal
    • sendError

      public void sendError(Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException
      Specified by:
      sendError in interface com.liferay.portal.kernel.util.Portal
      Throws:
      IOException
    • sendError

      public void sendError(Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
      Specified by:
      sendError in interface com.liferay.portal.kernel.util.Portal
      Throws:
      IOException
      javax.servlet.ServletException
    • sendError

      public void sendError(int status, Exception exception, ActionRequest actionRequest, ActionResponse actionResponse) throws IOException
      Specified by:
      sendError in interface com.liferay.portal.kernel.util.Portal
      Throws:
      IOException
    • sendError

      public void sendError(int status, Exception exception, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
      Specified by:
      sendError in interface com.liferay.portal.kernel.util.Portal
      Throws:
      IOException
      javax.servlet.ServletException
    • sendRSSFeedsDisabledError

      public void sendRSSFeedsDisabledError(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
      Specified by:
      sendRSSFeedsDisabledError in interface com.liferay.portal.kernel.util.Portal
      Throws:
      IOException
      javax.servlet.ServletException
    • sendRSSFeedsDisabledError

      public void sendRSSFeedsDisabledError(PortletRequest portletRequest, PortletResponse portletResponse) throws IOException, javax.servlet.ServletException
      Specified by:
      sendRSSFeedsDisabledError in interface com.liferay.portal.kernel.util.Portal
      Throws:
      IOException
      javax.servlet.ServletException
    • setPageDescription

      public void setPageDescription(String description, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      setPageDescription in interface com.liferay.portal.kernel.util.Portal
    • setPageKeywords

      public void setPageKeywords(String keywords, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      setPageKeywords in interface com.liferay.portal.kernel.util.Portal
    • setPageSubtitle

      public void setPageSubtitle(String subtitle, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      setPageSubtitle in interface com.liferay.portal.kernel.util.Portal
    • setPageTitle

      public void setPageTitle(String title, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      setPageTitle in interface com.liferay.portal.kernel.util.Portal
    • setPortalInetSocketAddresses

      public void setPortalInetSocketAddresses(javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      setPortalInetSocketAddresses in interface com.liferay.portal.kernel.util.Portal
    • stripURLAnchor

      public String[] stripURLAnchor(String url, String separator)
      Specified by:
      stripURLAnchor in interface com.liferay.portal.kernel.util.Portal
    • transformCustomSQL

      public String transformCustomSQL(String sql)
      Specified by:
      transformCustomSQL in interface com.liferay.portal.kernel.util.Portal
    • transformSQL

      public String transformSQL(String sql)
      Specified by:
      transformSQL in interface com.liferay.portal.kernel.util.Portal
    • updateImageId

      public void updateImageId(com.liferay.portal.kernel.model.BaseModel<?> baseModel, boolean hasImage, byte[] bytes, String fieldName, long maxSize, int maxHeight, int maxWidth) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updateImageId in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updatePortletMode

      public PortletMode updatePortletMode(String portletId, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, PortletMode portletMode, javax.servlet.http.HttpServletRequest httpServletRequest) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      updatePortletMode in interface com.liferay.portal.kernel.util.Portal
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateRedirect

      public String updateRedirect(String redirect, String oldPath, String newPath)
      Specified by:
      updateRedirect in interface com.liferay.portal.kernel.util.Portal
    • updateWindowState

      public WindowState updateWindowState(String portletId, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.model.Layout layout, WindowState windowState, javax.servlet.http.HttpServletRequest httpServletRequest)
      Specified by:
      updateWindowState in interface com.liferay.portal.kernel.util.Portal
    • addRootModelResource

      protected void addRootModelResource(long companyId, long groupId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • doGetPlidFromPortletId

      protected long doGetPlidFromPortletId(long groupId, boolean privateLayout, String portletId)
    • filterControlPanelPortlets

      protected List<com.liferay.portal.kernel.model.Portlet> filterControlPanelPortlets(Set<com.liferay.portal.kernel.model.Portlet> portlets, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
    • getAncestorSiteGroups

      protected Set<com.liferay.portal.kernel.model.Group> getAncestorSiteGroups(long groupId, boolean checkContentSharingWithChildrenEnabled)
    • getAvailableLocale

      protected Locale getAvailableLocale(long groupId, Locale locale)
    • getCanonicalDomain

      protected String getCanonicalDomain(TreeMap<String,String> virtualHostnames, String portalDomain, String defaultVirtualHostname)
    • getContextPath

      protected String getContextPath(String contextPath)
    • getControlPanelDisplayGroup

      protected com.liferay.portal.kernel.model.Group getControlPanelDisplayGroup(com.liferay.portal.kernel.model.Group controlPanelGroup, com.liferay.portal.kernel.model.Group scopeGroup, long doAsGroupId, String portletId)
    • getControlPanelDisplayGroup

      protected com.liferay.portal.kernel.model.Group getControlPanelDisplayGroup(long companyId, long scopeGroupId, long doAsGroupId, String portletId)
    • getCurrentSiteGroup

      protected com.liferay.portal.kernel.model.Group getCurrentSiteGroup(long groupId)
    • getDoAsUserId

      protected long getDoAsUserId(javax.servlet.http.HttpServletRequest httpServletRequest, String doAsUserIdString, boolean alwaysAllowDoAsUser) throws Exception
      Throws:
      Exception
    • getGroupFriendlyURL

      protected String getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet layoutSet, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, boolean canonicalURL) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupPermissions

      protected String[] getGroupPermissions(String[] groupPermissions, String className, String inputPermissionsShowOptions)
    • getGuestPermissions

      protected String[] getGuestPermissions(String[] guestPermissions, String className, String inputPermissionsShowOptions)
    • getPlidFromPortletId

      protected long getPlidFromPortletId(List<com.liferay.portal.kernel.model.Layout> layouts, String portletId, long scopeGroupId)
    • getPortletParam

      protected String getPortletParam(javax.servlet.http.HttpServletRequest httpServletRequest, String name)
    • getServletURL

      protected String getServletURL(com.liferay.portal.kernel.model.Portlet portlet, String servletPath, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isAlwaysAllowDoAsUser

      protected boolean isAlwaysAllowDoAsUser(javax.servlet.http.HttpServletRequest httpServletRequest) throws Exception
      Throws:
      Exception
    • isAlwaysAllowDoAsUser

      protected boolean isAlwaysAllowDoAsUser(String actionName, String mvcRenderCommandName, String path, String strutsAction)
    • isUnwrapRequest

      protected boolean isUnwrapRequest(String currentRequestClassName)
    • isValidPortalDomain

      protected boolean isValidPortalDomain(String domain)
    • isValidVirtualHostname

      protected boolean isValidVirtualHostname(String virtualHostname)
    • notifyPortalInetSocketAddressEventListeners

      protected void notifyPortalInetSocketAddressEventListeners(InetSocketAddress inetSocketAddress, boolean local, boolean secure)
    • removeRedirectParameter

      protected String removeRedirectParameter(String url)
    • resetThemeDisplayI18n

      protected void resetThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String languageId, String path, Locale locale)
    • setLocale

      protected void setLocale(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Locale locale)
    • setThemeDisplayI18n

      protected void setThemeDisplayI18n(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, Locale locale)