Class ScheduleOverwriteTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.ScheduleOverwriteTransform
-
- All Implemented Interfaces:
AppTransform
,Transform
public class ScheduleOverwriteTransform extends AbstractAppTransform
Deprecated.Starting with version 9.0 and the advent of Distribution Services, all schedule objects are replaced by subscriptions. There is no use-case to display an 'overwrite' message for subscriptions because we now support multiple subscriptions to the same object with same/different personalizationRenders a confirmation message when a WebSchedule is about to be overwritten.- 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 FormalParameter
datamartImage
Deprecated.The image is now defined by css class nameFormalParameter
documentImage
Deprecated.The image is now defined by css class namestatic java.lang.String
FP_IMG_DATAMART
Deprecated.the formal parameter associated with this constant has been deprecated.static java.lang.String
FP_IMG_DOCUMENT
Deprecated.the formal parameter associated with this constant has been deprecated.static java.lang.String
FP_IMG_GRAPH
Deprecated.the formal parameter associated with this constant has been deprecated.static java.lang.String
FP_IMG_GRID
Deprecated.the formal parameter associated with this constant has been deprecated.static java.lang.String
FP_IMG_GRID_GRAPH
Deprecated.the formal parameter associated with this constant has been deprecated.static java.lang.String
FP_IMG_RW_DOCUMENT
Deprecated.the formal parameter associated with this constant has been deprecated.static java.lang.String
FP_OBJECT_INFO_STYLE
Deprecated.Name for the formal parameter:objectInfoStyle
FormalParameter
graphImage
Deprecated.The image is now defined by css class nameFormalParameter
gridGraphImage
Deprecated.The image is now defined by css class nameFormalParameter
gridImage
Deprecated.The image is now defined by css class nameFormalParameter
objectInfoStyle
Deprecated.Formal parameter: Indicate which style should be used for rendering the object informationFormalParameter
rwDocumentImage
Deprecated.The image is now defined by css class nameint
VIEW_MODE_DOCUMENT
Deprecated.int
VIEW_MODE_GRAPH
Deprecated.int
VIEW_MODE_GRID
Deprecated.int
VIEW_MODE_GRID_GRAPH
Deprecated.-
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 ScheduleOverwriteTransform()
Deprecated.Default no argumnet constructor, initialize formal parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WebEvent
getCancelEvent()
Deprecated.The event to cancel the subscription.java.lang.String
getDescription()
Deprecated.Returns the description of this transform.WebEvent
getReturnEvent()
Deprecated.The event to trigger after the schedule is saved correctly.WebEvent
getSaveEvent()
Deprecated.The event to create a new subscription.java.lang.Class
getSupportedBeanType()
Deprecated.Returns the supported bean type for the transform.void
initializeTransform(Transformable data)
Deprecated.ExtendsinitializeTransform
by keeping its own copy of the data.void
renderAreYouSure(MarkupOutput out)
Deprecated.void
renderDuplicateMessage(MarkupOutput out)
Deprecated.void
renderExecuteButtons(MarkupOutput out)
Deprecated.Renders the "Overwrite" and "Cancel" buttons on the overwrite dialog.void
renderFormEnd(MarkupOutput out)
Deprecated.Renders the FORM tag end.void
renderFormStart(MarkupOutput out)
Deprecated.Renders the FORM tag start.void
renderMessageFooter(MarkupOutput out)
Deprecated.void
renderMessageTitle(MarkupOutput out)
Deprecated.void
renderMobileMessage(MarkupOutput out)
Deprecated.void
renderObjectInfo(MarkupOutput out)
Deprecated.Renders the object information of the object to which the subscription is created.void
renderTitle(MarkupOutput out)
Deprecated.Renders the title informing about overwriting the web schedule.void
renderTriggerInfo(MarkupOutput out)
Deprecated.Renders the information about the trigger about to be overwritten.void
renderTriggerInfo(MarkupOutput out, WebSchedule ws)
Deprecated.void
transformForRequestSuccessful(MarkupOutput out)
Deprecated.Transform when the bean status is "Successful".void
transformForRequestWaitingForUserInput(MarkupOutput out)
Deprecated.Transform when the bean status is "WaitingForUserInput".-
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, 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, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeCss, initializeImages, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderImage, 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
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, 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
canTransform, getFormalParams, getPreview, isPreviewAvailable, isResolved, supports, supports
-
-
-
-
Field Detail
-
FP_IMG_GRAPH
public static final java.lang.String FP_IMG_GRAPH
Deprecated.the formal parameter associated with this constant has been deprecated.- See Also:
- Constant Field Values
-
FP_IMG_GRID
public static final java.lang.String FP_IMG_GRID
Deprecated.the formal parameter associated with this constant has been deprecated.- See Also:
- Constant Field Values
-
FP_IMG_GRID_GRAPH
public static final java.lang.String FP_IMG_GRID_GRAPH
Deprecated.the formal parameter associated with this constant has been deprecated.- See Also:
- Constant Field Values
-
FP_IMG_DOCUMENT
public static final java.lang.String FP_IMG_DOCUMENT
Deprecated.the formal parameter associated with this constant has been deprecated.- See Also:
- Constant Field Values
-
FP_IMG_RW_DOCUMENT
public static final java.lang.String FP_IMG_RW_DOCUMENT
Deprecated.the formal parameter associated with this constant has been deprecated.- Since:
- MicroStrategy Web 7.5.0
- See Also:
- Constant Field Values
-
FP_IMG_DATAMART
public static final java.lang.String FP_IMG_DATAMART
Deprecated.the formal parameter associated with this constant has been deprecated.- Since:
- MicroStrategy Web 7.5.0
- See Also:
- Constant Field Values
-
objectInfoStyle
public FormalParameter objectInfoStyle
Deprecated.Formal parameter: Indicate which style should be used for rendering the object information- Since:
- MicroStrategy Web 9.0.0
-
FP_OBJECT_INFO_STYLE
public static final java.lang.String FP_OBJECT_INFO_STYLE
Deprecated.Name for the formal parameter:objectInfoStyle
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
VIEW_MODE_GRID
public final int VIEW_MODE_GRID
Deprecated.- See Also:
- Constant Field Values
-
VIEW_MODE_GRAPH
public final int VIEW_MODE_GRAPH
Deprecated.- See Also:
- Constant Field Values
-
VIEW_MODE_GRID_GRAPH
public final int VIEW_MODE_GRID_GRAPH
Deprecated.- See Also:
- Constant Field Values
-
VIEW_MODE_DOCUMENT
public final int VIEW_MODE_DOCUMENT
Deprecated.- See Also:
- Constant Field Values
-
graphImage
public FormalParameter graphImage
Deprecated.The image is now defined by css class nameName of the image used to display when overwriting a graph report subscription.
If you have a subscription to a graph report and if you try to create a new subscription to the same report with the same schedule, then we will show you an overwrite confirm message along with this image.
-
gridGraphImage
public FormalParameter gridGraphImage
Deprecated.The image is now defined by css class nameName of the image used to display when overwriting a grid-graph report subscription. If you have a subscription to a grid-graph report and if you try to create a new subscription to the same report with the same schedule, then we will show you an overwrite confirm message along with this image.
-
gridImage
public FormalParameter gridImage
Deprecated.The image is now defined by css class nameName of the image used to display when overwriting a grid report subscription. If you have a subscription to a grid report and if you try to create a new subscription to the same report with the same schedule, then we will show you an overwrite confirm message along with this image.
-
datamartImage
public FormalParameter datamartImage
Deprecated.The image is now defined by css class nameName of the image used to display when overwriting a datamart report subscription. If you have a subscription to a grid report and if you try to create a new subscription to the same report with the same schedule, then we will show you an overwrite confirm message along with this image.- Since:
- MicroStrategy Web 7.5.0
-
documentImage
public FormalParameter documentImage
Deprecated.The image is now defined by css class nameName of the image used to display when overwriting a document subscription. If you have a subscription to a document and if you try to create a new subscription to the same document with the same schedule, then we will show you an overwrite confirm message along with this image.
-
rwDocumentImage
public FormalParameter rwDocumentImage
Deprecated.The image is now defined by css class nameName of the image used to display when overwriting a document subscription. If you have a subscription to a document and if you try to create a new subscription to the same document with the same schedule, then we will show you an overwrite confirm message along with this image.- Since:
- MicroStrategy Web 7.5.0
-
-
Method Detail
-
initializeTransform
public void initializeTransform(Transformable data)
Deprecated.ExtendsinitializeTransform
by keeping its own copy of the data.
This method initializes the private and protected fields of the transform. It also invokes the initializeTransform method of the parent.- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classAbstractAppTransform
- Parameters:
data
- the bean to transform.
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Deprecated.Transform when the bean status is "Successful". Just calls transformForRequestWaitingForUserInput, which is the correct status. This transform, after collecting and saving the information, expects to go back to its previous page.- Specified by:
transformForRequestSuccessful
in classAbstractAppTransform
- Parameters:
out
- Output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
transformForRequestWaitingForUserInput
public void transformForRequestWaitingForUserInput(MarkupOutput out)
Deprecated.Transform when the bean status is "WaitingForUserInput". This is the main state when overwriting a new subscrription.- Overrides:
transformForRequestWaitingForUserInput
in classAbstractAppTransform
- Parameters:
out
- Output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
renderMessageTitle
public void renderMessageTitle(MarkupOutput out)
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
renderMessageFooter
public void renderMessageFooter(MarkupOutput out)
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
renderDuplicateMessage
public void renderDuplicateMessage(MarkupOutput out)
Deprecated.- Since:
- MicroStrategy Web 8.1.1
-
renderMobileMessage
public void renderMobileMessage(MarkupOutput out)
Deprecated.- Since:
- MicroStrategy Web 8.1.1
-
renderAreYouSure
public void renderAreYouSure(MarkupOutput out)
Deprecated.- Since:
- MicroStrategy Web 8.1.1
-
renderTitle
public void renderTitle(MarkupOutput out)
Deprecated.Renders the title informing about overwriting the web schedule.- Parameters:
out
- The transform's output.
-
renderObjectInfo
public void renderObjectInfo(MarkupOutput out)
Deprecated.Renders the object information of the object to which the subscription is created.- Parameters:
out
-MarkupOutput
instance to modify with the transform's output.
-
renderTriggerInfo
public void renderTriggerInfo(MarkupOutput out)
Deprecated.Renders the information about the trigger about to be overwritten.- Parameters:
out
- The transform's output.
-
renderTriggerInfo
public void renderTriggerInfo(MarkupOutput out, WebSchedule ws)
Deprecated.- Since:
- MicroStrategy Web 8.1.1
-
renderExecuteButtons
public void renderExecuteButtons(MarkupOutput out)
Deprecated.Renders the "Overwrite" and "Cancel" buttons on the overwrite dialog.- Parameters:
out
- The transform's output.
-
renderFormStart
public void renderFormStart(MarkupOutput out)
Deprecated.Renders the FORM tag start.- Parameters:
out
- The transform's output.
-
renderFormEnd
public void renderFormEnd(MarkupOutput out)
Deprecated.Renders the FORM tag end.- Parameters:
out
- The transform's output.
-
getSaveEvent
public WebEvent getSaveEvent()
Deprecated.The event to create a new subscription.- Returns:
- The
EnumScheduleBeanEvents.SCHEDULE_EVENT_SAVE
event.
-
getCancelEvent
public WebEvent getCancelEvent()
Deprecated.The event to cancel the subscription.- Overrides:
getCancelEvent
in classAbstractAppTransform
- Returns:
- The
EnumScheduleBeanEvents.SCHEDULE_EVENT_CANCEL
event.
-
getReturnEvent
public WebEvent getReturnEvent()
Deprecated.The event to trigger after the schedule is saved correctly.- Returns:
- The
EnumServletEvents.WebEventCancel
event (this will automatically go back to the last succesfull page).
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Deprecated.Returns the supported bean type for the transform.- Specified by:
getSupportedBeanType
in interfaceTransform
- Overrides:
getSupportedBeanType
in classAbstractAppTransform
- Returns:
- The
ScheduleBean
bean for this transform.
-
getDescription
public java.lang.String getDescription()
Deprecated.Returns the description of this transform.
This is used in the style catalog editor.- Returns:
- The description of this transform.
-
-