Class ObjectPathTransform
- 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
-
- All Implemented Interfaces:
AppTransform
,LayoutTransform
,Transform
- Direct Known Subclasses:
ObjectPathXHTMLTransform
,ObjectReportPathTransform
@Deprecated public class ObjectPathTransform extends AbstractAppTransform implements LayoutTransform
Deprecated.usePathTransform
insteadThis class is used for rendering path links and information about the location of the
ObjectBean
being transformed.This class implements
LayoutTransform
which enables building the layout through an external xml configuration file.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected WebEvent
_event
Deprecated.protected java.lang.String
_objectName
Deprecated.protected boolean
_showLink
Deprecated.protected java.lang.String
cssItemNameCache
Deprecated.protected java.lang.String
cssUnselectedItemNameCache
Deprecated.FormalParameter
dividerCharacters
Deprecated.Indicates the character(s) to be used for separating each one of the different elements when displaying the path.FormalParameter
extraItemNameHREFAnchorInfo
Deprecated.Please customize the generated link insteadstatic java.lang.String
FP_CHARS_FOR_DIVIDER
Deprecated.Constant specifying the name of the formal parameter for defining the dividing characters in between objects in the path.static java.lang.String
FP_CHARS_FOR_HIDDEN_FOLDERS
Deprecated.Constant specifying the name of the formal parameter for defining the characters to use instead of the names of folders that are hidden for the user.static java.lang.String
FP_EXTRA_ANCHOR_INFO
Deprecated.Constant specifying the name of the formal parameter for defining the extra attributes to be added to the anchor to generate.static java.lang.String
FP_IS_SELF_CONTAINED
Deprecated.Constant specifying the name of the formal parameter for defining if the object is self contained or not.static java.lang.String
FP_LEVEL_FLAG
Deprecated.Constant specifying the name of the formal parameter for defining the level flag.static java.lang.String
FP_OPEN_FOLDER_IMAGE
Deprecated.Constant specifying the name of the formal parameter for defining the image to render before the current object is displayed.static java.lang.String
FP_SHOW_LINK
Deprecated.Constant specifying the name of the formal parameter for defining the showLink.FormalParameter
hiddenFolderCharacters
Deprecated.Indicates the character(s) to be used as placeholders when displaying a hidden folder inside the path.FormalParameter
isSelfContained
Deprecated.Indicates if the current object being transformed should be used when generating the events that will be used for creating the links for accessing other folders.static int
LEVEL_ALL
Deprecated.please use the layout xmlstatic int
LEVEL_ANCESTORS_PATH
Deprecated.please use the layout xmlstatic int
LEVEL_DESKTOP_LINK
Deprecated.please use the layout xmlstatic int
LEVEL_HOME_LINK
Deprecated.please use the layout xmlstatic int
LEVEL_ITEM_LINK
Deprecated.please use the layout xmlstatic int
LEVEL_LINE_BEFORE_LAST
Deprecated.Allowed value for thelevelFlag
formal parameter.static int
LEVEL_LINKS
Deprecated.please use the showLink Formal Paramterstatic int
LEVEL_OPEN_FOLDER_IMAGE
Deprecated.Allowed value for thelevelFlag
formal parameter.static int
LEVEL_TITLE
Deprecated.please use the layout xmlFormalParameter
levelFlag
Deprecated.please use the layout xmlFormalParameter
openFolderImage
Deprecated.Indicates the image to use before displaying the current object on the path (if requested on thelevelFlag
formal parameter).FormalParameter
showLink
Deprecated.Indicates whether the object path contains a hyperlink to that object
Default value is booleanTRUE
which indicates the hyperlinks will be generated for each object path.-
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 ObjectPathTransform()
Deprecated.Default constructor, initialize formal parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
checkLevel(int iLevelConst)
Deprecated.check if the level parameter value contains this flagprotected AnchorTag
generateAnchor(WebEvent event)
Deprecated.Overwrites the parent method by setting the right event element value according to the formal parameters available on the transformWebFolder
getAncestorFolder()
Deprecated.SimpleList
getAncestors()
Deprecated.Retrieves the ObjectBean's parent FolderBean.protected WebEvent
getBrowseFolderEvent(WebFolder folder)
Deprecated.Returns the browser folder event.java.lang.String
getDescription()
Deprecated.Return description for this Transformboolean
getHasAncestors()
Deprecated.protected ObjectBean
getObjectBean()
Deprecated.Get the objectBean target of this transformprotected WebEvent
getOpenDesktopEvent()
Deprecated.Returns the open desktop event.protected WebEvent
getOpenHomeEvent()
Deprecated.Returns the open home event.FolderBean
getParentFolderBean()
Deprecated.Retrieves the ObjectBean's parent FolderBean.protected java.lang.String
getSpecialFolderName(WebFolder folder)
Deprecated.Check for special folders, if found one, return the descriptor.java.lang.Class
getSupportedBeanType()
Deprecated.Returns the supported bean type.protected int
getSysFolderID()
Deprecated.Returns the system folder ID (NamedFolder) that is in the hierarchy of the object beanvoid
initializeCss()
Deprecated.Initialize the css class used by this transform.void
initializeImages()
Deprecated.Initialize images, basically it prefix them with the global folderNamevoid
initializeTransform(Transformable data)
Deprecated.Transform the Folder Bean and append the output to MarkupOutputvoid
renderAncestors(MarkupOutput out)
Deprecated.please use the layout xmlvoid
renderContent(MarkupOutput out)
Deprecated.This is the main entry point of the Transform when no layout is specified.void
renderCurrentItem(MarkupOutput out)
Deprecated.Renders the curent itemprotected void
renderFolder(MarkupOutput out, WebFolder folder, SimpleList ancestors, int currentAncestor, boolean showLink)
Deprecated.Render a specific folder.void
renderLinkForDesktop(MarkupOutput out)
Deprecated.Renders the link the Desktop (start) page.void
renderLinkForHome(MarkupOutput out)
Deprecated.Renders the link to Home, it uses the openHomeEvent for this.void
renderNewLine(MarkupOutput out)
Deprecated.Renders a new list before the item's name.void
renderOpenFolderImage(MarkupOutput out)
Deprecated.Renders the open folder image.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.void
renderTitle(MarkupOutput out)
Deprecated.Renders the title, uses descriptor 51: You are here:void
setHasAncestors(boolean value)
Deprecated.void
transformForRequestInError(MarkupOutput out)
Deprecated.Overwrites by ignoring the state and rendering as the status was succesful.void
transformForRequestProcessing(MarkupOutput out)
Deprecated.Overwrites by ignoring the state and rendering as the status was succesful.void
transformForRequestSuccessful(MarkupOutput out)
Deprecated.Transform when the status is "Successful".void
transformForRequestWaitingForUserInput(MarkupOutput out)
Deprecated.Overwrites by ignoring the state and rendering as the status was succesful.protected boolean
useParentAncestors()
Deprecated.-
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, getStyleShellDiv, 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_LINE_BEFORE_LAST
public static final int LEVEL_LINE_BEFORE_LAST
Deprecated.Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display a new line character before the last item on the path. One of its main uses is in the Yahoo Path view where, for example, on the Folder page the path is shown in one line, and it places the current folder name (last element) on a separate line.
Value = 1- See Also:
- Constant Field Values
-
LEVEL_OPEN_FOLDER_IMAGE
public static final int LEVEL_OPEN_FOLDER_IMAGE
Deprecated.Allowed value for thelevelFlag
formal parameter. Specifies that the transform will display an image before the object name which represents the current one being viewed, as defined on theopenFolderImage
formal parameter.
Value = 2- See Also:
- Constant Field Values
-
LEVEL_HOME_LINK
@Deprecated public static final int LEVEL_HOME_LINK
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal parameter. Specifies that the transform will render as part of the path, a link for Home application page.
Value = 4- See Also:
- Constant Field Values
-
LEVEL_DESKTOP_LINK
@Deprecated public static final int LEVEL_DESKTOP_LINK
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal parameter. Specifies that the transform will show a link for the project's Desktop page as part of the path.
Value = 8- See Also:
- Constant Field Values
-
LEVEL_ITEM_LINK
@Deprecated public static final int LEVEL_ITEM_LINK
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal parameter. Specifies that the transform will render the current item inside a link.
Value = 16- See Also:
- Constant Field Values
-
LEVEL_TITLE
@Deprecated public static final int LEVEL_TITLE
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal parameter. Specifies that the transform will render a Title ("You are here: " label) before displaying the path.
Value = 32- See Also:
- Constant Field Values
-
LEVEL_LINKS
@Deprecated public static final int LEVEL_LINKS
Deprecated.please use the showLink Formal ParamterAllowed value for thelevelFlag
formal parameter. Determines if each one of the items rendered by the transform as part of the path will be inside links. Value = 64- See Also:
- Constant Field Values
-
LEVEL_ANCESTORS_PATH
@Deprecated public static final int LEVEL_ANCESTORS_PATH
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal parameter. Determines if ancestors folder path gets displayed. Value = 128- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
LEVEL_ALL
@Deprecated public static final int LEVEL_ALL
Deprecated.please use the layout xmlAllowed value for thelevelFlag
formal parameter. Convenience flag for selecting all the possible level flag values defined on this class.
Value = -1- See Also:
- Constant Field Values
-
showLink
public FormalParameter showLink
Deprecated.Indicates whether the object path contains a hyperlink to that object
Default value is booleanTRUE
which indicates the hyperlinks will be generated for each object path.- Since:
- MicroStrategy Web 8.0.1
-
levelFlag
@Deprecated public FormalParameter levelFlag
Deprecated.please use the layout xmlIndicates the level of information to use when displaying each item.
The information may be displayed as links. The value to assign to this formal parameter should be a bitwise flag combining constants such asLEVEL_ITEM_LINK
,LEVEL_TITLE
, etc. For a complete list, refer toObjectPathTransform
.
Usage: If only the title and the current object shall be displayed, the flag value to assign to the formal parameter would be 80 (16 + 64). Default value isLEVEL_ALL
-
dividerCharacters
public FormalParameter dividerCharacters
Deprecated.Indicates the character(s) to be used for separating each one of the different elements when displaying the path.
These characters will be displayed after each element except the last one, for indicating a hierarchy between the folders shown.
Usage: Default value is >. The value to assign to this formal parameter has to be HTML compatible for it to be displayed correctly on the final HTML page.
-
hiddenFolderCharacters
public FormalParameter hiddenFolderCharacters
Deprecated.Indicates the character(s) to be used as placeholders when displaying a hidden folder inside the path.
These characters will be displayed instead of the hidden folder name without link associated with it since the user does not have enough privileges for accessing it. If there are two or more hidden folders one after the other, these characters will be displayed only once. Usage: Default value is [ ...]. The value to assign to this formal parameter has to be HTML compatible for it to be displayed correctly on the final HTML page.
-
extraItemNameHREFAnchorInfo
@Deprecated public FormalParameter extraItemNameHREFAnchorInfo
Deprecated.Please customize the generated link insteadIndicates any extra information that will be rendered as attributes of the Anchor tag.
Any valid anchor tag attributes and their values might be specified here. This formal parameter is mainly for associating javascript method calls (in which case previous validation is done to confirm the page is being rendered in DHTML mode).
-
isSelfContained
public FormalParameter isSelfContained
Deprecated.Indicates if the current object being transformed should be used when generating the events that will be used for creating the links for accessing other folders.
Default value is booleanTRUE
which indicates this object will be the source for the links to render.
-
openFolderImage
public FormalParameter openFolderImage
Deprecated.Indicates the image to use before displaying the current object on the path (if requested on thelevelFlag
formal parameter).
The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
FP_SHOW_LINK
public static final java.lang.String FP_SHOW_LINK
Deprecated.Constant specifying the name of the formal parameter for defining the showLink. Value is showLink .- Since:
- MicroStrategy Web 8.0.1
- See Also:
- Constant Field Values
-
FP_LEVEL_FLAG
public static final java.lang.String FP_LEVEL_FLAG
Deprecated.Constant specifying the name of the formal parameter for defining the level flag. Value is levelFlag.- See Also:
- Constant Field Values
-
FP_CHARS_FOR_DIVIDER
public static final java.lang.String FP_CHARS_FOR_DIVIDER
Deprecated.Constant specifying the name of the formal parameter for defining the dividing characters in between objects in the path. Value is dividerCharacters.- See Also:
- Constant Field Values
-
FP_CHARS_FOR_HIDDEN_FOLDERS
public static final java.lang.String FP_CHARS_FOR_HIDDEN_FOLDERS
Deprecated.Constant specifying the name of the formal parameter for defining the characters to use instead of the names of folders that are hidden for the user. Value is hiddenFolderCharacters.- See Also:
- Constant Field Values
-
FP_EXTRA_ANCHOR_INFO
public static final java.lang.String FP_EXTRA_ANCHOR_INFO
Deprecated.Constant specifying the name of the formal parameter for defining the extra attributes to be added to the anchor to generate. Value is extraItemNameHREFAnchorInfo.- See Also:
- Constant Field Values
-
FP_OPEN_FOLDER_IMAGE
public static final java.lang.String FP_OPEN_FOLDER_IMAGE
Deprecated.Constant specifying the name of the formal parameter for defining the image to render before the current object is displayed. Value is openFolderImage.- See Also:
- Constant Field Values
-
FP_IS_SELF_CONTAINED
public static final java.lang.String FP_IS_SELF_CONTAINED
Deprecated.Constant specifying the name of the formal parameter for defining if the object is self contained or not. Value is isSelfContained.- See Also:
- Constant Field Values
-
cssItemNameCache
protected java.lang.String cssItemNameCache
Deprecated.
-
cssUnselectedItemNameCache
protected java.lang.String cssUnselectedItemNameCache
Deprecated.
-
_showLink
protected boolean _showLink
Deprecated.
-
_objectName
protected java.lang.String _objectName
Deprecated.
-
_event
protected WebEvent _event
Deprecated.
-
-
Method Detail
-
initializeTransform
public void initializeTransform(Transformable data)
Deprecated.Transform the Folder Bean and append the output to MarkupOutput- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classAbstractAppTransform
- Parameters:
data
- the folder bean to transform
-
transformForRequestProcessing
public void transformForRequestProcessing(MarkupOutput out)
Deprecated.Overwrites by ignoring the state and rendering as the status was succesful. ObjectBeans, even when their processing, should already have their path info.- Overrides:
transformForRequestProcessing
in classAbstractAppTransform
- Parameters:
out
-MarkupOutput
instance that will be the output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
transformForRequestWaitingForUserInput
public void transformForRequestWaitingForUserInput(MarkupOutput out)
Deprecated.Overwrites by ignoring the state and rendering as the status was succesful. ObjectBeans, even when their processing, should already have their path info.- Overrides:
transformForRequestWaitingForUserInput
in classAbstractAppTransform
- Parameters:
out
-MarkupOutput
instance that will be the output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
transformForRequestInError
public void transformForRequestInError(MarkupOutput out)
Deprecated.Overwrites by ignoring the state and rendering as the status was succesful. ObjectBeans, even when their processing, should already have their path info.- Overrides:
transformForRequestInError
in classAbstractAppTransform
- Parameters:
out
-MarkupOutput
instance that will be the output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
getDescription
public java.lang.String getDescription()
Deprecated.Return description for this Transform- Specified by:
getDescription
in interfaceTransform
- Returns:
- description for the transform
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Deprecated.Transform when the status is "Successful". If a Layout is specified, it delegates execution to the layout-pareser, otherwise, otherwise it callsrenderContent
.- Specified by:
transformForRequestSuccessful
in classAbstractAppTransform
- Parameters:
out
- aMarkupOutput
instance with the HTML output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
renderContent
public void renderContent(MarkupOutput out)
Deprecated.This is the main entry point of the Transform when no layout is specified. It displays the path of the folder with a link to each one of its ancestors, i.e.:
Home > VMall > Shared Reports- Parameters:
out
- MarkupOutput- Since:
- MicroStrategy Web 8.0.0
-
renderTitle
public void renderTitle(MarkupOutput out)
Deprecated.Renders the title, uses descriptor 51: You are here:- Parameters:
out
- the transform's output
-
renderLinkForHome
public void renderLinkForHome(MarkupOutput out)
Deprecated.Renders the link to Home, it uses the openHomeEvent for this.- Parameters:
out
- the transform's output
-
renderLinkForDesktop
public void renderLinkForDesktop(MarkupOutput out)
Deprecated.Renders the link the Desktop (start) page.- Parameters:
out
- the transform's output
-
getAncestorFolder
public WebFolder getAncestorFolder()
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
renderAncestors
@Deprecated public void renderAncestors(MarkupOutput out)
Deprecated.please use the layout xmlRenders the list of ancestors.- Parameters:
out
- the transform's output
-
renderCurrentItem
public void renderCurrentItem(MarkupOutput out)
Deprecated.Renders the curent item- Parameters:
out
- the transform's output
-
initializeImages
public void initializeImages()
Deprecated.Initialize images, basically it prefix them with the global folderName- Overrides:
initializeImages
in classAbstractAppTransform
-
initializeCss
public void initializeCss()
Deprecated.Initialize the css class used by this transform.- Overrides:
initializeCss
in classAbstractAppTransform
-
getParentFolderBean
public FolderBean getParentFolderBean()
Deprecated.Retrieves the ObjectBean's parent FolderBean. This is the Bean from where we need to get the ancestors from.- Returns:
- the parent's folder bean
-
getAncestors
public SimpleList getAncestors()
Deprecated.Retrieves the ObjectBean's parent FolderBean. This is the Bean from where we need to get the ancestors from.- Returns:
- the parent's folder bean
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Deprecated.Description copied from class:AbstractAppTransform
Returns the supported bean type. This abstract Transform supports allWebComponents
so every sub-class should override this method to return the class of theBean
the Transform is expecting, for example:public class CustomReportClass extends AbstractAppTransform { public Class getSupportedBeanType() { //This Transform is expected to work only with a ReportBean, //therefore this method needs to return this class: return ReportBean.class; } }
- Specified by:
getSupportedBeanType
in interfaceTransform
- Overrides:
getSupportedBeanType
in classAbstractAppTransform
- Returns:
- a root class/interface supported by this transform.
-
getHasAncestors
public boolean getHasAncestors()
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
setHasAncestors
public void setHasAncestors(boolean value)
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
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 classAbstractAppTransform
- Parameters:
event
- WebEvent- Returns:
- AnchorTag
- Since:
- MicroStrategy Web 8.0.0
-
getOpenHomeEvent
protected WebEvent getOpenHomeEvent()
Deprecated.Returns the open home event.- Returns:
- The
EnumServletEvents.WebEventOpenHome
event.
-
getOpenDesktopEvent
protected WebEvent getOpenDesktopEvent()
Deprecated.Returns the open desktop event.- Returns:
- The
EnumServletEvents.WebEventOpenDesktop
event.
-
getBrowseFolderEvent
protected WebEvent getBrowseFolderEvent(WebFolder folder)
Deprecated.Returns the browser folder event.- Parameters:
folder
- the folder to browse- Returns:
- The
EnumFolderBeanEvents.FOLDER_EVENT_BROWSE
event.
-
getSysFolderID
protected int getSysFolderID()
Deprecated.Returns the system folder ID (NamedFolder) that is in the hierarchy of the object bean- Returns:
- String EnumDSSXMLFolderNames value.
- Since:
- MicroStrategy Web 8.0.0
-
renderFolder
protected void renderFolder(MarkupOutput out, WebFolder folder, SimpleList ancestors, int currentAncestor, boolean showLink)
Deprecated.Render a specific folder. This is a recursive function that calls itself to render the parent.
It calls recursively until it finds the root folder. If theLEVEL_DESKTOP_LINK
level is set, instead of stopping in the root folder, it stops in its first child.- Parameters:
out
- the transform's outputfolder
- the current folderancestors
- the list of ancestorscurrentAncestor
- the index of this folder in the list of ancestorsshowLink
- whether to render a link for the folder.
-
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.- 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).
-
checkLevel
protected boolean checkLevel(int iLevelConst)
Deprecated.check if the level parameter value contains this flag- Parameters:
iLevelConst
- level flag- Returns:
- true means the level flag is included in the level parameter value
-
getObjectBean
protected ObjectBean getObjectBean()
Deprecated.Get the objectBean target of this transform- Returns:
- the
FolderBean
instance used with this transform
-
useParentAncestors
protected boolean useParentAncestors()
Deprecated.
-
renderNewLine
public void renderNewLine(MarkupOutput out)
Deprecated.Renders a new list before the item's name. This might be controlled through a formal parameter- Parameters:
out
- the transform's output
-
renderOpenFolderImage
public void renderOpenFolderImage(MarkupOutput out)
Deprecated.Renders the open folder image.- Parameters:
out
- the transform's output
-
getSpecialFolderName
protected java.lang.String getSpecialFolderName(WebFolder folder)
Deprecated.Check for special folders, if found one, return the descriptor. It also checks if the Shared Reports folder, using preferences, has been specified as other folder.- Parameters:
folder
- the folder to check- Returns:
- a String with the descriptor to use if it's a special folder, null otherwise.
-
-