Package com.microstrategy.web.beans
Class DerivedElementBeanImpl
- java.lang.Object
 - 
- com.microstrategy.utils.serialization.AbstractPersistable
 - 
- com.microstrategy.web.beans.AbstractTransformable
 - 
- com.microstrategy.web.beans.AbstractWebComponent
 - 
- com.microstrategy.web.beans.DerivedElementBeanImpl
 
 
 
 
 
- 
- All Implemented Interfaces:
 EnumWebPersistableState,Persistable,DerivedElementBean,ExpressionBean,RequestPersistable,Transformable,WebBean,WebComponent,EnumDSSXMLFunction
public class DerivedElementBeanImpl extends AbstractWebComponent implements DerivedElementBean, EnumDSSXMLFunction
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.microstrategy.web.beans.DerivedElementBean
DerivedElementBean.Host 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected boolean_hasCollectedDataA flag indicating that the XML request to collect data has been executedprotected int_statusprotected static java.lang.StringATT_BEAN_TYPEprotected static java.lang.StringATT_HOW_MUCH_STATEprotected static java.lang.StringATTRIBUTE_BEAN_HEADERprotected static java.lang.StringDATA_EXPLORER_BEAN_HEADERprotected static java.lang.StringDELIMITORprotected static java.lang.StringDOCUMENT_BEAN_HEADERprotected static java.lang.StringEXPRESSION_BEAN_HEADERprotected static java.lang.StringFILTER_BEAN_HEADERprotected static java.lang.StringFOLDER_BEAN_HEADERprotected static java.lang.StringINBOX_BEAN_HEADERprotected static java.lang.StringPERFORMANCE_MONITOR_BEAN_HEADERprotected static java.lang.StringPROMPTDEF_BEAN_HEADERprotected static java.lang.StringPROMPTS_BEAN_HEADERprotected static java.lang.StringREPORT_BEAN_HEADERprotected static java.lang.StringRW_BEAN_HEADERprotected static java.lang.StringSEPARATOR- 
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.beans.DerivedElementBean
AVAILABLES_SOURCE_CONSTANT, AVAILABLES_SOURCE_DERIVED_ELEMENTS, AVAILABLES_SOURCE_ELEMENTS 
- 
Fields inherited from interface com.microstrategy.webapi.EnumDSSXMLFunction
DssXmlFunctionAbs, DssXmlFunctionAdd, DssXmlFunctionAnd, DssXmlFunctionApplyAggregation, DssXmlFunctionApplyComparison, DssXmlFunctionApplyLogic, DssXmlFunctionApplyRelative, DssXmlFunctionApplySimple, DssXMlFunctionAverage, DssXmlFunctionAvg, DssXmlFunctionBanding, DssXmlFunctionBandingC, DssXmlFunctionBandingM, DssXmlFunctionBandingP, DssXmlFunctionBeginsWith, DssXmlFunctionBetween, DssXmlFunctionBetweenEnhanced, DssXmlFunctionCase, DssXmlFunctionCaseV, DssXmlFunctionConcat, DssXmlFunctionConcatNoBlank, DssXmlFunctionContains, DssXmlFunctionCount, DssXmlFunctionCurrentDate, DssXmlFunctionCurrentDateTime, DssXmlFunctionCurrentTime, DssXmlFunctionCustom, DssXmlFunctionDayOfMonth, DssXmlFunctionDayOfWeek, DssXmlFunctionDayOfYear, DssXmlFunctionDescendants, DssXmlFunctionDivide, DssXmlFunctionEndsWith, DssXmlFunctionEqualEnhanced, DssXmlFunctionEquals, DssXmlFunctionExpWghMovingAvg, DssXmlFunctionExpWghRunningAvg, DssXmlFunctionFirstInRange, DssXmlFunctionGeomean, DssXmlFunctionGreater, DssXmlFunctionGreaterEqual, DssXmlFunctionGreaterEqualEnhanced, DssXmlFunctionGreatest, DssXmlFunctionHour, DssXmlFunctionIn, DssXmlFunctionInitCap, DssXmlFunctionIntersect, DssXmlFunctionIntersectIn, DssXmlFunctionIsNotNull, DssXmlFunctionIsNull, DssXmlFunctionLastInRange, DssXmlFunctionLeast, DssXmlFunctionLeftStr, DssXmlFunctionLength, DssXmlFunctionLess, DssXmlFunctionLessEqual, DssXmlFunctionLessEqualEnhanced, DssXmlFunctionLike, DssXmlFunctionLower, DssXmlFunctionLTrim, DssXmlFunctionMax, DssXmlFunctionMedian, DssXmlFunctionMilliSecond, DssXmlFunctionMin, DssXmlFunctionMinus, DssXmlFunctionMinute, DssXmlFunctionMode, DssXmlFunctionMonth, DssXmlFunctionMovingAvg, DssXmlFunctionMovingCount, DssXmlFunctionMovingDifference, DssXmlFunctionMovingMax, DssXmlFunctionMovingMin, DssXmlFunctionMovingStdev, DssXmlFunctionMovingStdevP, DssXmlFunctionMovingSum, DssXMLFunctionMultiply, DssXmlFunctionNot, DssXmlFunctionNotBeginsWith, DssXmlFunctionNotBetween, DssXmlFunctionNotBetweenEnhanced, DssXmlFunctionNotContains, DssXmlFunctionNotEndsWith, DssXmlFunctionNotEqual, DssXmlFunctionNotEqualEnhanced, DssXmlFunctionNotIn, DssXmlFunctionNotLike, DssXmlFunctionNTile, DssXmlFunctionNTileS, DssXmlFunctionNTileVS, DssXmlFunctionNullToZero, DssXmlFunctionOr, DssXmlFunctionPercentile, DssXmlFunctionPlus, DssXmlFunctionPosition, DssXmlFunctionProduct, DssXmlFunctionQuarter, DssXmlFunctionRank, DssXmlFunctionReserved, DssXmlFunctionReservedLastOne, DssXmlFunctionRightStr, DssXmlFunctionRTrim, DssXmlFunctionRunningAvg, DssXmlFunctionRunningCount, DssXmlFunctionRunningMax, DssXmlFunctionRunningMin, DssXmlFunctionRunningStdev, DssXmlFunctionRunningStdevP, DssXmlFunctionRunningSum, DssXmlFunctionSearch, DssXmlFunctionSecond, DssXmlFunctionStdev, DssXmlFunctionStdevP, DssXmlFunctionSubStr, DssXmlFunctionSum, DssXmlFunctionTimes, DssXmlFunctionTrim, DssXmlFunctionTuple, DssXmlFunctionUcase, DssXmlFunctionUnaryMinus, DssXmlFunctionValueSegment, DssXmlFunctionVar, DssXmlFunctionVarP, DssXmlFunctionWeek, DssXmlFunctionYear, DssXmlFunctionZeroToNull 
- 
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 DerivedElementBeanImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptChange()Accepts the change that is currently being worked upon.protected voidaddAttDetails(WebAttribute attr)voidaddToExclude(KeyedList excludeElements)voidaddToExclude(KeyedList elements, WebDerivedElement de)protected TransformInstanceaddTransform(Transform transform, java.lang.String key)Adds a transform to itself and all the child beans which support the transform and returns aTransformInstanceof the last child bean it was added to.booleancanSelectElements(WebAttribute webAttribute)Returns true if Select Elements option can be used for the attributeprotected voidcheckBeanType(AttributesXt attrs, java.lang.String expected)protected voidcheckHowMuchState(AttributesXt attrs)WebAttributeFormchooseDefaultForm(WebAttribute attr)voidcollectData()Triggers execution to the back end no matter whether it is synchronous or asynchronous.voidcollectMinimalData()This is similar toWebComponent.collectData()except data collected is minimal.protected booleandisableElementsBrowsing(WebAttribute att)protected voiddoCollectData()Override this method in sub classes to implement the collectData method.protected voiddoCollectMinimalData()protected voiddoFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)WebElementsexcludedElements()gets the current filter applied to the element sourcebooleanfromSearch()Indicates that source elements are obtained from searchMarkupOutputgenerateOutput()This is the generic method to ask the WebComponent to generate some output for the client.WebEventgetAcceptListChangesEvent()Returns the Accept List Chavnges eventWebObjectInfogetActiveObject()Returns the active object, the object being qualified upon.intgetActiveOperatorNodeKey()Returns the current active operator node key.WebAttributegetAttribute()Returns the attribute elements belong to.intgetAvailablesSourceType()Returns the current available units source typwintgetDefaultStateLevel()Returns the default state level.KeyedListgetDerovedElements()java.lang.StringgetDescriptor(int key)java.lang.StringgetDescriptor(java.lang.String key)org.w3c.dom.DocumentgetDocument()Returns aorg.w3c.dom.Documentparsed from the XML representation of this bean.WebDerivedElementgetElement()Returns the derived elementWebElementSourcegetElementSource(WebAttribute att)Returns properly initialized element source for a given attribute.WebBeanErrorgetErrorInfo()Returns aWebBeanErrorobject indicating processing error during thecollectDatamethod call.KeyedListgetExcludeElements()KeyedListgetExistingDerovedElements()Returns a collection of derived elements belonging to a given attribute.WebExpressiongetExpression()Returns the internal expression object.intgetExpressionBeanType()Returns the expression bean type, fromEnumExpressionBeanType.intgetExpressionEditMode()Returns the current expression edit mode of the bean, fromEnumExpressionEditMode.protected DerivedElementBean.HostgetHost()ScrollablegetIncrementalFetch()Returns aScrollableinterface, which can be used to set the incremental fetch window for an attribute elements qualification.booleangetMatchCase()Returns the match case flag, used in searching element browsing request.java.lang.StringgetMessageIDFromHost()Returns message id of the report/document instance.WebObjectInfogetRHS()Returns the unit(attribute form/metric) used on the Right Hand Side(RHS) of the filter comparisonWebSessionInfogetSessionInfo()Returns theWebSessionInfoinstance from this bean.booleangetShowAll()Returns value of the Show All flag.protected AbstractHandlergetStateHandler()TransformInstancegetTransformInstance(java.lang.String key)Returns theTransformInstanceobject with the specified key.java.util.EnumerationgetTransformInstances()Retuns ajava.util.Enumerationover all theTransformInstanceobjects.intgetType()Returns the transformable type as inEnumWebTransformableType.java.lang.StringgetUserSearchPattern()Returns the search pattern that will be applied to any element browsing request.WebBeanErrorgetValidationErrorInfo()This can hold a validation error which came about from the validate call.protected WebObjectsFactorygetWebObjectsFactory()WebWorkingSetgetWorkingSet()intgetXMLStatus()This method returns theEnumRequestStatusstatus of the current Component.booleanhasConstantNodes(WebNode nd)booleanhasTransform()Returns a boolean value indicating whether there is a defaultTransformInstanceobject.booleanhasTransform(java.lang.String key)Returns a boolean value indicating whether there is such aTransformInstanceobject with the specified key.protected voidinternalCollectData()This method internally calls the method collectData if the method collectData has not yet been called.protected voidinternalCollectData(boolean collectOnError)Overriding method should not only throwWebBeanException, but also sets error info if possible.protected voidinternalCollectData(boolean collectOnError, boolean collectOnProcessing)Overriding method should not only throwWebBeanException, but also sets error info if possible.protected voidinvalidateAllTransformCaches()booleanisDEHandleSearch()booleanisEditable()Returns whether the Expression bean is editable.booleanisEditable(WebNode node)Returns whether the given node can be edited properly under the current context of the application.booleanisExpressionChanged()Returns whether or not the expression of this derived element is changedbooleanisHostModified()Returns whether or not host's derived elements is modifiedbooleanisIncFetching()Return the flag that indicates incrementally fetching a page for the shopping cart in DE EditorbooleanisModified()Returns whether this filter is modified from the filter object that it synchronizes with.booleanisRA()booleanisStale()Returns a boolean value indicating whether the content of this bean is stale.protected booleanisTransformSuitable(Transform t)This method is called in the addTransform methods.booleanisUpdateManagerEnabled()protected BeanContextnewDefaultBeanContext()This method is called by getBeanContext() to automatically create an instance of a BeanContext if one has not been explicitly set.protected WebEventHandlernewDefaultEventHandler()protected StyleRequestContextnewStyleRequestContext()voidpopulateObject(WebObjectInfo oi)voidreset()Clears current statevoidresetChanges()Undoes all changes since the last synchronize call.java.lang.StringsaveState()Returns ajava.lang.Stringrepresentation of a component.voidsaveState(java.lang.StringBuffer buf, int howMuchState)Saves and stores a component's state into aStringBuffer.protected voidsaveXMLState(XMLStateSerializer stateBuilder, int howMuchState)Saves the component statevoidsetActiveOperatorNodeKey(int _key, boolean _isNew)Sets the current active operator node key.voidsetAvailablesSourceType(int value)Sets the current available source type.voidsetContext(ExpressionBeanContext ebc)Sets theExpressionBeanContext.voidsetDEHandleSearch(boolean isDEHandleSearch)protected voidsetEmptyListError()protected voidsetErrorInfo(WebBeanError beanErr)voidsetExpressionEditMode(int _editMode)Sets the current expression edit mode of the bean, fromEnumExpressionEditMode.voidsetHostModified(boolean isModified)Sets the modified status of host's derived elementsvoidsetIncFetching(boolean isIncFetching)Set isIncFetching flag when incrementally fetching another page for the shopping cart in DE editorvoidsetIsEditable(boolean value)Sets whether the expression bean is editable.voidsetMatchCase(boolean _matchCase)Sets the match case flag, which determines whether the user search pattern must match case or not.voidsetRHS(WebObjectInfo rhs)Set the unit(attribute form/metric) used on the Right Hand Side(RHS) of the filter comparisonvoidsetSessionInfo(WebSessionInfo sessionInfo)Sets a newWebSessionInfoinstance on this bean.voidsetShowAll(boolean value)Sets value of the Show All flag.voidsetStale(boolean stale)Sets a flag indicating whether this bean is stale or fresh.voidsetUserSearchPattern(java.lang.String _searchPattern)Sets the search pattern that will be applied to any element browsing request.voidsetValidationErrorInfo(WebBeanError err)voidsetWebEventHandler(WebEventHandler handler)Associate with this component aWebEventHandlerinstance.protected voidsetXMLStatus(int status)booleanshallSelectElements(WebAttribute webAttribute)This method is used to decide what Attribute subexpression to create in a given context.voidstartEditing()Initieats editing of the derive elementvoidsynchronize()Synchronizes any changes that have been made to this expression to the owner expression accessible on the WebReportInstance or WebPrompt object.voidundoChange()Undoes the change that is currently being worked upon.booleanvalidate()Attempts to perform validation on the expression.protected booleanvalidateMetricDatatypeAllowed(WebOperatorNode activeNode)booleanvalidateOperands(WebNode node)Returns whether the given node and its children are valid.- 
Methods inherited from class com.microstrategy.web.beans.AbstractWebComponent
addChild, addChildStateInfo, addChildStateInfo, addChildStateInfo, addChildStateInfo, addChildStateInfo, addStateInfo, childValues, clearChildren, clearStateCache, getCachedState, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getFeaturesManager, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBean, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, handleRequest, hasChanged, hasJustOpened, haveChildrenChanged, initBean, invalidateChildrenState, isBeanContextEmpty, isChangeComparisonFlagSet, isFeatureAvailable, prepareForReuse, removeChild, removeChild, restoreState, restoreStateFromRequest, restoreStateFromRequest, saveXMLState, saveXMLState, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setOutputFormat, setParent, setPersistMode, setRenderingFilter, setStateCache, setTargetBean, setTargetBeanPath 
- 
Methods inherited from class com.microstrategy.web.beans.AbstractTransformable
addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, createTransformInstance, createTransformInstance, getBeanContext, getDefaultTransform, getMessageString, getMyTransformInstances, getTransformInstance, invalidateTransformCache, transform, transform, transform, transform 
- 
Methods inherited from class com.microstrategy.utils.serialization.AbstractPersistable
doFlatState, isXMLStateZipped, restoreState, restoreXMLState, saveState, saveState, 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.beans.ExpressionBean
acceptChange, canSelectElements, chooseDefaultForm, getActiveOperatorNodeKey, getElementSource, getExpression, getExpressionEditMode, getIncrementalFetch, getMatchCase, getRHS, getUserSearchPattern, getValidationErrorInfo, isEditable, isModified, populateObject, resetChanges, setActiveOperatorNodeKey, setContext, setExpressionEditMode, setIsEditable, setMatchCase, setRHS, setUserSearchPattern, setValidationErrorInfo, shallSelectElements, synchronize, undoChange, validateOperands 
- 
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState 
- 
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.beans.WebBean
getDocument, getErrorInfo, getSessionInfo, isStale, setSessionInfo, setStale 
- 
Methods inherited from interface com.microstrategy.web.beans.WebComponent
addChild, addChildStateInfo, addChildStateInfo, collectData, collectMinimalData, generateOutput, getBeanContext, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, 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
- 
FOLDER_BEAN_HEADER
protected static final java.lang.String FOLDER_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
REPORT_BEAN_HEADER
protected static final java.lang.String REPORT_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
PROMPTS_BEAN_HEADER
protected static final java.lang.String PROMPTS_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
DOCUMENT_BEAN_HEADER
protected static final java.lang.String DOCUMENT_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
INBOX_BEAN_HEADER
protected static final java.lang.String INBOX_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
DATA_EXPLORER_BEAN_HEADER
protected static final java.lang.String DATA_EXPLORER_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
RW_BEAN_HEADER
protected static final java.lang.String RW_BEAN_HEADER
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
EXPRESSION_BEAN_HEADER
protected static final java.lang.String EXPRESSION_BEAN_HEADER
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
FILTER_BEAN_HEADER
protected static final java.lang.String FILTER_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
PROMPTDEF_BEAN_HEADER
protected static final java.lang.String PROMPTDEF_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
ATTRIBUTE_BEAN_HEADER
protected static final java.lang.String ATTRIBUTE_BEAN_HEADER
- See Also:
 - Constant Field Values
 
 
- 
PERFORMANCE_MONITOR_BEAN_HEADER
protected static final java.lang.String PERFORMANCE_MONITOR_BEAN_HEADER
- Since:
 - MicroStrategy Web 7.5.0
 - See Also:
 - Constant Field Values
 
 
- 
DELIMITOR
protected static final java.lang.String DELIMITOR
- See Also:
 - Constant Field Values
 
 
- 
SEPARATOR
protected static final java.lang.String SEPARATOR
- See Also:
 - Constant Field Values
 
 
- 
ATT_BEAN_TYPE
protected static final java.lang.String ATT_BEAN_TYPE
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
ATT_HOW_MUCH_STATE
protected static final java.lang.String ATT_HOW_MUCH_STATE
- Since:
 - MicroStrategy Web 8.0.0
 - See Also:
 - Constant Field Values
 
 
- 
_status
protected int _status
 
- 
_hasCollectedData
protected boolean _hasCollectedData
A flag indicating that the XML request to collect data has been executed 
 - 
 
- 
Method Detail
- 
isDEHandleSearch
public boolean isDEHandleSearch()
 
- 
setDEHandleSearch
public void setDEHandleSearch(boolean isDEHandleSearch)
 
- 
isIncFetching
public boolean isIncFetching()
Description copied from interface:DerivedElementBeanReturn the flag that indicates incrementally fetching a page for the shopping cart in DE Editor- Specified by:
 isIncFetchingin interfaceDerivedElementBean- Returns:
 - isIncFetching flag
 
 
- 
setIncFetching
public void setIncFetching(boolean isIncFetching)
Description copied from interface:DerivedElementBeanSet isIncFetching flag when incrementally fetching another page for the shopping cart in DE editor- Specified by:
 setIncFetchingin interfaceDerivedElementBean
 
- 
newDefaultEventHandler
protected WebEventHandler newDefaultEventHandler()
 
- 
getExpressionBeanType
public int getExpressionBeanType()
Description copied from interface:ExpressionBeanReturns the expression bean type, fromEnumExpressionBeanType.- Specified by:
 getExpressionBeanTypein interfaceExpressionBean- Returns:
 - The expression bean type, from 
EnumExpressionBeanType. 
 
- 
reset
public void reset()
Description copied from interface:DerivedElementBeanClears current state- Specified by:
 resetin interfaceDerivedElementBean
 
- 
isEditable
public boolean isEditable()
Description copied from interface:ExpressionBeanReturns whether the Expression bean is editable.- Specified by:
 isEditablein interfaceDerivedElementBean- Specified by:
 isEditablein interfaceExpressionBean- Returns:
 - True if the bean is editable, false otherwise.
 
 
- 
getElement
public WebDerivedElement getElement()
Description copied from interface:DerivedElementBeanReturns the derived element- Specified by:
 getElementin interfaceDerivedElementBean- Returns:
 - the derived element
 
 
- 
getAttribute
public WebAttribute getAttribute()
Description copied from interface:DerivedElementBeanReturns the attribute elements belong to.- Specified by:
 getAttributein interfaceDerivedElementBean- Returns:
 - the attribute elements belong to.
 
 
- 
getShowAll
public boolean getShowAll()
Description copied from interface:DerivedElementBeanReturns value of the Show All flag.- Specified by:
 getShowAllin interfaceDerivedElementBean- Returns:
 - the Show All flag
 
 
- 
setShowAll
public void setShowAll(boolean value)
Description copied from interface:DerivedElementBeanSets value of the Show All flag.- Specified by:
 setShowAllin interfaceDerivedElementBean- Parameters:
 value- value
 
- 
getAvailablesSourceType
public int getAvailablesSourceType()
Description copied from interface:DerivedElementBeanReturns the current available units source typw- Specified by:
 getAvailablesSourceTypein interfaceDerivedElementBean- Returns:
 - the current available units source typw
 
 
- 
setAvailablesSourceType
public void setAvailablesSourceType(int value)
Description copied from interface:DerivedElementBeanSets the current available source type.- Specified by:
 setAvailablesSourceTypein interfaceDerivedElementBean- Parameters:
 value- value
 
- 
getExistingDerovedElements
public KeyedList getExistingDerovedElements()
Description copied from interface:DerivedElementBeanReturns a collection of derived elements belonging to a given attribute.- Specified by:
 getExistingDerovedElementsin interfaceDerivedElementBean- Returns:
 - KeyedList
 
 
- 
getDerovedElements
public KeyedList getDerovedElements()
- Specified by:
 getDerovedElementsin interfaceDerivedElementBean
 
- 
validate
public boolean validate()
Description copied from interface:ExpressionBeanAttempts to perform validation on the expression. Returns false and sets the validation error (retrievable via the getValidationErrorInfo} method.- Specified by:
 validatein interfaceExpressionBean- Returns:
 - Whether the validation has succeeded.
 
 
- 
setEmptyListError
protected void setEmptyListError()
 
- 
getAcceptListChangesEvent
public WebEvent getAcceptListChangesEvent()
Description copied from interface:DerivedElementBeanReturns the Accept List Chavnges event- Specified by:
 getAcceptListChangesEventin interfaceDerivedElementBean- Returns:
 - WebEvent
 
 
- 
startEditing
public void startEditing()
Description copied from interface:DerivedElementBeanInitieats editing of the derive element- Specified by:
 startEditingin interfaceDerivedElementBean
 
- 
getActiveObject
public WebObjectInfo getActiveObject()
Description copied from interface:ExpressionBeanReturns the active object, the object being qualified upon. This will be null if the mode is SelectUnit or Default, or if the active operator node is set incorrectly.- Specified by:
 getActiveObjectin interfaceExpressionBean- Returns:
 - The active object of the expression.
 
 
- 
getHost
protected DerivedElementBean.Host getHost()
 
- 
getMessageIDFromHost
public java.lang.String getMessageIDFromHost() throws WebBeanExceptionDescription copied from interface:DerivedElementBeanReturns message id of the report/document instance.- Specified by:
 getMessageIDFromHostin interfaceDerivedElementBean- Returns:
 - message id
 - Throws:
 WebBeanException
 
- 
getExcludeElements
public KeyedList getExcludeElements()
- Specified by:
 getExcludeElementsin interfaceDerivedElementBean
 
- 
isRA
public boolean isRA()
- Specified by:
 isRAin interfaceDerivedElementBean
 
- 
fromSearch
public boolean fromSearch()
Description copied from interface:DerivedElementBeanIndicates that source elements are obtained from search- Specified by:
 fromSearchin interfaceDerivedElementBean- Returns:
 
 
- 
addToExclude
public void addToExclude(KeyedList excludeElements)
- Specified by:
 addToExcludein interfaceDerivedElementBean
 
- 
addToExclude
public void addToExclude(KeyedList elements, WebDerivedElement de)
- Specified by:
 addToExcludein interfaceDerivedElementBean
 
- 
getDefaultStateLevel
public int getDefaultStateLevel()
Description copied from class:AbstractWebComponentReturns the default state level. If not set, the default state level isEnumWebPersistableState.MINIMAL_STATE_INFO.- Specified by:
 getDefaultStateLevelin interfaceWebComponent- Overrides:
 getDefaultStateLevelin classAbstractWebComponent- Returns:
 - the defautl state level.
 
 
- 
saveState
public java.lang.String saveState()
Description copied from interface:PersistableReturns ajava.lang.Stringrepresentation of a component. The returned state should be HTML friendly. This method call is equivalent to callsaveState(EnumWebPersistableState.TYPICAL_STATE_INFO).- Specified by:
 saveStatein interfacePersistable- Overrides:
 saveStatein classAbstractPersistable- Returns:
 - the serialized state of a component.
 
 
- 
saveState
public void saveState(java.lang.StringBuffer buf, int howMuchState) throws java.lang.UnsupportedOperationExceptionDescription copied from interface:PersistableSaves and stores a component's state into aStringBuffer. The returned state should be HTML friendly.There are generally two formats of the saved state: flat state and XML representation. The minimum state is saved in flat state format, while the typical and maximum states are saved in XML string representation.
- Specified by:
 saveStatein interfacePersistable- Overrides:
 saveStatein classAbstractPersistable- Parameters:
 buf- a StringBuffer to store the saved state.howMuchState- how much state information to save (EnumWebPersistableState).- Throws:
 java.lang.UnsupportedOperationException- thrown if the component does not support this method, or does not support certainhowMuchStatelevel.
 
- 
isUpdateManagerEnabled
public boolean isUpdateManagerEnabled()
 
- 
getWorkingSet
public WebWorkingSet getWorkingSet() throws WebObjectsException, WebBeanException
- Specified by:
 getWorkingSetin interfaceDerivedElementBean- Throws:
 WebObjectsExceptionWebBeanException
 
- 
isHostModified
public boolean isHostModified()
Description copied from interface:DerivedElementBeanReturns whether or not host's derived elements is modified- Specified by:
 isHostModifiedin interfaceDerivedElementBean
 
- 
setHostModified
public void setHostModified(boolean isModified)
Description copied from interface:DerivedElementBeanSets the modified status of host's derived elements- Specified by:
 setHostModifiedin interfaceDerivedElementBean
 
- 
isExpressionChanged
public boolean isExpressionChanged() throws WebObjectsException, WebBeanExceptionDescription copied from interface:DerivedElementBeanReturns whether or not the expression of this derived element is changed- Specified by:
 isExpressionChangedin interfaceDerivedElementBean- Throws:
 WebObjectsExceptionWebBeanException
 
- 
excludedElements
public WebElements excludedElements()
Description copied from interface:DerivedElementBeangets the current filter applied to the element source- Specified by:
 excludedElementsin interfaceDerivedElementBean
 
- 
setSessionInfo
public void setSessionInfo(WebSessionInfo sessionInfo) throws java.lang.IllegalArgumentException
Description copied from interface:WebBeanSets a newWebSessionInfoinstance on this bean. AWebSessionInfoobject is where you can get or set the session ID to the intelligence server, user credentials and localization, etc.- Specified by:
 setSessionInfoin interfaceWebBean- Parameters:
 sessionInfo- aWebSessionInfoinstance.- Throws:
 java.lang.IllegalArgumentException
 
- 
setRHS
public void setRHS(WebObjectInfo rhs)
Description copied from interface:ExpressionBeanSet the unit(attribute form/metric) used on the Right Hand Side(RHS) of the filter comparison- Specified by:
 setRHSin interfaceExpressionBean- Parameters:
 rhs- the RHS unit(attribute form/metric)
 
- 
getRHS
public WebObjectInfo getRHS()
Description copied from interface:ExpressionBeanReturns the unit(attribute form/metric) used on the Right Hand Side(RHS) of the filter comparison- Specified by:
 getRHSin interfaceExpressionBean- Returns:
 - WebObjectInfo the RHS unit(attribute form/metric)
 
 
- 
getWebObjectsFactory
protected WebObjectsFactory getWebObjectsFactory()
 
- 
getExpression
public WebExpression getExpression()
Description copied from interface:ExpressionBeanReturns the internal expression object. This expression can be used to make changes to the structure of the expression.- Specified by:
 getExpressionin interfaceExpressionBean- Returns:
 - A 
WebExpressionrepresenting the expression being edited. 
 
- 
getExpressionEditMode
public int getExpressionEditMode()
Description copied from interface:ExpressionBeanReturns the current expression edit mode of the bean, fromEnumExpressionEditMode. This represents the current state of the bean.- Specified by:
 getExpressionEditModein interfaceExpressionBean- Returns:
 - The current expression edit mode of the bean, from 
EnumExpressionEditMode. 
 
- 
setExpressionEditMode
public void setExpressionEditMode(int _editMode)
Description copied from interface:ExpressionBeanSets the current expression edit mode of the bean, fromEnumExpressionEditMode. Note that this operation is only valid if moving between SelectUnit and Default, or from one node editing mode to another.- Specified by:
 setExpressionEditModein interfaceExpressionBean- Parameters:
 _editMode- The mode to change to, fromEnumExpressionEditMode.
 
- 
getActiveOperatorNodeKey
public int getActiveOperatorNodeKey()
Description copied from interface:ExpressionBeanReturns the current active operator node key. Note that this will not be a valid value if the mode is SelectUnit or Default.- Specified by:
 getActiveOperatorNodeKeyin interfaceExpressionBean- Returns:
 - The key of the operator node being edited.
 
 
- 
setActiveOperatorNodeKey
public void setActiveOperatorNodeKey(int _key, boolean _isNew)Description copied from interface:ExpressionBeanSets the current active operator node key. The isNew variable must be passed in correctly - if the node is newly created, isNew should be true, if it already existed before this edit operation, it should be false. If isNew is incorrect, then the undoChange method will not work properly.- Specified by:
 setActiveOperatorNodeKeyin interfaceExpressionBean- Parameters:
 _key- The key of the current active operator node key._isNew- Whether the active operator node key is new or existing.
 
- 
getUserSearchPattern
public java.lang.String getUserSearchPattern()
Description copied from interface:ExpressionBeanReturns the search pattern that will be applied to any element browsing request.- Specified by:
 getUserSearchPatternin interfaceExpressionBean- Returns:
 - The current user search pattern for element browsing.
 
 
- 
setUserSearchPattern
public void setUserSearchPattern(java.lang.String _searchPattern)
Description copied from interface:ExpressionBeanSets the search pattern that will be applied to any element browsing request.- Specified by:
 setUserSearchPatternin interfaceExpressionBean- Parameters:
 _searchPattern- The user search pattern to use for element browsing.
 
- 
getMatchCase
public boolean getMatchCase()
Description copied from interface:ExpressionBeanReturns the match case flag, used in searching element browsing request.- Specified by:
 getMatchCasein interfaceExpressionBean- Returns:
 - The current value of the match case flag.
 
 
- 
setMatchCase
public void setMatchCase(boolean _matchCase)
Description copied from interface:ExpressionBeanSets the match case flag, which determines whether the user search pattern must match case or not.- Specified by:
 setMatchCasein interfaceExpressionBean- Parameters:
 _matchCase- The new value of the match case flag.
 
- 
isModified
public boolean isModified()
Description copied from interface:ExpressionBeanReturns whether this filter is modified from the filter object that it synchronizes with. For example, if the filter has changed from the base filter on the WebReportInstance object exposed on a parent Report Bean. Calling synchronize or undo will re-baseline, setting isModified back to false.- Specified by:
 isModifiedin interfaceExpressionBean- Returns:
 - Whether the current expression has been modified.
 
 
- 
validateMetricDatatypeAllowed
protected boolean validateMetricDatatypeAllowed(WebOperatorNode activeNode)
 
- 
acceptChange
public void acceptChange()
Description copied from interface:ExpressionBeanAccepts the change that is currently being worked upon. The mode is set back to Default, and the active object and active operator node are set to null. This effectively makes the expression such that the undoChange method no longer does anything - it effectively means that the user accepted the single change they made.- Specified by:
 acceptChangein interfaceExpressionBean
 
- 
undoChange
public void undoChange()
Description copied from interface:ExpressionBeanUndoes the change that is currently being worked upon. If the state is Default, then nothing happens. If the state is SelectUnit, it is set back to default. Otherwise, any changes made to the active operator node or it's children since the editing operation began are undone, either by removing the active operator node (if it is new) or by rolling its state back to the state it was in when it was set as the active operator node. This will also set the mode back to default.- Specified by:
 undoChangein interfaceExpressionBean
 
- 
synchronize
public void synchronize()
Description copied from interface:ExpressionBeanSynchronizes any changes that have been made to this expression to the owner expression accessible on the WebReportInstance or WebPrompt object. This effectively means that the reset operation will no longer do anything, and that something should be done to the owner object to submit the synchronized expression to the Intelligence Server. Note that if this bean is not in Default mode, then what is synchronized is the version of the tree excluding the changes that were made to the active operator node. The changes to the active operator node are not lost, but are not propagated to the main expression either. This method will not change the edit mode of the bean.- Specified by:
 synchronizein interfaceExpressionBean
 
- 
resetChanges
public void resetChanges()
Description copied from interface:ExpressionBeanUndoes all changes since the last synchronize call. This method will ensure that the edit mode of the bean is default, and that all non-synchronized changes are undone, even if they were accepted previously via acceptChange.- Specified by:
 resetChangesin interfaceExpressionBean
 
- 
getType
public int getType()
Description copied from interface:TransformableReturns the transformable type as inEnumWebTransformableType.- Specified by:
 getTypein interfaceTransformable- Returns:
 - the transformable type.
 
 
- 
doCollectData
protected void doCollectData() throws WebBeanExceptionOverride this method in sub classes to implement the collectData method.- Throws:
 WebBeanException
 
- 
addAttDetails
protected void addAttDetails(WebAttribute attr) throws WebObjectsException
- Throws:
 WebObjectsException
 
- 
disableElementsBrowsing
protected boolean disableElementsBrowsing(WebAttribute att)
 
- 
doFlatState
protected void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
 
- 
saveXMLState
protected void saveXMLState(XMLStateSerializer stateBuilder, int howMuchState)
Description copied from class:AbstractWebComponentSaves the component state- Parameters:
 stateBuilder- aXMLStateSerializerobjecthowMuchState- how much state to save (EnumWebPersistableState)
 
- 
getStateHandler
protected AbstractHandler getStateHandler()
 
- 
getDocument
public org.w3c.dom.Document getDocument() throws WebBeanExceptionDescription copied from interface:WebBeanReturns aorg.w3c.dom.Documentparsed from the XML representation of this bean.- Specified by:
 getDocumentin interfaceWebBean- Returns:
 - the XML representation of this bean.
 - Throws:
 WebBeanException- thrown if there is error when collecting data for this bean.
 
- 
getValidationErrorInfo
public WebBeanError getValidationErrorInfo()
Description copied from interface:ExpressionBeanThis can hold a validation error which came about from the validate call.- Specified by:
 getValidationErrorInfoin interfaceExpressionBean- Returns:
 - Any exception which came about from the validate call.
 
 
- 
setValidationErrorInfo
public void setValidationErrorInfo(WebBeanError err)
- Specified by:
 setValidationErrorInfoin interfaceExpressionBean
 
- 
getIncrementalFetch
public Scrollable getIncrementalFetch()
Description copied from interface:ExpressionBeanReturns aScrollableinterface, which can be used to set the incremental fetch window for an attribute elements qualification.- Specified by:
 getIncrementalFetchin interfaceExpressionBean- Returns:
 - A 
Scrollableobject, which refers to the incremental fetch window. 
 
- 
hasConstantNodes
public boolean hasConstantNodes(WebNode nd)
 
- 
getElementSource
public WebElementSource getElementSource(WebAttribute att) throws WebObjectsException, WebBeanException
Description copied from interface:ExpressionBeanReturns properly initialized element source for a given attribute.- Specified by:
 getElementSourcein interfaceExpressionBean- Parameters:
 att- attribute- Returns:
 - properly initialized element source for a given attribute.
 - Throws:
 WebObjectsExceptionWebBeanException
 
- 
validateOperands
public boolean validateOperands(WebNode node)
Description copied from interface:ExpressionBeanReturns whether the given node and its children are valid. The primary use of this is to ensure that the given node is valid within the given RW context.- Specified by:
 validateOperandsin interfaceExpressionBean- Parameters:
 node- TheWebNodeobject which will be validated. If null is passed, then the validation will start at the root. Note that all children will be validated as well.- Returns:
 - True if the expression is valid, false if it is not.
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
isEditable
public boolean isEditable(WebNode node)
Description copied from interface:ExpressionBeanReturns whether the given node can be edited properly under the current context of the application. If this is false, then the expression should be kept as-is in the current expression context, only allowing moving and removal of the expression. Note that this does not indicate that the subexpression is invalid; instead, it only checks whether it is possible to edit the subexpression in the current context.- Specified by:
 isEditablein interfaceExpressionBean- Parameters:
 node- TheWebNodeobject which is being checked.- Returns:
 - True if the expression can be edited as-is, false if it cannot.
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
setIsEditable
public void setIsEditable(boolean value)
Description copied from interface:ExpressionBeanSets whether the expression bean is editable.- Specified by:
 setIsEditablein interfaceExpressionBean- Parameters:
 value- True if the expression bean should be editable, false otherwise.- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
populateObject
public void populateObject(WebObjectInfo oi) throws WebBeanException
- Specified by:
 populateObjectin interfaceExpressionBean- Throws:
 WebBeanException- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
setContext
public void setContext(ExpressionBeanContext ebc)
Description copied from interface:ExpressionBeanSets theExpressionBeanContext. If this is set, then the expression bean will obtain the original expression that is being edited from that context.- Specified by:
 setContextin interfaceExpressionBean- Parameters:
 ebc- The context to use to obtain the expression to be edited/displayed.
 
- 
canSelectElements
public boolean canSelectElements(WebAttribute webAttribute)
Description copied from interface:ExpressionBeanReturns true if Select Elements option can be used for the attribute- Specified by:
 canSelectElementsin interfaceExpressionBean- Parameters:
 webAttribute- attribute- Returns:
 - true if Select Elements option can be used for the attribute
 
 
- 
shallSelectElements
public boolean shallSelectElements(WebAttribute webAttribute)
Description copied from interface:ExpressionBeanThis method is used to decide what Attribute subexpression to create in a given context. It returns true if getting list of available elements for a given attribute will be chip, for example because corresponding data set is already executed and cached.- Specified by:
 shallSelectElementsin interfaceExpressionBean- Returns:
 - true if getting list of available elements for a given attribute will be chip
 
 
- 
chooseDefaultForm
public WebAttributeForm chooseDefaultForm(WebAttribute attr) throws WebException, java.lang.IndexOutOfBoundsException, WebBeanException, WebObjectsException
- Specified by:
 chooseDefaultFormin interfaceExpressionBean- Throws:
 WebExceptionjava.lang.IndexOutOfBoundsExceptionWebBeanExceptionWebObjectsException
 
- 
getErrorInfo
public WebBeanError getErrorInfo()
Description copied from interface:WebBeanReturns aWebBeanErrorobject indicating processing error during thecollectDatamethod call. Null is returned if there is no error.- Specified by:
 getErrorInfoin interfaceWebBean- Returns:
 - a 
WebBeanErrorobject; null if there is no error. 
 
- 
setErrorInfo
protected void setErrorInfo(WebBeanError beanErr)
 
- 
getXMLStatus
public int getXMLStatus()
Description copied from interface:WebComponentThis method returns theEnumRequestStatusstatus of the current Component.- Specified by:
 getXMLStatusin interfaceWebComponent- Returns:
 - the 
EnumRequestStatusof the current page. 
 
- 
setXMLStatus
protected void setXMLStatus(int status)
 
- 
getSessionInfo
public WebSessionInfo getSessionInfo()
Description copied from interface:WebBeanReturns theWebSessionInfoinstance from this bean. AWebSessionInfoobject is where you can get or set the session ID to the intelligence server, user credentials and localization, etc.- Specified by:
 getSessionInfoin interfaceWebBean- Returns:
 - a 
WebSessionInfoinstance. 
 
- 
isStale
public boolean isStale()
Description copied from interface:WebBeanReturns a boolean value indicating whether the content of this bean is stale. 
- 
setStale
public void setStale(boolean stale)
Description copied from interface:WebBeanSets a flag indicating whether this bean is stale or fresh. 
- 
invalidateAllTransformCaches
protected void invalidateAllTransformCaches()
 
- 
generateOutput
public MarkupOutput generateOutput()
Description copied from interface:WebComponentThis 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 (WebComponent.setOutputFormat(int)).- Specified by:
 generateOutputin interfaceWebComponent- Returns:
 - a 
MarkupOutputobject. 
 
- 
internalCollectData
protected void internalCollectData() throws WebBeanExceptionThis method internally calls the method collectData if the method collectData has not yet been called. Otherwise it does nothing.- Overrides:
 internalCollectDatain classAbstractTransformable- Throws:
 WebBeanException- thrown if there is severe errors when collecting data- See Also:
 AbstractTransformable.internalCollectData(boolean)
 
- 
internalCollectData
protected void internalCollectData(boolean collectOnError) throws WebBeanExceptionDescription copied from class:AbstractTransformableOverriding method should not only throwWebBeanException, but also sets error info if possible.- Overrides:
 internalCollectDatain classAbstractTransformable- Parameters:
 collectOnError- will attempt to collect data even if object in in error.- Throws:
 WebBeanException- thrown if there is severe errors when collecting data
 
- 
internalCollectData
protected void internalCollectData(boolean collectOnError, boolean collectOnProcessing) throws WebBeanExceptionDescription copied from class:AbstractTransformableOverriding method should not only throwWebBeanException, but also sets error info if possible.- Overrides:
 internalCollectDatain classAbstractTransformable- Parameters:
 collectOnError- will attempt to collect data even if object in in error.collectOnProcessing- will attempt to collect data even if object is in processing.- Throws:
 WebBeanException- thrown if there is severe errors when collecting data
 
- 
collectData
public void collectData() throws WebBeanExceptionDescription copied from class:AbstractWebComponentTriggers 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.- Specified by:
 collectDatain interfaceWebComponent- Overrides:
 collectDatain classAbstractWebComponent- Throws:
 WebBeanException- thrown if there is any exception
 
- 
doCollectMinimalData
protected void doCollectMinimalData() throws WebBeanException- Throws:
 WebBeanException
 
- 
collectMinimalData
public void collectMinimalData() throws WebBeanExceptionDescription copied from interface:WebComponentThis is similar toWebComponent.collectData()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, seeWebComponent.getXMLStatus()andWebBean.getErrorInfo()for details.- Specified by:
 collectMinimalDatain interfaceWebComponent- Overrides:
 collectMinimalDatain classAbstractWebComponent- Throws:
 WebBeanException- thrown if an error occurs during this operation.
 
- 
getDescriptor
public java.lang.String getDescriptor(int key)
 
- 
getDescriptor
public java.lang.String getDescriptor(java.lang.String key)
 
- 
isTransformSuitable
protected boolean isTransformSuitable(Transform t)
Description copied from class:AbstractTransformableThis method is called in the addTransform methods. It verifies that the passed transform is suitable for this object. Default implementation simply calls transform's supports method.- Overrides:
 isTransformSuitablein classAbstractTransformable
 
- 
checkBeanType
protected void checkBeanType(AttributesXt attrs, java.lang.String expected) throws java.lang.IllegalArgumentException
- Throws:
 java.lang.IllegalArgumentException- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
checkHowMuchState
protected void checkHowMuchState(AttributesXt attrs) throws java.lang.IllegalArgumentException, SAXSupportException
- Throws:
 java.lang.IllegalArgumentExceptionSAXSupportException- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
newDefaultBeanContext
protected BeanContext newDefaultBeanContext()
Description copied from class:AbstractTransformableThis method is called by getBeanContext() to automatically create an instance of a BeanContext if one has not been explicitly set.- Overrides:
 newDefaultBeanContextin classAbstractTransformable
 
- 
addTransform
protected TransformInstance addTransform(Transform transform, java.lang.String key)
Adds a transform to itself and all the child beans which support the transform and returns aTransformInstanceof the last child bean it was added to.- Overrides:
 addTransformin classAbstractTransformable
 
- 
hasTransform
public boolean hasTransform()
Description copied from interface:TransformableReturns a boolean value indicating whether there is a defaultTransformInstanceobject.- Specified by:
 hasTransformin interfaceTransformable- Overrides:
 hasTransformin classAbstractTransformable- Returns:
 - true if there is a default transform.
 
 
- 
hasTransform
public boolean hasTransform(java.lang.String key)
Description copied from interface:TransformableReturns a boolean value indicating whether there is such aTransformInstanceobject with the specified key.- Specified by:
 hasTransformin interfaceTransformable- Overrides:
 hasTransformin classAbstractTransformable- Parameters:
 key- the key of aTransform- Returns:
 - true if there is such a 
TransformInstancewith the specified key. 
 
- 
getTransformInstance
public TransformInstance getTransformInstance(java.lang.String key) throws KeyDoesNotExistException
Description copied from interface:TransformableReturns theTransformInstanceobject with the specified key.- Specified by:
 getTransformInstancein interfaceTransformable- Overrides:
 getTransformInstancein classAbstractTransformable- Parameters:
 key- the key of aTransformInstance.- Returns:
 - the 
TransformInstanceobject with the specified key. - Throws:
 KeyDoesNotExistException- thrown if the key is not found.
 
- 
getTransformInstances
public java.util.Enumeration getTransformInstances()
Description copied from interface:TransformableRetuns ajava.util.Enumerationover all theTransformInstanceobjects.- Specified by:
 getTransformInstancesin interfaceTransformable- Overrides:
 getTransformInstancesin classAbstractTransformable- Returns:
 - a 
java.util.Enumerationover all theTransformInstanceobjects. 
 
- 
setWebEventHandler
public void setWebEventHandler(WebEventHandler handler)
Description copied from class:AbstractWebComponentAssociate with this component aWebEventHandlerinstance.A WebComponent has one to one relationship with a WebEventHandler instance. This method first removes any existing handler associated with this component, and then sets the new one on it.
This method calls the method
WebEventHandler.setWebComponent(com.microstrategy.web.beans.WebComponent). Therefore, the WebEventHandler implementator should be careful to avoid cyclic reference to each other between this component and the event handler.- Specified by:
 setWebEventHandlerin interfaceWebComponent- Overrides:
 setWebEventHandlerin classAbstractWebComponent- Parameters:
 handler- the WebEventHandler instance to set.- See Also:
 WebComponent.setWebEventHandler(com.microstrategy.web.beans.WebEventHandler)
 
- 
newStyleRequestContext
protected StyleRequestContext newStyleRequestContext()
- Overrides:
 newStyleRequestContextin classAbstractWebComponent
 
 - 
 
 -