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 classPreferencesBeanImpl.GroupInfoImplDeprecated.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_applyToAllProjectsDeprecated.protected java.lang.String_currentGroupDeprecated.protected java.lang.String_currentGroupSetDeprecated.protected java.lang.String_prevGroupNameDeprecated.protected static java.lang.StringPREFERENCE_CURRENT_GROUPDeprecated.protected static java.lang.StringPREFERENCE_CURRENT_GROUP_SETDeprecated.protected static java.lang.StringSEPARATORDeprecated.protected java.lang.StringTOKEN_DIVDeprecated.- 
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 voidafterUpdate(java.util.Map pValues, PreferencesException ex)Deprecated.voidcollectData()Deprecated.Triggers execution to the back end no matter whether it is synchronous or asynchronous.protected voiddoFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)Deprecated.Proceses the save/restore state opperation of the AppComponentMarkupOutputgenerateOutput()Deprecated.Uses a transform to generate the output.java.lang.StringgetApplyToAllProjects()Deprecated.Whether to apply the changes to all projectsjava.lang.StringgetCurrentGroup()Deprecated.Returns the current group's title.PreferencesBean.GroupInfogetCurrentGroupInfo()Deprecated.Returns the current group info structure:java.lang.StringgetCurrentGroupName()Deprecated.Returns the current group's name.java.lang.StringgetCurrentGroupSet()Deprecated.Returns which is the current groupsetPreferencesBean.GroupInfogetCurrentGroupSetInfo()Deprecated.PreferenceLevelgetCurrentLevel()Deprecated.Returns the preferences level of the current preferences groupFeatureInfosgetFeatureInfos()Deprecated.PreferencesBean.GroupInfogetGroupSetInfo(java.lang.String groupSetName)Deprecated.java.lang.StringgetPrevGroupName()Deprecated.Returns the previous group's name.booleangetSettingVisibility(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.MapgetTemporalValues()Deprecated.intgetType()Deprecated.Returns the transformable type as inEnumWebTransformableType.PreferencesExceptiongetValidationErrors()Deprecated.java.lang.StringgetValidationMessage(java.lang.String name)Deprecated.java.util.MapgetValues()Deprecated.protected intgetVisibleGroupSetCount()Deprecated.intgetXMLStatus()Deprecated.Returns the EnumRequestStatus status of the bean.booleanhasValidationErrors()Deprecated.booleanhavePreferencesChanged()Deprecated.Determines if the user has attemped to change the preferences on a page.booleaninitFromXML(org.w3c.dom.Element root)Deprecated.Initialize the groups/group-sets from the information of the rootbooleanisLoginRequired()Deprecated.booleanisValidLevel(java.lang.String level)Deprecated.Determine if the user has all the privileges required for accessing the preferences under the specified level.booleanisValidPreference(java.lang.String name)Deprecated.protected WebEventHandlernewDefaultEventHandler()Deprecated.MarkupOutputrenderGroupsList()Deprecated.Returns the output to render the groups list.MarkupOutputrenderGroupsList(boolean ignoreCurrent)Deprecated.Returns the output to render the groups list.voidsetApplyToAllProjects(java.lang.String applyToAllProjects)Deprecated.Sets whether to apply the changes to all projectsvoidsetBeanContext(BeanContext beanContext)Deprecated.Extends setBeanContext by auto-initializing this bean.voidsetCurrentGroup(java.lang.String currentGroup)Deprecated.Sets the current group.voidsetCurrentGroupSet(java.lang.String currentGroupSet)Deprecated.Sets the current groupset.voidsetIsLoginRequired(boolean value)Deprecated.isLoginRequired()can be determined automaticallyvoidsetPrevGroupName(java.lang.String prevGroupName)Deprecated.Set the previous group's name.voidsetSettingVisibility(java.lang.String settingDiv, java.lang.String visible)Deprecated.Set the value in the Hashmap _advSettingsVisibility.voidsetXMLStatus(int status)Deprecated.Set theEnumRequestStatusstatus of the bean.voidtoggleSettingsVisibility(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:
 afterUpdatein interfacePreferencesBean
 
- 
getValues
public java.util.Map getValues()
Deprecated.- Specified by:
 getValuesin interfacePreferencesBean
 
- 
hasValidationErrors
public boolean hasValidationErrors()
Deprecated.- Specified by:
 hasValidationErrorsin 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:
 getValidationMessagein interfacePreferencesBean
 
- 
isValidPreference
public boolean isValidPreference(java.lang.String name)
Deprecated.- Specified by:
 isValidPreferencein interfacePreferencesBean
 
- 
isLoginRequired
public boolean isLoginRequired()
Deprecated.- Specified by:
 isLoginRequiredin 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:
 setIsLoginRequiredin 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:
 generateOutputin interfaceWebComponent- Overrides:
 generateOutputin classAbstractAppComponent- Returns:
 - the dialog for the current Preferences group
 
 
- 
renderGroupsList
public MarkupOutput renderGroupsList()
Deprecated.Returns the output to render the groups list.- Specified by:
 renderGroupsListin 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:
 renderGroupsListin 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:
 initFromXMLin 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:AbstractPersistableAppComponentProceses the save/restore state opperation of the AppComponent- Overrides:
 doFlatStatein classAbstractPersistableAppComponent- Parameters:
 serializer- an instance of theFlatStateSerializerobject to usehowMuchState- defines how much information needs to be savedtokenizer- an instance of theFlatStateTokenizerobject to use
 
- 
getCurrentGroupSet
public java.lang.String getCurrentGroupSet()
Deprecated.Returns which is the current groupset- Specified by:
 getCurrentGroupSetin 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 withcurrentGroupSetthe 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:
 setCurrentGroupSetin 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:
 getCurrentGroupInfoin interfacePreferencesBean- Returns:
 - the current GroupInfo
 
 
- 
getCurrentGroupSetInfo
public PreferencesBean.GroupInfo getCurrentGroupSetInfo()
Deprecated.- Specified by:
 getCurrentGroupSetInfoin interfacePreferencesBean- Returns:
 - a 
GroupInfoinstance 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:
 getGroupSetInfoin interfacePreferencesBean- Parameters:
 groupSetName- name of theGroupInfoto search for.- Returns:
 - a 
GroupInfoinstance 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:
 isValidLevelin 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:
 getCurrentLevelin interfacePreferencesBean- Returns:
 - the current groupSet's level
 
 
- 
getCurrentGroup
public java.lang.String getCurrentGroup()
Deprecated.Returns the current group's title.- Specified by:
 getCurrentGroupin interfacePreferencesBean- Returns:
 - the current group's title
 
 
- 
getCurrentGroupName
public java.lang.String getCurrentGroupName()
Deprecated.Returns the current group's name.- Specified by:
 getCurrentGroupNamein 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:
 setCurrentGroupin interfacePreferencesBean- Parameters:
 currentGroup- the name of the new current group
 
- 
getTemporalValues
public java.util.Map getTemporalValues()
Deprecated.- Specified by:
 getTemporalValuesin interfacePreferencesBean- Returns:
 - Map instance with the current temporal values of the preferences object
 
 
- 
getFeatureInfos
public FeatureInfos getFeatureInfos()
Deprecated.- Specified by:
 getFeatureInfosin 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:
 setBeanContextin interfaceTransformable- Specified by:
 setBeanContextin interfaceWebComponent- Overrides:
 setBeanContextin classAbstractWebComponent- Parameters:
 beanContext-BeanContextinstance to assign to this bean- See Also:
 WebComponent.setBeanContext(com.microstrategy.web.beans.BeanContext)
 
- 
getType
public int getType()
Deprecated.Description copied from class:AbstractAppComponentReturns the transformable type as inEnumWebTransformableType.- Specified by:
 getTypein interfacePreferencesBean- Specified by:
 getTypein interfaceTransformable- Overrides:
 getTypein 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:
 getXMLStatusin interfaceWebComponent- Overrides:
 getXMLStatusin 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:
 collectDatain interfaceWebComponent- Overrides:
 collectDatain classAbstractAppComponent
 
- 
setXMLStatus
public void setXMLStatus(int status)
Deprecated.Set theEnumRequestStatusstatus of the bean. By default the status of this bean isEnumRequestStatus.WebBeanRequestWaitingForUserInput.- Specified by:
 setXMLStatusin interfacePreferencesBean- Parameters:
 status-intvalue with the status of this bean
 
- 
getApplyToAllProjects
public java.lang.String getApplyToAllProjects()
Deprecated.Whether to apply the changes to all projects- Specified by:
 getApplyToAllProjectsin 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:
 setApplyToAllProjectsin 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:
 getPrevGroupNamein 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:
 setPrevGroupNamein 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:
 setSettingVisibilityin 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:
 toggleSettingsVisibilityin 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:
 getSettingVisibilityin 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:PreferencesBeanDetermines if the user has attemped to change the preferences on a page.- Specified by:
 havePreferencesChangedin 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:
 newDefaultEventHandlerin classAbstractWebComponent- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
 -