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 void
doCollectData()
Collects dataprotected void
doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Speciefies which bean's properties are persisted.java.util.Vector
getAttFormsVector()
Returns aVector
with the list of attribute forms for the selected attributeWebAttribute
getAttribute()
Returns the attribute contained in the bean, which was initialized with the attributeId property.WebAttributeForms
getAttributeForms()
Returns theWebAttributeForms
for the currently selected Attributejava.lang.String
getAttributeId()
Returns The ID of the Attribute to select on the Attribute Forms Editorjava.util.ArrayList
getAttributeList()
Returns anArrayList
the list of Attributesjava.lang.String
getHiddenAttributeForms()
Returns the comma separated list of attribute form ids to be hidden.int
getOperatorType()
Returns the operator type associated with this bean.WebAttribute
getSelectedAttribute()
Returns theWebAttribute
currently selectedboolean
getShowAttributeList()
Whether to display the list of attributes on the Attribute Forms Editorboolean
isEditor()
Indicates whether the instance most be considered editor.boolean
isEnabled()
Indicates whether the instance is enabled or not, depending on the features available.protected WebEventHandler
newDefaultEventHandler()
void
reset()
Initializes the bean by clearing the selected Attribute as well as the list of Attribute Formsvoid
setAttFormsVector(java.lang.String strAttFormsVector)
Set the attribute form informationvoid
setAttributeId(java.lang.String attId)
Sets the ID of the Attribute to select on this Attribute Forms Editor instanceprotected void
setHelpEventInformation(Editor editor)
Set the help event information for the editorvoid
setHiddenAttributeForms(java.lang.String attributeForms)
Comma separated list of attribute form ids to be hidden.void
setOperatorType(int _operatorType)
Sets the operator type is one of the following valuesExpressionHelper.ATTR_OPERATORS
ExpressionHelper.MDX_ATTR_OPERATORS
The default value isExpressionHelper.ATTR_OPERATORS
.void
setShowAttributeList(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:AttributeFormsEditorBean
Returns aVector
with the list of attribute forms for the selected attribute- Specified by:
getAttFormsVector
in interfaceAttributeFormsEditorBean
- Returns:
Vector
instance with the list of Attribute forms for the selected Attribute
-
getSelectedAttribute
public WebAttribute getSelectedAttribute()
Description copied from interface:AttributeFormsEditorBean
Returns theWebAttribute
currently selected- Specified by:
getSelectedAttribute
in interfaceAttributeFormsEditorBean
- Returns:
WebAttribute
instance of the selected attribute.
-
getAttributeList
public java.util.ArrayList getAttributeList()
Description copied from interface:AttributeFormsEditorBean
Returns anArrayList
the list of Attributes- Specified by:
getAttributeList
in interfaceAttributeFormsEditorBean
- Returns:
ArrayList
instance 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:
setShowAttributeList
in interfaceAttributeFormsEditorBean
- Parameters:
showAttributeList
-boolean
value indicating if the attribute list should be shown or not.
-
getShowAttributeList
public boolean getShowAttributeList()
Description copied from interface:AttributeFormsEditorBean
Whether to display the list of attributes on the Attribute Forms Editor- Specified by:
getShowAttributeList
in interfaceAttributeFormsEditorBean
- Returns:
boolean
value 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:
reset
in interfaceAttributeFormsEditorBean
-
setOperatorType
public void setOperatorType(int _operatorType)
Description copied from interface:AttributeFormsQualificationBean
Sets the operator type is one of the following values The default value isExpressionHelper.ATTR_OPERATORS
.- Specified by:
setOperatorType
in interfaceAttributeFormsQualificationBean
-
getOperatorType
public int getOperatorType()
Description copied from interface:AttributeFormsQualificationBean
Returns the operator type associated with this bean. The value can be one of the following- Specified by:
getOperatorType
in interfaceAttributeFormsQualificationBean
-
doFlatState
protected void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Description copied from class:AbstractViewBeanParserBean
Speciefies which bean's properties are persisted.- Parameters:
serializer
-FlatStateSerializer
initialized instance where the state of the instance is handledhowMuchState
-int
value fromEnumWebPersistableState
indicating how much state should be handled by this instancetokenizer
-FlatStateTokenizer
initialized instance where the state of the instance is handled.
-
getHiddenAttributeForms
public java.lang.String getHiddenAttributeForms()
Description copied from interface:AttributeFormsQualificationBean
Returns the comma separated list of attribute form ids to be hidden.- Specified by:
getHiddenAttributeForms
in interfaceAttributeFormsQualificationBean
- Since:
- MicroStrategy Web 8.1.2
-
setHiddenAttributeForms
public void setHiddenAttributeForms(java.lang.String attributeForms)
Description copied from interface:AttributeFormsQualificationBean
Comma separated list of attribute form ids to be hidden.- Specified by:
setHiddenAttributeForms
in interfaceAttributeFormsQualificationBean
- Since:
- MicroStrategy Web 8.1.2
-
doCollectData
public void doCollectData()
Collects data- Overrides:
doCollectData
in classAbstractPersistableFrameElement
- Since:
- MicroStrategy Web 8.0.0
-
isEditor
public boolean isEditor()
Indicates whether the instance most be considered editor.- Specified by:
isEditor
in interfaceFrameElement
- Overrides:
isEditor
in 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:
isEnabled
in interfaceFrameElement
- Returns:
True
if 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
-Editor
instance 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 theWebAttributeForms
for the currently selected Attribute- Specified by:
getAttributeForms
in interfaceAttributeFormsEditorBean
- Returns:
WebAttributeForms
instance 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:
getAttribute
in interfaceAttributeFormsEditorBean
- Returns:
- A
WebAttribute
contained 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:
setAttributeId
in interfaceAttributeFormsEditorBean
- Parameters:
attId
-String
value with the selected attribute identifier.
-
getAttributeId
public java.lang.String getAttributeId()
Description copied from interface:AttributeFormsEditorBean
Returns The ID of the Attribute to select on the Attribute Forms Editor- Specified by:
getAttributeId
in interfaceAttributeFormsEditorBean
- Returns:
- String the ID of the Attribute to select on the Attribute Forms Editor
-
newDefaultEventHandler
protected WebEventHandler newDefaultEventHandler()
- Overrides:
newDefaultEventHandler
in classAbstractWebComponent
-
-