Class LogoutTransform

    • Constructor Detail

      • LogoutTransform

        public LogoutTransform()
        Default constructor. Initializes formal parameters.
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Returns the textual description of the transform
        Specified by:
        getDescription in interface Transform
        Returns:
        the description of the transform
      • renderErrorMessage

        public void renderErrorMessage​(MarkupOutput out)
        Render the given message as a problem while performing log out.
        Parameters:
        out - MarkupOutput where the resulting HTML to render will be saved logging out
        Since:
        MicroStrategy Web 8.0.0
      • renderErrorMessage

        public void renderErrorMessage​(MarkupOutput out,
                                       java.lang.String message)
        Render the given message as a problem while performing log out.
        Parameters:
        out - MarkupOutput where the resulting HTML to render will be saved
        message - a String with the specific message to show to the user, indicating any errors while logging out
      • renderLogoutMessage

        public void renderLogoutMessage​(MarkupOutput out)
        Render a message to indicate the user s/he has been logged out.
        Parameters:
        out - MarkupOutput where the resulting HTML to render will be saved
      • renderExitLogoutPage

        public void renderExitLogoutPage​(MarkupOutput out)
        Render a form button to take the user to the location specified by the getAfterLogoutEvent() method, after the logout has been performed.
        Parameters:
        out - MarkupOutput where the resulting HTML to render will be saved
      • renderLogoutTitle

        public void renderLogoutTitle​(MarkupOutput out)
        Render the title for the message this transform will be showing to the user.
        Parameters:
        out - MarkupOutput instance where the HTML content to display will be saved.
        Since:
        MicroStrategy Web 8.0.0
      • getAfterLogoutEvent

        protected WebEvent getAfterLogoutEvent()
        Generate the WebEvent that will indicate where to take the user once the logout is completed. This event information is used as argument for the renderExitLogoutPage method.
        Returns:
        a WebEvent instance for opening the home or welcome page of the application, or where the user should be taken to after the logout is completed. Returns null if the application does not support it.