Class FolderQueryBuilder
- java.lang.Object
-
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractFolderContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.FolderSimpleAction
-
- com.microstrategy.web.app.transforms.contextmenus.FolderQueryBuilder
-
- All Implemented Interfaces:
ContextMenuItemBuilder
public class FolderQueryBuilder extends FolderSimpleAction
- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description FolderQueryBuilder(Shortcut definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextMenuItem
createItem(TransformContext context)
Creates the item and sets its javascript to submit the corresponding event using the iFrame.protected WebEvent
getEvent(TransformContext context)
Provides the abstract class with the corresponding event to execution with this item.protected boolean
isActionEnabled(TransformContext context)
Indicates the abstract class if the corresponding action of this item is available.boolean
isItemAvailable(TransformContext context)
Returns true if the corresponding flag is on and the the corresponding action is available.-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.FolderSimpleAction
getContextMenuFlag, getItemKey, getJSCodeForInvalidSFConfiguration, getParentFolderId, iframeParam, isDDACube, isEmmaCube, isEmmaDICube, isFolder, isOldDICube, isSparkCube
-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.AbstractFolderContextMenuItemBuilder
getJSCode, getLinkForMenuItem, getObjectInfo, getTarget, getTransform
-
Methods inherited from class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
createItem, getDefinition, getScript
-
-
-
-
Constructor Detail
-
FolderQueryBuilder
public FolderQueryBuilder(Shortcut definition)
-
-
Method Detail
-
isItemAvailable
public boolean isItemAvailable(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilder
Returns true if the corresponding flag is on and the the corresponding action is available.- Specified by:
isItemAvailable
in interfaceContextMenuItemBuilder
- Overrides:
isItemAvailable
in classAbstractFolderContextMenuItemBuilder
- Parameters:
context
- TransformContext with context information.- Returns:
true
if the context-menu-item is available and should be included.
-
isActionEnabled
protected boolean isActionEnabled(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilder
Indicates the abstract class if the corresponding action of this item is available.- Specified by:
isActionEnabled
in classAbstractFolderContextMenuItemBuilder
-
createItem
public ContextMenuItem createItem(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilder
Creates the item and sets its javascript to submit the corresponding event using the iFrame.- Specified by:
createItem
in interfaceContextMenuItemBuilder
- Overrides:
createItem
in classAbstractFolderContextMenuItemBuilder
- Parameters:
context
- TransformContext with context information.- Returns:
- a new instance of a
ContextMenuItem
.
-
getEvent
protected WebEvent getEvent(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilder
Provides the abstract class with the corresponding event to execution with this item.- Overrides:
getEvent
in classFolderSimpleAction
-
-