Package com.microstrategy.web.app.beans
Interface TabBean
- 
- All Superinterfaces:
 AppComponent,Transformable,ViewBeanParserBean,WebComponent
- All Known Subinterfaces:
 AdminTabBean,FlashTabBean,FormatColorLinesTabBean,FormatNumberTabBean,FormatTabBean,GraphTitleTabBean,ObjectBrowserTabBean,ReportObjectsTabBean,ReportWorkingSetBrowserTabBean,RWProjectBrowserTabBean,RWWorkingSetBrowserTabBean
- All Known Implementing Classes:
 AbstractObjectBrowserTabBean,GraphTitleTabBeanImpl,OptimizedTabBeanImpl
public interface TabBean extends ViewBeanParserBean
This interface shall be used as base for creating tab beans that can be displayed by aTabManagerBeaninstance or on their own.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intCACHEDstatic intFETCHstatic intTAB_REPRESENTED_NOT_SPECIFIEDConstant to represent the tab identifier this instance represents has not been specified yet- 
Fields inherited from interface com.microstrategy.web.app.beans.AppComponent
COMPONENT_POSITION_NOT_INITIALIZED 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetEnabledCmdId()Get the command id to be queried on the clioent site.java.lang.StringgetFeatures()Gets a list of feature ids that are required to enable the tabjava.lang.StringgetHelpTopic()get the help topic of this tabjava.lang.StringgetHelpType()get the type of the help filebooleangetRequireSingleSelector()Each instance of this class represents a tab in theTabManagerBean.java.lang.StringgetSupportedTypes()Get the list of objects this tab can be associated with.intgetSwitchMode()Gets the switch mode of the tab beanjava.lang.StringgetTabId()Returns a string can be used as the identifier of the tab.java.lang.StringgetTabLabel()Get the description text to be used as title for the display of the tab.java.lang.StringgetTabLabelId()Get the identifier of the descriptor to be used as title for the display of the tab.TabManagerBeangetTabManager()Utility method for obtaining the parent tabe manager associated to this tabjava.lang.StringgetTabName()Each instance of this class represents a tab in theTabManagerBean.intgetTabRepresented()Each instance of this class represents a tab in theTabManagerBean.ViewBeangetViewBean()Utility method for obtaining theViewBeanindicated as target bean for this tab instance.booleanisAvailable()This method specifies if in the current scenario, the bean instance can be displayed as possible tab option, based on granted privileges, etc.booleanisPartialUpdate()voidsetEnabledCmdId(java.lang.String value)Set the command id to be queried on the client site.voidsetFeatures(java.lang.String featureIds)Sets a list of feature ids that are required to enable the tabvoidsetHelpTopic(java.lang.String topic)set the help topic of the editorvoidsetHelpType(java.lang.String type)set the help type for the editorvoidsetPartialUpdate(boolean paritalUpdate)voidsetRequireSingleSelector(boolean requireSingleSelector)Each instance of this class represents a tab in theTabManagerBean.voidsetSupportedTypes(java.lang.String supportedTYpes)Set the list of objects this tab can be associated with.voidsetSwitchMode(int switchMode)Sets the switch mode of the tab bean (client side switch or server side switch)voidsetTabLabel(java.lang.String description)Set the description text to be used as title for the display of the tab.voidsetTabLabelId(java.lang.String descriptionId)Set the identifier of the descriptor to be used as title for the display of the tab.voidsetTabName(java.lang.String tabName)Each instance of this class represents a tab in theTabManagerBean.voidsetTabRepresented(int tab)Each instance of this class represents a tab in theTabManagerBean.- 
Methods inherited from interface com.microstrategy.web.app.beans.AppComponent
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getLeft, getResultFilterMode, getTop, isDialog, isForcedChildrenStateSaving, isModal, isModalOpen, isOpen, setExtraInput, setExtraUrl, setForcedChildrenStateSaving, setHasJustOpened, setIsDialog, setIsModal, setIsOpen, setLeft, setTop 
- 
Methods inherited from interface com.microstrategy.web.beans.Transformable
addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, getBeanContext, getMessageString, getMyTransformInstances, getTransformInstance, getTransformInstance, getTransformInstances, getType, hasTransform, hasTransform, invalidateTransformCache, setBeanContext, transform, transform 
- 
Methods inherited from interface com.microstrategy.web.app.beans.ViewBeanParserBean
getActiveElementIndex, getActiveViewKey, getTemplateElementList, getViewBean, setActiveElementIndex, setActiveViewKey 
- 
Methods inherited from interface com.microstrategy.web.beans.WebComponent
addChild, addChildStateInfo, addChildStateInfo, collectData, collectMinimalData, generateOutput, getBeanContext, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getFeaturesManager, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBean, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, getXMLStatus, handleRequest, hasChanged, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isFeatureAvailable, prepareForReuse, removeChild, removeChild, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setOutputFormat, setParent, setPersistMode, setRenderingFilter, setTargetBean, setTargetBeanPath, setWebEventHandler 
 - 
 
 - 
 
- 
- 
Field Detail
- 
TAB_REPRESENTED_NOT_SPECIFIED
static final int TAB_REPRESENTED_NOT_SPECIFIED
Constant to represent the tab identifier this instance represents has not been specified yet- See Also:
 - Constant Field Values
 
 
- 
CACHED
static final int CACHED
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
FETCH
static final int FETCH
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
setTabRepresented
void setTabRepresented(int tab)
Each instance of this class represents a tab in theTabManagerBean. This method allows to specify which tab this instance will represent, so theTabManagerBeanmanager knows how to transfer render control to the child, depending on which tab the user requested.- Parameters:
 tab- an identifier of the tab this instance represents.
 
- 
getTabRepresented
int getTabRepresented()
Each instance of this class represents a tab in theTabManagerBean. This method allows to get which tab this instance will represent, so theTabManagerBeanmanager knows how to transfer render control to the child, depending on which tab the user requested.- Returns:
 - the identifier of the tab this instance represents
 
 
- 
setRequireSingleSelector
void setRequireSingleSelector(boolean requireSingleSelector)
Each instance of this class represents a tab in theTabManagerBean. This method allows to specify whether this tab instance's availability relies on the selection of exactly one selector control among all the units the user has selected.- Parameters:
 requireSingleSelector- boolean indicating whether a single selection on selector control is required for the tab to be available or not.- Since:
 - MicroStrategy Web 8.1.2
 
 
- 
getRequireSingleSelector
boolean getRequireSingleSelector()
Each instance of this class represents a tab in theTabManagerBean. This method inidicates whether this tab instance's availability relies on the selection of exactly one selector control among all the units the user has selected.- Returns:
 - indicates whether a single selection on selector control is required for the tab to be available or not.
 - Since:
 - MicroStrategy Web 8.1.2
 
 
- 
setTabName
void setTabName(java.lang.String tabName)
Each instance of this class represents a tab in theTabManagerBean. This method allows an alternative other than getTabRepresented() to get which tab this instance presents , so theTabManagerBeanmanager knows how to transfer render control to the child, depending on which tab name the user requested.- Parameters:
 tabName- the name identifier of the tab this instance represents- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getTabName
java.lang.String getTabName()
Each instance of this class represents a tab in theTabManagerBean. This method allows an alternative other than getTabRepresented() to get which tab this instance presents , so theTabManagerBeanmanager knows how to transfer render control to the child, depending on which tab name the user requested.- Returns:
 - the name identifier of the tab this instance represents
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isAvailable
boolean isAvailable()
This method specifies if in the current scenario, the bean instance can be displayed as possible tab option, based on granted privileges, etc.- Returns:
 Trueif the instance is available for being displayed, if the user were to request it. ReturnsFalseotherwise.
 
- 
setTabLabel
void setTabLabel(java.lang.String description)
Set the description text to be used as title for the display of the tab.- Parameters:
 description-Stringwith the text to be used as title of the tab.
 
- 
setTabLabelId
void setTabLabelId(java.lang.String descriptionId)
Set the identifier of the descriptor to be used as title for the display of the tab.- Parameters:
 descriptionId-Stringwith the identifier of the descriptor to be used as title of the tab.
 
- 
getTabLabel
java.lang.String getTabLabel()
Get the description text to be used as title for the display of the tab.- Returns:
 Stringwith the text to be used as title of the tab.
 
- 
getTabLabelId
java.lang.String getTabLabelId()
Get the identifier of the descriptor to be used as title for the display of the tab.- Returns:
 Stringwith the identifier of the descriptor to be used as title of the tab.
 
- 
getTabId
java.lang.String getTabId()
Returns a string can be used as the identifier of the tab.- Returns:
 Stringwith the text to be used as the id of the tab.- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
setSupportedTypes
void setSupportedTypes(java.lang.String supportedTYpes)
Set the list of objects this tab can be associated with.- Parameters:
 supportedTYpes-Stringlist of the associated objectys i.e. obj.103, obj.102
 
- 
getSupportedTypes
java.lang.String getSupportedTypes()
Get the list of objects this tab can be associated with.- Returns:
 Stringwith the a list of supported objects.
 
- 
setEnabledCmdId
void setEnabledCmdId(java.lang.String value)
Set the command id to be queried on the client site. This determines the availability of the tab.- Parameters:
 value-
 
- 
getEnabledCmdId
java.lang.String getEnabledCmdId()
Get the command id to be queried on the clioent site. This determines the availability of the tab.- Returns:
 Stringwith the tab's command id.
 
- 
getViewBean
ViewBean getViewBean()
Utility method for obtaining theViewBeanindicated as target bean for this tab instance.- Specified by:
 getViewBeanin interfaceViewBeanParserBean- Returns:
 - the 
ViewBeancorresponding to the name specified on theActiveViewKeyproperty. Returnsnullif not found (or if bean type is not related withViewBean). 
 
- 
getTabManager
TabManagerBean getTabManager()
Utility method for obtaining the parent tabe manager associated to this tab- Returns:
 - the 
TabManagerBeanparent 
 
- 
setFeatures
void setFeatures(java.lang.String featureIds)
Sets a list of feature ids that are required to enable the tab- Parameters:
 featureIds-StringfeatureIds separated by ","
 
- 
getFeatures
java.lang.String getFeatures()
Gets a list of feature ids that are required to enable the tab- Returns:
 String
 
- 
setSwitchMode
void setSwitchMode(int switchMode)
Sets the switch mode of the tab bean (client side switch or server side switch)- Parameters:
 switchMode-int- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getSwitchMode
int getSwitchMode()
Gets the switch mode of the tab bean- Returns:
 int- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setPartialUpdate
void setPartialUpdate(boolean paritalUpdate)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isPartialUpdate
boolean isPartialUpdate()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setHelpType
void setHelpType(java.lang.String type)
set the help type for the editor- Parameters:
 type- String is one ofHelpHelper.HELP_TYPE_ADMIN,HelpHelper.HELP_TYPE_USER,HelpHelper.HELP_TYPE_CUSTOM- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getHelpType
java.lang.String getHelpType()
get the type of the help file- Returns:
 - the type is one of 
HelpHelper.HELP_TYPE_ADMIN,HelpHelper.HELP_TYPE_USER,HelpHelper.HELP_TYPE_CUSTOM - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setHelpTopic
void setHelpTopic(java.lang.String topic)
set the help topic of the editor- Parameters:
 topic- the help topic- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getHelpTopic
java.lang.String getHelpTopic()
get the help topic of this tab- Returns:
 - the help topic of this tab needs to point to
 - Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
 -