Interface IPresentationManagerSPI

    • Method Detail

      • getDefaultPage

        PageConfig getDefaultPage​(SessionConfig sessionConfig,
                                  java.lang.String pageId,
                                  java.lang.String channelId,
                                  IWebsiteBaseURL websiteBaseURL,
                                  IPortalMode mode,
                                  PortalRequestContext requestContext,
                                  ITransaction daoTransaction)
                           throws PortalException
        Get the default Page.
        Parameters:
        sessionConfig - the session identifier of the current user.
        pageId - The destination page identifier.
        channelId - The destination channel identifier.
        websiteBaseURL - the IWebsiteBaseURL that the user is accessing.
        mode - the current portal mode.
        requestContext - the portal request context map.
        daoTransaction - the current transaction.
        Returns:
        a PageConfig.
        Throws:
        PortalException
        Since:
        6.2.0
      • getDefaultPage

        PageConfig getDefaultPage​(SessionConfig sessionConfig,
                                  java.lang.String pageId,
                                  java.lang.String channelId,
                                  IWebsiteBaseURL websiteBaseURL,
                                  IPortalMode mode,
                                  PortalRequestContext requestContext,
                                  boolean fallbackToFirstWebsitePage,
                                  ITransaction transaction)
                           throws PortalException
        Get the default Page.
        Parameters:
        sessionConfig - the session identifier of the current user.
        pageId - The destination page identifier.
        channelId - The destination channel identifier.
        websiteBaseURL - the IWebsiteBaseURL that the user is accessing.
        mode - the current portal mode.
        requestContext - the portal request context map.
        fallbackToFirstWebsitePage - if true, will try to fallback to first website's page if pageId and channelId not specified and no applicable PageLinkConfig exists; otherwise will return null.
        transaction - the current transaction.
        Returns:
        the default page, or null if it was not found.
        Throws:
        PortalException
        Since:
        8.0.0
      • clearChannelHtmlProcessorsCache

        void clearChannelHtmlProcessorsCache​(java.lang.String channelId)
        Clears the IHtmlProcessor cache.
        Parameters:
        channelId - the affected channel identifier.
        Since:
        8.2.0
      • clearServiceInstanceHtmlProcessorsCache

        void clearServiceInstanceHtmlProcessorsCache​(java.lang.String serviceInstanceId)
        Clears the IHtmlProcessor cache.
        Parameters:
        serviceInstanceId - the affected service instance identifier.
        Since:
        8.2.0
      • clearHtmlProcessorsCache

        void clearHtmlProcessorsCache()
        Clears all HTML processor cache.
        Since:
        8.2.0