Class FolderProjectBrowserTransform
- java.lang.Object
 - 
- com.microstrategy.web.transform.AbstractTransform
 - 
- com.microstrategy.web.transform.AbstractLayoutTransform
 - 
- com.microstrategy.web.app.transforms.AbstractAppTransform
 - 
- com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
 - 
- com.microstrategy.web.app.transforms.AbstractFolderTransform
 - 
- com.microstrategy.web.app.transforms.FolderSmallIconTransform
 - 
- com.microstrategy.web.app.transforms.FolderProjectBrowserTransform
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 AppTransform,LayoutTransform,Transform
- Direct Known Subclasses:
 FilterObjectBrowserTransform,FolderAddDataSetTransform,FolderAdminBrowserTransform,FolderObjectBrowserTransform,FolderSaveAsBrowserTransform,ObjectSelectorProjectBrowserTransform
public class FolderProjectBrowserTransform extends FolderSmallIconTransform
Description: The class is used to transform a Folder Bean into it's Project Brwoser mode.- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractFolderTransform
AbstractFolderTransform.Context 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description FormalParameterallowBrowseDimensionIndicates wheter to render the browser in gaphic mode even in html mode.FormalParametercheckImageFormal parameter: The icon to use to submit the parent folders select box in HTML mode.FormalParametercontextIDFormal parameter: The context for the object browser fodler linksprotected java.lang.StringcssBodyThe className for the body of the project browser contentsprotected java.lang.StringcssFileSearchThe className for the search text boxFormalParameterfolderLinksLocationIndicates where the Object Browser Folder Links will be rendered 1 - Root 2 - All Folders 3 - Projectstatic java.lang.StringFP_ALLOW_BROWSE_DIMENSIONName for the formal parameter:allowBrowseDimensionstatic java.lang.StringFP_CHECK_IMAGEName for the formal parameter:checkImagestatic java.lang.StringFP_CONTEXT_IDName for the formal parameter:contextIDstatic java.lang.StringFP_FOLDER_LINKS_LOCATIONName for the formal parameter:renderFormstatic java.lang.StringFP_HTML_GRAPHIC_MODEName for the formal parameter:htmlGraphicModestatic java.lang.StringFP_LEVEL_CHANGE_JSName for the formal parameter:levelChangeJSstatic java.lang.StringFP_RENDER_FORMName for the formal parameter:renderFormstatic java.lang.StringFP_RENDER_LINKS_ANCESTORSName for the formal parameter:renderLinksAncestorsstatic java.lang.StringFP_SEARCH_BOX_JSName for the formal parameter:searchBoxJSstatic java.lang.StringFP_SEARCH_JSName for the formal parameter:searchJSstatic java.lang.StringFP_UP_FOLDER_JSName for the formal parameter:upFolderJSFormalParameterhtmlGraphicModeIndicates wheter to render the browser in gaphic mode even in html mode.FormalParameterlevelChangeJSFormal parameter: The javascript function to execute when you change the folder levelFormalParameterrenderFormIndicates whether the transform will render it's own HTML formFormalParameterrenderLinksAncestorsIndicates whether the Ancestors of the Object Browser Folder Links will be renderedFormalParametersearchBoxJSIndicates the javascript function to execute when you key on the search boxFormalParametersearchJSIndicates the javascript function to execute when you click on the search image buttonprotected static java.lang.StringsSpacesFormalParameterupFolderJSFormal parameter: The JavaScript code to execute when clicking on the up folder link to go to the parent folder- 
Fields inherited from class com.microstrategy.web.app.transforms.FolderSmallIconTransform
folderJS, FP_FOLDER_JS, FP_OBJECT_CLICK_JS, objectClickJS 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractFolderTransform
_bandingIndex, _imgHeight, _imgWidth, _sortedChildUnits, datamartImage, documentImage, execTarget, filterImage, folderImage, FP_CREATE_REPORT_DISPLAY_SECTION, FP_DATAMART_IMAGE, FP_DOCUMENT_IMAGE, FP_EXEC_TARGET, FP_FILTER_IMAGE, FP_FOLDER_IMAGE, FP_GRAPH_IMAGE, FP_GRID_GRAPH_IMAGE, FP_IMAGE_HEIGTH, FP_IMAGE_WIDTH, FP_LEVEL_FLAG, FP_MAX_OBJECT_TYPE_COUNT, FP_REPORT_IMAGE, FP_RW_DOCUMENT_IMAGE, FP_SORT_ASCENDING, FP_SORT_FIELD, FP_TABLE_ID, FP_TEMPLATE_IMAGE, graphImage, gridGraphImage, imageHeight, imageWidth, LEVEL_ALL, LEVEL_CONFIRM_DELETE, LEVEL_DELETE, LEVEL_DESCRIPTION, LEVEL_DISPLAY_HEADERS, LEVEL_EDIT, LEVEL_EMPTY_FOLDER_MESSAGE, LEVEL_EXPORT_EXCEL, LEVEL_EXPORT_PDF, LEVEL_FOLDER_INFORMATION, LEVEL_INCREMENTAL_FETCH, LEVEL_LOCATION, LEVEL_MODIFIED, LEVEL_NAME, LEVEL_OWNER, LEVEL_SEND_NOW, LEVEL_SUBSCRIPTION, levelFlag, maxObjectTypeCount, reportImage, rwDocumentImage, sortAscending, sortField, tableId, templateImage 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
FP_INCREMENTAL_FETCH_NAV_TYPE, FP_INCREMENTAL_FETCH_PAGE_BLOCK, imgBlank, incrementalFetchNavigationType, incrementalFetchPageBlock 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width 
 - 
 
- 
Constructor Summary
Constructors Constructor Description FolderProjectBrowserTransform()Default Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected AnchorTaggenerateAnchor(WebEvent event)Creates an<a>tag from the EventManager.protected WebEventgetBrowseEvent()Returns aWebEventinstance containing the event to use when browsing the folder list displayed by the transform.protected WebEventgetBrowseParentFolderEvent()Returns aWebEventinstance containing the event to use when browsing the folder list displayed by the transform.java.lang.StringgetDescription()Return the description for this TransformWebEventgetEvent(WebObjectInfo object)Based on the object type on theWebObjectInfosent as parameter, it creates and initializes the correspondingWebEventfor having the object opened or run.intgetFodlerLinksContextId()Deprecated.please usegetFolderLinksContextId()insteadprotected java.lang.StringgetFolderContentsSelectNameHTML()returns the name the select box for folder contentss in HTML will haveprotected java.lang.StringgetFolderLinkClasses(WebObjectInfo object)Returns the cssClass name to use when rendering the object browser folder linksjava.util.ArrayListgetFolderLinkList()Returns a list containing the object browser folder links available for the current context.intgetFolderLinksContextId()java.util.ArrayListgetFolderObjects()Deprecated.please usegetNonFolderObjects()insteadprotected WebObjectInfogetFolderRoot()Returns a (@link WebObjectInfo) as a reference to the folder being displayed by the transform.protected TaggetForm(Tag content)The method will check if the renderFOrm formal parameter is set to true, and if so it will create a new form tag, insert the contents passed as parameter and return the form.protected java.util.ArrayListgetHiddenInputsEventList()Returns the list of events that will be included in the hidden inputs section.protected java.lang.StringgetJavascriptTyAttribute(WebObjectInfo object)Return the Javascript TY attribute to use for the generation of the HTML tag related with this object.java.util.MapgetLinkAttributes(WebObjectInfo object)this function is added to help generate layered icon in prompt project browser editor Get attribute for folder link in smallIconViewjava.util.ListgetNonFolderObjects()java.lang.StringgetObjectName(WebObjectInfo object)Utility method for obtaining the name of the object being analyzedprotected java.lang.StringgetProjectID()Private method that gets the Project ID from the session managerprotected WebEventgetSearchEvent()Returns aWebEventinstance containing the event to use when searching trhought the folder list displayed by the transform.java.util.ArrayListgetSubfolders()Deprecated.please usegetSubFolders()insteadjava.util.ListgetSubFolders()protected java.lang.StringgetTooltipInfo(WebObjectInfo item)Returns the tooltip to add to each individual item in the Folder's list.protected java.lang.StringgetTooltipTitle(WebObjectInfo item)Returns the descriptor to use for rendering the itemss tooltips.voidinitializeCss()Initializes the Css Classes to use.voidinitializeImages()Initializes the name of the images to use on this transform's output.voidinitializeTransform(Transformable data)This method initialize the private and protected fields of the transform.protected booleanisFolder(WebObjectInfo ob)booleanisNamedFolder(int folderName)Returns true if the current folder corresponds to the system folder provided as a parametervoidrenderAncestorsSelector(MarkupOutput out)Renders a select box containing a list of the folder's ancestorsvoidrenderBrowser(MarkupOutput out)Renders the Project Browser based on the information provided by the fodler bean.voidrenderBrowserContent(MarkupOutput out)Renders the Project Browser's elements based on the information provided by the fodler bean.voidrenderClearSearch(MarkupOutput out)Renders a Link to clear search result and return to original contentvoidrenderFolderContentHTML(MarkupOutput out, WebObjectInfo woi)Renders a single non-folder content item from the current folder in HTML modevoidrenderFolderContentsHTML(MarkupOutput out)Renders the current folder's non-folder contents title when in HTML modevoidrenderFolderContentsSubmitButtonHTML(MarkupOutput out)Renders the submit button for the folde's non-folder contents section in HTML modevoidrenderFolderContentsTitleHTML(MarkupOutput out)Renders the current folder's non-folder contents title when in HTML modevoidrenderFolderLink(MarkupOutput out, WebObjectInfo link)Renders a single Object Browser Folder LinkvoidrenderFolderLinkOptions(MarkupOutput out)Renders a set of options for a select input containing the different object browser forlder links available for the current context.voidrenderFolderLinks(MarkupOutput out)renders the current's non-folder contensts as a listvoidrenderFolderObjects(MarkupOutput out)renders the current's folder links as a listvoidrenderFoldersHTML(MarkupOutput out)Renders the current folder's subfolders when in HTML modevoidrenderFoldersSubmitButtonHTML(MarkupOutput out)Renders the submit button for the folde's subfolders section in HTML modevoidrenderFoldersTitleHTML(MarkupOutput out)Renders the current folder's subfolders title when in HTML modevoidrenderHiddenInputs(MarkupOutput out)Renders the hidden inputs of the events that can be handled by the beanvoidrenderLayeredIconInfo(MarkupOutput out, WebObjectInfo object, boolean useLinkCss)generate a SPAN tag which host background image and an inner SPAN for the layering effect in case an additional image has to be included on top of the original (for example, a shortcut arrow, a red error sign, etc).voidrenderList(MarkupOutput out)Renders the list of objects contained in the folder as a list with small icons.voidrenderListHTML(MarkupOutput out)Renders the current folder's content in HTML modevoidrenderNameInfo(MarkupOutput out, WebObjectInfo object)Write out name information for a single object.voidrenderObjectName(MarkupOutput out, WebObjectInfo object)Renders only the name of the object passed as a parametervoidrenderOpenParentLink(MarkupOutput out)Renders a link to the folder's parentvoidrenderSearchBox(MarkupOutput out)Renders the search box for the project browservoidrenderSearchButton(MarkupOutput out)Renders a Magnifier image as the search/filter button of the browservoidrenderSearchSection(MarkupOutput out)Renders the search section of the project browser in DHTML modevoidrenderSubfolders(MarkupOutput out)renders the current's folder subfolders as a listprotected voidsetFolderRoot(WebObjectInfo oi)protected voidsetUpFolderJS(AnchorTag anchor)Sets the JavaScript code to execute when clicking on the up folder link to go to the parent folder.booleanshouldRenderFolderLinks()Determines if the Object Browser Folder Links should be rendered.voidtransformForRequestSuccessful(MarkupOutput out)Transforms the assosciatedWebBeanwhen its status isEnumRequestStatus.WebBeanRequestSuccessful.- 
Methods inherited from class com.microstrategy.web.app.transforms.FolderSmallIconTransform
getContainerAttributes, getObjectAttributes, postAnchorGenerated, renderLayeredIconInfo, renderList, renderObject, setObjectClickJS 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractFolderTransform
addScriptDependency, canCreateSubscription, canDelete, canEdit, canExecute, canExport, canExportToPDF, canSendNow, checkLevel, getBlockPosition, getBlockSize, getChildCount, getContext, getContextMenu, getContextMenuAttributes, getDeleteEvent, getDeleteEvent, getEditEvent, getExportEvent, getExportEvent, getFeatures, getFlashExportEvent, getFolderBean, getFolderChildCount, getGoToArgument, getGoToEvent, getHtmlExportEvent, getImageName, getImageSrc, getListComparator, getMstrExportEvent, getOringalChildCount, getPDFExportEvent, getSendNowEvent, getSortedChildUnits, getSortedList, getSubscriptionsEvent, getSupportedBeanType, getViewMediaReportEvent, getViewMediaRWEvent, initializeSelectedItemsList, isEmptyList, isFeatureAvailable, isFolderEmpty, isObjectRunableinPauseMode, isObjectSelected, isObjectVisible, isViewableReport, newContext, renderEmptyList, renderEmptyList, renderImage, renderJavaScript, renderObjectCount, setBoneProperties 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
addCSSForObjectType, getCssName, getDereferenceShortcuts, getImageTooltip, getIncrementalFetchComponent, getListItemAttributes, getNameWrapperTag, getObjectAbbreviation, getObjectDescription, getObjectModificationTime, getOwnerName, getPathTransform, getVisualizationMode, getVisualizationMode, isUserEnabled, isVisualizationObject, isVisualizationObject, renderAbbreviationInfo, renderAbbreviationInfo, renderDescriptionInfo, renderDescriptionInfo, renderIconInfo, renderIncrementalFetch, renderIsUserEnabled, renderIsUserEnabled, renderLocationInfo, renderModifiedInfo, renderOwnerInfo 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, 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, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestInError, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.web.transform.LayoutTransform
getLayoutDefinition, setLayoutDefinition 
- 
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, supports, supports, transform 
 - 
 
 - 
 
- 
- 
Field Detail
- 
sSpaces
protected static final java.lang.String sSpaces
- See Also:
 - Constant Field Values
 
 
- 
contextID
public FormalParameter contextID
Formal parameter: The context for the object browser fodler links 
- 
levelChangeJS
public FormalParameter levelChangeJS
Formal parameter: The javascript function to execute when you change the folder level 
- 
searchJS
public FormalParameter searchJS
Indicates the javascript function to execute when you click on the search image button 
- 
searchBoxJS
public FormalParameter searchBoxJS
Indicates the javascript function to execute when you key on the search box- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
upFolderJS
public FormalParameter upFolderJS
Formal parameter: The JavaScript code to execute when clicking on the up folder link to go to the parent folder- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
renderForm
public FormalParameter renderForm
Indicates whether the transform will render it's own HTML form 
- 
folderLinksLocation
public FormalParameter folderLinksLocation
Indicates where the Object Browser Folder Links will be rendered 1 - Root 2 - All Folders 3 - Project 
- 
renderLinksAncestors
public FormalParameter renderLinksAncestors
Indicates whether the Ancestors of the Object Browser Folder Links will be rendered 
- 
checkImage
public FormalParameter checkImage
Formal parameter: The icon to use to submit the parent folders select box in HTML mode. Used only in HTML mode. For DHTML mode, the CSS contains the image 
- 
htmlGraphicMode
public FormalParameter htmlGraphicMode
Indicates wheter to render the browser in gaphic mode even in html mode. 
- 
allowBrowseDimension
public FormalParameter allowBrowseDimension
Indicates wheter to render the browser in gaphic mode even in html mode.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
FP_UP_FOLDER_JS
public static final java.lang.String FP_UP_FOLDER_JS
Name for the formal parameter:upFolderJS- Since:
 - MicroStrategy Web 8.0.2
 - See Also:
 - Constant Field Values
 
 
- 
FP_CONTEXT_ID
public static final java.lang.String FP_CONTEXT_ID
Name for the formal parameter:contextID- See Also:
 - Constant Field Values
 
 
- 
FP_LEVEL_CHANGE_JS
public static final java.lang.String FP_LEVEL_CHANGE_JS
Name for the formal parameter:levelChangeJS- See Also:
 - Constant Field Values
 
 
- 
FP_SEARCH_JS
public static final java.lang.String FP_SEARCH_JS
Name for the formal parameter:searchJS- See Also:
 - Constant Field Values
 
 
- 
FP_SEARCH_BOX_JS
public static final java.lang.String FP_SEARCH_BOX_JS
Name for the formal parameter:searchBoxJS- Since:
 - MicroStrategy Web 8.0.2
 - See Also:
 - Constant Field Values
 
 
- 
FP_RENDER_FORM
public static final java.lang.String FP_RENDER_FORM
Name for the formal parameter:renderForm- See Also:
 - Constant Field Values
 
 
- 
FP_FOLDER_LINKS_LOCATION
public static final java.lang.String FP_FOLDER_LINKS_LOCATION
Name for the formal parameter:renderForm- See Also:
 - Constant Field Values
 
 
- 
FP_RENDER_LINKS_ANCESTORS
public static final java.lang.String FP_RENDER_LINKS_ANCESTORS
Name for the formal parameter:renderLinksAncestors- See Also:
 - Constant Field Values
 
 
- 
FP_CHECK_IMAGE
public static final java.lang.String FP_CHECK_IMAGE
Name for the formal parameter:checkImage- See Also:
 - Constant Field Values
 
 
- 
FP_HTML_GRAPHIC_MODE
public static final java.lang.String FP_HTML_GRAPHIC_MODE
Name for the formal parameter:htmlGraphicMode- See Also:
 - Constant Field Values
 
 
- 
FP_ALLOW_BROWSE_DIMENSION
public static final java.lang.String FP_ALLOW_BROWSE_DIMENSION
Name for the formal parameter:allowBrowseDimension- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
cssFileSearch
protected java.lang.String cssFileSearch
The className for the search text box 
- 
cssBody
protected java.lang.String cssBody
The className for the body of the project browser contents 
 - 
 
- 
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 classAbstractFolderTransform- Parameters:
 data-Transformableinstance with the bean to be transformed.
 
- 
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 classAbstractFolderTransform
 
- 
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 classAbstractFolderTransform
 
- 
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Transforms the assosciatedWebBeanwhen its status isEnumRequestStatus.WebBeanRequestSuccessful.- Overrides:
 transformForRequestSuccessfulin classAbstractFolderTransform- Parameters:
 out-MarkupOutputinstance where the contents of this transform will be saved.- See Also:
 AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
 
- 
isNamedFolder
public boolean isNamedFolder(int folderName)
Returns true if the current folder corresponds to the system folder provided as a parameter- Parameters:
 folderName- int- Returns:
 - boolean
 
 
- 
renderHiddenInputs
public void renderHiddenInputs(MarkupOutput out)
Renders the hidden inputs of the events that can be handled by the bean- Parameters:
 out- MarkupOutput
 
- 
renderBrowser
public void renderBrowser(MarkupOutput out) throws WebBeanException, WebObjectsException
Renders the Project Browser based on the information provided by the fodler bean.- Parameters:
 out- MarkupOutput- Throws:
 WebBeanExceptionWebObjectsException
 
- 
renderBrowserContent
public void renderBrowserContent(MarkupOutput out) throws WebObjectsException, WebBeanException
Renders the Project Browser's elements based on the information provided by the fodler bean. This method is called by the renderBrowser method.- Parameters:
 out- MarkupOutput- Throws:
 WebObjectsExceptionWebBeanException
 
- 
getSubFolders
public java.util.List getSubFolders()
 
- 
getSubfolders
public java.util.ArrayList getSubfolders()
Deprecated.please usegetSubFolders()insteadReturns an arraylist with the subfolders of the current folder- Returns:
 - ArrayList
 
 
- 
isFolder
protected boolean isFolder(WebObjectInfo ob)
 
- 
getFolderObjects
public java.util.ArrayList getFolderObjects()
Deprecated.please usegetNonFolderObjects()insteadReturns an arraylist with the non-folder contents of the current folder- Returns:
 - ArrayList
 
 
- 
getNonFolderObjects
public java.util.List getNonFolderObjects()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderSubfolders
public void renderSubfolders(MarkupOutput out)
renders the current's folder subfolders as a list- Parameters:
 out- MarkupOutput
 
- 
renderFolderLinks
public void renderFolderLinks(MarkupOutput out)
renders the current's non-folder contensts as a list- Parameters:
 out- MarkupOutput
 
- 
renderFolderObjects
public void renderFolderObjects(MarkupOutput out)
renders the current's folder links as a list- Parameters:
 out- MarkupOutput
 
- 
renderList
public void renderList(MarkupOutput out)
Renders the list of objects contained in the folder as a list with small icons.- Overrides:
 renderListin classAbstractFolderTransform- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.
 
- 
renderListHTML
public void renderListHTML(MarkupOutput out) throws java.lang.IndexOutOfBoundsException, WebObjectsException, WebBeanException, UnmodifiableException
Renders the current folder's content in HTML mode- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.- Throws:
 WebObjectsExceptionWebBeanExceptionjava.lang.IndexOutOfBoundsExceptionUnmodifiableException
 
- 
renderFolderContentsHTML
public void renderFolderContentsHTML(MarkupOutput out) throws WebObjectsException, WebBeanException
Renders the current folder's non-folder contents title when in HTML mode- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.- Throws:
 WebObjectsExceptionWebBeanException
 
- 
renderFolderContentHTML
public void renderFolderContentHTML(MarkupOutput out, WebObjectInfo woi)
Renders a single non-folder content item from the current folder in HTML mode- Parameters:
 out- MarkupOutput
 
- 
renderFolderContentsTitleHTML
public void renderFolderContentsTitleHTML(MarkupOutput out)
Renders the current folder's non-folder contents title when in HTML mode- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.
 
- 
renderFolderContentsSubmitButtonHTML
public void renderFolderContentsSubmitButtonHTML(MarkupOutput out)
Renders the submit button for the folde's non-folder contents section in HTML mode- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.
 
- 
renderFoldersHTML
public void renderFoldersHTML(MarkupOutput out) throws WebObjectsException, WebBeanException
Renders the current folder's subfolders when in HTML mode- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.- Throws:
 WebObjectsExceptionWebBeanException
 
- 
renderFoldersTitleHTML
public void renderFoldersTitleHTML(MarkupOutput out)
Renders the current folder's subfolders title when in HTML mode- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.
 
- 
renderFoldersSubmitButtonHTML
public void renderFoldersSubmitButtonHTML(MarkupOutput out)
Renders the submit button for the folde's subfolders section in HTML mode- Parameters:
 out-MarkupOutputinstance where the HTML output is to be saved.
 
- 
renderFolderLink
public void renderFolderLink(MarkupOutput out, WebObjectInfo link)
Renders a single Object Browser Folder Link- Parameters:
 out- MarkupOutputlink- WebObjectInfo
 
- 
renderFolderLinkOptions
public void renderFolderLinkOptions(MarkupOutput out)
Renders a set of options for a select input containing the different object browser forlder links available for the current context.- Parameters:
 out- MarkupOutput
 
- 
getObjectName
public java.lang.String getObjectName(WebObjectInfo object)
Description copied from class:AbstractObjectInfoListTransformUtility method for obtaining the name of the object being analyzed- Overrides:
 getObjectNamein classAbstractObjectInfoListTransform- Parameters:
 object-WebObjectInfoinstance to be processed.- Returns:
 - value of the name property of the object. If handling a shortcut, it will obtain the property of the original target object and return this as result. By default the result will be encoded for its proper display on HTML.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderObjectName
public void renderObjectName(MarkupOutput out, WebObjectInfo object)
Renders only the name of the object passed as a parameter- Overrides:
 renderObjectNamein classFolderSmallIconTransform- Parameters:
 out-MarkupOutputinstance where to save the contents to displayobject- WebObjectInfo
 
- 
renderNameInfo
public void renderNameInfo(MarkupOutput out, WebObjectInfo object)
Write out name information for a single object. The string will be rendered as a link if the event according to the object type, provided by thegetEvent(com.microstrategy.web.objects.WebObjectInfo)method is available.- Overrides:
 renderNameInfoin classFolderSmallIconTransform- Parameters:
 out-MarkupOutputinstance where to save the contents to displayobject-WebObjectInfoto be rendered.
 
- 
getEvent
public WebEvent getEvent(WebObjectInfo object)
Description copied from class:AbstractFolderTransformBased on the object type on theWebObjectInfosent as parameter, it creates and initializes the correspondingWebEventfor having the object opened or run.- Overrides:
 getEventin classAbstractFolderTransform- 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
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getDescription
public java.lang.String getDescription()
Return the description for this Transform- Specified by:
 getDescriptionin interfaceTransform- Overrides:
 getDescriptionin classFolderSmallIconTransform- Returns:
 Stringwith the description for the transform.
 
- 
renderOpenParentLink
public void renderOpenParentLink(MarkupOutput out)
Renders a link to the folder's parent- Parameters:
 out- MarkupOutput
 
- 
setUpFolderJS
protected void setUpFolderJS(AnchorTag anchor)
Sets the JavaScript code to execute when clicking on the up folder link to go to the parent folder.- Parameters:
 anchor- The anchor tag on which we want to set the JavaScript.
 
- 
renderAncestorsSelector
public void renderAncestorsSelector(MarkupOutput out)
Renders a select box containing a list of the folder's ancestors- Parameters:
 out- MarkupOutput
 
- 
renderSearchBox
public void renderSearchBox(MarkupOutput out)
Renders the search box for the project browser- Parameters:
 out- MarkupOutput
 
- 
shouldRenderFolderLinks
public boolean shouldRenderFolderLinks()
Determines if the Object Browser Folder Links should be rendered.- Returns:
 - boolean
 
 
- 
renderSearchSection
public void renderSearchSection(MarkupOutput out)
Renders the search section of the project browser in DHTML mode- Parameters:
 out-MarkupOutput
 
- 
renderSearchButton
public void renderSearchButton(MarkupOutput out)
Renders a Magnifier image as the search/filter button of the browser- Parameters:
 out- MarkupOutput
 
- 
renderClearSearch
public void renderClearSearch(MarkupOutput out)
Renders a Link to clear search result and return to original content- Parameters:
 out- MarkupOutput- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getFolderLinkList
public java.util.ArrayList getFolderLinkList()
Returns a list containing the object browser folder links available for the current context.- Returns:
 - SimpleList
 
 
- 
getFolderRoot
protected WebObjectInfo getFolderRoot()
Returns a (@link WebObjectInfo) as a reference to the folder being displayed by the transform.- Returns:
 - WebObjectInfo
 
 
- 
setFolderRoot
protected void setFolderRoot(WebObjectInfo oi)
 
- 
getBrowseEvent
protected WebEvent getBrowseEvent()
Returns aWebEventinstance containing the event to use when browsing the folder list displayed by the transform.- Returns:
 - WebEvent
 
 
- 
getBrowseParentFolderEvent
protected WebEvent getBrowseParentFolderEvent()
Returns aWebEventinstance containing the event to use when browsing the folder list displayed by the transform.- Returns:
 - WebEvent
 
 
- 
getSearchEvent
protected WebEvent getSearchEvent()
Returns aWebEventinstance containing the event to use when searching trhought the folder list displayed by the transform.- Returns:
 - WebEvent
 
 
- 
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Description copied from class:AbstractAppTransformCreates an<a>tag from the EventManager.- Overrides:
 generateAnchorin classAbstractAppTransform- Parameters:
 event- the WebEvent to generate the link with the request- Returns:
 AnchorTaginstance initialized with the information from the event
 
- 
getJavascriptTyAttribute
protected java.lang.String getJavascriptTyAttribute(WebObjectInfo object)
Return the Javascript TY attribute to use for the generation of the HTML tag related with this object.- Parameters:
 object- TheWebObjectInfofor which it's ty attribute name is requested.- Returns:
 - The Javascript TY attribute to use for the generation of the HTML tag related with
 this object. If none is found given the object type, 
nullwill be returned. 
 
- 
getTooltipInfo
protected java.lang.String getTooltipInfo(WebObjectInfo item)
Returns the tooltip to add to each individual item in the Folder's list.- Overrides:
 getTooltipInfoin classFolderSmallIconTransform- Parameters:
 item- WebObjectInfo the folder's child. It includes the name and description of the item.- Returns:
 - String the tooltip to add to the HTML output.
 
 
- 
getForm
protected Tag getForm(Tag content)
The method will check if the renderFOrm formal parameter is set to true, and if so it will create a new form tag, insert the contents passed as parameter and return the form. If the formal parameter is set to false, the method return the same tag passed as parameter.- Parameters:
 content- Tag- Returns:
 - Tag
 
 
- 
getTooltipTitle
protected java.lang.String getTooltipTitle(WebObjectInfo item)
Returns the descriptor to use for rendering the itemss tooltips.- Parameters:
 item- WebObjectInfo- Returns:
 - String
 
 
- 
getFolderLinkClasses
protected java.lang.String getFolderLinkClasses(WebObjectInfo object)
Returns the cssClass name to use when rendering the object browser folder links- Parameters:
 object- WebObjectInfo- Returns:
 - String
 
 
- 
getFolderContentsSelectNameHTML
protected java.lang.String getFolderContentsSelectNameHTML()
returns the name the select box for folder contentss in HTML will have- Returns:
 - String
 
 
- 
getProjectID
protected java.lang.String getProjectID()
Private method that gets the Project ID from the session manager- Overrides:
 getProjectIDin classAbstractAppTransform- Returns:
 - String projectID
 
 
- 
getHiddenInputsEventList
protected java.util.ArrayList getHiddenInputsEventList()
Returns the list of events that will be included in the hidden inputs section.- Returns:
 - ArrayList
 
 
- 
getFolderLinksContextId
public int getFolderLinksContextId()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getFodlerLinksContextId
public int getFodlerLinksContextId()
Deprecated.please usegetFolderLinksContextId()insteadReturns the context id (from EnumObjectBrowserContexts) to use- Returns:
 - int
 
 
- 
getLinkAttributes
public java.util.Map getLinkAttributes(WebObjectInfo object)
this function is added to help generate layered icon in prompt project browser editor Get attribute for folder link in smallIconView- Parameters:
 object- -WebObjectInfoweb object to get attribute from- Returns:
 - Map
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
renderLayeredIconInfo
public void renderLayeredIconInfo(MarkupOutput out, WebObjectInfo object, boolean useLinkCss)
generate a SPAN tag which host background image and an inner SPAN for the layering effect in case an additional image has to be included on top of the original (for example, a shortcut arrow, a red error sign, etc).- Overrides:
 renderLayeredIconInfoin classAbstractObjectInfoListTransform- Parameters:
 out-MarkupOutputinstance where to save the contents to displayobject-WebObjectInfoto be rendered.useLinkCss- flag for a largeIconView or listView- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
 -