Class AbstractFolderTransform
- 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
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 AppTransform,LayoutTransform,Transform
- Direct Known Subclasses:
 FolderBulletTransform,FolderDeleteObjectTransform,FolderDetailsTransform,FolderIconRadioButtonTransform,FolderIconTransform,FolderListTransform,FolderRadioButtonTransform,FolderSmallIconTransform,FolderViewTransform
public abstract class AbstractFolderTransform extends AbstractObjectInfoListTransform
AbstractFolderTransform is an abstract class that takes care of rendering folder-related information. All functional folder transform classes, such asFolderIconTransformandFolderViewTransformand others extend from it.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description classAbstractFolderTransform.ContextExtendsAbstractAppTransform.Contextby providing a link to the currentWebObjectInfo. 
- 
Field Summary
Fields Modifier and Type Field Description protected int_bandingIndexprotected int_imgHeightProperty for holding the value specified to the imgHeight formal parameterprotected int_imgWidthProperty for holding the value specified to the imgWidth formal parameterprotected WebDisplayUnits_sortedChildUnitsFormalParameterdatamartImageIndicates the image to use when displaying a datamart report.FormalParameterdocumentImageIndicates the image to use when displaying a document.FormalParameterexecTargetDetermines how the user want's to execute the Report/Document object.FormalParameterfilterImageIndicates the image to use when displaying a filter.FormalParameterfolderImageIndicates the image to use when displaying a folder.static java.lang.StringFP_CREATE_REPORT_DISPLAY_SECTIONConstant specifying the name of the formal parameter for defining which sections will be displayed in the Create Report page.static java.lang.StringFP_DATAMART_IMAGEConstant specifying the name of the formal parameter for defining the datamart image.static java.lang.StringFP_DOCUMENT_IMAGEConstant specifying the name of the formal parameter for defining the document image.static java.lang.StringFP_EXEC_TARGETDetermines how the user want's to execute the Report/Document object.static java.lang.StringFP_FILTER_IMAGEConstant specifying the name of the formal parameter for defining the filter image.static java.lang.StringFP_FOLDER_IMAGEConstant specifying the name of the formal parameter for defining the folder image.static java.lang.StringFP_GRAPH_IMAGEConstant specifying the name of the formal parameter for defining the graph image.static java.lang.StringFP_GRID_GRAPH_IMAGEConstant specifying the name of the formal parameter for defining the gridGraph image.static java.lang.StringFP_IMAGE_HEIGTHConstant specifying the name of the formal parameter for defining the image height.static java.lang.StringFP_IMAGE_WIDTHConstant specifying the name of the formal parameter for defining the image width.static java.lang.StringFP_LEVEL_FLAGConstant specifying the name of the formal parameter for defining the level flag.static java.lang.StringFP_MAX_OBJECT_TYPE_COUNTConstant specifying the name of the formal parameter for defining the maximum object type count.static java.lang.StringFP_REPORT_IMAGEConstant specifying the name of the formal parameter for defining the report image.static java.lang.StringFP_RW_DOCUMENT_IMAGEConstant specifying the name of the formal parameter for defining the report writing document image.static java.lang.StringFP_SORT_ASCENDINGConstant specifying the name of the formal parameter for defining the sort order of the folder contents.static java.lang.StringFP_SORT_FIELDConstant specifying the name of the formal parameter for defining the field from which the folder contents will be sorted.static java.lang.StringFP_TABLE_IDConstant specifying the name of the formal parameter for defining the table ID and NAME attributes of the HTML table to render.static java.lang.StringFP_TEMPLATE_IMAGEConstant specifying the name of the formal parameter for defining the template image.FormalParametergraphImageIndicates the image to use when displaying a graph.FormalParametergridGraphImageIndicates the image to use when displaying a grid-graph report.FormalParameterimageHeightIndicates the height of the images to be rendered next to the objects when displayed.FormalParameterimageWidthIndicates the width of the images to be rendered next to the objects when displayed.static intLEVEL_ALLAllowed value for thelevelFlagformal parameter.static intLEVEL_CONFIRM_DELETEAllowed value for thelevelFlagformal parameter.static intLEVEL_DELETEAllowed value for thelevelFlagformal parameter.static intLEVEL_DESCRIPTIONAllowed value for thelevelFlagformal parameter.static intLEVEL_DISPLAY_HEADERSAllowed value for thelevelFlagformal parameter.static intLEVEL_EDITAllowed value for thelevelFlagformal parameter.static intLEVEL_EMPTY_FOLDER_MESSAGEAllowed value for thelevelFlagformal parameter.static intLEVEL_EXPORT_EXCELAllowed value for thelevelFlagformal parameter.static intLEVEL_EXPORT_PDFAllowed value for thelevelFlagformal parameter.static intLEVEL_FOLDER_INFORMATIONAllowed value for thelevelFlagformal parameter.static intLEVEL_INCREMENTAL_FETCHAllowed value for thelevelFlagformal parameter.static intLEVEL_LOCATIONAllowed value for thelevelFlagformal parameter.static intLEVEL_MODIFIEDAllowed value for thecom.microstrategy.web.objects.rw.*; import com.microstrategy.web.tags.*; import com.microstrategy.web.transform.*; er. Specifies that the folder transform will display object's modified time.
Value = 8static intLEVEL_NAMEAllowed value for thelevelFlagformal parameter.static intLEVEL_OWNERAllowed value for thelevelFlagformal parameter.static intLEVEL_SEND_NOWAllowed value for thelevelFlagformal parameter.static intLEVEL_SUBSCRIPTIONAllowed value for thelevelFlagformal parameter.FormalParameterlevelFlagIndicates the level of information to use when displaying each folder item.FormalParametermaxObjectTypeCountIndicates any object count limit based on the object type.FormalParameterreportImageIndicates the image to use when displaying a report.FormalParameterrwDocumentImageIndicates the image to use when displaying a report writing document.FormalParametersortAscendingIndicates the order to use while sorting the folder contents.FormalParametersortFieldIndicates the field to use while sorting the folder contents.FormalParametertableIdIndicates the identifier to use when building up the HTML table to be rendered with the contents of the folder.FormalParametertemplateImageIndicates the image to use when displaying a template.- 
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 AbstractFolderTransform()Default no-argument constructor. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddScriptDependency(java.lang.String filename, java.lang.String loadCondition)Add javascript dependencebooleancanCreateSubscription(WebObjectInfo object)Checks if all privileges and access control are enabled to create an iServer subscription for this object.booleancanDelete(WebObjectInfo object)Checks if all privileges and access control are enabled to delete this object.booleancanEdit(WebObjectInfo object)Checks if all privileges and access control are enabled to edit this object.booleancanExecute(WebObjectInfo object)booleancanExport(WebObjectInfo object)Checks if all privileges and access control are enabled to export this object.booleancanExportToPDF(WebObjectInfo object)Checks if all privileges and access control are enabled to export to PDF this object.booleancanSendNow(WebObjectInfo object)Checks if all privileges and access control are enabled to create a send-now subscription for this object.protected booleancheckLevel(int level)Check if the level parameter value contains this flag.protected intgetBlockPosition()protected intgetBlockSize()protected intgetChildCount()protected TransformContextgetContext()ExtendsAbstractAppTransform.getContext()by setting to the context object a reference the currentWebObjectInfoprotected ContextMenugetContextMenu(WebObjectInfo object)Return the ContextMenu associated with the objectjava.util.MapgetContextMenuAttributes(WebObjectInfo object)Returns the context-menu specific attributes to assign to the context-menu containerWebEventgetDeleteEvent(WebObjectInfo object)Returns an initializedWebEventto delete an object.WebEventgetDeleteEvent(WebObjectInfo object, boolean confirmFirst)Returns an initializedWebEventto delete an object.WebEventgetEditEvent(WebObjectInfo object)Returns an initializedWebEventto edit an object.WebEventgetEvent(WebObjectInfo object)Based on the object type on theWebObjectInfosent as parameter, it creates and initializes the correspondingWebEventfor having the object opened or run.WebEventgetExportEvent(WebObjectInfo object)Returns an initializedWebEventto go to the Export page for an object.WebEventgetExportEvent(WebObjectInfo object, boolean fastLink)Deprecated.protected JsonGeneratorgetFeatures()WebEventgetFlashExportEvent(WebObjectInfo object)Returns an initialized WebEvent to go to the FlashExport page for an object.protected FolderBeangetFolderBean()Get the folderBean target of this transformprotected intgetFolderChildCount(WebFolder folder)intgetGoToArgument()WebEventgetGoToEvent()WebEventgetHtmlExportEvent(WebObjectInfo object)protected java.lang.StringgetImageName(WebObjectInfo object)Utility method that helps giving the image name to use - based on the information available on the formal parameters and on the the object type of theWebObjectInfoinstance.protected java.lang.StringgetImageSrc(WebObjectInfo object)Utility method that helps giving the source attribute for the image to use based on the object type of theWebObjectInfoinstance.protected java.util.ComparatorgetListComparator()WebEventgetMstrExportEvent(WebObjectInfo object)Returns web event to export VI Dashboard to .mstr formatprotected intgetOringalChildCount()Return child count in the folde, including those shortcuts objects filtered out based on type restrictionsWebEventgetPDFExportEvent(WebObjectInfo object)Returns an initialized WebEvent to go to the PDF Export page for an object.WebEventgetSendNowEvent(WebObjectInfo object)Returns aWebEventto send an object through emailprotected WebDisplayUnitsgetSortedChildUnits()Returns a sorted list containing the folder's child unitsjava.util.ListgetSortedList()WebEventgetSubscriptionsEvent(WebObjectInfo object)Returns (if possible) an initializedWebEventto go to the subscriptions of an objectjava.lang.ClassgetSupportedBeanType()Get the class of objects this transform is able to handle, which are of theFolderBeantype.WebEventgetViewMediaReportEvent(WebObjectInfo object, int viewMedia)WebEventgetViewMediaRWEvent(WebObjectInfo object, int viewMedia)voidinitializeCss()Initializes the Css classes to use.voidinitializeImages()Initializes the name of the images to use on this transform's output.protected voidinitializeSelectedItemsList()Initialize selected items list, based on the objectID request paramter.voidinitializeTransform(Transformable data)This method initialize the private and protected fields of the transform.booleanisEmptyList()Returnstrueif the list of elements from this folder available for display (getSortedList()) is empty or not.booleanisFeatureAvailable(java.lang.String feature)Extends isFeatureAvailable by maintaining a cache of the features to use.booleanisFolderEmpty()Deprecated.please useisEmptyList()insteadprotected booleanisObjectRunableinPauseMode(WebObjectInfo object)protected booleanisObjectSelected(WebObjectInfo object)Utility method that checks if theWebObjectInfois among the selected list, based on its ID.protected booleanisObjectVisible(WebObjectInfo object)Utility method that checks if the object should be displayed or not, based on the information provided on themaxObjectTypeCountformal parameter and the current number of objects of that type that have been rendered alreadyprotected booleanisViewableReport(WebObjectInfo object)A report is viewable if its subtype is not EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportDatamart, EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportNonInteractive or EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportCubeprotected TransformContextnewContext()Creates a new instance of a TransformContext.voidrenderEmptyList(MarkupOutput out)Renders the folder when it has no children.voidrenderEmptyList(MarkupOutput out, WebFolder folder)Deprecated.please userenderEmptyList(MarkupOutput)instead.voidrenderImage(MarkupOutput out, java.lang.String image)Renders a transform's image.voidrenderJavaScript()voidrenderList(MarkupOutput out)Renders the folder contents when it does have children, which will be obtained from thegetSortedChildUnits()method.abstract voidrenderList(MarkupOutput out, WebDisplayUnits children)Deprecated.please note that this method will later on be replaced by usingrenderList(MarkupOutput out)directly, having the list of children to be rendered there will come from thegetSortedList()method.voidrenderObjectCount(MarkupOutput out)This method render the section that displays the number of objects found.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.voidtransformForRequestSuccessful(MarkupOutput out)Transforms the assosciatedWebBeanwhen its status isEnumRequestStatus.WebBeanRequestSuccessful.- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
addCSSForObjectType, getCssName, getDereferenceShortcuts, getImageTooltip, getIncrementalFetchComponent, getListItemAttributes, getNameWrapperTag, getObjectAbbreviation, getObjectDescription, getObjectModificationTime, getObjectName, getOwnerName, getPathTransform, getVisualizationMode, getVisualizationMode, isUserEnabled, isVisualizationObject, isVisualizationObject, renderAbbreviationInfo, renderAbbreviationInfo, renderDescriptionInfo, renderDescriptionInfo, renderIconInfo, renderIncrementalFetch, renderIsUserEnabled, renderIsUserEnabled, renderLayeredIconInfo, renderLayeredIconInfo, renderLocationInfo, renderModifiedInfo, renderNameInfo, renderObject, renderOwnerInfo 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchor, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getBoneId, getCancelEvent, getClientSideHelper, getContainerServices, 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, 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, getDescription, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, supports, supports, transform 
 - 
 
 - 
 
- 
- 
Field Detail
- 
LEVEL_NAME
public static final int LEVEL_NAME
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display object's name.
Value = 1- See Also:
 - Constant Field Values
 
 
- 
LEVEL_DESCRIPTION
public static final int LEVEL_DESCRIPTION
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display object's description.
Value = 2- See Also:
 - Constant Field Values
 
 
- 
LEVEL_OWNER
public static final int LEVEL_OWNER
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display object's owner.
Value = 4- See Also:
 - Constant Field Values
 
 
- 
LEVEL_MODIFIED
public static final int LEVEL_MODIFIED
Allowed value for thecom.microstrategy.web.objects.rw.*; import com.microstrategy.web.tags.*; import com.microstrategy.web.transform.*; er. Specifies that the folder transform will display object's modified time.
Value = 8- See Also:
 - Constant Field Values
 
 
- 
LEVEL_DELETE
public static final int LEVEL_DELETE
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display a link for deleting the object.
Value = 16- See Also:
 - Constant Field Values
 
 
- 
LEVEL_SUBSCRIPTION
public static final int LEVEL_SUBSCRIPTION
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display the link for creating subscriptions to the object.
Value = 32- See Also:
 - Constant Field Values
 
 
- 
LEVEL_EDIT
public static final int LEVEL_EDIT
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display the link for editing the object.
Value = 64- See Also:
 - Constant Field Values
 
 
- 
LEVEL_LOCATION
public static final int LEVEL_LOCATION
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display the object's location (folder path).
Value = 128- See Also:
 - Constant Field Values
 
 
- 
LEVEL_EMPTY_FOLDER_MESSAGE
public static final int LEVEL_EMPTY_FOLDER_MESSAGE
Allowed value for thelevelFlagformal parameter. Specifies that if the folder is empty, a message should be displayed about it
Value = 256- See Also:
 - Constant Field Values
 
 
- 
LEVEL_CONFIRM_DELETE
public static final int LEVEL_CONFIRM_DELETE
Allowed value for thelevelFlagformal parameter. Specifies whether the delete link should use a confirm delete event, or the delete event directly
Value = 512- See Also:
 - Constant Field Values
 
 
- 
LEVEL_INCREMENTAL_FETCH
public static final int LEVEL_INCREMENTAL_FETCH
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform includes incremental fetch arrows
Value = 4096- See Also:
 - Constant Field Values
 
 
- 
LEVEL_SEND_NOW
public static final int LEVEL_SEND_NOW
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display the link for performing Narrowcast Send Now action on the object.
Value = 8192- See Also:
 - Constant Field Values
 
 
- 
LEVEL_EXPORT_PDF
public static final int LEVEL_EXPORT_PDF
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display the link for performing PDF exporting action on the object.
Value = 16384- See Also:
 - Constant Field Values
 
 
- 
LEVEL_EXPORT_EXCEL
public static final int LEVEL_EXPORT_EXCEL
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display the link for performing Excel exporting action on the object.
Value = 32768- See Also:
 - Constant Field Values
 
 
- 
LEVEL_DISPLAY_HEADERS
public static final int LEVEL_DISPLAY_HEADERS
Allowed value for thelevelFlagformal parameter. Specifies that the folder transform will display its header before rendering the different columns with information about the contents of the folder. If the transform does not include a header, then this flag has no effect on the final result. Value = 65536- See Also:
 - Constant Field Values
 
 
- 
LEVEL_FOLDER_INFORMATION
public static final int LEVEL_FOLDER_INFORMATION
Allowed value for thelevelFlagformal parameter. Specifies that the folder information (such as its description) will be displayed. Value = 131072- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
LEVEL_ALL
public static final int LEVEL_ALL
Allowed value for thelevelFlagformal parameter. Convenience flag that includes all possible LEVEL values.
Value = 16777215- See Also:
 - Constant Field Values
 
 
- 
levelFlag
public FormalParameter levelFlag
Indicates the level of information to use when displaying each folder item.
The information may include object name, description and other information. Multiple fields might be rendered at the same time. For indicating which fields to show, the value to assign to this formal parameter should be a bitwise flag combining constants such asLEVEL_NAME,LEVEL_DESCRIPTION,LEVEL_OWNER, etc. For a complete list, refer toAbstractFolderTransform.
Please note that if a layout XML definition is being used for rendering the transform's output, thelevelFlagformal parameter value will be ignored. Usage: If name, description and owner should be displayed, the value to assign to the formal parameter would be 7 (1 + 2 + 4). Default value isLEVEL_ALL 
- 
maxObjectTypeCount
public FormalParameter maxObjectTypeCount
Indicates any object count limit based on the object type.
With this formal parameter, it can be specified how many objects of which types will be displayed with this transform. The value to assign should have the following format:objectType1:objectCount1;objectType2:objectCount2where objectType is the numeric type of the object (EnumDSSXMLObjectTypes), and objectCount is how many of these objects will be displayed.
Usage: If only up to five reports should be displayed, the value to assign to the formal parameter would be "3:5;-1:0", where 3 is the numberic object type for reports (EnumDSSXMLObjectTypes.DssXmlTypeReportDefinition) and 5 indicates how many should be displayed as maximum. If a limit wants to be defined for all objects, regardless of their type, -1 can be used as object type, On the example it's value is zero, so it indicates no other types will be considered but Report Definition, For unlimited display, "-1" can be used as object count. By default no limit is set to any object type. 
- 
folderImage
public FormalParameter folderImage
Indicates the image to use when displaying a folder.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter. 
- 
graphImage
public FormalParameter graphImage
Indicates the image to use when displaying a graph.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter. 
- 
gridGraphImage
public FormalParameter gridGraphImage
Indicates the image to use when displaying a grid-graph report.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.- Since:
 - MicroStrategy Web 7.5.0
 
 
- 
reportImage
public FormalParameter reportImage
Indicates the image to use when displaying a report.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter. 
- 
datamartImage
public FormalParameter datamartImage
Indicates the image to use when displaying a datamart report.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter. 
- 
documentImage
public FormalParameter documentImage
Indicates the image to use when displaying a document.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter. 
- 
rwDocumentImage
public FormalParameter rwDocumentImage
Indicates the image to use when displaying a report writing document.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter.- Since:
 - MicroStrategy Web 7.5.0
 
 
- 
filterImage
public FormalParameter filterImage
Indicates the image to use when displaying a filter.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter. 
- 
templateImage
public FormalParameter templateImage
Indicates the image to use when displaying a template.
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImageapplication configuration parameter. 
- 
imageWidth
public FormalParameter imageWidth
Indicates the width of the images to be rendered next to the objects when displayed.
The value indicated will be used for the images of all object types. If the default image formal parameters values are changed, chances are this value will have to be updated as well. 
- 
_imgWidth
protected int _imgWidth
Property for holding the value specified to the imgWidth formal parameter 
- 
imageHeight
public FormalParameter imageHeight
Indicates the height of the images to be rendered next to the objects when displayed.
The value indicated will be used for the images of all object types. If the default image formal parameters values are changed, chances are this value will have to be updated as well. 
- 
_imgHeight
protected int _imgHeight
Property for holding the value specified to the imgHeight formal parameter 
- 
tableId
public FormalParameter tableId
Indicates the identifier to use when building up the HTML table to be rendered with the contents of the folder. By default, the string to use for the ID and NAME attributes of the <TABLE> HTML tag is empty. 
- 
sortAscending
public FormalParameter sortAscending
Indicates the order to use while sorting the folder contents.
By default, the value of this parameter is true, which means that the folder contents will be sorted ascending.- Since:
 - MicroStrategy Web 7.5.0
 
 
- 
sortField
public FormalParameter sortField
Indicates the field to use while sorting the folder contents. The value of the formal parameter should be taken from theEnumWebObjectSortenumeration, which indicates the type of field tu use, for example, sorting on name, description, owner, etc.
The default value isEnumWebObjectSort.WebObjectSortObjectNameFoldersFirst.
ThesortAscendingandsortFieldparameter are used in conjunction to sort by a particular field on the foder page.
For example: Setting these parameters to false, andEnumWebObjectSort.WebObjectSortObjectOwnerrespectively will sort the contents of the folder page in descending order based on the Owner filed- Since:
 - MicroStrategy Web 7.5.0
 
 
- 
execTarget
public FormalParameter execTarget
Determines how the user want's to execute the Report/Document object. If set to "_blank" it will open a new window, if empty the link will be executed in the same window. 
- 
FP_LEVEL_FLAG
public static final java.lang.String FP_LEVEL_FLAG
Constant specifying the name of the formal parameter for defining the level flag. Value is levelFlag.- See Also:
 - Constant Field Values
 
 
- 
FP_MAX_OBJECT_TYPE_COUNT
public static final java.lang.String FP_MAX_OBJECT_TYPE_COUNT
Constant specifying the name of the formal parameter for defining the maximum object type count. Value is maxObjectTypeCount.- See Also:
 - Constant Field Values
 
 
- 
FP_TABLE_ID
public static final java.lang.String FP_TABLE_ID
Constant specifying the name of the formal parameter for defining the table ID and NAME attributes of the HTML table to render. Value is tableId.- See Also:
 - Constant Field Values
 
 
- 
FP_FOLDER_IMAGE
public static final java.lang.String FP_FOLDER_IMAGE
Constant specifying the name of the formal parameter for defining the folder image. Value is folderImage.- See Also:
 - Constant Field Values
 
 
- 
FP_GRAPH_IMAGE
public static final java.lang.String FP_GRAPH_IMAGE
Constant specifying the name of the formal parameter for defining the graph image. Value is graphImage.- See Also:
 - Constant Field Values
 
 
- 
FP_GRID_GRAPH_IMAGE
public static final java.lang.String FP_GRID_GRAPH_IMAGE
Constant specifying the name of the formal parameter for defining the gridGraph image. Value is gridGraphImage.- Since:
 - MicroStrategy Web 7.5.0
 - See Also:
 - Constant Field Values
 
 
- 
FP_REPORT_IMAGE
public static final java.lang.String FP_REPORT_IMAGE
Constant specifying the name of the formal parameter for defining the report image. Value is reportImage.- See Also:
 - Constant Field Values
 
 
- 
FP_DATAMART_IMAGE
public static final java.lang.String FP_DATAMART_IMAGE
Constant specifying the name of the formal parameter for defining the datamart image. Value is datamartImage.- See Also:
 - Constant Field Values
 
 
- 
FP_DOCUMENT_IMAGE
public static final java.lang.String FP_DOCUMENT_IMAGE
Constant specifying the name of the formal parameter for defining the document image. Value is documentImage.- See Also:
 - Constant Field Values
 
 
- 
FP_RW_DOCUMENT_IMAGE
public static final java.lang.String FP_RW_DOCUMENT_IMAGE
Constant specifying the name of the formal parameter for defining the report writing document image. Value is rwDocumentImage.- Since:
 - MicroStrategy Web 7.5.0
 - See Also:
 - Constant Field Values
 
 
- 
FP_FILTER_IMAGE
public static final java.lang.String FP_FILTER_IMAGE
Constant specifying the name of the formal parameter for defining the filter image. Value is filterImage.- See Also:
 - Constant Field Values
 
 
- 
FP_TEMPLATE_IMAGE
public static final java.lang.String FP_TEMPLATE_IMAGE
Constant specifying the name of the formal parameter for defining the template image. Value is templateImage.- See Also:
 - Constant Field Values
 
 
- 
FP_IMAGE_WIDTH
public static final java.lang.String FP_IMAGE_WIDTH
Constant specifying the name of the formal parameter for defining the image width. Value is imageWidth.- See Also:
 - Constant Field Values
 
 
- 
FP_IMAGE_HEIGTH
public static final java.lang.String FP_IMAGE_HEIGTH
Constant specifying the name of the formal parameter for defining the image height. Value is imageHeight.- See Also:
 - Constant Field Values
 
 
- 
FP_SORT_ASCENDING
public static final java.lang.String FP_SORT_ASCENDING
Constant specifying the name of the formal parameter for defining the sort order of the folder contents. Value is sortAscending.- Since:
 - MicroStrategy Web 7.5.0
 - See Also:
 - Constant Field Values
 
 
- 
FP_SORT_FIELD
public static final java.lang.String FP_SORT_FIELD
Constant specifying the name of the formal parameter for defining the field from which the folder contents will be sorted. Value is sortField.- Since:
 - MicroStrategy Web 7.5.0
 - See Also:
 - Constant Field Values
 
 
- 
FP_CREATE_REPORT_DISPLAY_SECTION
public static final java.lang.String FP_CREATE_REPORT_DISPLAY_SECTION
Constant specifying the name of the formal parameter for defining which sections will be displayed in the Create Report page. Value is displaySection.- Since:
 - MicroStrategy Web 7.5.1
 - See Also:
 - Constant Field Values
 
 
- 
FP_EXEC_TARGET
public static final java.lang.String FP_EXEC_TARGET
Determines how the user want's to execute the Report/Document object. If set to "_blank" it will open a new window, if empty the link will be executed in the same window.- See Also:
 - Constant Field Values
 
 
- 
_sortedChildUnits
protected WebDisplayUnits _sortedChildUnits
- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
_bandingIndex
protected int _bandingIndex
- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
- 
Method Detail
- 
initializeTransform
public void initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform. Extends initializeTransform by initializing the cache of this transform's Formal parameters.- Specified by:
 initializeTransformin interfaceAppTransform- Overrides:
 initializeTransformin classAbstractAppTransform- Parameters:
 data-Transformableinstance with the bean to be transformed.
 
- 
initializeImages
public void initializeImages()
Initializes the name of the images to use on this transform's output. For each one of the images defined to be displayed, the resource folder information is added to its path and file name as specified on the formal parameters for the images.- Overrides:
 initializeImagesin classAbstractObjectInfoListTransform
 
- 
initializeCss
public void initializeCss()
Initializes the Css classes to use. For each one of the css classes to use, the prefix indicated on the formal parameter is added to the name of the class to use.- Overrides:
 initializeCssin classAbstractAppTransform
 
- 
isFeatureAvailable
public boolean isFeatureAvailable(java.lang.String feature)
Extends isFeatureAvailable by maintaining a cache of the features to use. Since we ask for the same feature for all objects, it's faster to keep it on a cache than calculate it each time.- Overrides:
 isFeatureAvailablein classAbstractAppTransform- Parameters:
 feature- the feature to check for.- Returns:
 Trueif the feature is available, otherwise returnsFalse.
 
- 
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Transforms the assosciatedWebBeanwhen its status isEnumRequestStatus.WebBeanRequestSuccessful.- Overrides:
 transformForRequestSuccessfulin classAbstractObjectInfoListTransform- Parameters:
 out-MarkupOutputinstance where the contents of this transform will be saved.- See Also:
 AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
 
- 
getFeatures
protected JsonGenerator getFeatures()
 
- 
getSortedList
public java.util.List getSortedList()
- Specified by:
 getSortedListin classAbstractObjectInfoListTransform- Returns:
 - a 
Listinstance with all the elements from the bean to be rendered by this transform. The contents will already be sorted if required. - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getSortedChildUnits
protected WebDisplayUnits getSortedChildUnits() throws WebBeanException, WebObjectsException
Returns a sorted list containing the folder's child units- Returns:
 - a 
WebDisplayUnits} instance with the folder contents sorted as requested by thesortFieldandsortAscendingformal parameters of the transform. - Throws:
 WebBeanException- if an error happens getting the child unitsWebObjectsException- if an error happens getting the child units- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getListComparator
protected java.util.Comparator getListComparator()
- Returns:
 Comparatorinstance to be used to sort the children of the underlying folder to be rendered- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isFolderEmpty
@Deprecated public boolean isFolderEmpty()
Deprecated.please useisEmptyList()instead- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
isEmptyList
public boolean isEmptyList()
Returnstrueif the list of elements from this folder available for display (getSortedList()) is empty or not.- Specified by:
 isEmptyListin classAbstractObjectInfoListTransform- Returns:
 trueif the underlying object list is empty.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderEmptyList
@Deprecated public void renderEmptyList(MarkupOutput out, WebFolder folder)
Deprecated.please userenderEmptyList(MarkupOutput)instead. The folder to access will be the available for this transform.Renders the folder when it has no children. The HTML to render for this case includes only a SPAN HTML tag, with the empty-list corresponding style, displaying the localized descriptor for This folder is empty.- Parameters:
 out-MarkupOutputinstance where the transform's output will be saved.folder- theWebFolderinstance from theFolderBeanbeing transformed.
 
- 
renderEmptyList
public void renderEmptyList(MarkupOutput out)
Renders the folder when it has no children. The HTML to render for this case includes only a SPAN HTML tag, with the empty-list corresponding style, displaying the localized descriptor for This folder is empty.- Overrides:
 renderEmptyListin classAbstractObjectInfoListTransform- Parameters:
 out-MarkupOutputinstance where the transform's output will be saved.- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
renderImage
public void renderImage(MarkupOutput out, java.lang.String image)
Renders a transform's image. If the image to display is one of the defined with the formal parameters, then theimageWidthandimageHeightformal parameter values will be applied to them.- Overrides:
 renderImagein classAbstractAppTransform- Parameters:
 out-MarkupOutputinstance where to write the output of the method.image-Stringwith the image name to display
 
- 
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Get the class of objects this transform is able to handle, which are of theFolderBeantype.- Specified by:
 getSupportedBeanTypein interfaceTransform- Overrides:
 getSupportedBeanTypein classAbstractAppTransform- Returns:
 - a 
Classinstance with the information about the beans this transform is able to manipulate. 
 
- 
getGoToEvent
public WebEvent getGoToEvent()
- Specified by:
 getGoToEventin classAbstractObjectInfoListTransform- Returns:
 WebEventinstance with the information for handling incremental fetch requests on the list of objects being rendered by this transform. If not supported, it will returnnull- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getGoToArgument
public int getGoToArgument()
- Specified by:
 getGoToArgumentin classAbstractObjectInfoListTransform- Returns:
 - the identifier of the argument on the 
AbstractObjectInfoListTransform.getGoToEvent()event where the element to navigate to will be specified. - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getBlockPosition
protected int getBlockPosition()
- Specified by:
 getBlockPositionin classAbstractObjectInfoListTransform- Returns:
 - value of the property indicating the index of the first element currently being viewed as part of the list output. Used for incremental fetch purposes.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getBlockSize
protected int getBlockSize()
- Specified by:
 getBlockSizein classAbstractObjectInfoListTransform- Returns:
 - value of the property indicating the number of elements included on a single 'page' of the list output. Used for incremental fetch purposes.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getChildCount
protected int getChildCount()
- Specified by:
 getChildCountin classAbstractObjectInfoListTransform- Returns:
 - the total number of elements that are included on the list that could be rendered by this transform. Used for incremental fetch purposes.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getOringalChildCount
protected int getOringalChildCount()
Return child count in the folde, including those shortcuts objects filtered out based on type restrictions- Since:
 - MicroStrategy Web 9.3.0
 
 
- 
renderObjectCount
public void renderObjectCount(MarkupOutput out)
This method render the section that displays the number of objects found. Used for the report - all objects tab of the object browser- Parameters:
 out- MarkupOutput- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getFolderChildCount
protected int getFolderChildCount(WebFolder folder)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderList
public void renderList(MarkupOutput out)
Renders the folder contents when it does have children, which will be obtained from thegetSortedChildUnits()method.- Overrides:
 renderListin classAbstractObjectInfoListTransform- Parameters:
 out-MarkupOutputinstance to modify with the transform's output.- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
renderList
@Deprecated public abstract void renderList(MarkupOutput out, WebDisplayUnits children)
Deprecated.please note that this method will later on be replaced by usingrenderList(MarkupOutput out)directly, having the list of children to be rendered there will come from thegetSortedList()method. Please consider then overwriting the code fromrenderList(MarkupOutput out)instead of from this method.Renders the folder contents when it does have children.- Parameters:
 out-MarkupOutputinstance to modify with the transform's output.children-WebDisplayUnitsinstance with the list of objects that will be rendered by this transform, as contents of the folder being analyzed.
 
- 
canCreateSubscription
public boolean canCreateSubscription(WebObjectInfo object)
Checks if all privileges and access control are enabled to create an iServer subscription for this object.- Parameters:
 object- the correspondingWebObjectInfo- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canExecute
public boolean canExecute(WebObjectInfo object)
- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
canExport
public boolean canExport(WebObjectInfo object)
Checks if all privileges and access control are enabled to export this object.- Parameters:
 object- the correspondingWebObjectInfo- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canExportToPDF
public boolean canExportToPDF(WebObjectInfo object)
Checks if all privileges and access control are enabled to export to PDF this object.- Parameters:
 object- the correspondingWebObjectInfo- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canSendNow
public boolean canSendNow(WebObjectInfo object)
Checks if all privileges and access control are enabled to create a send-now subscription for this object.- Parameters:
 object- the correspondingWebObjectInfo- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canDelete
public boolean canDelete(WebObjectInfo object)
Checks if all privileges and access control are enabled to delete this object.- Parameters:
 object- the correspondingWebObjectInfo- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
isObjectRunableinPauseMode
protected boolean isObjectRunableinPauseMode(WebObjectInfo object)
 
- 
canEdit
public boolean canEdit(WebObjectInfo object)
Checks if all privileges and access control are enabled to edit this object.- Parameters:
 object- the correspondingWebObjectInfo- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getSubscriptionsEvent
public WebEvent getSubscriptionsEvent(WebObjectInfo object)
Returns (if possible) an initializedWebEventto go to the subscriptions of an object- Parameters:
 object- theWebObjectInfoof the object to see its subscriptions- Returns:
 - the 
WebEventinitialized if possible,nullif the application doesn't support it. 
 
- 
getExportEvent
@Deprecated public WebEvent getExportEvent(WebObjectInfo object, boolean fastLink)
Deprecated.Returns an initializedWebEventto go to the Export page for an object. Currently this method handles onlyEnumDSSXMLObjectTypes.DssXmlTypeReportDefinitionandEnumDSSXMLObjectTypes.DssXmlTypeDocumentDefinitionobjects.- Parameters:
 object- theWebObjectInfoinstance which will be exported if the event is called.fastLink-booleanthat indicates if the link to generate for the export is for a report or document that has not been yet run.- Returns:
 - an initialized 
WebEventobject if the application supports it. Otherwise, will returnnull. 
 
- 
getExportEvent
public WebEvent getExportEvent(WebObjectInfo object)
Returns an initializedWebEventto go to the Export page for an object. Currently this method handles onlyEnumDSSXMLObjectTypes.DssXmlTypeReportDefinitionandEnumDSSXMLObjectTypes.DssXmlTypeDocumentDefinitionobjects.- Parameters:
 object- theWebObjectInfoinstance which will be exported if the event is called.- Returns:
 - an initialized 
WebEventobject if the application supports it. Otherwise, will returnnull. 
 
- 
getPDFExportEvent
public WebEvent getPDFExportEvent(WebObjectInfo object)
Returns an initialized WebEvent to go to the PDF Export page for an object. Currently this method handles onlyEnumDSSXMLObjectTypes.DssXmlTypeReportDefinitionandEnumDSSXMLObjectTypes.DssXmlTypeDocumentDefinitionofEnumDSSXMLObjectSubTypes.DssXmlSubTypeReportWritingDocumentsubtype objects.- Parameters:
 object- theWebObjectInfoinstance which will be exported if the event is called.- Returns:
 - an initialized 
WebEventobject if the application supports it. Otherwise, will returnnull. 
 
- 
getFlashExportEvent
public WebEvent getFlashExportEvent(WebObjectInfo object)
Returns an initialized WebEvent to go to the FlashExport page for an object. Currently this method handles onlyEnumDSSXMLObjectSubTypes.DssXmlSubTypeReportWritingDocumentsubtype objects.- Parameters:
 object- theWebObjectInfoinstance which will be exported if the event is called.- Returns:
 - an initialized 
WebEventobject if the application supports it. Otherwise, will returnnull. - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getMstrExportEvent
public WebEvent getMstrExportEvent(WebObjectInfo object)
Returns web event to export VI Dashboard to .mstr format- Parameters:
 object- theWebObjectInfoinstance which will be exported if the event is called.- Returns:
 - an initialized 
WebEventobject if the application supports it. Otherwise, will returnnull. - Since:
 - MicroStrategy Web 9.5
 
 
- 
getHtmlExportEvent
public WebEvent getHtmlExportEvent(WebObjectInfo object)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isViewableReport
protected boolean isViewableReport(WebObjectInfo object)
A report is viewable if its subtype is not EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportDatamart, EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportNonInteractive or EnumDSSXMLObjectSubTypes.DssXmlSubTypeReportCube- Parameters:
 object-- Returns:
 - whether the report is viewable
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getSendNowEvent
public WebEvent getSendNowEvent(WebObjectInfo object)
Returns aWebEventto send an object through email- Parameters:
 object- theWebObjectInfoof the object to send- Returns:
 - the 
WebEventinstance if possible otherwise,nullif the application doesn't support it. 
 
- 
getDeleteEvent
public WebEvent getDeleteEvent(WebObjectInfo object)
Returns an initializedWebEventto delete an object.- Parameters:
 object- theWebObjectInfoinstance of the object to delete.- Returns:
 - the 
WebEventinstance initialized if possible,nullif the application doesn't support it. 
 
- 
getDeleteEvent
public WebEvent getDeleteEvent(WebObjectInfo object, boolean confirmFirst)
Returns an initializedWebEventto delete an object.- Parameters:
 object- theWebObjectInfoinstance of the object to delete.- Returns:
 - the 
WebEventinstance initialized if possible,nullif the application doesn't support it. - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getEditEvent
public WebEvent getEditEvent(WebObjectInfo object)
Returns an initializedWebEventto edit an object.- Parameters:
 object- theWebObjectInfoinstance of the object to edit.- Returns:
 - the 
WebEventinstance initialized if possible,nullif the application doesn't support it. 
 
- 
getViewMediaRWEvent
public WebEvent getViewMediaRWEvent(WebObjectInfo object, int viewMedia)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getViewMediaReportEvent
public WebEvent getViewMediaReportEvent(WebObjectInfo object, int viewMedia)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getEvent
public WebEvent getEvent(WebObjectInfo object)
Based on the object type on theWebObjectInfosent as parameter, it creates and initializes the correspondingWebEventfor having the object opened or run.- Specified by:
 getEventin classAbstractObjectInfoListTransform- Parameters:
 object- aWebObjectInfofor which the "execution" event must be retrieved.- Returns:
 - The default event associated with the execution of this object. i.e.
 
- For a
 EnumDSSXMLObjectTypes.DssXmlTypeReportDefinition, theEnumReportBeanEvents.REPORT_EVENT_EXECUTEevent,- For a
 EnumDSSXMLObjectTypes.DssXmlTypeFolder, theEnumFolderBeanEvents.FOLDER_EVENT_BROWSEevent.- For a
 EnumDSSXMLObjectTypes.DssXmlTypeDocumentDefinition, theEnumDocumentBeanEvents.DOCUMENT_EVENT_EXECUTE_DOCUMENTevent.- For a
 EnumDSSXMLObjectTypes.DssXmlTypeFilter, theEnumServletEvents.WebEventSelectFilterevent.- For a
 EnumDSSXMLObjectTypes.DssXmlTypeTemplate, theEnumServletEvents.WebEventSelectTemplateevent.
If these events cannot be created or there are not enough privileges for the user to "execute" the object, it will returnnull. - For a
 
 
- 
getFolderBean
protected FolderBean getFolderBean()
Get the folderBean target of this transform- Returns:
 - the 
FolderBeaninstance used with this transform 
 
- 
checkLevel
protected boolean checkLevel(int level)
Check if the level parameter value contains this flag. This method callsAbstractAppTransform.checkLevel(int level, FormalParameter parameter)using thelevelFlagformal parameter.- Parameters:
 level- flag value to check for.- Returns:
 - true means the level flag is included in the levelFlag formal parameter value
 
 
- 
getImageName
protected java.lang.String getImageName(WebObjectInfo object)
Utility method that helps giving the image name to use - based on the information available on the formal parameters and on the the object type of theWebObjectInfoinstance.- Overrides:
 getImageNamein classAbstractObjectInfoListTransform- Parameters:
 object- TheWebObjectInfofor which it's image name is required.- Returns:
 - a 
Stringwith the name of the image associated with theWebObjectInfo. If the type specified does not match the predefined list of styles, then it returns the file name and path for the blank (transparent) image. 
 
- 
getImageSrc
protected java.lang.String getImageSrc(WebObjectInfo object)
Utility method that helps giving the source attribute for the image to use based on the object type of theWebObjectInfoinstance. This method is used only when the user has turned on the Accessibility preference.- Parameters:
 object- TheWebObjectInfofor which it's image name is required.- Returns:
 - a 
Stringwith the image path that should be associated with theWebObjectInfoinformation to display. If the type specified does not match the predefined list of styles, then it returns a blank image. - Since:
 - MicroStrategy Web 8.1.1
 
 
- 
isObjectVisible
protected boolean isObjectVisible(WebObjectInfo object)
Utility method that checks if the object should be displayed or not, based on the information provided on themaxObjectTypeCountformal parameter and the current number of objects of that type that have been rendered already- Parameters:
 object-WebObjectInfowith the object to check for.- Returns:
 Trueif the object should be displayed, otherwise returnsFalse
 
- 
isObjectSelected
protected boolean isObjectSelected(WebObjectInfo object)
Utility method that checks if theWebObjectInfois among the selected list, based on its ID. This is controled by the objectID request parameter value specified.- Parameters:
 object-WebObjectInfowith the object to check for.- Returns:
 Trueif the object is selected, otherwise returnsFalse
 
- 
initializeSelectedItemsList
protected void initializeSelectedItemsList()
Initialize selected items list, based on the objectID request paramter. Each element is separated by; 
- 
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 classAbstractAppTransform- Parameters:
 boneProps- the JsonGenerator object that contains the collection of bone properties.
 
- 
getContextMenuAttributes
public java.util.Map getContextMenuAttributes(WebObjectInfo object)
Returns the context-menu specific attributes to assign to the context-menu container- Parameters:
 object- WebObjectInfo- Returns:
 - Map
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getContextMenu
protected ContextMenu getContextMenu(WebObjectInfo object)
Return the ContextMenu associated with the object- Parameters:
 object-WebObjectInfo- Returns:
 - ContextMenu 
ContextMenu - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getContext
protected TransformContext getContext()
ExtendsAbstractAppTransform.getContext()by setting to the context object a reference the currentWebObjectInfo- Overrides:
 getContextin classAbstractAppTransform- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 AbstractAppTransform.getContextMenu(java.lang.String)
 
- 
newContext
protected TransformContext newContext()
Description copied from class:AbstractAppTransformCreates a new instance of a TransformContext. It's used by the getContext method the first time is invoked. Transforms who require to include extra information in the context should create their own TransformContext implementation (possibly a subclass of AppTransformContext) and returns a new instance in this method.- Overrides:
 newContextin classAbstractAppTransform- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
addScriptDependency
public void addScriptDependency(java.lang.String filename, java.lang.String loadCondition)Add javascript dependence 
- 
renderJavaScript
public void renderJavaScript()
 
 - 
 
 -