public abstract class

FolderSimpleAction

extends AbstractFolderContextMenuItemBuilder
java.lang.Object
   ↳ com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
     ↳ com.microstrategy.web.app.transforms.contextmenus.AbstractFolderContextMenuItemBuilder
       ↳ com.microstrategy.web.app.transforms.contextmenus.FolderSimpleAction
Known Direct Subclasses

Summary

Public Constructors
FolderSimpleAction(Shortcut definition)
Public Methods
String getItemKey(TransformContext context)
Retrieve the key will be set on the context menu item corresponding to the context input.
Protected Methods
int getContextMenuFlag()
Indicates the abstract class which is the context-menu flag associated with this item.
WebEvent getEvent(TransformContext context)
Provides the abstract class with the corresponding event to execution with this item.
String getJSCodeForInvalidSFConfiguration(TransformContext context)
Returns JS code to display a message if the salesforce is not properly configured and the object being handled is a salesforce cube
String getParentFolderId(TransformContext context, WebObjectInfo object)
String iframeParam(FolderViewTransform transform)
boolean isDDACube(WebObjectInfo object)
boolean isEmmaCube(WebObjectInfo object)
boolean isEmmaDICube(WebObjectInfo object)
boolean isFolder(WebObjectInfo object)
boolean isOldDICube(WebObjectInfo object)
boolean isSparkCube(WebObjectInfo object)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.contextmenus.AbstractFolderContextMenuItemBuilder
From class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
From class java.lang.Object
From interface com.microstrategy.web.app.gui.ContextMenuItemBuilder

Public Constructors

public FolderSimpleAction (Shortcut definition)

Public Methods

public String getItemKey (TransformContext context)

Retrieve the key will be set on the context menu item corresponding to the context input. The context menu item generated based on the same context input will have the same key. This method can be called by context menu before calling createItem(TransformContext) to check whether the item already exists in the menu to avoid unnecessary creation.

Parameters
context The context for context menu item creation
Returns
  • The key for the context menu item if created using the context. By default null will be return, which means build has no knowledge about the item key. Then context menu item may generate the key by itself. For builder who wants avoid unnecessary item creation should take advantage of this method by overriding with a meaningful implementation.

Protected Methods

protected int getContextMenuFlag ()

Indicates the abstract class which is the context-menu flag associated with this item.

protected WebEvent getEvent (TransformContext context)

Provides the abstract class with the corresponding event to execution with this item.

protected String getJSCodeForInvalidSFConfiguration (TransformContext context)

Returns JS code to display a message if the salesforce is not properly configured and the object being handled is a salesforce cube

Returns
  • JS code to display a message if the salesforce is not properly configured and the object being handled is a salesforce cube

protected String getParentFolderId (TransformContext context, WebObjectInfo object)

protected String iframeParam (FolderViewTransform transform)

protected boolean isDDACube (WebObjectInfo object)

protected boolean isEmmaCube (WebObjectInfo object)

protected boolean isEmmaDICube (WebObjectInfo object)

protected boolean isFolder (WebObjectInfo object)

protected boolean isOldDICube (WebObjectInfo object)

protected boolean isSparkCube (WebObjectInfo object)