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
public class ObjectPathXHTMLTransform extends ObjectPathTransform
Deprecated.usePathTransform
insteadObjectPathXHTMLTransform
extendsObjectPathTransform
by 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 int
LEVEL_HOME_BUTTON
Deprecated.please use the layout xmlstatic int
LEVEL_NEW_FOLDER_BUTTON
Deprecated.please use the layout xmlstatic int
LEVEL_PARENT_UP_BUTTON
Deprecated.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 AnchorTag
generateAnchor(WebEvent event)
Deprecated.Overwrites the parent method by setting the right event element value according to the formal parameters available on the transformprotected OMDCreateFolderBean
getCreateFolderBean()
Deprecated.protected java.lang.String
getImageSrc(java.lang.String imgId)
Deprecated.Get the image source to display as part of the object path content.java.util.List
getObjectPathFolderAncestors(int rootIndex)
Deprecated.Returns all the ancestors of the current objectprotected WebEvent
getOpenCreateFolderEvent()
Deprecated.java.lang.String
getStyleShellDiv()
Deprecated.Overwrites the parent method by changin the default style's display to be "inline".void
initializeTransform(Transformable data)
Deprecated.Transform the Folder Bean and append the output to MarkupOutputboolean
isSpecialFolder()
Deprecated.Checks if the current object is a special foldervoid
renderAncestor(MarkupOutput out, WebFolder folder)
Deprecated.Renders the WebFolder object name w/o the hyperlink to that foldervoid
renderAncestors(MarkupOutput out)
Deprecated.please use the layout xml or renderAncestors(MarkupOutput out, int rootIndex);void
renderAncestors(MarkupOutput out, int rootIndex)
Deprecated.Renders the folder ancestors as pathvoid
renderContent(MarkupOutput out)
Deprecated.Transform when the status is "Successful".void
renderCreateFolderButton(MarkupOutput out)
Deprecated.void
renderHomeButton(MarkupOutput out)
Deprecated.Renders a button link to Home, it uses the openHomeEvent for this.void
renderParentFolderDelimiter(MarkupOutput out)
Deprecated.Renders the delimiter between the folder names The divider character is set through Formal Parametervoid
renderParentUpButton(MarkupOutput out)
Deprecated.Renders a button link to the parent folders.protected void
renderSimpleButton(MarkupOutput out, WebEvent event, java.lang.String descriptor, java.lang.String id, java.lang.String src)
Deprecated.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.-
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, 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
public static final int LEVEL_HOME_BUTTON
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal 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
public static final int LEVEL_PARENT_UP_BUTTON
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal 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
public static final int LEVEL_NEW_FOLDER_BUTTON
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal 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:ObjectPathTransform
Transform the Folder Bean and append the output to MarkupOutput- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in 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:
getStyleShellDiv
in 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:
renderContent
in classObjectPathTransform
- Parameters:
out
- aMarkupOutput
instance 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 liketbHome
ortbReturn
are 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
public void renderAncestors(MarkupOutput out)
Deprecated.please use the layout xml or renderAncestors(MarkupOutput out, int rootIndex);Renders the list of ancestors.- Overrides:
renderAncestors
in 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 WebBeanException
Deprecated.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:
generateAnchor
in classObjectPathTransform
- Parameters:
event
-WebEvent
instance from where the anchor will be constructed- Returns:
AnchorTag
initialized 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:
renderSimpleLink
in 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).
-
-