Class InboxClearTransform

    • Constructor Detail

      • InboxClearTransform

        public InboxClearTransform()
        Default constructor. Initialize all formal parameters
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Returns the description to use in the Style Catalog.
        Specified by:
        getDescription in interface Transform
        Returns:
        "This implements the transform to confirm clear all inbox messages."
      • renderRemoveTitle

        public void renderRemoveTitle​(MarkupOutput out)
        Renders the HTML content for the title of the dialog to be shown by this transform
        Parameters:
        out - MarkupOutput instance where the contents of this transform will be saved.
        Since:
        MicroStrategy Web 8.0.0
      • renderConfirmDelete

        public void renderConfirmDelete​(MarkupOutput out)
        Generate the HTML for the Confirm Delete dialog rendered by this transform.
        Parameters:
        out - MarkupOutput instance where the contents of this transform will be saved.
      • renderConfirmationMessage

        public void renderConfirmationMessage​(MarkupOutput out)
        Renders a confirmation message warning user about the action
        Parameters:
        out - MarkupOutput instance where the contents of this transform will be saved.
        Since:
        MicroStrategy Web 8.0.0
      • renderButtonBar

        public void renderButtonBar​(MarkupOutput out)
        Renders the buttons that will execute the action
        Parameters:
        out - MarkupOutput instance where the contents of this transform will be saved.
        Since:
        MicroStrategy Web 8.0.0
      • getClearInboxEvent

        public WebEvent getClearInboxEvent()
        Generate the event to be used for clearing all the messages from the History List.
        Returns:
        a WebEvent initialized instance with the event for removing all the messages from the Inbox, returns null if not supported by the application. By default, the event generated is EnumInboxBeanEvents.INBOX_EVENT_REMOVE_ALL_MESSAGES
      • getCancelEvent

        public WebEvent getCancelEvent()
        Generate the event to be used for cancelling the clearing of all the messages from the History List.
        Overrides:
        getCancelEvent in class AbstractAppTransform
        Returns:
        a WebEvent initialized instance with the event for cancelling the removal of all the messages from the Inbox, returns null if not supported by the application. By default, the event generated is EnumServletEvents.WebEventOpenHistoryList
      • getReturnToEvent

        public WebEvent getReturnToEvent()
        After this page gets executed for the second time, and after the inbox has been cleared, we want to return to a previous page. This returns the event to go back to the previous page.
        Returns:
        a WebEvent initialized instance with the event for returning to the previous page. Returns null if not supported by the application. By default, the event generated is EnumServletEvents.WebEventOpenHistoryList
      • getSupportedBeanType

        public java.lang.Class getSupportedBeanType()
        Get the class of objects this transform is able to handle.
        Specified by:
        getSupportedBeanType in interface Transform
        Overrides:
        getSupportedBeanType in class AbstractAppTransform
        Returns:
        a Class instance with the information about the beans this transform is able to manipulate.