public abstract class

AbstractUserMgrContextMenuItemBuilder

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

Summary

Public Constructors
AbstractUserMgrContextMenuItemBuilder(Shortcut definition)
Public Methods
ContextMenuItem createItem(TransformContext context)
Creates and populates a ContextMenuItem based on the information in the Shortcut used as defintion.
boolean isItemAvailable(TransformContext context)

Returns true if the underlying Shortcut used as definition is available (based on the features defined on the <shortcut> xml.

Protected Methods
abstract WebEvent getEvent(TransformContext context)
String getJSCode(TransformContext context)
WebObjectInfo getObjectInfo(TransformContext context)
UserEntitiesTransform getTransform(TransformContext context)
abstract boolean isActionEnabled(TransformContext context)
[Expand]
Inherited Methods
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 AbstractUserMgrContextMenuItemBuilder (Shortcut definition)

Public Methods

public ContextMenuItem createItem (TransformContext context)

Creates and populates a ContextMenuItem based on the information in the Shortcut used as defintion.

Parameters
context TransformContext with context information.
Returns
  • a new instance of a ContextMenuItem.

public boolean isItemAvailable (TransformContext context)

Returns true if the underlying Shortcut used as definition is available (based on the features defined on the <shortcut> xml.

If this method returns false the context-menu-item should not be included as part of the available options in the menu.

Parameters
context TransformContext with context information.
Returns
  • true if the context-menu-item is available and should be included.

Protected Methods

protected abstract WebEvent getEvent (TransformContext context)

protected String getJSCode (TransformContext context)

protected WebObjectInfo getObjectInfo (TransformContext context)

protected UserEntitiesTransform getTransform (TransformContext context)

protected abstract boolean isActionEnabled (TransformContext context)