Package com.microstrategy.web.app.beans
Class AttributeFormsQualificationBeanImpl
- java.lang.Object
-
- com.microstrategy.utils.serialization.AbstractPersistable
-
- com.microstrategy.web.beans.AbstractTransformable
-
- com.microstrategy.web.beans.AbstractWebComponent
-
- com.microstrategy.web.app.beans.AbstractAppComponent
-
- com.microstrategy.web.app.beans.AbstractPersistableAppComponent
-
- com.microstrategy.web.app.beans.AbstractPersistableFrameElement
-
- com.microstrategy.web.app.beans.AbstractViewBeanParserBean
-
- com.microstrategy.web.app.beans.AttributeFormsQualificationBeanImpl
-
- All Implemented Interfaces:
EnumWebPersistableState,Persistable,AppComponent,AttributeFormsEditorBean,AttributeFormsQualificationBean,FrameElement,ReportFrameElement,ViewBeanParserBean,RequestPersistable,Transformable,WebComponent
public class AttributeFormsQualificationBeanImpl extends AbstractViewBeanParserBean implements AttributeFormsQualificationBean
- Since:
- MicroStrategy Web 8.0.2
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
STATE_DELIMITOR, STATE_ITEM_SEPARATOR
-
Fields inherited from class com.microstrategy.web.beans.AbstractWebComponent
_features, _hasJustOpened
-
Fields inherited from class com.microstrategy.web.beans.AbstractTransformable
_beanContext
-
Fields inherited from class com.microstrategy.utils.serialization.AbstractPersistable
scriptEndTagEncoder
-
Fields inherited from interface com.microstrategy.web.app.beans.AppComponent
COMPONENT_POSITION_NOT_INITIALIZED
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Constructor Summary
Constructors Constructor Description AttributeFormsQualificationBeanImpl()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoCollectData()Collects dataprotected voiddoFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)Speciefies which bean's properties are persisted.java.util.VectorgetAttFormsVector()Returns aVectorwith the list of attribute forms for the selected attributeWebAttributegetAttribute()Returns the attribute contained in the bean, which was initialized with the attributeId property.WebAttributeFormsgetAttributeForms()Returns theWebAttributeFormsfor the currently selected Attributejava.lang.StringgetAttributeId()Returns The ID of the Attribute to select on the Attribute Forms Editorjava.util.ArrayListgetAttributeList()Returns anArrayListthe list of Attributesjava.lang.StringgetHiddenAttributeForms()Returns the comma separated list of attribute form ids to be hidden.intgetOperatorType()Returns the operator type associated with this bean.WebAttributegetSelectedAttribute()Returns theWebAttributecurrently selectedbooleangetShowAttributeList()Whether to display the list of attributes on the Attribute Forms EditorbooleanisEditor()Indicates whether the instance most be considered editor.booleanisEnabled()Indicates whether the instance is enabled or not, depending on the features available.protected WebEventHandlernewDefaultEventHandler()voidreset()Initializes the bean by clearing the selected Attribute as well as the list of Attribute FormsvoidsetAttFormsVector(java.lang.String strAttFormsVector)Set the attribute form informationvoidsetAttributeId(java.lang.String attId)Sets the ID of the Attribute to select on this Attribute Forms Editor instanceprotected voidsetHelpEventInformation(Editor editor)Set the help event information for the editorvoidsetHiddenAttributeForms(java.lang.String attributeForms)Comma separated list of attribute form ids to be hidden.voidsetOperatorType(int _operatorType)Sets the operator type is one of the following valuesExpressionHelper.ATTR_OPERATORSExpressionHelper.MDX_ATTR_OPERATORSThe default value isExpressionHelper.ATTR_OPERATORS.voidsetShowAttributeList(boolean showAttributeList)Whether to display the list of attributes on the Attribute Forms Editor-
Methods inherited from class com.microstrategy.web.app.beans.AbstractViewBeanParserBean
getActiveElementIndex, getActiveViewKey, getTemplateElementList, getViewBean, getViewBean, setActiveElementIndex, setActiveViewKey
-
Methods inherited from class com.microstrategy.web.app.beans.AbstractPersistableFrameElement
getDocumentFrameBean, getFeaturesManager, getFrameBean, getReportFrameBean, getRWFrameBean, getUseIFrame, isGridDataNecessary, isIFrameEnabled, isOpen, setIsOpen, setUseIFrame
-
Methods inherited from class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
addChildStateInfo, isCookieOpen, isSaveStateEnabled, saveState, saveState, saveState, saveState
-
Methods inherited from class com.microstrategy.web.app.beans.AbstractAppComponent
addChildStateInfo, collectData, collectMinimalData, compareChildsTargetWithCurrent, createTransformInstance, doCollectMinimalData, generateOutput, getAppContext, getContactInfo, getContainerServices, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getLeft, getObjectSource, getResultFilterMode, getSession, getTargetBean, getTop, getType, getWebObjectsFactory, getWebObjectsFactory, getXMLStatus, hasChanged, hasTargetBeanChanged, haveChildrenChanged, initComponent, internalCollectData, isDialog, isForcedChildrenStateSaving, isIFrameRequest, isModal, isModalOpen, newDefaultBeanContext, newHiddenInputBuilder, newNamespaceEncoder, newStyleRequestContext, newURIBuilder, setExtraInput, setExtraUrl, setForcedChildrenStateSaving, setHasJustOpened, setIsDialog, setIsModal, setLeft, setOutputFormat, setTop
-
Methods inherited from class com.microstrategy.web.beans.AbstractWebComponent
addChild, addChildStateInfo, addChildStateInfo, addChildStateInfo, addStateInfo, childValues, clearChildren, clearStateCache, getCachedState, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, handleRequest, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isChangeComparisonFlagSet, isFeatureAvailable, prepareForReuse, removeChild, removeChild, restoreState, restoreStateFromRequest, restoreStateFromRequest, saveXMLState, saveXMLState, saveXMLState, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setParent, setPersistMode, setRenderingFilter, setStateCache, setTargetBean, setTargetBeanPath, setWebEventHandler
-
Methods inherited from class com.microstrategy.web.beans.AbstractTransformable
addTransform, addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, createTransformInstance, getBeanContext, getDefaultTransform, getMessageString, getMyTransformInstances, getTransformInstance, getTransformInstance, getTransformInstances, hasTransform, hasTransform, internalCollectData, internalCollectData, invalidateTransformCache, isTransformSuitable, transform, transform, transform, transform
-
Methods inherited from class com.microstrategy.utils.serialization.AbstractPersistable
doFlatState, getStateHandler, isXMLStateZipped, restoreState, restoreXMLState, saveXMLState
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.app.beans.AttributeFormsEditorBean
getAttribute, getAttributeForms, getAttributeId, setAttributeId
-
Methods inherited from interface com.microstrategy.web.app.beans.FrameElement
getFrameBean, getTargetBean, getTargetBeanPath, getUseIFrame, isEditor, isEnabled, setTargetBean, setTargetBeanPath, setUseIFrame
-
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, saveState, saveState
-
Methods inherited from interface com.microstrategy.web.app.beans.ReportFrameElement
getReportFrameBean, isGridDataNecessary
-
Methods inherited from interface com.microstrategy.web.beans.RequestPersistable
restoreStateFromRequest, restoreStateFromRequest
-
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, 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, 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, setWebEventHandler
-
-
-
-
Method Detail
-
getAttFormsVector
public java.util.Vector getAttFormsVector()
Description copied from interface:AttributeFormsEditorBeanReturns aVectorwith the list of attribute forms for the selected attribute- Specified by:
getAttFormsVectorin interfaceAttributeFormsEditorBean- Returns:
Vectorinstance with the list of Attribute forms for the selected Attribute
-
getSelectedAttribute
public WebAttribute getSelectedAttribute()
Description copied from interface:AttributeFormsEditorBeanReturns theWebAttributecurrently selected- Specified by:
getSelectedAttributein interfaceAttributeFormsEditorBean- Returns:
WebAttributeinstance of the selected attribute.
-
getAttributeList
public java.util.ArrayList getAttributeList()
Description copied from interface:AttributeFormsEditorBeanReturns anArrayListthe list of Attributes- Specified by:
getAttributeListin interfaceAttributeFormsEditorBean- Returns:
ArrayListinstance with the list of Attributes available.
-
setShowAttributeList
public void setShowAttributeList(boolean showAttributeList)
Whether to display the list of attributes on the Attribute Forms Editor- Specified by:
setShowAttributeListin interfaceAttributeFormsEditorBean- Parameters:
showAttributeList-booleanvalue indicating if the attribute list should be shown or not.
-
getShowAttributeList
public boolean getShowAttributeList()
Description copied from interface:AttributeFormsEditorBeanWhether to display the list of attributes on the Attribute Forms Editor- Specified by:
getShowAttributeListin interfaceAttributeFormsEditorBean- Returns:
booleanvalue indicating whether to display the list of attributes on the Attribute Forms Editor or not.
-
reset
public void reset()
Initializes the bean by clearing the selected Attribute as well as the list of Attribute Forms- Specified by:
resetin interfaceAttributeFormsEditorBean
-
setOperatorType
public void setOperatorType(int _operatorType)
Description copied from interface:AttributeFormsQualificationBeanSets the operator type is one of the following values The default value isExpressionHelper.ATTR_OPERATORS.- Specified by:
setOperatorTypein interfaceAttributeFormsQualificationBean
-
getOperatorType
public int getOperatorType()
Description copied from interface:AttributeFormsQualificationBeanReturns the operator type associated with this bean. The value can be one of the following- Specified by:
getOperatorTypein interfaceAttributeFormsQualificationBean
-
doFlatState
protected void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Description copied from class:AbstractViewBeanParserBeanSpeciefies which bean's properties are persisted.- Parameters:
serializer-FlatStateSerializerinitialized instance where the state of the instance is handledhowMuchState-intvalue fromEnumWebPersistableStateindicating how much state should be handled by this instancetokenizer-FlatStateTokenizerinitialized instance where the state of the instance is handled.
-
getHiddenAttributeForms
public java.lang.String getHiddenAttributeForms()
Description copied from interface:AttributeFormsQualificationBeanReturns the comma separated list of attribute form ids to be hidden.- Specified by:
getHiddenAttributeFormsin interfaceAttributeFormsQualificationBean- Since:
- MicroStrategy Web 8.1.2
-
setHiddenAttributeForms
public void setHiddenAttributeForms(java.lang.String attributeForms)
Description copied from interface:AttributeFormsQualificationBeanComma separated list of attribute form ids to be hidden.- Specified by:
setHiddenAttributeFormsin interfaceAttributeFormsQualificationBean- Since:
- MicroStrategy Web 8.1.2
-
doCollectData
public void doCollectData()
Collects data- Overrides:
doCollectDatain classAbstractPersistableFrameElement- Since:
- MicroStrategy Web 8.0.0
-
isEditor
public boolean isEditor()
Indicates whether the instance most be considered editor.- Specified by:
isEditorin interfaceFrameElement- Overrides:
isEditorin classAbstractPersistableFrameElement- Returns:
True.
-
isEnabled
public boolean isEnabled()
Indicates whether the instance is enabled or not, depending on the features available. By default returnsTrue.- Specified by:
isEnabledin interfaceFrameElement- Returns:
Trueif the bean is enabled and ready to be rendered.
-
setHelpEventInformation
protected void setHelpEventInformation(Editor editor)
Set the help event information for the editor- Parameters:
editor-Editorinstance representing the editor object to be updated
-
setAttFormsVector
public void setAttFormsVector(java.lang.String strAttFormsVector)
Set the attribute form information- Parameters:
strAttFormsVector- String value with the attribute form information
-
getAttributeForms
public WebAttributeForms getAttributeForms()
Returns theWebAttributeFormsfor the currently selected Attribute- Specified by:
getAttributeFormsin interfaceAttributeFormsEditorBean- Returns:
WebAttributeFormsinstance with the available attribute forms for the selected attribute.
-
getAttribute
public WebAttribute getAttribute()
Returns the attribute contained in the bean, which was initialized with the attributeId property.- Specified by:
getAttributein interfaceAttributeFormsEditorBean- Returns:
- A
WebAttributecontained in the bean.
-
setAttributeId
public void setAttributeId(java.lang.String attId)
Sets the ID of the Attribute to select on this Attribute Forms Editor instance- Specified by:
setAttributeIdin interfaceAttributeFormsEditorBean- Parameters:
attId-Stringvalue with the selected attribute identifier.
-
getAttributeId
public java.lang.String getAttributeId()
Description copied from interface:AttributeFormsEditorBeanReturns The ID of the Attribute to select on the Attribute Forms Editor- Specified by:
getAttributeIdin interfaceAttributeFormsEditorBean- Returns:
- String the ID of the Attribute to select on the Attribute Forms Editor
-
newDefaultEventHandler
protected WebEventHandler newDefaultEventHandler()
- Overrides:
newDefaultEventHandlerin classAbstractWebComponent
-
-