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 ContextMenuItemcreateItem(TransformContext context)Creates the item and sets its javascript to submit the corresponding event using the iFrame.protected WebEventgetEvent(TransformContext context)Provides the abstract class with the corresponding event to execution with this item.protected booleanisActionEnabled(TransformContext context)Indicates the abstract class if the corresponding action of this item is available.booleanisItemAvailable(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:AbstractFolderContextMenuItemBuilderReturns true if the corresponding flag is on and the the corresponding action is available.- Specified by:
 isItemAvailablein interfaceContextMenuItemBuilder- Overrides:
 isItemAvailablein classAbstractFolderContextMenuItemBuilder- Parameters:
 context- TransformContext with context information.- Returns:
 trueif the context-menu-item is available and should be included.
 
- 
isActionEnabled
protected boolean isActionEnabled(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilderIndicates the abstract class if the corresponding action of this item is available.- Specified by:
 isActionEnabledin classAbstractFolderContextMenuItemBuilder
 
- 
createItem
public ContextMenuItem createItem(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilderCreates the item and sets its javascript to submit the corresponding event using the iFrame.- Specified by:
 createItemin interfaceContextMenuItemBuilder- Overrides:
 createItemin classAbstractFolderContextMenuItemBuilder- Parameters:
 context- TransformContext with context information.- Returns:
 - a new instance of a 
ContextMenuItem. 
 
- 
getEvent
protected WebEvent getEvent(TransformContext context)
Description copied from class:AbstractFolderContextMenuItemBuilderProvides the abstract class with the corresponding event to execution with this item.- Overrides:
 getEventin classFolderSimpleAction
 
 - 
 
 -