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
_targetBean
FormalParameter
checkKeepPrompt
In the case of a prompted report, indicates whether the simple option for keeping the reprot prompted is checked by default.static java.lang.String
FP_CHECK_KEEP_PROMPT
Constant for the name of thecheckKeepPrompt
Formal Parameter.static java.lang.String
FP_NON_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
Constant for the name of thesaveNonPromptedEmbedFilterEmbedTemplate
Formal Parameter.static java.lang.String
FP_NON_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
Constant for the name of thesaveNonPromptedEmbedFilterLinkedTempalte
Formal Parameter.static java.lang.String
FP_NON_PROMPTED_FILTER
Constant for the name of thesaveNonPromptedFilter
Formal Parameter.static java.lang.String
FP_NON_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
Constant for the name of thesaveNonPromptedLinkedFilterEmbedTempalte
Formal Parameter.static java.lang.String
FP_NON_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
Constant for the name of thesaveNonPromptedLinkedFilterLinkedTempalte
Formal Parameter.static java.lang.String
FP_NON_PROMPTED_TEMPLATE
Constant for the name of thesaveNonPromptedTemplate
Formal Parameter.static java.lang.String
FP_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
Constant for the name of thesavePromptedEmbedFilterEmbedTemplate
Formal Parameter.static java.lang.String
FP_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
Constant for the name of thesavePromptedEmbedFilterLinkedTempalte
Formal Parameter.static java.lang.String
FP_PROMPTED_FILTER
Constant for the name of thesavePromptedFilter
Formal Parameter.static java.lang.String
FP_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
Constant for the name of thesavePromptedLinkedFilterEmbedTempalte
Formal Parameter.static java.lang.String
FP_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
Constant for the name of thesavePromptedLinkedFilterLinkedTempalte
Formal Parameter.static java.lang.String
FP_PROMPTED_TEMPLATE
Constant for the name of thesavePromptedTemplate
Formal Parameter.static java.lang.String
FP_RENDER_LINKS_ANCESTORS
Constant for the name of therenderLinksAncestors
Formal Parameters.static java.lang.String
FP_SHOW_SAVE_OPTIONS
Constant for the name of theshowSaveAsOptions
Formal Parameter.FormalParameter
renderLinksAncestors
This formal parameter controls whether we display the ancestors of the Folder links in the ancestor list.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.FormalParameter
saveNonPromptedEmbedFilterLinkedTempalte
Deprecated.FormalParameter
saveNonPromptedFilter
Value of the save as flags for saving a the filter of a non prompted report.FormalParameter
saveNonPromptedLinkedFilterEmbedTempalte
Deprecated.FormalParameter
saveNonPromptedLinkedFilterLinkedTempalte
Deprecated.FormalParameter
saveNonPromptedTemplate
Value of the save as flags for saving a the template of a non prompted report.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.FormalParameter
savePromptedEmbedFilterLinkedTempalte
Deprecated.FormalParameter
savePromptedFilter
Value of the save as flags for saving a the filter of a prompted report.FormalParameter
savePromptedLinkedFilterEmbedTempalte
Deprecated.FormalParameter
savePromptedLinkedFilterLinkedTempalte
Deprecated.FormalParameter
savePromptedTemplate
Value of the save as flags for saving a the template of a prompted report.FormalParameter
showSaveAsOptions
Flag 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 void
addLinksAsOption(SelectTag __result)
Method adds the standard shortcut links that have to be displayed after the contents of the object browser.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.protected AnchorTag
generateAnchor(WebEvent event)
Overwrites the parent method by setting default attribute informationprotected java.util.ArrayList
getAncestorsOptionTags(java.lang.StringBuffer indentBuffer)
java.lang.String
getConfirmationTitle()
Return the confirmation title for the save as confirmation dialogjava.lang.String
getDescription()
Returns the textual description of the transformjava.lang.String
getErrorMessage(int errorCode, java.lang.String defaultMessage)
Returns the error message for the transform, based on the exception.protected WebEvent
getExecuteEvent()
Obtain an instance of theWebEvent
to use for executing the object that has just been savedprotected WebEvent
getFilterTabEvent()
Obtain an instance of theWebEvent
to use for switching to the Filter tab on the Save As dialogprotected java.lang.String
getObjectDescription()
Obtain the object description to use for the new object to createprotected WebEvent
getRepromptEvent()
protected WebEvent
getSaveEvent()
Obtain an instance of theWebEvent
to use for saving the new objectprotected WebEvent
getTargetTabEvent()
Obtain an instance of theWebEvent
to use for switching to the Report tab on the Save As dialogprotected WebEvent
getTemplateTabEvent()
Obtain an instance of theWebEvent
to use for switching to the Template tab on the Save As dialogprotected boolean
hasOtherNameTranslations()
Determine if the target object to save has other name translations or notvoid
initializeTransform(Transformable data)
Initializes properties of this transform required for the proper generation of the HTML to present to the user.protected boolean
isDisplaySaveEmbeddedCheckBox()
Determine if the save embedded check box option should be rendered or notprotected boolean
isPrompted()
Determine if the target object to save is prompted or notvoid
renderAdvancedCreateButtonBar(MarkupOutput out)
Renders the HTML for displaying the button bar contents for the Advanced options dialog.void
renderAdvancedOptionsDialog(MarkupOutput out)
Generates the dialog for allowing the user to define advanced save as options callsrenderAdvancedPromptOptions
,renderLinkOptions
andrenderAdvancedCreateButtonBar
for displaying the fields available to the user.void
renderAdvancedPromptOptions(MarkupOutput out)
Renders the HTML for displaying the advanced save as options.void
renderConfirmationButtonBar(MarkupOutput out)
Renders the confirmation buttons to the MarkupOutput instancevoid
renderConfirmationSuccessfulMessage(MarkupOutput out)
Renders the confirmation title to the MarkupOutput instancevoid
renderEditorContents(MarkupOutput out)
Generates the dialog for allowing the user to save an object with a new name and description.void
renderErrorButton(MarkupOutput out)
Renders the reexecute event button Transfrom will override it if necessaryvoid
renderLanguagesOptions(MarkupOutput out)
Renders the HTML for displaying the languages save as options.void
renderLinkOptions(MarkupOutput out)
Renders the HTML for displaying the linked filter template save as options.void
renderModifyConfirmationDialog(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 objectvoid
renderOptions(MarkupOutput out)
Renders the prompt and/or linked filter template options as the case may be.void
renderOverwriteButtonBar(MarkupOutput out)
Renders the button bar for the overwrite dialog when the object that the user is trying to save already exists.void
renderOverwriteConfirmationDialog(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.void
renderOverwriteMessage(MarkupOutput out)
The message to render on the overwrite dialog when the object that the user is trying to save already exists.protected void
renderOverwriteSaveFlags(MarkupOutput out, WebEvent saveEvent)
Render the save as flags as hidden inputs in case of an overwritevoid
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.void
renderSimpleOptions(MarkupOutput out)
Renders save as options such as:
Keep report prompted Keep template and filter as linked objects Button for "Advanced Options..."boolean
shouldRenderOpenParent()
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 theshowSaveAsOptions
Formal 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 thesaveNonPromptedEmbedFilterEmbedTemplate
Formal 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 thesaveNonPromptedEmbedFilterLinkedTempalte
Formal 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 thesaveNonPromptedLinkedFilterEmbedTempalte
Formal 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 thesaveNonPromptedLinkedFilterLinkedTempalte
Formal Parameter.
-
FP_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
public static final java.lang.String FP_PROMPTED_EMBED_FILTER_EMBED_TEMPLATE
Constant for the name of thesavePromptedEmbedFilterEmbedTemplate
Formal Parameter.
-
FP_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
public static final java.lang.String FP_PROMPTED_EMBED_FILTER_LINKED_TEMPLATE
Constant for the name of thesavePromptedEmbedFilterLinkedTempalte
Formal Parameter.
-
FP_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
public static final java.lang.String FP_PROMPTED_LINKED_FILTER_EMBED_TEMPLATE
Constant for the name of thesavePromptedLinkedFilterEmbedTempalte
Formal Parameter.
-
FP_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
public static final java.lang.String FP_PROMPTED_LINKED_FILTER_LINKED_TEMPLATE
Constant for the name of thesavePromptedLinkedFilterLinkedTempalte
Formal Parameter.
-
FP_PROMPTED_FILTER
public static final java.lang.String FP_PROMPTED_FILTER
Constant for the name of thesavePromptedFilter
Formal Parameter.- See Also:
savePromptedFilter
, Constant Field Values
-
FP_PROMPTED_TEMPLATE
public static final java.lang.String FP_PROMPTED_TEMPLATE
Constant for the name of thesavePromptedTemplate
Formal 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 thesaveNonPromptedFilter
Formal 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 thesaveNonPromptedTemplate
Formal 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 thecheckKeepPrompt
Formal 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 therenderLinksAncestors
Formal 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:
getDescription
in interfaceTransform
- Overrides:
getDescription
in 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:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classSaveAsTransform
- Parameters:
data
-Transformable
instance to transform with this class.
-
renderErrorButton
public void renderErrorButton(MarkupOutput out)
Description copied from class:AbstractAppTransform
Renders the reexecute event button Transfrom will override it if necessary- Overrides:
renderErrorButton
in 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:AbstractAppTransform
Returns 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:
getErrorMessage
in 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:SaveAsTransform
Renders the confirmation title to the MarkupOutput instance- Overrides:
renderConfirmationSuccessfulMessage
in classSaveAsTransform
- Parameters:
out
-MarkupOutput
instance with the output- See Also:
SaveAsTransform.renderConfirmationSuccessfulMessage(com.microstrategy.web.beans.MarkupOutput)
-
renderConfirmationButtonBar
public void renderConfirmationButtonBar(MarkupOutput out)
Description copied from class:SaveAsTransform
Renders the confirmation buttons to the MarkupOutput instance- Specified by:
renderConfirmationButtonBar
in classSaveAsTransform
- Parameters:
out
-MarkupOutput
instance with the output- See Also:
SaveAsTransform.renderConfirmationButtonBar(com.microstrategy.web.beans.MarkupOutput)
-
renderOptions
public void renderOptions(MarkupOutput out)
Description copied from class:SaveAsTransform
Renders the prompt and/or linked filter template options as the case may be.- Specified by:
renderOptions
in classSaveAsTransform
- Parameters:
out
-MarkupOutput
instance 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
,renderLinkOptions
andrenderAdvancedCreateButtonBar
for displaying the fields available to the user.- Overrides:
renderAdvancedOptionsDialog
in classSaveAsTransform
- Parameters:
out
-MarkupOutput
instance 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
-MarkupOutput
instance with the output by this transform
-
renderLanguagesOptions
public void renderLanguagesOptions(MarkupOutput out)
Renders the HTML for displaying the languages save as options.- Parameters:
out
-MarkupOutput
instance 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
-MarkupOutput
instance 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
-MarkupOutput
instance 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 callsrenderSaveAsTabs
for displaying the fields available to the user.- Overrides:
renderEditorContents
in classSaveAsTransform
- Parameters:
out
-MarkupOutput
instance 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:
generateAncestorsOptionTags
in classSaveAsTransform
- Returns:
- an array of
Tag
instances corresponding to the differentOPTION
that will be provided to the user.
-
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Overwrites the parent method by setting default attribute information- Overrides:
generateAnchor
in classSaveAsTransform
- Parameters:
event
-WebEvent
instance to use as base for the link- Returns:
AnchorTag
instance 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
-MarkupOutput
instance 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
-MarkupOutput
instance with the output by this transform
-
renderOverwriteMessage
public void renderOverwriteMessage(MarkupOutput out)
Description copied from class:SaveAsTransform
The message to render on the overwrite dialog when the object that the user is trying to save already exists.- Specified by:
renderOverwriteMessage
in classSaveAsTransform
- Parameters:
out
-MarkupOutput
instance 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:SaveAsTransform
Renders the button bar for the overwrite dialog when the object that the user is trying to save already exists.- Specified by:
renderOverwriteButtonBar
in classSaveAsTransform
- Parameters:
out
-MarkupOutput
instance 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
-MarkupOutput
instance 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 theWebEvent
to use for saving the new object- Specified by:
getSaveEvent
in classSaveAsTransform
- Returns:
WebEvent
instance initialized,null
if it could not be created.
-
getTargetTabEvent
protected WebEvent getTargetTabEvent()
Obtain an instance of theWebEvent
to use for switching to the Report tab on the Save As dialog- Returns:
WebEvent
instance initialized,null
if it could not be created.
-
getFilterTabEvent
protected WebEvent getFilterTabEvent()
Obtain an instance of theWebEvent
to use for switching to the Filter tab on the Save As dialog- Returns:
WebEvent
instance initialized,null
if it could not be created.
-
getTemplateTabEvent
protected WebEvent getTemplateTabEvent()
Obtain an instance of theWebEvent
to use for switching to the Template tab on the Save As dialog- Returns:
WebEvent
instance initialized,null
if it could not be created.
-
getExecuteEvent
protected WebEvent getExecuteEvent()
Obtain an instance of theWebEvent
to use for executing the object that has just been saved- Returns:
WebEvent
instance initialized,null
if it could not be created.
-
getObjectDescription
protected java.lang.String getObjectDescription()
Description copied from class:SaveAsTransform
Obtain the object description to use for the new object to create- Overrides:
getObjectDescription
in classSaveAsTransform
- Returns:
String
value 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:
getAncestorsOptionTags
in classAbstractObjectExplorerTransform
-
addLinksAsOption
protected void addLinksAsOption(SelectTag __result)
Description copied from class:FolderObjectExplorerTransform
Method 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:
addLinksAsOption
in classFolderObjectExplorerTransform
-
shouldRenderOpenParent
public boolean shouldRenderOpenParent()
Checks whether we should render the open parent link. Will return false if the current folder is a link andrenderLinksAncestors
is false.
-
getConfirmationTitle
public java.lang.String getConfirmationTitle()
Return the confirmation title for the save as confirmation dialog- Specified by:
getConfirmationTitle
in classSaveAsTransform
- Returns:
- The confirmation title for the save as confirmation dialog
-
getRepromptEvent
protected WebEvent getRepromptEvent()
- Overrides:
getRepromptEvent
in classSaveAsTransform
- Since:
- MicroStrategy Web 9.0.0
-
-