Class SaveAsReportTransform
- java.lang.Object
 - 
- com.microstrategy.web.transform.AbstractTransform
 - 
- com.microstrategy.web.transform.AbstractLayoutTransform
 - 
- com.microstrategy.web.app.transforms.AbstractAppTransform
 - 
- com.microstrategy.web.app.transforms.AbstractEditorTransform
 - 
- com.microstrategy.web.app.transforms.AbstractObjectExplorerTransform
 - 
- com.microstrategy.web.app.transforms.AbstractObjectExplorerTreeTransform
 - 
- com.microstrategy.web.app.transforms.FolderObjectExplorerTransform
 - 
- com.microstrategy.web.app.transforms.SaveAsTransform
 - 
- com.microstrategy.web.app.transforms.SaveAsReportTransform
 
 
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 AppTransform,LayoutTransform,Transform
- Direct Known Subclasses:
 SaveAsRWTransform
public class SaveAsReportTransform extends SaveAsTransform
This transform renders the save as dialog to the user.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
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 protected ObjectBean_targetBeanFormalParametercheckKeepPromptIn the case of a prompted report, indicates whether the simple option for keeping the reprot prompted is checked by default.static java.lang.StringFP_CHECK_KEEP_PROMPTConstant for the name of thecheckKeepPromptFormal Parameter.static java.lang.StringFP_NON_PROMPTED_EMBED_FILTER_EMBED_TEMPLATEConstant for the name of thesaveNonPromptedEmbedFilterEmbedTemplateFormal Parameter.static java.lang.StringFP_NON_PROMPTED_EMBED_FILTER_LINKED_TEMPLATEConstant for the name of thesaveNonPromptedEmbedFilterLinkedTempalteFormal Parameter.static java.lang.StringFP_NON_PROMPTED_FILTERConstant for the name of thesaveNonPromptedFilterFormal Parameter.static java.lang.StringFP_NON_PROMPTED_LINKED_FILTER_EMBED_TEMPLATEConstant for the name of thesaveNonPromptedLinkedFilterEmbedTempalteFormal Parameter.static java.lang.StringFP_NON_PROMPTED_LINKED_FILTER_LINKED_TEMPLATEConstant for the name of thesaveNonPromptedLinkedFilterLinkedTempalteFormal Parameter.static java.lang.StringFP_NON_PROMPTED_TEMPLATEConstant for the name of thesaveNonPromptedTemplateFormal Parameter.static java.lang.StringFP_PROMPTED_EMBED_FILTER_EMBED_TEMPLATEConstant for the name of thesavePromptedEmbedFilterEmbedTemplateFormal Parameter.static java.lang.StringFP_PROMPTED_EMBED_FILTER_LINKED_TEMPLATEConstant for the name of thesavePromptedEmbedFilterLinkedTempalteFormal Parameter.static java.lang.StringFP_PROMPTED_FILTERConstant for the name of thesavePromptedFilterFormal Parameter.static java.lang.StringFP_PROMPTED_LINKED_FILTER_EMBED_TEMPLATEConstant for the name of thesavePromptedLinkedFilterEmbedTempalteFormal Parameter.static java.lang.StringFP_PROMPTED_LINKED_FILTER_LINKED_TEMPLATEConstant for the name of thesavePromptedLinkedFilterLinkedTempalteFormal Parameter.static java.lang.StringFP_PROMPTED_TEMPLATEConstant for the name of thesavePromptedTemplateFormal Parameter.static java.lang.StringFP_RENDER_LINKS_ANCESTORSConstant for the name of therenderLinksAncestorsFormal Parameters.static java.lang.StringFP_SHOW_SAVE_OPTIONSConstant for the name of theshowSaveAsOptionsFormal Parameter.FormalParameterrenderLinksAncestorsThis formal parameter controls whether we display the ancestors of the Folder links in the ancestor list.FormalParametersaveNonPromptedEmbedFilterEmbedTemplateValue of the save as flags for a non prompted report that defines whether filter and template are embedded or linked.
This flag will be used only in case the flag to show the options (showSaveAsOptions) for saving a report are not shown.FormalParametersaveNonPromptedEmbedFilterLinkedTempalteDeprecated.FormalParametersaveNonPromptedFilterValue of the save as flags for saving a the filter of a non prompted report.FormalParametersaveNonPromptedLinkedFilterEmbedTempalteDeprecated.FormalParametersaveNonPromptedLinkedFilterLinkedTempalteDeprecated.FormalParametersaveNonPromptedTemplateValue of the save as flags for saving a the template of a non prompted report.FormalParametersavePromptedEmbedFilterEmbedTemplateValue of the save as flags for a prompted report that defines whether filter and template are embedded or linked.
This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown.FormalParametersavePromptedEmbedFilterLinkedTempalteDeprecated.FormalParametersavePromptedFilterValue of the save as flags for saving a the filter of a prompted report.FormalParametersavePromptedLinkedFilterEmbedTempalteDeprecated.FormalParametersavePromptedLinkedFilterLinkedTempalteDeprecated.FormalParametersavePromptedTemplateValue of the save as flags for saving a the template of a prompted report.FormalParametershowSaveAsOptionsFlag to decide whether to show the save as options at all.- 
Fields inherited from class com.microstrategy.web.app.transforms.SaveAsTransform
confirmOWHelpTopic, createFolderJS, folderBrowserStyle, FP_CREATE_FOLDER_JS, FP_FOLDER_BROWSER_STYLE, FP_SAVE_BUTTON_LABEL_ID, FP_SAVE_LABEL_ID, FP_SHOW_CREATE_FOLDER_BUTTON, FP_SHOW_CREATE_FOLDER_DIAOLOG, newFloderHelpTopic, saveButtonLabelID, saveLabelID, showCreateFolderButton, showCreateFolderDialog 
- 
Fields inherited from class com.microstrategy.web.app.transforms.FolderObjectExplorerTransform
promptString, promptStringID 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractObjectExplorerTreeTransform
INCREMENTAL_FETCH_NEXT, INCREMENTAL_FETCH_PREVIOUS, populateChildren, tree 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractObjectExplorerTransform
_imgCheck, _oeBean, checkImage, displayFormatPickerName, FP_CHECK_IMAGE, FP_DISPLAY_FORMAT_PICKER_NAME, FP_INCREMENTAL_FETCH_NAV_TYPE, FP_INCREMENTAL_FETCH_PAGE_BLOCK, FP_SHOW_CURRENT_IN_ANCESTORS_LIST, ID_POSTFIX, incrementalFetchNavigationType, incrementalFetchPageBlock, showCurrentInAncestorsList 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractEditorTransform
_helpTopic, _helpType, applyJS, applyLabel, applyLabelID, canAutoSize, cancelJS, cancelLabel, cancelLabelID, closeEvent, closeImage, closeJS, closeLabel, closeLabelID, dhtmlClose, disableOKButton, editorContentsStyle, editorElements, editorLayoutFile, editorSubType, FP_APPLY_JS, FP_APPLY_LABEL, FP_APPLY_LABEL_ID, FP_CAN_AUTO_SIZE, FP_CANCEL_JS, FP_CANCEL_LABEL, FP_CANCEL_LABEL_ID, FP_CLOSE_EVENT, FP_CLOSE_IMAGE, FP_CLOSE_JS, FP_CLOSE_LABEL, FP_CLOSE_LABEL_ID, FP_DHTML_CLOSE, FP_DISABLE_OK_BUTTON, FP_EDITOR_CONTENTS_STYLE, FP_EDITOR_ELEMENTS, FP_EDITOR_LAYOUT_FILE, FP_EDITOR_SUBTYPE, FP_HELP_PAGE, FP_HELP_TOPIC, FP_HELP_TYPE, FP_INCLUDE_DYNAMIC_SCRIPT, FP_NAVIGATE_ON_SUBMIT, FP_OK_JS, FP_OK_LABEL, FP_OK_LABEL_ID, FP_RENDER_FORM, FP_TITLE_LABEL, FP_TITLE_LABEL_ID, FP_USE_JS_IN_BONE, helpPage, helpTopic, helpType, includeDynamicScript, navigateOnSubmit, okJS, okLabel, okLabelID, renderForm, titleLabel, titleLabelID 
- 
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 SaveAsReportTransform()Default constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddLinksAsOption(SelectTag __result)Method adds the standard shortcut links that have to be displayed after the contents of the object browser.protected java.util.ArrayListgenerateAncestorsOptionTags()Generates the series of option tags to add to the combo box for showing the user the possible places where the new object can be saved, based on privileges, access rights and current location of the object.protected AnchorTaggenerateAnchor(WebEvent event)Overwrites the parent method by setting default attribute informationprotected java.util.ArrayListgetAncestorsOptionTags(java.lang.StringBuffer indentBuffer)java.lang.StringgetConfirmationTitle()Return the confirmation title for the save as confirmation dialogjava.lang.StringgetDescription()Returns the textual description of the transformjava.lang.StringgetErrorMessage(int errorCode, java.lang.String defaultMessage)Returns the error message for the transform, based on the exception.protected WebEventgetExecuteEvent()Obtain an instance of theWebEventto use for executing the object that has just been savedprotected WebEventgetFilterTabEvent()Obtain an instance of theWebEventto use for switching to the Filter tab on the Save As dialogprotected java.lang.StringgetObjectDescription()Obtain the object description to use for the new object to createprotected WebEventgetRepromptEvent()protected WebEventgetSaveEvent()Obtain an instance of theWebEventto use for saving the new objectprotected WebEventgetTargetTabEvent()Obtain an instance of theWebEventto use for switching to the Report tab on the Save As dialogprotected WebEventgetTemplateTabEvent()Obtain an instance of theWebEventto use for switching to the Template tab on the Save As dialogprotected booleanhasOtherNameTranslations()Determine if the target object to save has other name translations or notvoidinitializeTransform(Transformable data)Initializes properties of this transform required for the proper generation of the HTML to present to the user.protected booleanisDisplaySaveEmbeddedCheckBox()Determine if the save embedded check box option should be rendered or notprotected booleanisPrompted()Determine if the target object to save is prompted or notvoidrenderAdvancedCreateButtonBar(MarkupOutput out)Renders the HTML for displaying the button bar contents for the Advanced options dialog.voidrenderAdvancedOptionsDialog(MarkupOutput out)Generates the dialog for allowing the user to define advanced save as options callsrenderAdvancedPromptOptions,renderLinkOptionsandrenderAdvancedCreateButtonBarfor displaying the fields available to the user.voidrenderAdvancedPromptOptions(MarkupOutput out)Renders the HTML for displaying the advanced save as options.voidrenderConfirmationButtonBar(MarkupOutput out)Renders the confirmation buttons to the MarkupOutput instancevoidrenderConfirmationSuccessfulMessage(MarkupOutput out)Renders the confirmation title to the MarkupOutput instancevoidrenderEditorContents(MarkupOutput out)Generates the dialog for allowing the user to save an object with a new name and description.voidrenderErrorButton(MarkupOutput out)Renders the reexecute event button Transfrom will override it if necessaryvoidrenderLanguagesOptions(MarkupOutput out)Renders the HTML for displaying the languages save as options.voidrenderLinkOptions(MarkupOutput out)Renders the HTML for displaying the linked filter template save as options.voidrenderModifyConfirmationDialog(MarkupOutput out)Renders the dialog that informs the user that the template and/or template have been modified and asks them if they want to link to the original objectvoidrenderOptions(MarkupOutput out)Renders the prompt and/or linked filter template options as the case may be.voidrenderOverwriteButtonBar(MarkupOutput out)Renders the button bar for the overwrite dialog when the object that the user is trying to save already exists.voidrenderOverwriteConfirmationDialog(MarkupOutput out)Renders the dialog that informs the user that the report being saved already exists and asks users if they wish to overwrite it.voidrenderOverwriteMessage(MarkupOutput out)The message to render on the overwrite dialog when the object that the user is trying to save already exists.protected voidrenderOverwriteSaveFlags(MarkupOutput out, WebEvent saveEvent)Render the save as flags as hidden inputs in case of an overwritevoidrenderSaveAsTabs(MarkupOutput out)This method renders the different tabs that enable the user to determine the object type to save, which can be either a new report, a filter or a template.voidrenderSimpleOptions(MarkupOutput out)Renders save as options such as:
Keep report prompted Keep template and filter as linked objects Button for "Advanced Options..."booleanshouldRenderOpenParent()Checks whether we should render the open parent link.- 
Methods inherited from class com.microstrategy.web.app.transforms.SaveAsTransform
generateSimpleEditor, getAncestorsSelectTag, getBrowseParentEvent, getCancelEvent, getCancelOverwriteEvent, getComboBrowseEvent, getCreateFolderEvent, getHelpEvent, getObjectName, getOverwriteTitle, getReturnToEvent, getSaveAsBean, getSupportedBeanType, hasReadBrowseAccess, initEditor, isEmptyList, renderConfirmationContents, renderConfirmationTitle, renderCreateFolderButton, renderFolderBrowsingOptions, renderFolderCreateButtonBar, renderFolderCreateDescription, renderFolderCreateName, renderFolderCreateOptionsDialog, renderJavascript, renderOverwriteContents, renderOverwriteTitle, renderSaveAsContents, renderSaveAsDescription, renderSaveAsFolderContents, renderSaveAsJavaScript, renderSaveAsName, transformForRequestSuccessful, transformForRequestWaitingForUserInput, updateAncestorFolderArray 
- 
Methods inherited from class com.microstrategy.web.app.transforms.FolderObjectExplorerTransform
constructEntireTree, generateIncrementalFetchNode, generateIncrementalFetchNode, generateSearchNode, getCssName, getFolderRoot, getLinkAttributes, getLinkCssName, getList, getReportViewMode, getTooltipInfo, getTooltipTitle, getUnitAttributes, getUnitName, getVisualizationMode, getVisualizationMode, isFolder, isTreeRoot, isVisualizationObject, isVisualizationObject, renderLayeredIconInfo, renderOpenParent, renderPromptString, renderUnit, shouldAddLinks, shouldRenderFolderLinks, shouldRenderLinks 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractObjectExplorerTreeTransform
addLinks, createNewNode, isRenderAsTree, isRenderEntireTree, newTreeNode, newTreeNodeLink, populateTreeNodes, populateWithChildren, renderTree 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractObjectExplorerTransform
addAncestorsOptionsToSelectTag, addCurrentFolderToAncestorList, addOpenParentImg, addOpenParentImg, getBlockPosition, getBlockSize, getBrowseEvent, getChangeDisplayFormatEvent, getChildCount, getExplorerClientSideHelper, getExplorerScriptClass, getForm, getGoToArgument, getHiddenInputsEventList, getID, getIncrementalFetchComponent, getOKEvent, getOpenParentEvent, getOption, getSearchBox, getSearchButton, getSearchEvent, getUnitAnchor, getUnitDesc, initializeImages, isUseOptionTitle, renderAncestors, renderChangeFormatDropDown, renderDisplayFormatPickers, renderErrorMessage, renderHiddenInputs, renderIncrementalFetch, renderLayeredIconInfo, renderObjectCount, renderSearch, renderSearchBox, renderSearchButton, renderSearchEventArgs, setUseOptionTitle, shouldDisplayErrorMessage, shouldGenerateNewForm, shouldShowDummyFolderOption 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractEditorTransform
generateForm, getDivTagAroundContents, getEditorTitle, getOnSubmitJS, getWebBeanErrorInfo, initHelp, renderEditor, renderEditorElement, setFocusFieldId, transformForRequestInError 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, 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, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, 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, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, 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, 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.LayoutTransform
getLayoutDefinition, setLayoutDefinition 
- 
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getPreview, isPreviewAvailable, isResolved, supports, supports, transform 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_targetBean
protected ObjectBean _targetBean
 
- 
showSaveAsOptions
public FormalParameter showSaveAsOptions
Flag to decide whether to show the save as options at all. If this flag is set to false, only then will we use all the other save as flag related formal parameters. 
- 
saveNonPromptedEmbedFilterEmbedTemplate
public FormalParameter saveNonPromptedEmbedFilterEmbedTemplate
Value of the save as flags for a non prompted report that defines whether filter and template are embedded or linked.
This flag will be used only in case the flag to show the options (showSaveAsOptions) for saving a report are not shown.
The value comes fromEnumDSSXMLReportSaveAsFlags 
- 
saveNonPromptedEmbedFilterLinkedTempalte
public FormalParameter saveNonPromptedEmbedFilterLinkedTempalte
Deprecated.Value of the save as flags for a non prompted report with embedded or linked filter and linked template. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
saveNonPromptedLinkedFilterEmbedTempalte
public FormalParameter saveNonPromptedLinkedFilterEmbedTempalte
Deprecated.Value of the save as flags for a non prompted report with linked filter and embedded template. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
saveNonPromptedLinkedFilterLinkedTempalte
public FormalParameter saveNonPromptedLinkedFilterLinkedTempalte
Deprecated.Value of the save as flags for a non prompted report with linked filter and template. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
savePromptedEmbedFilterEmbedTemplate
public FormalParameter savePromptedEmbedFilterEmbedTemplate
Value of the save as flags for a prompted report that defines whether filter and template are embedded or linked.
This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown.
The value comes fromEnumDSSXMLReportSaveAsFlags 
- 
savePromptedEmbedFilterLinkedTempalte
public FormalParameter savePromptedEmbedFilterLinkedTempalte
Deprecated.Value of the save as flags for a prompted report with embedded filter and linked template. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
savePromptedLinkedFilterEmbedTempalte
public FormalParameter savePromptedLinkedFilterEmbedTempalte
Deprecated.Value of the save as flags for a prompted report with linked filter and embedded template. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
savePromptedLinkedFilterLinkedTempalte
public FormalParameter savePromptedLinkedFilterLinkedTempalte
Deprecated.Value of the save as flags for a prompted report with linked filter and template. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
savePromptedFilter
public FormalParameter savePromptedFilter
Value of the save as flags for saving a the filter of a prompted report. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
savePromptedTemplate
public FormalParameter savePromptedTemplate
Value of the save as flags for saving a the template of a prompted report. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
saveNonPromptedFilter
public FormalParameter saveNonPromptedFilter
Value of the save as flags for saving a the filter of a non prompted report. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
saveNonPromptedTemplate
public FormalParameter saveNonPromptedTemplate
Value of the save as flags for saving a the template of a non prompted report. This flag will be used only in case the flag to show the options(showSaveAsOptions) for saving a report are not shown. 
- 
checkKeepPrompt
public FormalParameter checkKeepPrompt
In the case of a prompted report, indicates whether the simple option for keeping the reprot prompted is checked by default.- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
renderLinksAncestors
public FormalParameter renderLinksAncestors
This formal parameter controls whether we display the ancestors of the Folder links in the ancestor list. 
- 
FP_SHOW_SAVE_OPTIONS
public static final java.lang.String FP_SHOW_SAVE_OPTIONS
Constant for the name of theshowSaveAsOptionsFormal Parameter.- See Also:
 showSaveAsOptions, Constant Field Values
 
- 
FP_NON_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
public static final java.lang.String FP_NON_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
Constant for the name of thesaveNonPromptedEmbedFilterEmbedTemplateFormal Parameter. 
- 
FP_NON_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
public static final java.lang.String FP_NON_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
Constant for the name of thesaveNonPromptedEmbedFilterLinkedTempalteFormal Parameter. 
- 
FP_NON_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
public static final java.lang.String FP_NON_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
Constant for the name of thesaveNonPromptedLinkedFilterEmbedTempalteFormal Parameter. 
- 
FP_NON_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
public static final java.lang.String FP_NON_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
Constant for the name of thesaveNonPromptedLinkedFilterLinkedTempalteFormal Parameter. 
- 
FP_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
public static final java.lang.String FP_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
Constant for the name of thesavePromptedEmbedFilterEmbedTemplateFormal Parameter. 
- 
FP_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
public static final java.lang.String FP_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
Constant for the name of thesavePromptedEmbedFilterLinkedTempalteFormal Parameter. 
- 
FP_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
public static final java.lang.String FP_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
Constant for the name of thesavePromptedLinkedFilterEmbedTempalteFormal Parameter. 
- 
FP_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
public static final java.lang.String FP_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
Constant for the name of thesavePromptedLinkedFilterLinkedTempalteFormal Parameter. 
- 
FP_PROMPTED_FILTER
public static final java.lang.String FP_PROMPTED_FILTER
Constant for the name of thesavePromptedFilterFormal Parameter.- See Also:
 savePromptedFilter, Constant Field Values
 
- 
FP_PROMPTED_TEMPLATE
public static final java.lang.String FP_PROMPTED_TEMPLATE
Constant for the name of thesavePromptedTemplateFormal Parameter.- See Also:
 savePromptedTemplate, Constant Field Values
 
- 
FP_NON_PROMPTED_FILTER
public static final java.lang.String FP_NON_PROMPTED_FILTER
Constant for the name of thesaveNonPromptedFilterFormal Parameter.- See Also:
 saveNonPromptedFilter, Constant Field Values
 
- 
FP_NON_PROMPTED_TEMPLATE
public static final java.lang.String FP_NON_PROMPTED_TEMPLATE
Constant for the name of thesaveNonPromptedTemplateFormal Parameter.- See Also:
 saveNonPromptedTemplate, Constant Field Values
 
- 
FP_CHECK_KEEP_PROMPT
public static final java.lang.String FP_CHECK_KEEP_PROMPT
Constant for the name of thecheckKeepPromptFormal Parameter.- Since:
 - MicroStrategy Web 8.0.2
 - See Also:
 checkKeepPrompt, Constant Field Values
 
- 
FP_RENDER_LINKS_ANCESTORS
public static final java.lang.String FP_RENDER_LINKS_ANCESTORS
Constant for the name of therenderLinksAncestorsFormal Parameters.- Since:
 - MicroStrategy Web 9.0.1
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getDescription
public java.lang.String getDescription()
Returns the textual description of the transform- Specified by:
 getDescriptionin interfaceTransform- Overrides:
 getDescriptionin classSaveAsTransform- Returns:
 - the description of the transform
 
 
- 
initializeTransform
public void initializeTransform(Transformable data)
Initializes properties of this transform required for the proper generation of the HTML to present to the user.- Specified by:
 initializeTransformin interfaceAppTransform- Overrides:
 initializeTransformin classSaveAsTransform- Parameters:
 data-Transformableinstance to transform with this class.
 
- 
renderErrorButton
public void renderErrorButton(MarkupOutput out)
Description copied from class:AbstractAppTransformRenders the reexecute event button Transfrom will override it if necessary- Overrides:
 renderErrorButtonin classAbstractAppTransform- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 AbstractAppTransform.renderErrorButton(com.microstrategy.web.beans.MarkupOutput)
 
- 
getErrorMessage
public java.lang.String getErrorMessage(int errorCode, java.lang.String defaultMessage)Description copied from class:AbstractAppTransformReturns the error message for the transform, based on the exception. By default returns:
getDescriptor(640) + " " + getDescriptor(641) + "
"; //Descriptors: Your request could not be processed due to a server error. | Please try again. If the error persists, contact the server administrator.- Overrides:
 getErrorMessagein classAbstractAppTransform- Parameters:
 errorCode- The error code for which we need the error messagedefaultMessage- the default error message to be shown- Returns:
 - The error message.
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
renderConfirmationSuccessfulMessage
public void renderConfirmationSuccessfulMessage(MarkupOutput out)
Description copied from class:SaveAsTransformRenders the confirmation title to the MarkupOutput instance- Overrides:
 renderConfirmationSuccessfulMessagein classSaveAsTransform- Parameters:
 out-MarkupOutputinstance with the output- See Also:
 SaveAsTransform.renderConfirmationSuccessfulMessage(com.microstrategy.web.beans.MarkupOutput)
 
- 
renderConfirmationButtonBar
public void renderConfirmationButtonBar(MarkupOutput out)
Description copied from class:SaveAsTransformRenders the confirmation buttons to the MarkupOutput instance- Specified by:
 renderConfirmationButtonBarin classSaveAsTransform- Parameters:
 out-MarkupOutputinstance with the output- See Also:
 SaveAsTransform.renderConfirmationButtonBar(com.microstrategy.web.beans.MarkupOutput)
 
- 
renderOptions
public void renderOptions(MarkupOutput out)
Description copied from class:SaveAsTransformRenders the prompt and/or linked filter template options as the case may be.- Specified by:
 renderOptionsin classSaveAsTransform- Parameters:
 out-MarkupOutputinstance with the output by this transoform- See Also:
 SaveAsTransform.renderOptions(com.microstrategy.web.beans.MarkupOutput)
 
- 
renderAdvancedOptionsDialog
public void renderAdvancedOptionsDialog(MarkupOutput out)
Generates the dialog for allowing the user to define advanced save as options callsrenderAdvancedPromptOptions,renderLinkOptionsandrenderAdvancedCreateButtonBarfor displaying the fields available to the user.- Overrides:
 renderAdvancedOptionsDialogin classSaveAsTransform- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
renderAdvancedCreateButtonBar
public void renderAdvancedCreateButtonBar(MarkupOutput out)
Renders the HTML for displaying the button bar contents for the Advanced options dialog.- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
renderLanguagesOptions
public void renderLanguagesOptions(MarkupOutput out)
Renders the HTML for displaying the languages save as options.- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
renderLinkOptions
public void renderLinkOptions(MarkupOutput out)
Renders the HTML for displaying the linked filter template save as options.- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
renderAdvancedPromptOptions
public void renderAdvancedPromptOptions(MarkupOutput out)
Renders the HTML for displaying the advanced save as options. These options are especially linked with the prompt options.- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
renderEditorContents
public void renderEditorContents(MarkupOutput out)
Generates the dialog for allowing the user to save an object with a new name and description. Internally callsrenderSaveAsTabsfor displaying the fields available to the user.- Overrides:
 renderEditorContentsin classSaveAsTransform- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
generateAncestorsOptionTags
protected java.util.ArrayList generateAncestorsOptionTags()
Generates the series of option tags to add to the combo box for showing the user the possible places where the new object can be saved, based on privileges, access rights and current location of the object.- Overrides:
 generateAncestorsOptionTagsin classSaveAsTransform- Returns:
 - an array of 
Taginstances corresponding to the differentOPTIONthat will be provided to the user. 
 
- 
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Overwrites the parent method by setting default attribute information- Overrides:
 generateAnchorin classSaveAsTransform- Parameters:
 event-WebEventinstance to use as base for the link- Returns:
 AnchorTaginstance initialized with the event information
 
- 
renderSaveAsTabs
public void renderSaveAsTabs(MarkupOutput out)
This method renders the different tabs that enable the user to determine the object type to save, which can be either a new report, a filter or a template.- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
renderSimpleOptions
public void renderSimpleOptions(MarkupOutput out)
Renders save as options such as:
- Keep report prompted
 - Keep template and filter as linked objects
 - Button for "Advanced Options..."
 
- Parameters:
 out-MarkupOutputinstance with the output by this transform
 
- 
renderOverwriteMessage
public void renderOverwriteMessage(MarkupOutput out)
Description copied from class:SaveAsTransformThe message to render on the overwrite dialog when the object that the user is trying to save already exists.- Specified by:
 renderOverwriteMessagein classSaveAsTransform- Parameters:
 out-MarkupOutputinstance with the output by this transoform- See Also:
 SaveAsTransform.renderOverwriteMessage(com.microstrategy.web.beans.MarkupOutput)
 
- 
renderOverwriteConfirmationDialog
public void renderOverwriteConfirmationDialog(MarkupOutput out) throws UnmodifiableException
Renders the dialog that informs the user that the report being saved already exists and asks users if they wish to overwrite it.- Throws:
 UnmodifiableException- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
renderModifyConfirmationDialog
public void renderModifyConfirmationDialog(MarkupOutput out) throws UnmodifiableException
Renders the dialog that informs the user that the template and/or template have been modified and asks them if they want to link to the original object- Throws:
 UnmodifiableException- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
renderOverwriteButtonBar
public void renderOverwriteButtonBar(MarkupOutput out)
Description copied from class:SaveAsTransformRenders the button bar for the overwrite dialog when the object that the user is trying to save already exists.- Specified by:
 renderOverwriteButtonBarin classSaveAsTransform- Parameters:
 out-MarkupOutputinstance with the output by this transoform- See Also:
 SaveAsTransform.renderOverwriteButtonBar(com.microstrategy.web.beans.MarkupOutput)
 
- 
renderOverwriteSaveFlags
protected void renderOverwriteSaveFlags(MarkupOutput out, WebEvent saveEvent)
Render the save as flags as hidden inputs in case of an overwrite- Parameters:
 out-MarkupOutputinstance with the output by this transformsaveEvent- The event used for saving
 
- 
hasOtherNameTranslations
protected boolean hasOtherNameTranslations()
Determine if the target object to save has other name translations or not- Returns:
 - boolean value indicating if the target object to save has other name translations or not
 
 
- 
isPrompted
protected boolean isPrompted()
Determine if the target object to save is prompted or not- Returns:
 - boolean value indicating if the object is prompted or not
 
 
- 
isDisplaySaveEmbeddedCheckBox
protected boolean isDisplaySaveEmbeddedCheckBox()
Determine if the save embedded check box option should be rendered or not- Returns:
 - boolean value indicating if the check box should become available or not, based on privileges and if the target object is prompted or not.
 
 
- 
getSaveEvent
protected WebEvent getSaveEvent()
Obtain an instance of theWebEventto use for saving the new object- Specified by:
 getSaveEventin classSaveAsTransform- Returns:
 WebEventinstance initialized,nullif it could not be created.
 
- 
getTargetTabEvent
protected WebEvent getTargetTabEvent()
Obtain an instance of theWebEventto use for switching to the Report tab on the Save As dialog- Returns:
 WebEventinstance initialized,nullif it could not be created.
 
- 
getFilterTabEvent
protected WebEvent getFilterTabEvent()
Obtain an instance of theWebEventto use for switching to the Filter tab on the Save As dialog- Returns:
 WebEventinstance initialized,nullif it could not be created.
 
- 
getTemplateTabEvent
protected WebEvent getTemplateTabEvent()
Obtain an instance of theWebEventto use for switching to the Template tab on the Save As dialog- Returns:
 WebEventinstance initialized,nullif it could not be created.
 
- 
getExecuteEvent
protected WebEvent getExecuteEvent()
Obtain an instance of theWebEventto use for executing the object that has just been saved- Returns:
 WebEventinstance initialized,nullif it could not be created.
 
- 
getObjectDescription
protected java.lang.String getObjectDescription()
Description copied from class:SaveAsTransformObtain the object description to use for the new object to create- Overrides:
 getObjectDescriptionin classSaveAsTransform- Returns:
 Stringvalue with the description of the new object to be created. It can come from the original object or whatever the user might had previously specified for it.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getAncestorsOptionTags
protected java.util.ArrayList getAncestorsOptionTags(java.lang.StringBuffer indentBuffer)
- Overrides:
 getAncestorsOptionTagsin classAbstractObjectExplorerTransform
 
- 
addLinksAsOption
protected void addLinksAsOption(SelectTag __result)
Description copied from class:FolderObjectExplorerTransformMethod adds the standard shortcut links that have to be displayed after the contents of the object browser. These links are shortcuts to the Attributes, Metrics, Hierarchies ... folders- Overrides:
 addLinksAsOptionin classFolderObjectExplorerTransform
 
- 
shouldRenderOpenParent
public boolean shouldRenderOpenParent()
Checks whether we should render the open parent link. Will return false if the current folder is a link andrenderLinksAncestorsis false. 
- 
getConfirmationTitle
public java.lang.String getConfirmationTitle()
Return the confirmation title for the save as confirmation dialog- Specified by:
 getConfirmationTitlein classSaveAsTransform- Returns:
 - The confirmation title for the save as confirmation dialog
 
 
- 
getRepromptEvent
protected WebEvent getRepromptEvent()
- Overrides:
 getRepromptEventin classSaveAsTransform- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
 -