Class FolderCreateReportXHTMLTransform
- java.lang.Object
 - 
- com.microstrategy.web.transform.AbstractTransform
 - 
- com.microstrategy.web.transform.AbstractLayoutTransform
 - 
- com.microstrategy.web.app.transforms.AbstractAppTransform
 - 
- com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
 - 
- com.microstrategy.web.app.transforms.AbstractFolderTransform
 - 
- com.microstrategy.web.app.transforms.FolderIconRadioButtonTransform
 - 
- com.microstrategy.web.app.transforms.FolderCreateReportXHTMLTransform
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 AppTransform,LayoutTransform,Transform
- Direct Known Subclasses:
 FolderCreateDocumentTransform,FolderSummaryCreateReportTransform
public class FolderCreateReportXHTMLTransform extends FolderIconRadioButtonTransform
This class extends theFolderIconRadioButtonTransformby specializing in showing the new Reports folder content. It has two sections, showing the blank report on top, and on the bottom the rest of the items on the folder.
The output of this Transform generates well-formed XHTML, and it's designed to use external css files for all formatting.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractFolderTransform
AbstractFolderTransform.Context 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected WebObjectInfo_blankObjectprotected java.lang.String_blankObjectDescProperty for holding a description for the blank objectprotected java.lang.String_blankObjectHeaderDescProperty for holding a header description for the blank objectprotected WebObjectInfo_blankViewReportprotected java.lang.String_templateHeaderDescProperty for holding a header description for the templates to show with this transformFormalParameterblankObjectIdIndicates the object ID of the Blank Report.FormalParameterblankViewReportIdIndicates the object ID of the View Blank Report.FormalParameterblankXdaObjectIdIndicates the object ID of the Blank XDA Report.FormalParameterdisplaySectionSpecifies which sections are to be displayed in the Create Report page (Create Report, Other Reports).static java.lang.StringFP_BLANK_REPORT_IDConstant specifying the name of the formal parameter for defining the ID of the blank report.static java.lang.StringFP_BLANK_VIEW_REPORT_IDConstant specifying the name of the formal parameter for defining the ID of the blank report.static java.lang.StringFP_BLANK_XDA_REPORT_IDFormalParameterpromptCreateStyleSpecifies the name of prompt style to use for transforming selected prompted template in Design Mode.FormalParameterpromptExecuteStyleSpecifies the name of prompt style to use for transforming selected prompted template in View Mode.FormalParameterpromptStyleSpecifies the name of prompt style to use for transforming selected prompted template in Create Repor page.FormalParametervalueDesignModeCheckSpecifies value for checkbox indicating whether or not to run Report/RWD in Design mode.- 
Fields inherited from class com.microstrategy.web.app.transforms.FolderIconRadioButtonTransform
FP_IMG_ANCHOR_JS_FLAG, FP_LABEL_ANCHOR_JS_FLAG, FP_RENDER_FORM_TAG, imgAnchorJS, labelAnchorJS, renderFormTag 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractFolderTransform
_bandingIndex, _imgHeight, _imgWidth, _sortedChildUnits, datamartImage, documentImage, execTarget, filterImage, folderImage, FP_CREATE_REPORT_DISPLAY_SECTION, FP_DATAMART_IMAGE, FP_DOCUMENT_IMAGE, FP_EXEC_TARGET, FP_FILTER_IMAGE, FP_FOLDER_IMAGE, FP_GRAPH_IMAGE, FP_GRID_GRAPH_IMAGE, FP_IMAGE_HEIGTH, FP_IMAGE_WIDTH, FP_LEVEL_FLAG, FP_MAX_OBJECT_TYPE_COUNT, FP_REPORT_IMAGE, FP_RW_DOCUMENT_IMAGE, FP_SORT_ASCENDING, FP_SORT_FIELD, FP_TABLE_ID, FP_TEMPLATE_IMAGE, graphImage, gridGraphImage, imageHeight, imageWidth, LEVEL_ALL, LEVEL_CONFIRM_DELETE, LEVEL_DELETE, LEVEL_DESCRIPTION, LEVEL_DISPLAY_HEADERS, LEVEL_EDIT, LEVEL_EMPTY_FOLDER_MESSAGE, LEVEL_EXPORT_EXCEL, LEVEL_EXPORT_PDF, LEVEL_FOLDER_INFORMATION, LEVEL_INCREMENTAL_FETCH, LEVEL_LOCATION, LEVEL_MODIFIED, LEVEL_NAME, LEVEL_OWNER, LEVEL_SEND_NOW, LEVEL_SUBSCRIPTION, levelFlag, maxObjectTypeCount, reportImage, rwDocumentImage, sortAscending, sortField, tableId, templateImage 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
FP_INCREMENTAL_FETCH_NAV_TYPE, FP_INCREMENTAL_FETCH_PAGE_BLOCK, imgBlank, incrementalFetchNavigationType, incrementalFetchPageBlock 
- 
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 FolderCreateReportXHTMLTransform()Default no-argument constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TaggenerateRadioButtonForObject(WebEvent openEvent, WebObjectInfo object, boolean selected)Overwrites the parent method by assigning JavaScript code to theonclickevent of the input tag if the user is on DHTML mode.protected java.lang.StringgetArgumentName(WebEvent event, int argumentID)For the given event, returns the name of the argument with the given ID.java.lang.StringgetCssName(WebObjectInfo object)Overwrites the parent method by providing a special css style to the blank object.java.lang.StringgetObjectDescription(WebObjectInfo object)Overwrites the parent method by supplying a default description for the blank object as indicated on theblankObjectIdformal parameterjava.lang.StringgetObjectName(WebObjectInfo object)Overwrites the parent method by supplying a default name for the blank object as indicated on theblankObjectIdformal parameterprotected WebEventgetOpenObjectEvent()Overwrites the original method for returning theEnumServletEvents.WebEventEditReportevent instead.booleanhasCreateBlankObjectPrivileges()Determines if the user has enough privileges for viewing the blank report option with this transformbooleanhasCreateReportPrivileges()booleanhasCreateViewReportPrivileges()booleanhasCreateXdaReportPrivileges()voidinitializeTransform(Transformable data)Extends the parent method by searching for the blank report within the content of the folder, as specified on theblankObjectIdformal parameter.protected booleanisDesignModeOptionChecked()Indicates whether or not Design mode checkbox is checked.booleanisEmptyList()Returnstrueif the list of elements from this folder available for display (AbstractFolderTransform.getSortedList()) is empty or not.booleanisEmptyList(WebDisplayUnits list)Deprecated.please useisEmptyList()instead, where the list to be analyzed is the one obtained fromAbstractFolderTransform.getSortedChildUnits().booleanisObjectVisible(WebObjectInfo object)Extends parent method by returning false if the object is the blank report.voidrenderBlankObject(MarkupOutput out)Renders the first part of the transform, that is the part where the user might pick a "blank" report to start working.voidrenderButtonOptions(MarkupOutput out)If the user has enough privileges, this method will display by default the option for allowing to run the selected report on design mode.protected voidrenderDesignModeOption(MarkupOutput out, WebEvent createEvent, boolean designMode)Render a check box giving the option to have the report selected run in design mode.voidrenderIconInfo(MarkupOutput out, WebObjectInfo object)Overwrites the parent method by rendering only the image of the object as an anchor if it's ofEnumDSSXMLObjectTypes.DssXmlTypeFoldertype.voidrenderList(MarkupOutput out, WebDisplayUnits list)Deprecated.This method will later on not be called from by default logic on the application, please overwrite theAbstractFolderTransform.renderList(MarkupOutput out)method instead for customizations, the list of elements that the equivalent method for renderTemplateList will obtain the children to display from theAbstractFolderTransform.getSortedList()output.voidrenderNameInfo(MarkupOutput out, WebObjectInfo object)Overwrites the parent method by rendering only the name of the object if it's ofEnumDSSXMLObjectTypes.DssXmlTypeFoldertype.voidrenderTemplateList(MarkupOutput out)Renders the list of templates in this folder.voidrenderTemplateList(MarkupOutput out, WebDisplayUnits list)Renders the list of templates in this folder.protected voidsetBoneProperties(JsonGenerator boneProps)Sets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClassformal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.- 
Methods inherited from class com.microstrategy.web.app.transforms.FolderIconRadioButtonTransform
generateAnchor, getDescription, renderDescriptionInfo, renderFormInputInfo, renderItems, renderNextButton, renderObject, renderObjectDescription, renderObjectImage, renderObjectName, transformForRequestSuccessful, wereItemsRendered 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractFolderTransform
addScriptDependency, canCreateSubscription, canDelete, canEdit, canExecute, canExport, canExportToPDF, canSendNow, checkLevel, getBlockPosition, getBlockSize, getChildCount, getContext, getContextMenu, getContextMenuAttributes, getDeleteEvent, getDeleteEvent, getEditEvent, getEvent, getExportEvent, getExportEvent, getFeatures, getFlashExportEvent, getFolderBean, getFolderChildCount, getGoToArgument, getGoToEvent, getHtmlExportEvent, getImageName, getImageSrc, getListComparator, getMstrExportEvent, getOringalChildCount, getPDFExportEvent, getSendNowEvent, getSortedChildUnits, getSortedList, getSubscriptionsEvent, getSupportedBeanType, getViewMediaReportEvent, getViewMediaRWEvent, initializeCss, initializeImages, initializeSelectedItemsList, isFeatureAvailable, isFolderEmpty, isObjectRunableinPauseMode, isObjectSelected, isViewableReport, newContext, renderEmptyList, renderEmptyList, renderImage, renderJavaScript, renderList, renderObjectCount 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
addCSSForObjectType, getDereferenceShortcuts, getImageTooltip, getIncrementalFetchComponent, getListItemAttributes, getNameWrapperTag, getObjectAbbreviation, getObjectModificationTime, getOwnerName, getPathTransform, getVisualizationMode, getVisualizationMode, isUserEnabled, isVisualizationObject, isVisualizationObject, renderAbbreviationInfo, renderAbbreviationInfo, renderDescriptionInfo, renderIncrementalFetch, renderIsUserEnabled, renderIsUserEnabled, renderLayeredIconInfo, renderLayeredIconInfo, renderLocationInfo, renderModifiedInfo, renderOwnerInfo 
- 
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, getAttributesShellDiv, getBeanPath, getBoneId, getCancelEvent, getClientSideHelper, getContainerServices, 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, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestInError, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, 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, getID, getPreview, isPreviewAvailable, isResolved, supports, supports, transform 
 - 
 
 - 
 
- 
- 
Field Detail
- 
blankObjectId
public FormalParameter blankObjectId
Indicates the object ID of the Blank Report.
If found, it will display it inside its own box while rendering the contents of the folder. 
- 
_blankObject
protected WebObjectInfo _blankObject
 
- 
blankXdaObjectId
public FormalParameter blankXdaObjectId
Indicates the object ID of the Blank XDA Report.- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
promptExecuteStyle
public FormalParameter promptExecuteStyle
Specifies the name of prompt style to use for transforming selected prompted template in View Mode.
This formal parameters will denote a text to be used as the name of the prompt style that tells to display 'Save' button in prompted report or Document. 
- 
promptCreateStyle
public FormalParameter promptCreateStyle
Specifies the name of prompt style to use for transforming selected prompted template in Design Mode.
This formal parameters will denote a text to be used as the name of the prompt style that tells to display 'Save' button in prompted report or Document. 
- 
displaySection
public FormalParameter displaySection
Specifies which sections are to be displayed in the Create Report page (Create Report, Other Reports).
This formal parameters will denote a number to be used as a flag for the two sections of this page. 
- 
valueDesignModeCheck
public FormalParameter valueDesignModeCheck
Specifies value for checkbox indicating whether or not to run Report/RWD in Design mode.
This formal parameter can take any of the following values:
- 0 - Unchecked
 - 1 - Checked
 
Keep in mind that this FP will indicate whether or not to check this checkbox. However, there another rule which user must have WebFeatureWebModifyReportList feature enabled. 
- 
promptStyle
public FormalParameter promptStyle
Specifies the name of prompt style to use for transforming selected prompted template in Create Repor page.
This formal parameters will denote a text to be used as the name of the prompt style. This value will be passed as an event argument for EnumPageEvents.WebEventEditReport event which will be set in getOpenObjectEvent method.
that tells to display 'Save' button in prompted report or Document. 
- 
blankViewReportId
public FormalParameter blankViewReportId
Indicates the object ID of the View Blank Report.
If found, it will display it inside its own box while rendering the contents of the folder.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
_blankViewReport
protected WebObjectInfo _blankViewReport
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
FP_BLANK_REPORT_ID
public static final java.lang.String FP_BLANK_REPORT_ID
Constant specifying the name of the formal parameter for defining the ID of the blank report. Value is blankObjectId.- See Also:
 - Constant Field Values
 
 
- 
FP_BLANK_XDA_REPORT_ID
public static final java.lang.String FP_BLANK_XDA_REPORT_ID
- Since:
 - MicroStrategy Web 8.0.2
 - See Also:
 - Constant Field Values
 
 
- 
FP_BLANK_VIEW_REPORT_ID
public static final java.lang.String FP_BLANK_VIEW_REPORT_ID
Constant specifying the name of the formal parameter for defining the ID of the blank report. Value is blankObjectId.- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
_templateHeaderDesc
protected java.lang.String _templateHeaderDesc
Property for holding a header description for the templates to show with this transform 
- 
_blankObjectHeaderDesc
protected java.lang.String _blankObjectHeaderDesc
Property for holding a header description for the blank object 
- 
_blankObjectDesc
protected java.lang.String _blankObjectDesc
Property for holding a description for the blank object 
 - 
 
- 
Method Detail
- 
initializeTransform
public void initializeTransform(Transformable data)
Extends the parent method by searching for the blank report within the content of the folder, as specified on theblankObjectIdformal parameter.- Specified by:
 initializeTransformin interfaceAppTransform- Overrides:
 initializeTransformin classAbstractFolderTransform- Parameters:
 data-Transformableinstance with the bean to be transformed.
 
- 
hasCreateBlankObjectPrivileges
public boolean hasCreateBlankObjectPrivileges()
Determines if the user has enough privileges for viewing the blank report option with this transform- Returns:
 - boolean value indicating if the blank object should be available to the user or not.
 
 
- 
hasCreateXdaReportPrivileges
public boolean hasCreateXdaReportPrivileges()
- Returns:
 - boolean value indicating if the XDA blank report should be available to the user.
 - Since:
 - MicroStrategy Web 8.0.2
 
 
- 
hasCreateViewReportPrivileges
public boolean hasCreateViewReportPrivileges()
- Returns:
 - boolean value indicating if the blank view report should be available to the user.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
hasCreateReportPrivileges
public boolean hasCreateReportPrivileges()
- Returns:
 - boolean value indicating if the blank view report should be available to the user.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderList
public void renderList(MarkupOutput out, WebDisplayUnits list)
Deprecated.This method will later on not be called from by default logic on the application, please overwrite theAbstractFolderTransform.renderList(MarkupOutput out)method instead for customizations, the list of elements that the equivalent method for renderTemplateList will obtain the children to display from theAbstractFolderTransform.getSortedList()output.Extends the original method by calling instead two methods to render the folder contents to show to the user:renderBlankObject(MarkupOutput out)andrenderTemplateList(MarkupOutput out, WebDisplayUnits list)- Overrides:
 renderListin classFolderIconRadioButtonTransform- Parameters:
 out-MarkupOutputinstance to modify with the transform's output.list-WebDisplayUnitsinstance with the list of objects that will be rendered by this transform, as contents of the folder being analyzed.
 
- 
generateRadioButtonForObject
protected Tag generateRadioButtonForObject(WebEvent openEvent, WebObjectInfo object, boolean selected)
Overwrites the parent method by assigning JavaScript code to theonclickevent of the input tag if the user is on DHTML mode.- Overrides:
 generateRadioButtonForObjectin classFolderIconRadioButtonTransform- Parameters:
 openEvent-WebEventrepresenting the action to do with the given objectobject-WebObjectInfocurrently being processedselected- boolean indicating if the radio button should be selected or not- Returns:
 - the 
Taginitialized instance corresponding to the radio button generated. 
 
- 
isEmptyList
public boolean isEmptyList()
Description copied from class:AbstractFolderTransformReturnstrueif the list of elements from this folder available for display (AbstractFolderTransform.getSortedList()) is empty or not.- Overrides:
 isEmptyListin classAbstractFolderTransform- Returns:
 trueif the underlying object list is empty.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isEmptyList
public boolean isEmptyList(WebDisplayUnits list)
Deprecated.please useisEmptyList()instead, where the list to be analyzed is the one obtained fromAbstractFolderTransform.getSortedChildUnits().Indicates if there will be objects to display from the instance sent in as parameter. The check by default is the count of report objects included on the list.- Parameters:
 list-WebDisplayUnitslist instance initialized with the objects to render- Returns:
 - boolean value indicating if there are objects to be displayed out of this list.
 
 
- 
getObjectDescription
public java.lang.String getObjectDescription(WebObjectInfo object)
Overwrites the parent method by supplying a default description for the blank object as indicated on theblankObjectIdformal parameter- Overrides:
 getObjectDescriptionin classAbstractObjectInfoListTransform- Parameters:
 object-WebObjectInfoinstance from where to retrieve the description- Returns:
 - String with the object's description as defined, or a specific descriptor
 if the object being analyzed is the one defined on the 
blankObjectIdformal parameter. 
 
- 
getObjectName
public java.lang.String getObjectName(WebObjectInfo object)
Overwrites the parent method by supplying a default name for the blank object as indicated on theblankObjectIdformal parameter- Overrides:
 getObjectNamein classAbstractObjectInfoListTransform- Parameters:
 object-WebObjectInfoinstance from where to retrieve the name- Returns:
 - String with the object's name as defined, or a specific descriptor
 if the object being analyzed is the one defined on the 
blankObjectIdformal parameter. 
 
- 
renderBlankObject
public void renderBlankObject(MarkupOutput out)
Renders the first part of the transform, that is the part where the user might pick a "blank" report to start working. If the option is to be shown to the user, it then calls for theFolderIconRadioButtonTransform.renderObject(MarkupOutput out, WebObjectInfo object)method for the blank template.- Parameters:
 out-MarkupOutputinstance to modify with the transform's output. be rendered by this transform, as contents of the folder being analyzed.
 
- 
getCssName
public java.lang.String getCssName(WebObjectInfo object)
Overwrites the parent method by providing a special css style to the blank object.- Overrides:
 getCssNamein classAbstractObjectInfoListTransform- Parameters:
 object- TheWebObjectInfofor which it's image name is required.- Returns:
 - a 
Stringwith the name of the CSS class that should be associated with theWebObjectInfoinformation to display. If the type specified does not match the predefined list of styles, then it returns an empty string. If the object analyzed corresponds to the one specified on theblankObjectIdformal parameter then returns"blank". 
 
- 
renderTemplateList
public void renderTemplateList(MarkupOutput out) throws WebBeanException, WebObjectsException
Renders the list of templates in this folder. Calls for the other interface of the method sending the sorted child list as parameter.- Parameters:
 out-MarkupOutputinstance to modify with the transform's output. be rendered by this transform, as contents of the folder being analyzed.- Throws:
 WebBeanException- if an error happens while rendering this informationWebObjectsException- if an error happens while rendering this information
 
- 
renderTemplateList
public void renderTemplateList(MarkupOutput out, WebDisplayUnits list)
Renders the list of templates in this folder.- Parameters:
 out-MarkupOutputinstance to modify with the transform's output.list-WebDisplayUnitsinstance with the list of objects that will be rendered by this transform, as contents of the folder being analyzed.
 
- 
renderNameInfo
public void renderNameInfo(MarkupOutput out, WebObjectInfo object)
Overwrites the parent method by rendering only the name of the object if it's ofEnumDSSXMLObjectTypes.DssXmlTypeFoldertype. No radio button is to be created for it.- Overrides:
 renderNameInfoin classFolderIconRadioButtonTransform- Parameters:
 out-MarkupOutputinstance to modify with the transform's output.object-WebObjectInfoto have its name rendered.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderIconInfo
public void renderIconInfo(MarkupOutput out, WebObjectInfo object)
Overwrites the parent method by rendering only the image of the object as an anchor if it's ofEnumDSSXMLObjectTypes.DssXmlTypeFoldertype.- Overrides:
 renderIconInfoin classFolderIconRadioButtonTransform- Parameters:
 out-MarkupOutputinstance to modify with the transform's output.object-WebObjectInfoto have its image rendered.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isDesignModeOptionChecked
protected boolean isDesignModeOptionChecked()
Indicates whether or not Design mode checkbox is checked.
It readsvalueDesignModeCheckwhich is a custom property end-user can toggled on or off checkbox.- Returns:
 - boolean value indicating if the design mode option is checked or not.
 
 
- 
renderButtonOptions
public void renderButtonOptions(MarkupOutput out)
If the user has enough privileges, this method will display by default the option for allowing to run the selected report on design mode.- Parameters:
 out-MarkupOutputinstance to modify with the transform's output.
 
- 
isObjectVisible
public boolean isObjectVisible(WebObjectInfo object)
Extends parent method by returning false if the object is the blank report. We don't want to display this object as part of the template list since it has already been rendered by its own.- Overrides:
 isObjectVisiblein classAbstractFolderTransform- Parameters:
 object-WebObjectInfoinstance to check for.- Returns:
 Trueif object requested is visible, otherwise returnsFalse
 
- 
getOpenObjectEvent
protected WebEvent getOpenObjectEvent()
Overwrites the original method for returning theEnumServletEvents.WebEventEditReportevent instead.- Overrides:
 getOpenObjectEventin classFolderIconRadioButtonTransform- Returns:
 - a 
WebEventinstance intialized if the application supports it. Otherwise, returnsnull 
 
- 
getArgumentName
protected java.lang.String getArgumentName(WebEvent event, int argumentID)
For the given event, returns the name of the argument with the given ID. When overriding an specificgetEventmethod, clients can override this method as well to provide the corresponding argument for the new event. Since thegetOpenObjectEvent()method was redefined, this method is also updated for returning the correct object identifier argument from it.- Overrides:
 getArgumentNamein classAbstractAppTransform- Parameters:
 event-WebEventfrom which retrieve the argumentargumentID- argument Id from where to get its name.- Returns:
 - the argument name as defined by the event.
 
 
- 
renderDesignModeOption
protected void renderDesignModeOption(MarkupOutput out, WebEvent createEvent, boolean designMode)
Render a check box giving the option to have the report selected run in design mode. If the event has been customized, then this method should also be overwritten for the event argument identifiers to be correct.- Parameters:
 out-MarkupOutputwhere the HTML output will be savedcreateEvent-WebEventrepresenting the action to do with the given objectdesignMode-booleanindicating if design mode is selected.
 
- 
setBoneProperties
protected void setBoneProperties(JsonGenerator boneProps)
Description copied from class:AbstractAppTransformSets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClassformal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.- Overrides:
 setBonePropertiesin classAbstractFolderTransform- Parameters:
 boneProps- the JsonGenerator object that contains the collection of bone properties.
 
 - 
 
 -