Class PromptsSubscriptionTransform

  • All Implemented Interfaces:
    AppTransform, LayoutTransform, Transform

    public class PromptsSubscriptionTransform
    extends PromptsClassicTransform
    Extends PromptsClassicTransform by changing the form to work with the Scheduling and Subscription beans. This beans create their own form and have their own cancel events. This transforms makes use of Tag instances to render HTML output. See reference to TagsFactory.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • PromptsSubscriptionTransform

        public PromptsSubscriptionTransform()
        Default no-args constructor.
        Initialize all Formal Parameters.
        Since:
        MicroStrategy Web 8.0.0
    • Method Detail

      • renderFormStart

        public void renderFormStart​(MarkupOutput out)
        Renders opening HTML tag for Prompt's form.
        Overwrites the renderFormStart by not rendering the FORM tag. The Subscription transforms are responsible of rendering their own form.
        Overrides:
        renderFormStart in class PromptsClassicTransform
        Parameters:
        out - where to write the output of the method.
      • renderFormEnd

        public void renderFormEnd​(MarkupOutput out)
        Renders closing HTML tag for prompt's form.
        Overwrites the renderFormEnd by not rendering the FORM tag. The Subscription transforms are responsible of rendering their own form.
        Overrides:
        renderFormEnd in class PromptsClassicTransform
        Parameters:
        out - where to write the output of the method.
      • getCancelEvent

        protected WebEvent getCancelEvent()
        Returns event instance for cancelling a schedule entry.
        Overrides:
        getCancelEvent in class PromptsClassicTransform
        Returns:
        the correct cancel event depending on the parent type.
      • renderCancelSubscription

        public void renderCancelSubscription​(MarkupOutput out)
        Renders 'cancel' button for a prompted report subscription.
        Parameters:
        out - MarkupOutput where to write button.
        Since:
        MicroStrategy Web 8.0.0