Class ObjectPathXHTMLTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.ObjectPathTransform
-
- com.microstrategy.web.app.transforms.ObjectPathXHTMLTransform
-
- All Implemented Interfaces:
AppTransform,LayoutTransform,Transform
- Direct Known Subclasses:
ObjectReportXHTMLPathTransform
@Deprecated public class ObjectPathXHTMLTransform extends ObjectPathTransform
Deprecated.usePathTransforminsteadObjectPathXHTMLTransformextendsObjectPathTransformby adding a couple of new buttons: go one folder up, and create folder.- 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 static intLEVEL_HOME_BUTTONDeprecated.please use the layout xmlstatic intLEVEL_NEW_FOLDER_BUTTONDeprecated.please use the layout xmlstatic intLEVEL_PARENT_UP_BUTTONDeprecated.please use the layout xml-
Fields inherited from class com.microstrategy.web.app.transforms.ObjectPathTransform
_event, _objectName, _showLink, cssItemNameCache, cssUnselectedItemNameCache, dividerCharacters, extraItemNameHREFAnchorInfo, FP_CHARS_FOR_DIVIDER, FP_CHARS_FOR_HIDDEN_FOLDERS, FP_EXTRA_ANCHOR_INFO, FP_IS_SELF_CONTAINED, FP_LEVEL_FLAG, FP_OPEN_FOLDER_IMAGE, FP_SHOW_LINK, hiddenFolderCharacters, isSelfContained, LEVEL_ALL, LEVEL_ANCESTORS_PATH, LEVEL_DESKTOP_LINK, LEVEL_HOME_LINK, LEVEL_ITEM_LINK, LEVEL_LINE_BEFORE_LAST, LEVEL_LINKS, LEVEL_OPEN_FOLDER_IMAGE, LEVEL_TITLE, levelFlag, openFolderImage, showLink
-
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 ObjectPathXHTMLTransform()Deprecated.Default constructor, initialize formal parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected AnchorTaggenerateAnchor(WebEvent event)Deprecated.Overwrites the parent method by setting the right event element value according to the formal parameters available on the transformprotected OMDCreateFolderBeangetCreateFolderBean()Deprecated.protected java.lang.StringgetImageSrc(java.lang.String imgId)Deprecated.Get the image source to display as part of the object path content.java.util.ListgetObjectPathFolderAncestors(int rootIndex)Deprecated.Returns all the ancestors of the current objectprotected WebEventgetOpenCreateFolderEvent()Deprecated.java.lang.StringgetStyleShellDiv()Deprecated.Overwrites the parent method by changin the default style's display to be "inline".voidinitializeTransform(Transformable data)Deprecated.Transform the Folder Bean and append the output to MarkupOutputbooleanisSpecialFolder()Deprecated.Checks if the current object is a special foldervoidrenderAncestor(MarkupOutput out, WebFolder folder)Deprecated.Renders the WebFolder object name w/o the hyperlink to that foldervoidrenderAncestors(MarkupOutput out)Deprecated.please use the layout xml or renderAncestors(MarkupOutput out, int rootIndex);voidrenderAncestors(MarkupOutput out, int rootIndex)Deprecated.Renders the folder ancestors as pathvoidrenderContent(MarkupOutput out)Deprecated.Transform when the status is "Successful".voidrenderCreateFolderButton(MarkupOutput out)Deprecated.voidrenderHomeButton(MarkupOutput out)Deprecated.Renders a button link to Home, it uses the openHomeEvent for this.voidrenderParentFolderDelimiter(MarkupOutput out)Deprecated.Renders the delimiter between the folder names The divider character is set through Formal ParametervoidrenderParentUpButton(MarkupOutput out)Deprecated.Renders a button link to the parent folders.protected voidrenderSimpleButton(MarkupOutput out, WebEvent event, java.lang.String descriptor, java.lang.String id, java.lang.String src)Deprecated.protected voidrenderSimpleLink(MarkupOutput out, WebEvent event, java.lang.String descriptor, java.lang.String css, boolean showLink)Deprecated.Renders a link based on the event.-
Methods inherited from class com.microstrategy.web.app.transforms.ObjectPathTransform
checkLevel, getAncestorFolder, getAncestors, getBrowseFolderEvent, getDescription, getHasAncestors, getObjectBean, getOpenDesktopEvent, getOpenHomeEvent, getParentFolderBean, getSpecialFolderName, getSupportedBeanType, getSysFolderID, initializeCss, initializeImages, renderCurrentItem, renderFolder, renderLinkForDesktop, renderLinkForHome, renderNewLine, renderOpenFolderImage, renderTitle, setHasAncestors, transformForRequestInError, transformForRequestProcessing, transformForRequestSuccessful, transformForRequestWaitingForUserInput, useParentAncestors
-
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, getCancelEvent, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorMessage, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderImage, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setBoneProperties, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestNotInited
-
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
-
LEVEL_HOME_BUTTON
@Deprecated public static final int LEVEL_HOME_BUTTON
Deprecated.please use the layout xmlAllowed value for thelevelFlagformal parameter. Determines if a home button will be displayed on the left side of the path information. Value = 1024- See Also:
- Constant Field Values
-
LEVEL_PARENT_UP_BUTTON
@Deprecated public static final int LEVEL_PARENT_UP_BUTTON
Deprecated.please use the layout xmlAllowed value for thelevelFlagformal parameter. Determines if a parent up button will be displayed on the left side of the path information. Value = 256- See Also:
- Constant Field Values
-
LEVEL_NEW_FOLDER_BUTTON
@Deprecated public static final int LEVEL_NEW_FOLDER_BUTTON
Deprecated.please use the layout xmlAllowed value for thelevelFlagformal parameter. Determines if a parent up button will be displayed on the left side of the path information. Value = 512- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeTransform
public void initializeTransform(Transformable data)
Deprecated.Description copied from class:ObjectPathTransformTransform the Folder Bean and append the output to MarkupOutput- Specified by:
initializeTransformin interfaceAppTransform- Overrides:
initializeTransformin classObjectPathTransform- Parameters:
data- the folder bean to transform
-
getStyleShellDiv
public java.lang.String getStyleShellDiv()
Deprecated.Overwrites the parent method by changin the default style's display to be "inline".- Overrides:
getStyleShellDivin classAbstractAppTransform- See Also:
AbstractAppTransform.renderShell(com.microstrategy.web.beans.MarkupOutput)
-
renderContent
public void renderContent(MarkupOutput out)
Deprecated.Transform when the status is "Successful". It displays the path of the folder with a link to each one of its ancestors, i.e.:
Home > VMall Shared Reports- Overrides:
renderContentin classObjectPathTransform- Parameters:
out- aMarkupOutputinstance with the HTML output by this transform
-
getImageSrc
protected java.lang.String getImageSrc(java.lang.String imgId)
Deprecated.Get the image source to display as part of the object path content. This method is called only when the user has turned on Accessibility mode under Preferences.- Parameters:
imgId- String indicating the ID of the image from where the source should be calculated. For example, values liketbHomeortbReturnare expected- Returns:
- String with the source to use for the image to display.
- Since:
- MicroStrategy Web 8.1.1
-
renderHomeButton
public void renderHomeButton(MarkupOutput out)
Deprecated.Renders a button link to Home, it uses the openHomeEvent for this.- Parameters:
out- the transform's output
-
renderParentUpButton
public void renderParentUpButton(MarkupOutput out)
Deprecated.Renders a button link to the parent folders.- Parameters:
out- the transform's output
-
renderCreateFolderButton
public void renderCreateFolderButton(MarkupOutput out)
Deprecated.
-
renderAncestors
@Deprecated public void renderAncestors(MarkupOutput out)
Deprecated.please use the layout xml or renderAncestors(MarkupOutput out, int rootIndex);Renders the list of ancestors.- Overrides:
renderAncestorsin classObjectPathTransform- Parameters:
out- the transform's output- Since:
- MicroStrategy Web 8.0.1
-
renderAncestors
public void renderAncestors(MarkupOutput out, int rootIndex)
Deprecated.Renders the folder ancestors as path- Parameters:
out-rootIndex- , indicates the starting index of the ancestors For example, desktop link is the highest ancestor with index of 0; by specifying rootIndex=1, the desktop link won't be rendered- Since:
- MicroStrategy Web 8.0.1
-
isSpecialFolder
public boolean isSpecialFolder() throws WebBeanExceptionDeprecated.Checks if the current object is a special folder- Returns:
- boolean indicating whether it is a sepcial folder.
- Throws:
WebBeanException- Since:
- MicroStrategy Web 8.0.1
-
getObjectPathFolderAncestors
public java.util.List getObjectPathFolderAncestors(int rootIndex)
Deprecated.Returns all the ancestors of the current object- Parameters:
rootIndex- , indicates the starting index of the ancestor- Returns:
- a list of ancestors, the order is top down, the first ancestor (index 0) is the the highest ancestor (i.e, server, project)
- Since:
- MicroStrategy Web 8.0.1
-
getOpenCreateFolderEvent
protected WebEvent getOpenCreateFolderEvent()
Deprecated.
-
getCreateFolderBean
protected OMDCreateFolderBean getCreateFolderBean()
Deprecated.
-
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Deprecated.Overwrites the parent method by setting the right event element value according to the formal parameters available on the transform- Overrides:
generateAnchorin classObjectPathTransform- Parameters:
event-WebEventinstance from where the anchor will be constructed- Returns:
AnchorTaginitialized instance with the information as provided by the arguments.
-
renderSimpleButton
protected void renderSimpleButton(MarkupOutput out, WebEvent event, java.lang.String descriptor, java.lang.String id, java.lang.String src)
Deprecated.
-
renderParentFolderDelimiter
public void renderParentFolderDelimiter(MarkupOutput out)
Deprecated.Renders the delimiter between the folder names The divider character is set through Formal Parameter- Parameters:
out-
-
renderAncestor
public void renderAncestor(MarkupOutput out, WebFolder folder)
Deprecated.Renders the WebFolder object name w/o the hyperlink to that folder- Parameters:
out-folder- , the folder to be rendered- Since:
- MicroStrategy Web 8.0.1
-
renderSimpleLink
protected void renderSimpleLink(MarkupOutput out, WebEvent event, java.lang.String descriptor, java.lang.String css, boolean showLink)
Deprecated.Renders a link based on the event.- Overrides:
renderSimpleLinkin classObjectPathTransform- Parameters:
out- the transform's outputevent- the event associated witht he linkdescriptor- the content of the linkcss- the class to useshowLink- whether to render to link or not (if false, the descriptor will be simply rendered within a SPAN tag).
-
-