Class SubscriptionSendNowTransform

  • All Implemented Interfaces:
    AppTransform, Transform

    public class SubscriptionSendNowTransform
    extends SubscriptionEditTransform
    This class renders the output to create a Send Now subscription.
    It supports creating send now subscriptions for prompted and non-prompted reports. It uses a SubscriptionBean for this.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • SubscriptionSendNowTransform

        public SubscriptionSendNowTransform()
    • Method Detail

      • renderSchedulePane

        public void renderSchedulePane​(MarkupOutput out)
        Renders the fields to create a SendNow Subscription.
        It uses a SendNowWidget for this purpose.
        Overrides:
        renderSchedulePane in class SubscriptionEditTransform
        Parameters:
        out - The transform output.
      • getAddEvent

        public WebEvent getAddEvent()
        The event to create a new send now subscription.
        Overrides:
        getAddEvent in class SubscriptionEditTransform
        Returns:
        The EnumSubscriptionBeanEvents.SUBSCRIPTION_EVENT_SAVE event.
      • getReturnEvent

        public WebEvent getReturnEvent()
        The event to trigger after the subscription is saved correctly.
        Overrides:
        getReturnEvent in class SubscriptionEditTransform
        Returns:
        By default, the EnumServletEvents.WebEventCancel event, however if coming from the SaveAs page, it returns the EnumServletEvents.WebEventOpenObjectSubscriptions, to go to the list of subscriptions.
        Since:
        MicroStrategy Web 8.0.0
      • getSendNowWidget

        public com.microstrategy.web.app.transforms.SendNowWidget getSendNowWidget()
        The send now widget used to render the fields to send the email.
        Returns:
        A SendNowWidget instance.