public class

FolderSaveAsXHTMLTransform

extends FolderSmallIconTransform
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.FolderSaveAsXHTMLTransform

Class Overview

This class extends the FolderSmallIconTransform by changing the events for opening templates, filters, reports and documents. We use this transform in the save as page, there users should only be able to browse folders and nothing else. So the getEvent(WebObjectInfo) method returns a null event for all object types except folders. The output of this Transform generates well-formed XHTML, and it's designed to use external css files for all formatting.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.FolderSmallIconTransform
From class com.microstrategy.web.app.transforms.AbstractFolderTransform
From class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.FolderSmallIconTransform
From class com.microstrategy.web.app.transforms.AbstractFolderTransform
From class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
FolderSaveAsXHTMLTransform()
Class constructor, initializes formal parameters
Public Methods
WebEvent getEvent(WebObjectInfo object)
Extends the parent method by returning events only for objects of the type DssXmlTypeFolder.
void renderEmptyList(MarkupOutput out, WebFolder folder)
This method is deprecated. please use and customize the renderEmptyList(MarkupOutput) method instead since this one won't be called by future releases
void renderNameInfo(MarkupOutput out, WebObjectInfo object)
Overwrites the parent method by adding javascript code in case of DHTML for appending the report name, report description and prompt selection to the image link information.
Protected Methods
AnchorTag generateAnchor(WebEvent event)
Overwrites the parent method by assigning an onclick event information to the anchor for events related with this transform.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.FolderSmallIconTransform
From class com.microstrategy.web.app.transforms.AbstractFolderTransform
From class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.LayoutTransform
From interface com.microstrategy.web.transform.Transform

Public Constructors

public FolderSaveAsXHTMLTransform ()

Class constructor, initializes formal parameters

Public Methods

public WebEvent getEvent (WebObjectInfo object)

Extends the parent method by returning events only for objects of the type DssXmlTypeFolder. For other objects types, it will return null.

Parameters
object a WebObjectInfo for which the event must be retrieved.
Returns
  • The default WebEvent associated with opening folders for the objects of type DssXmlTypeFolder. For any other object types, returns null.

public void renderEmptyList (MarkupOutput out, WebFolder folder)

This method is deprecated.
please use and customize the renderEmptyList(MarkupOutput) method instead since this one won't be called by future releases

Renders the folder when it has no children. Overwrites the parent method by adding the DIV tag around the empty contents message (if applicable).

Parameters
out MarkupOutput instance where the transform's output will be saved.
folder the WebFolder instance from the FolderBean being transformed.

public void renderNameInfo (MarkupOutput out, WebObjectInfo object)

Overwrites the parent method by adding javascript code in case of DHTML for appending the report name, report description and prompt selection to the image link information.

Parameters
out MarkupOutput instance where to save the contents to display
object WebObjectInfo to be rendered.

Protected Methods

protected AnchorTag generateAnchor (WebEvent event)

Overwrites the parent method by assigning an onclick event information to the anchor for events related with this transform.

Parameters
event WebEvent instance from where the anchor information will be initialized
Returns
  • AnchorTag initialized with the event details.