Package com.microstrategy.web.app.beans
Class PreferencesBeanImpl
- 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.PreferencesBeanImpl
-
- All Implemented Interfaces:
EnumWebPersistableState
,Persistable
,AppComponent
,PreferencesBean
,RequestPersistable
,Transformable
,WebComponent
- Direct Known Subclasses:
OptionsBeanImpl
@Deprecated public class PreferencesBeanImpl extends AbstractPersistableAppComponent implements PreferencesBean
Deprecated.this class will be made non-publicThe PreferencesBean is an application level bean that allows end users to set their preferences values. Preferences allows users to customize the application to their own settings.
Preferences are managed by the Preferences class, which is an application level object shared through the appContext class. The PreferencesBean is responsible to present the end-user graphical interface and to handle the events of updating the Preferences values.
Graphically, preferences are grouped based on the level and their usage. Usually for the level, we would have user and administrator preferences. User preferences apply only to the current user and project; administrator preferences are only available to administrator and are applied to all users. On the usage we have groups like General, Grid display, Graph display, etc. We have groups that only apply at the user level, such as History List; we also have groups that only apply at the admin level, such as Login.
The PreferencesBean extends the AppComponent (the base for all Application beans). It provides an initFromXml() method which receives a Node and creates the internal structures for groups and group-sets.
It provides methods to retrieve/set the current group/group-set based on its name.
It has an EventHandler, this event handler is the one responsible to receive the request, update the Preferences or set the current group/group-set from it.
Each group will define the transform it should use to render the preferences. The generateOutput() method (inherited from WebComponent) will check which is the current group, and will call its transform to generate the MarkupOutput.
The class also provides a method to return a MarkupOutput to use to render the groups list.
It implements Persistable. We would use this to save the state of the bean. On the state the current group and group-set are saved.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
PreferencesBeanImpl.GroupInfoImpl
Deprecated.This class stores the data structure necessary for each group/group-set.-
Nested classes/interfaces inherited from interface com.microstrategy.web.app.beans.PreferencesBean
PreferencesBean.GroupInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_applyToAllProjects
Deprecated.protected java.lang.String
_currentGroup
Deprecated.protected java.lang.String
_currentGroupSet
Deprecated.protected java.lang.String
_prevGroupName
Deprecated.protected static java.lang.String
PREFERENCE_CURRENT_GROUP
Deprecated.protected static java.lang.String
PREFERENCE_CURRENT_GROUP_SET
Deprecated.protected static java.lang.String
SEPARATOR
Deprecated.protected java.lang.String
TOKEN_DIV
Deprecated.-
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
-
Fields inherited from interface com.microstrategy.web.app.beans.PreferencesBean
KEEP_TEMP_PREFERENCE, SAVE_TEMP_PREFERENCE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
afterUpdate(java.util.Map pValues, PreferencesException ex)
Deprecated.void
collectData()
Deprecated.Triggers execution to the back end no matter whether it is synchronous or asynchronous.protected void
doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Deprecated.Proceses the save/restore state opperation of the AppComponentMarkupOutput
generateOutput()
Deprecated.Uses a transform to generate the output.java.lang.String
getApplyToAllProjects()
Deprecated.Whether to apply the changes to all projectsjava.lang.String
getCurrentGroup()
Deprecated.Returns the current group's title.PreferencesBean.GroupInfo
getCurrentGroupInfo()
Deprecated.Returns the current group info structure:java.lang.String
getCurrentGroupName()
Deprecated.Returns the current group's name.java.lang.String
getCurrentGroupSet()
Deprecated.Returns which is the current groupsetPreferencesBean.GroupInfo
getCurrentGroupSetInfo()
Deprecated.PreferenceLevel
getCurrentLevel()
Deprecated.Returns the preferences level of the current preferences groupFeatureInfos
getFeatureInfos()
Deprecated.PreferencesBean.GroupInfo
getGroupSetInfo(java.lang.String groupSetName)
Deprecated.java.lang.String
getPrevGroupName()
Deprecated.Returns the previous group's name.boolean
getSettingVisibility(java.lang.String settingDiv)
Deprecated.Retrieves the boolean value indicating whether we should render the advanced setting Div with Id as setting Div as visible.java.util.Map
getTemporalValues()
Deprecated.int
getType()
Deprecated.Returns the transformable type as inEnumWebTransformableType
.PreferencesException
getValidationErrors()
Deprecated.java.lang.String
getValidationMessage(java.lang.String name)
Deprecated.java.util.Map
getValues()
Deprecated.protected int
getVisibleGroupSetCount()
Deprecated.int
getXMLStatus()
Deprecated.Returns the EnumRequestStatus status of the bean.boolean
hasValidationErrors()
Deprecated.boolean
havePreferencesChanged()
Deprecated.Determines if the user has attemped to change the preferences on a page.boolean
initFromXML(org.w3c.dom.Element root)
Deprecated.Initialize the groups/group-sets from the information of the rootboolean
isLoginRequired()
Deprecated.boolean
isValidLevel(java.lang.String level)
Deprecated.Determine if the user has all the privileges required for accessing the preferences under the specified level.boolean
isValidPreference(java.lang.String name)
Deprecated.protected WebEventHandler
newDefaultEventHandler()
Deprecated.MarkupOutput
renderGroupsList()
Deprecated.Returns the output to render the groups list.MarkupOutput
renderGroupsList(boolean ignoreCurrent)
Deprecated.Returns the output to render the groups list.void
setApplyToAllProjects(java.lang.String applyToAllProjects)
Deprecated.Sets whether to apply the changes to all projectsvoid
setBeanContext(BeanContext beanContext)
Deprecated.Extends setBeanContext by auto-initializing this bean.void
setCurrentGroup(java.lang.String currentGroup)
Deprecated.Sets the current group.void
setCurrentGroupSet(java.lang.String currentGroupSet)
Deprecated.Sets the current groupset.void
setIsLoginRequired(boolean value)
Deprecated.isLoginRequired()
can be determined automaticallyvoid
setPrevGroupName(java.lang.String prevGroupName)
Deprecated.Set the previous group's name.void
setSettingVisibility(java.lang.String settingDiv, java.lang.String visible)
Deprecated.Set the value in the Hashmap _advSettingsVisibility.void
setXMLStatus(int status)
Deprecated.Set theEnumRequestStatus
status of the bean.void
toggleSettingsVisibility(java.lang.String settingDiv)
Deprecated.Toggle the value in the Hashmap _advSettingsVisibility.-
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, collectMinimalData, compareChildsTargetWithCurrent, createTransformInstance, doCollectData, doCollectMinimalData, getAppContext, getContactInfo, getContainerServices, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeaturesManager, getLeft, getObjectSource, getResultFilterMode, getSession, getTargetBean, getTop, getWebObjectsFactory, getWebObjectsFactory, hasChanged, hasTargetBeanChanged, haveChildrenChanged, initComponent, internalCollectData, isDialog, isForcedChildrenStateSaving, isIFrameRequest, isModal, isModalOpen, isOpen, newDefaultBeanContext, newHiddenInputBuilder, newNamespaceEncoder, newStyleRequestContext, newURIBuilder, setExtraInput, setExtraUrl, setForcedChildrenStateSaving, setHasJustOpened, setIsDialog, setIsModal, setIsOpen, 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, 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.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, hasTransform, hasTransform, invalidateTransformCache, transform, transform
-
Methods inherited from interface com.microstrategy.web.beans.WebComponent
addChild, addChildStateInfo, addChildStateInfo, collectMinimalData, getBeanContext, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getFeaturesManager, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBean, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, handleRequest, hasChanged, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isFeatureAvailable, prepareForReuse, removeChild, removeChild, searchChild, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setOutputFormat, setParent, setPersistMode, setRenderingFilter, setTargetBean, setTargetBeanPath, setWebEventHandler
-
-
-
-
Field Detail
-
_currentGroupSet
protected java.lang.String _currentGroupSet
Deprecated.
-
_currentGroup
protected java.lang.String _currentGroup
Deprecated.
-
_prevGroupName
protected java.lang.String _prevGroupName
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
_applyToAllProjects
protected java.lang.String _applyToAllProjects
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
TOKEN_DIV
protected final java.lang.String TOKEN_DIV
Deprecated.- See Also:
- Constant Field Values
-
SEPARATOR
protected static final java.lang.String SEPARATOR
Deprecated.- See Also:
- Constant Field Values
-
PREFERENCE_CURRENT_GROUP_SET
protected static final java.lang.String PREFERENCE_CURRENT_GROUP_SET
Deprecated.- See Also:
- Constant Field Values
-
PREFERENCE_CURRENT_GROUP
protected static final java.lang.String PREFERENCE_CURRENT_GROUP
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
afterUpdate
public void afterUpdate(java.util.Map pValues, PreferencesException ex)
Deprecated.- Specified by:
afterUpdate
in interfacePreferencesBean
-
getValues
public java.util.Map getValues()
Deprecated.- Specified by:
getValues
in interfacePreferencesBean
-
hasValidationErrors
public boolean hasValidationErrors()
Deprecated.- Specified by:
hasValidationErrors
in interfacePreferencesBean
-
getValidationErrors
public PreferencesException getValidationErrors()
Deprecated.- Since:
- MicroStrategy Web 9.0.0
-
getValidationMessage
public java.lang.String getValidationMessage(java.lang.String name)
Deprecated.- Specified by:
getValidationMessage
in interfacePreferencesBean
-
isValidPreference
public boolean isValidPreference(java.lang.String name)
Deprecated.- Specified by:
isValidPreference
in interfacePreferencesBean
-
isLoginRequired
public boolean isLoginRequired()
Deprecated.- Specified by:
isLoginRequired
in interfacePreferencesBean
- Returns:
- boolean value indicating if the user is required to log out and log back in in order to have the new preference values applied.
- Since:
- MicroStrategy Web 8.0.0
-
setIsLoginRequired
@Deprecated public void setIsLoginRequired(boolean value)
Deprecated.isLoginRequired()
can be determined automatically- Specified by:
setIsLoginRequired
in interfacePreferencesBean
- Parameters:
value
- boolean flag indicating if the user is required to log out and log back in in order to have the new preference values applied.- Since:
- MicroStrategy Web 8.0.0
-
generateOutput
public MarkupOutput generateOutput()
Deprecated.Uses a transform to generate the output. The transform used will be the one of the current group.- Specified by:
generateOutput
in interfaceWebComponent
- Overrides:
generateOutput
in classAbstractAppComponent
- Returns:
- the dialog for the current Preferences group
-
renderGroupsList
public MarkupOutput renderGroupsList()
Deprecated.Returns the output to render the groups list.- Specified by:
renderGroupsList
in interfacePreferencesBean
- Returns:
- the output to display the groups list information.
-
renderGroupsList
public MarkupOutput renderGroupsList(boolean ignoreCurrent)
Deprecated.Returns the output to render the groups list.- Specified by:
renderGroupsList
in interfacePreferencesBean
- Parameters:
ignoreCurrent
- ignores which group and group set are currently selected. Displays them all as links- Returns:
- the output to display the groups list information.
-
getVisibleGroupSetCount
protected int getVisibleGroupSetCount()
Deprecated.- Returns:
- integer value with the count of visible group sets available
-
initFromXML
public boolean initFromXML(org.w3c.dom.Element root)
Deprecated.Initialize the groups/group-sets from the information of the root- Specified by:
initFromXML
in interfacePreferencesBean
- Parameters:
root
- the XML Element with the structure information- Returns:
- true if the root contained valid information
-
doFlatState
protected void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Deprecated.Description copied from class:AbstractPersistableAppComponent
Proceses the save/restore state opperation of the AppComponent- Overrides:
doFlatState
in classAbstractPersistableAppComponent
- Parameters:
serializer
- an instance of theFlatStateSerializer
object to usehowMuchState
- defines how much information needs to be savedtokenizer
- an instance of theFlatStateTokenizer
object to use
-
getCurrentGroupSet
public java.lang.String getCurrentGroupSet()
Deprecated.Returns which is the current groupset- Specified by:
getCurrentGroupSet
in interfacePreferencesBean
- Returns:
- the current groupSet's title
-
setCurrentGroupSet
public void setCurrentGroupSet(java.lang.String currentGroupSet)
Deprecated.Sets the current groupset. If there is no group-set withcurrentGroupSet
the value is ignored.
If the current group exist in the new group-set, the group is kept as current group, if not, the first group of the group-set is used.- Specified by:
setCurrentGroupSet
in interfacePreferencesBean
- Parameters:
currentGroupSet
- the name of the new current group set
-
getCurrentGroupInfo
public PreferencesBean.GroupInfo getCurrentGroupInfo()
Deprecated.Returns the current group info structure:- Specified by:
getCurrentGroupInfo
in interfacePreferencesBean
- Returns:
- the current GroupInfo
-
getCurrentGroupSetInfo
public PreferencesBean.GroupInfo getCurrentGroupSetInfo()
Deprecated.- Specified by:
getCurrentGroupSetInfo
in interfacePreferencesBean
- Returns:
- a
GroupInfo
instance corresponding to the current group set selected - Since:
- MicroStrategy Web 8.0.0
-
getGroupSetInfo
public PreferencesBean.GroupInfo getGroupSetInfo(java.lang.String groupSetName)
Deprecated.- Specified by:
getGroupSetInfo
in interfacePreferencesBean
- Parameters:
groupSetName
- name of theGroupInfo
to search for.- Returns:
- a
GroupInfo
instance corresponding to the group set name sent in as parameter - Since:
- MicroStrategy Web 8.0.0
-
isValidLevel
public boolean isValidLevel(java.lang.String level)
Deprecated.Determine if the user has all the privileges required for accessing the preferences under the specified level.- Specified by:
isValidLevel
in interfacePreferencesBean
- Parameters:
level
- String value with the level the user is trying to access- Returns:
- boolean value indicating if the user is enabled to access this preference level or not.
- Since:
- MicroStrategy Web 8.0.0
-
getCurrentLevel
public PreferenceLevel getCurrentLevel()
Deprecated.Returns the preferences level of the current preferences group- Specified by:
getCurrentLevel
in interfacePreferencesBean
- Returns:
- the current groupSet's level
-
getCurrentGroup
public java.lang.String getCurrentGroup()
Deprecated.Returns the current group's title.- Specified by:
getCurrentGroup
in interfacePreferencesBean
- Returns:
- the current group's title
-
getCurrentGroupName
public java.lang.String getCurrentGroupName()
Deprecated.Returns the current group's name.- Specified by:
getCurrentGroupName
in interfacePreferencesBean
- Returns:
- the current group's name
- Since:
- MicroStrategy Web 8.0.0
-
setCurrentGroup
public void setCurrentGroup(java.lang.String currentGroup)
Deprecated.Sets the current group. If the new group doesn't exist, it is ignored.- Specified by:
setCurrentGroup
in interfacePreferencesBean
- Parameters:
currentGroup
- the name of the new current group
-
getTemporalValues
public java.util.Map getTemporalValues()
Deprecated.- Specified by:
getTemporalValues
in interfacePreferencesBean
- Returns:
- Map instance with the current temporal values of the preferences object
-
getFeatureInfos
public FeatureInfos getFeatureInfos()
Deprecated.- Specified by:
getFeatureInfos
in interfacePreferencesBean
-
setBeanContext
public void setBeanContext(BeanContext beanContext)
Deprecated.Extends setBeanContext by auto-initializing this bean. The bean will check in the appContext for a "preferencesGroupsFile" config parameter, if found, it will initialize itself from the path specified.
If this parameter is not present the user will need to manually call initFromXml.
If the user wants to use this bean with a different set of preferences groups, he can call initFromXml and the values will be overwritten.- Specified by:
setBeanContext
in interfaceTransformable
- Specified by:
setBeanContext
in interfaceWebComponent
- Overrides:
setBeanContext
in classAbstractWebComponent
- Parameters:
beanContext
-BeanContext
instance to assign to this bean- See Also:
WebComponent.setBeanContext(com.microstrategy.web.beans.BeanContext)
-
getType
public int getType()
Deprecated.Description copied from class:AbstractAppComponent
Returns the transformable type as inEnumWebTransformableType
.- Specified by:
getType
in interfacePreferencesBean
- Specified by:
getType
in interfaceTransformable
- Overrides:
getType
in classAbstractAppComponent
- Returns:
- the transformable type.
-
getXMLStatus
public int getXMLStatus()
Deprecated.Returns the EnumRequestStatus status of the bean. By default the status of this bean is WebBeanRequestWaitingForUserInput. When the method is invoked with true, then the status changes to be Succesfull.- Specified by:
getXMLStatus
in interfaceWebComponent
- Overrides:
getXMLStatus
in classAbstractAppComponent
- Returns:
- the EnumRequestStatus of the component.
-
collectData
public void collectData()
Deprecated.Triggers 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:
collectData
in interfaceWebComponent
- Overrides:
collectData
in classAbstractAppComponent
-
setXMLStatus
public void setXMLStatus(int status)
Deprecated.Set theEnumRequestStatus
status of the bean. By default the status of this bean isEnumRequestStatus.WebBeanRequestWaitingForUserInput
.- Specified by:
setXMLStatus
in interfacePreferencesBean
- Parameters:
status
-int
value with the status of this bean
-
getApplyToAllProjects
public java.lang.String getApplyToAllProjects()
Deprecated.Whether to apply the changes to all projects- Specified by:
getApplyToAllProjects
in interfacePreferencesBean
- Returns:
- whether to apply the changes to all projects
- Since:
- MicroStrategy Web 8.0.0
-
setApplyToAllProjects
public void setApplyToAllProjects(java.lang.String applyToAllProjects)
Deprecated.Sets whether to apply the changes to all projects- Specified by:
setApplyToAllProjects
in interfacePreferencesBean
- Parameters:
applyToAllProjects
- whether to apply the changes to all projects- Since:
- MicroStrategy Web 8.0.0
-
getPrevGroupName
public java.lang.String getPrevGroupName()
Deprecated.Returns the previous group's name.- Specified by:
getPrevGroupName
in interfacePreferencesBean
- Returns:
- the previous group's name
- Since:
- MicroStrategy Web 8.0.0
-
setPrevGroupName
public void setPrevGroupName(java.lang.String prevGroupName)
Deprecated.Set the previous group's name.- Specified by:
setPrevGroupName
in interfacePreferencesBean
- Parameters:
prevGroupName
- the previous group's name- Since:
- MicroStrategy Web 8.0.0
-
setSettingVisibility
public void setSettingVisibility(java.lang.String settingDiv, java.lang.String visible)
Deprecated.Set the value in the Hashmap _advSettingsVisibility.- Specified by:
setSettingVisibility
in interfacePreferencesBean
- Parameters:
settingDiv
- The key to the value stored in Hashmap.- Since:
- MicroStrategy Web 9.0.0
-
toggleSettingsVisibility
public void toggleSettingsVisibility(java.lang.String settingDiv)
Deprecated.Toggle the value in the Hashmap _advSettingsVisibility.- Specified by:
toggleSettingsVisibility
in interfacePreferencesBean
- Parameters:
settingDiv
- The key to the value stored in Hashmap.- Since:
- MicroStrategy Web 9.0.0
-
getSettingVisibility
public boolean getSettingVisibility(java.lang.String settingDiv)
Deprecated.Retrieves the boolean value indicating whether we should render the advanced setting Div with Id as setting Div as visible.- Specified by:
getSettingVisibility
in interfacePreferencesBean
- Parameters:
settingDiv
- The Id of the controlled setting Div.- Returns:
- boolean value indicating whether the Div should be visible or not
- Since:
- MicroStrategy Web 9.0.0
-
havePreferencesChanged
public boolean havePreferencesChanged()
Deprecated.Description copied from interface:PreferencesBean
Determines if the user has attemped to change the preferences on a page.- Specified by:
havePreferencesChanged
in interfacePreferencesBean
- Returns:
- true if the user has attemped to change the preferences on a page.
- Since:
- MicroStrategy Web 9.0.0
- See Also:
PreferencesBean.havePreferencesChanged()
-
newDefaultEventHandler
protected WebEventHandler newDefaultEventHandler()
Deprecated.- Overrides:
newDefaultEventHandler
in classAbstractWebComponent
- Since:
- MicroStrategy Web 9.0.0
-
-