Package com.microstrategy.web.beans
Interface WebComponent
- 
- All Known Subinterfaces:
- AddressListBean,- AdminBean,- AdminTabBean,- AlertsEditorBean,- AllObjectBrowserBean,- AnnotationBean,- AppComponent,- AppSchemaBean,- AssociatedSchedulesBean,- AttributeBean,- AttributeFormsEditorBean,- AttributeFormsQualificationBean,- ChangePasswordBean,- ColorGradientEditorBean,- ColorPickerEditorBean,- ConfirmOverwriteDialogBean,- ConstantPromptBean,- ContactsBrowserBean,- ControlToolbarBean,- CustomGroupBean,- DataExplorerBean,- DatasetObjectExplorerBean,- DerivedElementBean,- DerivedElementFormatEditorBean,- DerivedElementsBrowserBean,- DerivedElementsConvertDialogBean,- DerivedElementsEditorBean,- DiagnosticsBean,- DimtyPromptBean,- DirectExportBean,- DocumentBean,- DocumentFrameBean,- DocumentFrameElement,- DrillEditorBean,- DrillFilterEditorBean,- EditableObjectAppBean,- EditableObjectBean,- ElementPickerBean,- ElementPromptBean,- ExportBean,- ExportOptionsEditorBean,- ExpressionBean,- ExpressionDisplayBean,- ExpressionPromptBean,- FilterAppBean,- FilterBean,- FilterDetailsFormattingEditorBean,- FilterEditorBean,- FilterElementBean,- FilterFrameBean,- FlashTabBean,- FolderBean,- FolderFrameBean,- FolderObjectExplorerBean,- FormatColorLinesTabBean,- FormatNumberTabBean,- FormatTabBean,- FormatTabManagerBean,- FormatToolbarBean,- FormulaBarBean,- FrameBean,- FrameElement,- FunctionEditorBean,- GraphBean,- GraphColorGradientEditorBean,- GraphFormatEditorBean,- GraphFormatToolbarBean,- GraphTitleTabBean,- GridAutoStylesBean,- GridColorGradientEditorBean,- GridFormatBean,- GridFormatEditorBean,- GridFormatToolbarBean,- GroupbyPropertiesEditorBean,- GroupPathBean,- ImportDerivedElementsBean,- ImportWizardBean,- InboxBean,- IOSSmartBannerBean,- LimitExpressionBean,- LoginBean,- LogoutBean,- MetricQualLevelEditorBean,- ObjectBean,- ObjectBrowserBean,- ObjectBrowserManagerBean,- ObjectBrowserTabBean,- ObjectExplorerBean,- ObjectManipulationDialogBean,- ObjectPromptBean,- ObjectSelectionBean,- OMDCreateFolderBean,- OptionsBean,- PageByBean,- PageComponent,- PageSetupHTMLEditorBean,- PathBean,- PDFBean,- PerformanceMonitorBean,- PreferencesBean,- PrintBean,- ProjectBrowser,- ProjectsBean,- ProjectStatusBean,- PromptAnswerBean,- PromptAppBean,- PromptBean,- PromptConstantAppBean,- PromptDefinitionAppBean,- PromptDefinitionBean,- PromptDetailsBean,- PromptDimtyAppBean,- PromptElementsAppBean,- PromptExpressionAppBean,- PromptHierarchyAppBean,- PromptObject,- PromptObjectAppBean,- PromptsBean,- PromptsContainerBean,- PromptsContainerFrameBean,- ReportBean,- ReportDetailsBean,- ReportFrameBean,- ReportFrameElement,- ReportObjectsTabBean,- ReportWorkingSetBrowserTabBean,- ResizeEditorBean,- ResultSetBean,- ResultSetFrameBean,- RibbonBean,- RWActionControlEditorBean,- RWBean,- RWDColorGradientEditorBean,- RWFrameBean,- RWGraphDropZonesEditorBean,- RWProjectBrowserTabBean,- RWViewBean,- RWViewExpressionBean,- RWWorkingSetBrowserTabBean,- SaveAsBean,- SaveObjectAsDialogBean,- ScheduleBean,- SearchBean,- SecondaryDataSourcesEditorBean,- SecurityFilterBean,- SecurityFilterFrameBean,- SecurityRoleBean,- SecurityRoleUserEntitiesSelectorBean,- SortEditorBean,- SubscriptionBean,- SubscriptionContactsBrowserBean,- SubscriptionEditorBean,- SubscriptionFolderBean,- SubscriptionFrameBean,- SubsetUnitLimitBean,- SubsetUnitLimitElementBean,- SubtotalsEditorBean,- TabBean,- TabManagerBean,- TemplateElementsBean,- TemplateFilterExecBean,- ThresholdEditorBean,- ThresholdExpressionBean,- ToolbarBean,- ToolbarSetBean,- UserBean,- UserContactsBrowserBean,- UserEntitiesBean,- UserEntitiesBrowserBean,- UserEntitiesSelectorBean,- UserEntityBean,- UserGroupBean,- UserSearchBean,- ViewBean,- ViewBeanParserBean,- ViewFilterElementPanelBean,- VisualizationPropertiesEditorBean,- VisualizationsEditorBean,- WebBean,- WebHyperLinkEditorBean,- WizardBean,- WizardStepBean,- XDADataExplorerBean
 - All Known Implementing Classes:
- AbstractAppComponent,- AbstractColorGradientEditorBeanImpl,- AbstractFrameEditorBean,- AbstractLimitExpressionBean,- AbstractObjectBrowserTabBean,- AbstractObjectExplorerBean,- AbstractPersistableAppComponent,- AbstractPersistableFrameElement,- AbstractTemplateElementsBean,- AbstractViewBeanParserBean,- AbstractWebComponent,- AccordionTabManagerBeanImpl,- AllObjectBrowserBeanImpl,- AssociatedSchedulesBeanImpl,- AttributeFormsQualificationBeanImpl,- ColorGradientEditorBeanImpl,- ControlToolbarBeanImpl,- CreditsBean,- CSRFConfirmationPageComponentImpl,- DatasetObjectExplorerBeanImpl,- DerivedElementBeanImpl,- DerivedElementsBrowserBeanImpl,- DesktopPageComponentImpl,- DocumentPageComponentImpl,- DrillEditorBeanImpl,- EditPromptPageComponentImpl,- ElementPickerBeanImpl,- FilterDetailsFormattingEditorBeanImpl,- FolderObjectExplorerBeanImpl,- FolderPageComponentImpl,- GraphColorGradientEditorBeanImpl,- GraphTitleTabBeanImpl,- GridColorGradientEditorBeanImpl,- HistoryListPageComponentImpl,- IOSSmartBannerBeanImpl,- MySubscriptionsPageComponentImpl,- NewWindowPageComponentImpl,- OptimizedTabBeanImpl,- OptionsBeanImpl,- PageSetupHTMLEditorBeanImpl,- PageSubscriptionsEdit,- PathBeanImpl,- PreferencesBeanImpl,- PreferenceSettingPageComponentImpl,- PreferencesPageComponentImpl,- ProjectBrowserBeanImpl,- PromptDetailsBeanImpl,- ReportDetailsBeanImpl,- ReportFrameBeanImpl,- ReportPageComponentImpl,- ResultSetPageComponentImpl,- RibbonBeanImpl,- RWDColorGradientEditorBeanImpl,- RWGraphDropZonesEditorBeanImpl,- RWOIVMPageComponent,- RWPageComponentImpl,- RWPromptsPageComponent,- RWSaveAsPageComponentImpl,- SearchPageComponentImpl,- SecondaryDataSourcesEditorBeanImpl,- SecurityRoleUserEntitiesSelectorBeanImpl,- ServletWebComponent,- SharingConfirmationPageComponentImpl,- SimplePageComponentImpl,- ThresholdExpressionBeanImpl,- ViewFilterElementPanelBeanImpl,- VisualizationPropertiesEditorBeanImpl,- VisualizationsEditorBeanImpl,- XDADataExplorerBeanImpl
 
 public interface WebComponentTheWebComponentinterface abstracts every component of a Web application. A page could be a WebComponent, so is a Servlet, a WebBean, etc. Except the root component, each individual WebComponent has a single parent WebComponent. Therefore each WebComponent has a unique path from the root to itself in a Web application.In a Web application, a user interaction could be abstracted as a WebEvent. Each individual WebComponent may have aWebEventHandlerassociated with it. TheWebEventHandleris capable of generating and handling a set ofWebEvent. If necessary, a WebComponent itself can be designed to handle aWebEvent.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChild(java.lang.String key, WebComponent child)adds a child WebComponent instance on the current WebComponent.voidaddChildStateInfo(ParameterBuilder paramBldr)Adds children state information into an existingParameterBuilderinstance.voidaddChildStateInfo(ParameterBuilder paramBldr, int howMuchState)Adds children state information into an existingParameterBuilderinstance.voidcollectData()Triggers execution to the back end no matter whether it is synchronous or asynchronous.voidcollectMinimalData()This is similar tocollectData()except data collected is minimal.MarkupOutputgenerateOutput()This is the generic method to ask the WebComponent to generate some output for the client.BeanContextgetBeanContext()Returns an instance ofBeanContext.WebComponentgetChild(int index)Returns the child WebComponent instance specified by the index.WebComponentgetChild(java.lang.String key)Returns the child WebComponent instance specified by the key.WebComponentgetChildByClass(java.lang.Class className)Returns the child WebComponent instance specified by the class.WebComponentgetChildByType(int childType)Returns the child WebComponent instance specified by the component type(EnumWebTransformableType).intgetChildCount()Returns the total number of children on the current WebComponent.voidgetChildrenByClass(java.lang.Class className, HashList retList, boolean recursive)Returns a collection of children specified by the class nameintgetDefaultStateLevel()Returns the default state level for the WebComponent.WebFeaturesgetFeaturesManager()Return the WebFeatures implementation associated with this WebComponentintgetMaximumStateLevel()Returns the maximum state level that is supported by the WebComponent.java.lang.StringgetName()Returns the name of the current WebComponent.intgetOutputFormat()Returns the output format ofEnumBeanOutputFormatof the current WebComponent.WebComponentgetParent()Returns the parent WebComponent of the current WebComponent.java.lang.StringgetPath()Returns the path from the root WebComponent to the current WebComponent.intgetPersistMode()Returns the persist flag (EnumBeanPersistMode) of the current WebComponent.java.util.SetgetRenderingFilter()returns the rendering filter.WebComponentgetRoot()Returns the root of the current WebComponent.WebComponentgetTargetBean()Get the target bean associated with this instancejava.lang.StringgetTargetBeanPath()WebEventgetWebEvent(int event)Returns theWebEventinstance with the specified event ID.WebEventgetWebEvent(int event, boolean recurse)Returns theWebEventinstance with the specified event ID.WebEventHandlergetWebEventHandler()Returns theWebEventHandlerinstance associated with the current WebComponent.intgetXMLStatus()This method returns theEnumRequestStatusstatus of the current Component.booleanhandleRequest(RequestKeys keys)Handles a request.booleanhasChanged()Verifies the state of the component has changedbooleanhasJustOpened()Verifies if the component has just been opened.voidinitBean()Initialize the component after it's created and its properties initializedvoidinvalidateChildrenState()Invalidates the cached URL and hidden INPUT states of all the components, including the current component, along the path to the root component.booleanisBeanContextEmpty()Verifies if a bean context exists for the current WebComponent.booleanisFeatureAvailable(java.lang.String featureID)Verifies the feature provided is accesible based on the properties of this WebComponentvoidprepareForReuse()If a Web Component instance is going to be reused across different requests, this API serves as a notifier to the component to do the necessary cleanup.WebComponentremoveChild(WebComponent component)removes a child WebComponent instance on the current WebComponent.WebComponentremoveChild(java.lang.String key)removes a child WebComponent instance on the current WebComponent.WebComponentsearchChild(java.lang.String key)Returns the child WebComponent instance specified by the key.voidsetBeanContext(BeanContext beanContext)Sets an instance ofBeanContexton the current WebBean.voidsetBeanContext(BeanContext beanContext, boolean propagate)Sets an instance ofBeanContexton the current WebBean.voidsetChanged(boolean value)Sets the changed state of the component.voidsetChanged(boolean value, boolean forceRecurse)Sets the changed state of the componentvoidsetDefaultStateLevel(int stateLevel)Sets the default state level for the WebComponent.voidsetFeaturesManager(WebFeatures featuresManager)Associate a WebFeatures implementation with this WebComponentvoidsetName(java.lang.String name)Sets the name on the current WebComponent.voidsetOutputFormat(int outputFormat)Sets the output format ofEnumBeanOutputFormatof the current WebComponent.voidsetParent(WebComponent parent)Sets the parent WebComponent of the current WebComponent.voidsetPersistMode(int persistFlag)Sets the persist flag (EnumBeanPersistMode) of the current WebComponent.voidsetRenderingFilter(java.util.Set renderingFilter)Sets the list of beans to render.voidsetTargetBean(WebComponent bean)Set the target bean that will be associated with this instance.voidsetTargetBeanPath(java.lang.String beanName)Define the base bean for this instance.voidsetWebEventHandler(WebEventHandler handler)Sets aWebEventHandleron this component.
 
- 
- 
- 
Method Detail- 
getNamejava.lang.String getName() Returns the name of the current WebComponent.- Returns:
- the name of the current WebComponent.
 
 - 
setNamevoid setName(java.lang.String name) Sets the name on the current WebComponent.- Parameters:
- name- the name on the current WebComponent.
 
 - 
getParentWebComponent getParent() Returns the parent WebComponent of the current WebComponent.- Returns:
- the parent WebComponent of the current WebComponent.
 
 - 
setParentvoid setParent(WebComponent parent) Sets the parent WebComponent of the current WebComponent.- Parameters:
- parent- the parent WebComponent of the current WebComponent.
 
 - 
getRootWebComponent getRoot() Returns the root of the current WebComponent.- Returns:
- root web component
 
 - 
getPathjava.lang.String getPath() Returns the path from the root WebComponent to the current WebComponent.- Returns:
- the path from the root WebComponent to the current WebComponent.
 
 - 
getWebEventWebEvent getWebEvent(int event) Returns theWebEventinstance with the specified event ID.
 - 
getWebEventWebEvent getWebEvent(int event, boolean recurse) Returns theWebEventinstance with the specified event ID.
 - 
handleRequestboolean handleRequest(RequestKeys keys) throws WebException Handles a request. TheRequestKeyscontains information aboutWebEvent, such as event ID, event arguments, etc. The current WebComponent may decide to handle this request if it can, or deligate to itsWebEventHandlerattached.- Parameters:
- keys- the- RequestKeysinstance.
- Returns:
- true if the request is handled, false if the current WebComponent decides not to
 handle it. Any backend error occurred in handling the request is returned as a
 WebBeanErrorinstance.
- Throws:
- WebException- if the any thing wrong in the- RequestKeys, which is not expected by this component or its event handlers.
 
 - 
getWebEventHandlerWebEventHandler getWebEventHandler() Returns theWebEventHandlerinstance associated with the current WebComponent.- Returns:
- the WebEventHandlerinstance.
 
 - 
setWebEventHandlervoid setWebEventHandler(WebEventHandler handler) Sets aWebEventHandleron this component. A web component has one to one relationship with aWebEventHandlerinstance. After this method call, the previousWebEventHandlerassociated with the current component will have no web component associated with, neither will the previous component associated withhandlerhave anyWebEventHandlerassociated with.This method calls the method setWebComponent. Therefore,WebEventHandlerimplementator should pay attention to avoid cyclic reference to each other between this component and the event handler.- Parameters:
- handler- the- WebEventHandler.
 
 - 
getChildCountint getChildCount() Returns the total number of children on the current WebComponent.- Returns:
- the number of child WebComponent.
 
 - 
addChildStateInfovoid addChildStateInfo(ParameterBuilder paramBldr, int howMuchState) Adds children state information into an existingParameterBuilderinstance. It is up to the suppliedParameterBuilderto determine how this information is serialized.- Parameters:
- paramBldr- The- ParameterBuilderinstance which has child state information added to it.
- howMuchState- How much state is added. (see- EnumWebPersistableStatefor details).
- Since:
- MicroStrategy Web 8.0.0
 
 - 
addChildStateInfovoid addChildStateInfo(ParameterBuilder paramBldr) Adds children state information into an existingParameterBuilderinstance. It is up to the suppliedParameterBuilderto determine how this information is serialized. EachWebComponentthe hierarchy serializes its state according to its owngetDefaultStateLevel().- Parameters:
- paramBldr- The- ParameterBuilderinstance which has child state information added to it.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
getChildByTypeWebComponent getChildByType(int childType) Returns the child WebComponent instance specified by the component type(EnumWebTransformableType).- Parameters:
- childType- the childType mapped to the WebComponent child type, a value from- EnumWebTransformableType.
- Returns:
- the child WebComponent instance; null if the childType is not mapped to any child WebComponent.
 
 - 
getChildByClassWebComponent getChildByClass(java.lang.Class className) Returns the child WebComponent instance specified by the class.- Parameters:
- className- the className mapped to the WebComponent class name.
- Returns:
- the child WebComponent instance; null if the className is not mapped to any child WebComponent.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
getChildWebComponent getChild(java.lang.String key) Returns the child WebComponent instance specified by the key.- Parameters:
- key- the key mapped to the child WebComponent.
- Returns:
- the child WebComponent instance; null if the key is not mapped to any child WebComponent.
 
 - 
getChildWebComponent getChild(int index) Returns the child WebComponent instance specified by the index.- Parameters:
- index- position of the instance of the collection to return.
- Returns:
- the child WebComponent instance; null if the index is out of bounds.
 
 - 
searchChildWebComponent searchChild(java.lang.String key) Returns the child WebComponent instance specified by the key. If the WebComponent is not found within this object's children it will propagate this to them recursively.- Parameters:
- key- the path to the child to be searched.
- Returns:
- the child WebComponent instance; null if the index is out of bounds.
 
 - 
getChildrenByClassvoid getChildrenByClass(java.lang.Class className, HashList retList, boolean recursive)Returns a collection of children specified by the class name- Parameters:
- className- the className mapped to the WebComponent class name
- retList- the HashList to fill with the children
- recursive- boolean to Search the children recursively or not
- Since:
- MicroStrategy Web 8.0.0
 
 - 
addChildvoid addChild(java.lang.String key, WebComponent child)adds a child WebComponent instance on the current WebComponent.- Parameters:
- key- the key mapped to the child WebComponent.
- child- the child WebComponent to add.
 
 - 
removeChildWebComponent removeChild(java.lang.String key) removes a child WebComponent instance on the current WebComponent.- Parameters:
- key- the key mapped to the child WebComponent.
- Returns:
- the child WebComponentto be removed.
 
 - 
removeChildWebComponent removeChild(WebComponent component) removes a child WebComponent instance on the current WebComponent.- Parameters:
- component- The reference to the component that needs to be removed.
- Returns:
- the child WebComponentto be removed.
 
 - 
setPersistModevoid setPersistMode(int persistFlag) Sets the persist flag (EnumBeanPersistMode) of the current WebComponent.- Parameters:
- persistFlag- the persist flag (- EnumBeanPersistMode) of the current WebComponent.
 
 - 
getPersistModeint getPersistMode() Returns the persist flag (EnumBeanPersistMode) of the current WebComponent.- Returns:
- the persist flag (EnumBeanPersistMode) of the current WebComponent.
 
 - 
getOutputFormatint getOutputFormat() Returns the output format ofEnumBeanOutputFormatof the current WebComponent.- Returns:
- the output format of EnumBeanOutputFormat.
 
 - 
getMaximumStateLevelint getMaximumStateLevel() Returns the maximum state level that is supported by the WebComponent. This value will come fromEnumWebPersistableState.- Returns:
- A value from EnumWebPersistableStatewhich indicates the maximum state level supported.
 
 - 
getDefaultStateLevelint getDefaultStateLevel() Returns the default state level for the WebComponent. This value will come fromEnumWebPersistableState.- Returns:
- A value from EnumWebPersistableStatewhich indicates the default state level.
 
 - 
setDefaultStateLevelvoid setDefaultStateLevel(int stateLevel) Sets the default state level for the WebComponent. This value should come fromEnumWebPersistableState.- Parameters:
- stateLevel- A value from- EnumWebPersistableStatewhich indicates the default state level to use.
 
 - 
setOutputFormatvoid setOutputFormat(int outputFormat) Sets the output format ofEnumBeanOutputFormatof the current WebComponent.- Parameters:
- outputFormat- the output format of- EnumBeanOutputFormatto set.
 
 - 
generateOutputMarkupOutput generateOutput() This is the generic method to ask the WebComponent to generate some output for the client. The type of output should be determined by the OutputFormat property (setOutputFormat(int)).- Returns:
- a MarkupOutputobject.
 
 - 
getBeanContextBeanContext getBeanContext() Returns an instance ofBeanContext.- Returns:
- an instance of BeanContext.
 
 - 
setBeanContextvoid setBeanContext(BeanContext beanContext) Sets an instance ofBeanContexton the current WebBean.- Parameters:
- beanContext- the- BeanContextinstance to set.
 
 - 
setBeanContextvoid setBeanContext(BeanContext beanContext, boolean propagate) Sets an instance ofBeanContexton the current WebBean.- Parameters:
- beanContext- the- BeanContextinstance to set.
- propagate- if true, the same context is set on the bean's children, if false, the context is set only if a child bean's context is empty
- Since:
- MicroStrategy Web 9.0.0
 
 - 
invalidateChildrenStatevoid invalidateChildrenState() Invalidates the cached URL and hidden INPUT states of all the components, including the current component, along the path to the root component.
 - 
getXMLStatusint getXMLStatus() This method returns theEnumRequestStatusstatus of the current Component.- Returns:
- the EnumRequestStatusof the current page.
 
 - 
collectDatavoid collectData() throws WebBeanExceptionTriggers execution to the back end no matter whether it is synchronous or asynchronous. If this method fails to collect data, an exception is raised and saved in a WebBeanError instance. After invoking this operation, seegetXMLStatus()andWebBean.getErrorInfo()for details.- Throws:
- WebBeanException- thrown if there is any error collecting data.
 
 - 
collectMinimalDatavoid collectMinimalData() throws WebBeanExceptionThis is similar tocollectData()except data collected is minimal. This is essentially a check to ensure everything is ok, but that we don't need any data. After invoking this operation, seegetXMLStatus()andWebBean.getErrorInfo()for details.- Throws:
- WebBeanException- thrown if an error occurs during this operation.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
isFeatureAvailableboolean isFeatureAvailable(java.lang.String featureID) Verifies the feature provided is accesible based on the properties of this WebComponent- Parameters:
- featureID- the name of the feature to check
- Returns:
- boolean indicating is the feature is accesible or not
 
 - 
setFeaturesManagervoid setFeaturesManager(WebFeatures featuresManager) Associate a WebFeatures implementation with this WebComponent- Parameters:
- featuresManager- a- WebFeaturesobject.
 
 - 
getFeaturesManagerWebFeatures getFeaturesManager() Return the WebFeatures implementation associated with this WebComponent- Returns:
- a WebFeatures instance
 
 - 
hasChangedboolean hasChanged() Verifies the state of the component has changed- Returns:
- trueif the component state has been changed.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
hasJustOpenedboolean hasJustOpened() Verifies if the component has just been opened. This would mean that the current event processed would be an event to open this component.- Returns:
- trueif the component state has been opened.
- Since:
- MicroStrategy Web 8.0.0
 
 - 
setChangedvoid setChanged(boolean value) Sets the changed state of the component.- Parameters:
- value- a boolean value indicating whether the component should be marked as changed. Only a value of "true" is propogated to child components. To force propogation, use- setChanged(boolean, boolean)
- Since:
- MicroStrategy Web 8.0.0
 
 - 
setChangedvoid setChanged(boolean value, boolean forceRecurse)Sets the changed state of the component- Parameters:
- value- a boolean value indicating whether the component is changed
- forceRecurse- boolean to indicate whether the value needs to be propogated to child components.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
setRenderingFiltervoid setRenderingFilter(java.util.Set renderingFilter) Sets the list of beans to render. The idea here is that, sometimes during an iframe request even though a bean has changed, there might be some beans (e.g. Toolbar) who should'nt need to render themselves just because they have this component as their targetBeanPath. renderingFilter should help control that.- Parameters:
- renderingFilter- a Set of Strings representing beanNames
- Since:
- MicroStrategy Web 8.1.0
 
 - 
getRenderingFilterjava.util.Set getRenderingFilter() returns the rendering filter.- Returns:
- rendering filter.
- Since:
- MicroStrategy Web 8.1.0
 
 - 
isBeanContextEmptyboolean isBeanContextEmpty() Verifies if a bean context exists for the current WebComponent. This method exists because getBeanContext will automatically create a default bean context. Hence we cannot getBeanContext check if it is null- Since:
- MicroStrategy Web 9.0.0
 
 - 
setTargetBeanPathvoid setTargetBeanPath(java.lang.String beanName) Define the base bean for this instance.- Parameters:
- beanName-- Stringwith the name of the bean (with path information if necessary) to be set as the base bean for this instance.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
getTargetBeanPathjava.lang.String getTargetBeanPath() - Returns:
- a Stringvalue with the name of the bean defined to be associated with this instance, if any.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
setTargetBeanvoid setTargetBean(WebComponent bean) Set the target bean that will be associated with this instance.- Parameters:
- bean-- WebComponentinstance to be associated with this bean.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
getTargetBeanWebComponent getTargetBean() Get the target bean associated with this instance- Returns:
- WebComponentinstance associated with this bean.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
prepareForReusevoid prepareForReuse() If a Web Component instance is going to be reused across different requests, this API serves as a notifier to the component to do the necessary cleanup.- Since:
- MicroStrategy Web 9.0.0
 
 - 
initBeanvoid initBean() Initialize the component after it's created and its properties initialized
 
- 
 
-