Class AbstractScheduleListTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.AbstractSubscriptionFolderBeanTransform
-
- com.microstrategy.web.app.transforms.AbstractScheduleListTransform
-
- All Implemented Interfaces:
AppTransform,Transform
- Direct Known Subclasses:
SchedulesBulletTransform,SchedulesIconTransform,SchedulesIconXHTMLTransform,SchedulesListTransform,SchedulesListXHTMLTransform
@Deprecated public abstract class AbstractScheduleListTransform extends AbstractSubscriptionFolderBeanTransform
Deprecated.Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions. Hence please useAbstractSubscriptionListTransforminstead.This is the Abstract class for rendering Web Schedules (normal Web-Subscriptions).- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description static intLEVEL_TRIGGERDeprecated.Indicates to show the trigger (schedule) of a subscription.protected intVIEW_MODE_CUBEDeprecated.protected intVIEW_MODE_DATAMARTDeprecated.protected intVIEW_MODE_DOCUMENTDeprecated.protected intVIEW_MODE_GRAPHDeprecated.protected intVIEW_MODE_GRIDDeprecated.protected intVIEW_MODE_GRID_GRAPHDeprecated.protected intVIEW_MODE_RW_DOCUMENTDeprecated.-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractSubscriptionFolderBeanTransform
_deliveryMode, _imgActiveSortAscending, _imgActiveSortDescending, _imgDatamart, _imgDocument, _imgGraph, _imgGrid, _imgGridGraph, _imgRwDocument, _imgSortAscending, _imgSortDescending, _levelFlag, _maxItemCount, _sfb, activeSortAscendingImage, activeSortDescendingImage, datamartImage, deliveryMode, documentImage, FP_DELIVERY_MODE, FP_IMG_DATAMART, FP_IMG_DOCUMENT, FP_IMG_GRAPH, FP_IMG_GRID, FP_IMG_GRID_GRAPH, FP_IMG_RW_DOCUMENT, FP_IMG_SORT_ASC, FP_IMG_SORT_ASC_ACTIVE, FP_IMG_SORT_DESC, FP_IMG_SORT_DESC_ACTIVE, FP_LEVEL_FLAG, FP_MAX_ITEMS_COUNT, graphImage, gridGraphImage, gridImage, LEVEL_ALL, LEVEL_EDIT, LEVEL_ICON, LEVEL_NAME, LEVEL_OWNER, LEVEL_PERSONALIZED, LEVEL_RECIPIENT, LEVEL_REMOVE, LEVEL_SORT_ICONS, LEVEL_SUBSCRIPTION_NAME, LEVEL_TIME, levelFlag, maxItemCount, rwDocumentImage, sortAscendingImage, sortDescendingImage
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width
-
-
Constructor Summary
Constructors Constructor Description AbstractScheduleListTransform()Deprecated.Default no-arg constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanTransform(Transformable data)Deprecated.OverridescanTransform(Transformable)by making sure the SubscriptionFolderBean is set to return a list of WebSchedules.protected java.lang.StringgetCssName(WebSchedule schedule)Deprecated.Get the css class name to use depending of the schedule type being renderedprotected java.lang.StringgetEmptyListDescriptor()Deprecated.protected WebEventgetExecuteEvent(WebSchedule schedule)Deprecated.protected java.lang.StringgetMessageId(WebSchedule schedule)Deprecated.Returns the current inbox message ID being used by this schedule, if applicable.protected java.lang.StringgetMessageTime(WebSchedule schedule)Deprecated.Returns the time when the message accociated with the schudule was runprotected WebEventgetReportExecuteEvent(boolean messagePresent)Deprecated.protected WebObjectInfogetScheduleTarget(WebSchedule schedule)Deprecated.Returns the target object info associated with the given scheduleprotected intgetViewMode(WebSchedule schedule)Deprecated.The schedule view modeprotected booleanisValidSchedule(WebSchedule schedule)Deprecated.Checks if the schedule is valid and should be displayed-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractSubscriptionFolderBeanTransform
checkLevel, generateBoneProperties, getFieldCount, getImageTooltip, getJSGenerator, getPreferenceValue, getSubscriptionFolderBean, getSupportedBeanType, hasSubscriptions, initializeImages, initializeTransform, isDisplayInfoAvailable, isEmpty, renderEmptyList, renderFooter, renderImage, renderImage, renderList, renderPersonalViewSubscriptions, renderShowMessage, renderSort, renderSubscriptionsByDeliveryMode, shouldShowPersonalViewSubscriptionsList, shouldShowSubscriptionsList, transformForRequestSuccessful
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchor, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getBoneId, getCancelEvent, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorMessage, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeCss, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setBoneProperties, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestInError, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.transform.Transform
getDescription, getFormalParams, getPreview, isPreviewAvailable, isResolved, supports, supports
-
-
-
-
Field Detail
-
VIEW_MODE_GRID
protected final int VIEW_MODE_GRID
Deprecated.- See Also:
- Constant Field Values
-
VIEW_MODE_GRAPH
protected final int VIEW_MODE_GRAPH
Deprecated.- See Also:
- Constant Field Values
-
VIEW_MODE_GRID_GRAPH
protected final int VIEW_MODE_GRID_GRAPH
Deprecated.- See Also:
- Constant Field Values
-
VIEW_MODE_DOCUMENT
protected final int VIEW_MODE_DOCUMENT
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
-
-
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.
-
getViewMode
protected int getViewMode(WebSchedule schedule)
Deprecated.The schedule view mode- Parameters:
schedule- the schedule to check- Returns:
VIEW_MODE_GRID,VIEW_MODE_GRAPHVIEW_MODE_GRID_GRAPHorVIEW_MODE_DOCUMENTaccoringly.
-
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-WebScheduleinstance 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.OverridescanTransform(Transformable)by making sure the SubscriptionFolderBean is set to return a list of WebSchedules.- Specified by:
canTransformin interfaceTransform- Overrides:
canTransformin classAbstractTransform- Parameters:
data- the SubscripptionFolderBean to transform- Returns:
- true if the
getContentType()method returnsSubscriptionFolderBean.SUBSCRIPTION_FOLDER_CONTENT_TYPE_SCHEDULE
-
-