Package com.microstrategy.web.beans
Interface AttributeBean
-
- All Superinterfaces:
EnumWebPersistableState
,ObjectBean
,Persistable
,RequestPersistable
,Transformable
,WebBean
,WebComponent
public interface AttributeBean extends ObjectBean
This bean is used for browsing attribute elements. By specifying the attribute id or name, this bean will collect the elements belonging to this attribute. The range of the elements is controlled by blockBegin and blockCount defined in super interfaceObjectBean
. User can further apply restriction about the elements retrieved by setting dimension, filter, browse path, search pattern through this interface. The elements retrieved are returned ingetAttributeElements()
.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebElements
getAttributeElements()
WebBrowsePath
getBrowsePath()
java.lang.String[]
getClientFormPatterns()
Get the Client Form patternsboolean
getCollectForms()
java.lang.String
getControlKey()
java.lang.String
getDataSetID()
java.lang.String
getDimensionID()
int
getElementSourceFlags()
Get the element source flag which will be used in getElement call.WebFilter
getFilter()
java.lang.String
getMessageID()
java.lang.String
getRawInput()
WebAttributeForm[]
getSearchForms()
boolean
getSearchMatchCase()
java.lang.String
getSearchPattern()
java.lang.String
getTemplateNodeKey()
boolean
getUseBrowseForm()
Get the useBrowseForm flag which will be used in getElement call.boolean
getUseClientForms()
Get the useClientFormsvoid
setClientFormPatterns(java.lang.String[] clientFormPatterns)
Get the ClientFormPatternsvoid
setCollectForms(boolean value)
void
setControlKey(java.lang.String controlKey)
void
setDataSetID(java.lang.String dataSet)
void
setDataSources(java.lang.String dataSources)
void
setDimensionID(java.lang.String dim)
void
setElementSourceFlags(int flags)
The flags is used to control the Element ID Format for getElement call, if it is set to 1, it will get terse id format.void
setMessageID(java.lang.String message)
void
setRawInput(java.lang.String rawInput)
void
setSearchForms(WebAttributeForm[] forms)
void
setSearchMatchCase(boolean match)
void
setSearchPattern(java.lang.String pattern)
void
setTemplateNodeKey(java.lang.String templateNodeKey)
void
setUseBrowseForm(boolean useBrowseForm)
The useBrowseForm is used to control the Element forms for getElement call, if it is set to 1, it will get the browse form.void
setUseClientForms(boolean useClientForms)
useClientForms is used to control whether we use search forms sending from client rather than populate it from iserver if it is set to true, it will use client forms-
Methods inherited from interface com.microstrategy.web.beans.ObjectBean
getBlockBegin, getBlockCount, getDisplayName, getFlags, getLevel, getObjectID, getObjectInfo, getObjectName, getObjectType, getParentFolderBean, getParentFolderBean, getParentID, setBlockBegin, setBlockCount, setFlags, setLevel, setObjectID, setObjectInfo, setObjectName, setObjectType
-
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, 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, getDefaultStateLevel, getFeaturesManager, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBean, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, getXMLStatus, handleRequest, hasChanged, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isFeatureAvailable, prepareForReuse, removeChild, removeChild, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setOutputFormat, setParent, setPersistMode, setRenderingFilter, setTargetBean, setTargetBeanPath, setWebEventHandler
-
-
-
-
Method Detail
-
getDimensionID
java.lang.String getDimensionID()
-
setDimensionID
void setDimensionID(java.lang.String dim)
-
getFilter
WebFilter getFilter()
-
getBrowsePath
WebBrowsePath getBrowsePath()
-
getSearchPattern
java.lang.String getSearchPattern()
-
setSearchPattern
void setSearchPattern(java.lang.String pattern)
-
setSearchMatchCase
void setSearchMatchCase(boolean match)
-
getSearchMatchCase
boolean getSearchMatchCase()
-
getCollectForms
boolean getCollectForms()
-
setCollectForms
void setCollectForms(boolean value)
-
getAttributeElements
WebElements getAttributeElements() throws WebBeanException
- Throws:
WebBeanException
-
setDataSources
void setDataSources(java.lang.String dataSources)
-
setSearchForms
void setSearchForms(WebAttributeForm[] forms)
-
getSearchForms
WebAttributeForm[] getSearchForms()
-
getMessageID
java.lang.String getMessageID()
-
setMessageID
void setMessageID(java.lang.String message)
-
getDataSetID
java.lang.String getDataSetID()
-
setDataSetID
void setDataSetID(java.lang.String dataSet)
-
getControlKey
java.lang.String getControlKey()
-
setControlKey
void setControlKey(java.lang.String controlKey)
-
getTemplateNodeKey
java.lang.String getTemplateNodeKey()
-
setTemplateNodeKey
void setTemplateNodeKey(java.lang.String templateNodeKey)
-
getRawInput
java.lang.String getRawInput()
-
setRawInput
void setRawInput(java.lang.String rawInput)
-
getElementSourceFlags
int getElementSourceFlags()
Get the element source flag which will be used in getElement call.- Returns:
-
setElementSourceFlags
void setElementSourceFlags(int flags)
The flags is used to control the Element ID Format for getElement call, if it is set to 1, it will get terse id format.- Parameters:
flags
- value is false or true.
-
getUseBrowseForm
boolean getUseBrowseForm()
Get the useBrowseForm flag which will be used in getElement call.- Returns:
-
setUseBrowseForm
void setUseBrowseForm(boolean useBrowseForm)
The useBrowseForm is used to control the Element forms for getElement call, if it is set to 1, it will get the browse form.- Parameters:
useBrowseForm
- value is false or true.
-
getUseClientForms
boolean getUseClientForms()
Get the useClientForms- Returns:
-
setUseClientForms
void setUseClientForms(boolean useClientForms)
useClientForms is used to control whether we use search forms sending from client rather than populate it from iserver if it is set to true, it will use client forms- Parameters:
useClientForms
-
-
getClientFormPatterns
java.lang.String[] getClientFormPatterns()
Get the Client Form patterns- Returns:
-
setClientFormPatterns
void setClientFormPatterns(java.lang.String[] clientFormPatterns)
Get the ClientFormPatterns
-
-