Interface WebIServerSubscriptionTrigger

    • Method Detail

      • getSubscriptions

        SimpleList getSubscriptions​(int deliveryMode,
                                    int blockBegin,
                                    int blockCount)
                             throws WebObjectsException
        Returns a SimpleList collection of WebSubscription objects to which this particular user is subscribed to, for a specified delivery mode, from a specified begin block, up to a specified block count.
        Parameters:
        deliveryMode - , from EnumDSSXMLSubscriptionDeliveryType
        blockBegin - , the starting count of subscription, it is 0-based index which means set it N will return subscriptions from the (N+1)th subscription.
        blockCount - , block size for the incremental fetch of subscription. If set it 0, will return all subscriptions from the starting count
        Throws:
        WebObjectsException
      • getNextDeliveryZonedDateTime

        java.time.ZonedDateTime getNextDeliveryZonedDateTime()
        Returns the next delivery of Time Based Trigger/Schedule in ZonedDateTime format. The ZonedDateTime contains the date, time and server TimeZone associated with Trigger/Schedule
        Returns:
        ZonedDateTime
        Since:
        MicroStrategy Web 11.3
      • getTriggerType

        int getTriggerType()
        Returns if the trigger is event based(EnumDSSXMLScheduleTriggerType.DssXmlTriggerEvent) or time based(EnumDSSXMLScheduleTriggerType.DssXmlTriggerTimePointSeries).
        Returns:
        int
        Since:
        MicroStrategy Web 11.3