Class AddressDeleteTransform

    • Field Detail

      • cssClearTitle

        protected java.lang.String cssClearTitle
      • cssClearMessage

        protected java.lang.String cssClearMessage
      • FP_SELECTED_ITEMS

        public static final java.lang.String FP_SELECTED_ITEMS
        See Also:
        Constant Field Values
    • Constructor Detail

      • AddressDeleteTransform

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

      • getDescription

        public java.lang.String getDescription()
        Returns the description of this transform.
        This is used in the style catalog editor.
        Specified by:
        getDescription in interface Transform
        Returns:
        The description of this transform.
      • initializeTransform

        public void initializeTransform​(Transformable data)
        This method initialize the private and protected fields of the transform.
        It also invokes the initializeTransform method of the parent. It also initializes the address list for the selected items to delete.
        Specified by:
        initializeTransform in interface AppTransform
        Overrides:
        initializeTransform in class AbstractAppTransform
        Parameters:
        data - The bean to transform
      • 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.
      • getDeleteEvent

        public WebEvent getDeleteEvent()
        This returns the event used to delete the addresses.
        Returns:
        the EnumAddressListBeanEvents.ADDRESS_LIST_EVENT_DELETE event.
      • getCancelEvent

        public WebEvent getCancelEvent()
        Returns the event used in case the user presses Cancel on delete address.
        Overrides:
        getCancelEvent in class AbstractAppTransform
        Returns:
        The EnumServletEvents.WebEventNCAddresses event
      • getReturnToEvent

        public WebEvent getReturnToEvent()
        After this page gets executed for the second time, and after the address has been deleted, we want to return to a previous page.
        This returns the event to go back to the previous page.
        Returns:
        The EnumServletEvents.WebEventNCAddresses event (it assumes we always come from the Address list page).
      • renderTitle

        public void renderTitle​(MarkupOutput out)
        Renders the title of the transform
        Since:
        MicroStrategy Web 8.0.0
      • renderDeleteConfirmation

        public void renderDeleteConfirmation​(MarkupOutput out)
        Renders the confirmation dialogue of the transform
        Since:
        MicroStrategy Web 8.0.0
      • renderButtonBar

        public void renderButtonBar​(MarkupOutput out)
        Renders the dialogue buttons of the transform
        Since:
        MicroStrategy Web 8.0.0