public class

FolderSaveAsTransform

extends FolderIconTransform
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.FolderIconTransform
               ↳ com.microstrategy.web.app.transforms.FolderSaveAsTransform

This class is deprecated.
Use FolderSaveAsXHTMLTransform instead.

Class Overview

This class extends the FolderIconTransform 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 null for all object types except folders.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.FolderIconTransform
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.FolderIconTransform
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
FolderSaveAsTransform()
Public Methods
WebEvent getEvent(WebObjectInfo object)
Extends getEvent by returning events only for objects of the type DssXmlTypeFolder.
void renderIconInfo(MarkupOutput out, WebObjectInfo object)
Extends renderIconInfo(MarkupOutput, WebObjectInfo) by adding javascript code in case of DHTML for appending the report name, report description and prompt selection to the image link information.
void renderNameInfo(MarkupOutput out, WebObjectInfo object)
Extends renderNameInfo(MarkupOutput, WebObjectInfo) 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)
Generates an anchor tag based on the event information sent as argument
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.FolderIconTransform
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 FolderSaveAsTransform ()

Public Methods

public WebEvent getEvent (WebObjectInfo object)

Extends getEvent by returning events only for objects of the type DssXmlTypeFolder. For other objects types, returns 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 renderIconInfo (MarkupOutput out, WebObjectInfo object)

Extends renderIconInfo(MarkupOutput, WebObjectInfo) 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.

public void renderNameInfo (MarkupOutput out, WebObjectInfo object)

Extends renderNameInfo(MarkupOutput, WebObjectInfo) 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)

Generates an anchor tag based on the event information sent as argument

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