Class AbstractScheduleListTransform

    • Field Detail

      • VIEW_MODE_GRID_GRAPH

        protected final int VIEW_MODE_GRID_GRAPH
        Deprecated.
        See Also:
        Constant Field Values
      • VIEW_MODE_RW_DOCUMENT

        protected final int VIEW_MODE_RW_DOCUMENT
        Deprecated.
        Since:
        MicroStrategy Web 7.5.0
        See Also:
        Constant Field Values
      • VIEW_MODE_DATAMART

        protected final int VIEW_MODE_DATAMART
        Deprecated.
        Since:
        MicroStrategy Web 7.5.0
        See Also:
        Constant Field Values
      • VIEW_MODE_CUBE

        protected final int VIEW_MODE_CUBE
        Deprecated.
        Since:
        MicroStrategy Web 9.0.0
        See Also:
        Constant Field Values
      • LEVEL_TRIGGER

        public static final int LEVEL_TRIGGER
        Deprecated.
        Indicates to show the trigger (schedule) of a subscription.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractScheduleListTransform

        public AbstractScheduleListTransform()
        Deprecated.
        Default no-arg constructor
    • Method Detail

      • isValidSchedule

        protected boolean isValidSchedule​(WebSchedule schedule)
        Deprecated.
        Checks if the schedule is valid and should be displayed
        Parameters:
        schedule - the schedule to check
        Returns:
        true if it has a trigger and a target, and if the target is not a Datamart.
      • getScheduleTarget

        protected WebObjectInfo getScheduleTarget​(WebSchedule schedule)
        Deprecated.
        Returns the target object info associated with the given schedule
        Parameters:
        schedule - schedule id.
        Returns:
        the objectinfo (populated) that is the target of the given schedule.
      • getMessageId

        protected java.lang.String getMessageId​(WebSchedule schedule)
        Deprecated.
        Returns the current inbox message ID being used by this schedule, if applicable.
        Parameters:
        schedule - schedule object.
        Returns:
        An inbox message ID.
      • getExecuteEvent

        protected WebEvent getExecuteEvent​(WebSchedule schedule)
        Deprecated.
        Parameters:
        schedule - the schedule object to execute
        Returns:
        a WebEvent to execute the message (i.e., runReports)
      • getEmptyListDescriptor

        protected java.lang.String getEmptyListDescriptor()
        Deprecated.
        Since:
        MicroStrategy Web 8.1.1
      • getMessageTime

        protected java.lang.String getMessageTime​(WebSchedule schedule)
        Deprecated.
        Returns the time when the message accociated with the schudule was run
        Parameters:
        schedule - the schedule object
        Returns:
        The time when the message accociated with the schudule was run
      • getReportExecuteEvent

        protected WebEvent getReportExecuteEvent​(boolean messagePresent)
        Deprecated.
      • getCssName

        protected java.lang.String getCssName​(WebSchedule schedule)
        Deprecated.
        Get the css class name to use depending of the schedule type being rendered
        Parameters:
        schedule - WebSchedule instance to check for its view mode type
        Returns:
        the String with the css class to use depending on the schedule type.
        Since:
        MicroStrategy Web 8.0.0
      • canTransform

        public boolean canTransform​(Transformable data)
        Deprecated.
        Overrides canTransform(Transformable) by making sure the SubscriptionFolderBean is set to return a list of WebSchedules.
        Specified by:
        canTransform in interface Transform
        Overrides:
        canTransform in class AbstractTransform
        Parameters:
        data - the SubscripptionFolderBean to transform
        Returns:
        true if the getContentType() method returns SubscriptionFolderBean.SUBSCRIPTION_FOLDER_CONTENT_TYPE_SCHEDULE