java.lang.Object | ||
↳ | com.microstrategy.web.app.GenericBrowserSettings | |
↳ | com.microstrategy.web.app.AbstractBrowserSettings |
![]() |
This class provides a common implementation of BrowserSettings interface. The environment-dependend browser settings classes override or implement the load or store methods.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected BrowserSettingElement | _bSet | Container for browser setting values | |||||||||
protected BrowserSettingElement | _bSetHttpSession | Container for HttpSession browser setting values | |||||||||
protected BrowserSettingElement | _bSetSession | Container for Session browser setting values |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractBrowserSettings(BrowserSettingDefinitionList bsDefinitionList, Preferences preferences, ContainerServices containerServices) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | clearHttpSessionValues() | ||||||||||
void |
clearSessionValues()
Clears session browser settings
| ||||||||||
void | clearSessionValues(WebIServerSession session) | ||||||||||
void |
flush()
Store the browser settings windows to more persistent storage.
| ||||||||||
String |
getHttpSessionValue(String keyName)
Returns the http session value of the key sent as parameter
| ||||||||||
String |
getSessionValue(String keyName, WebIServerSession session)
Returns the value of the key sent as parameter, related with the setting
corresponding to the indicated session.
| ||||||||||
String |
getSessionValue(String keyName)
Returns the value of the key sent as parameter, related with the setting
corresponding to the default session
| ||||||||||
String |
getValue(String keyName)
Returns the value of the key sent as parameter
| ||||||||||
boolean |
hasValueSet(String keyName)
Checks whether a value has been set for the given key name or not
| ||||||||||
void |
setHttpSessionValue(String keyName, String value)
Persists the specified http session value under the specified key.
| ||||||||||
void |
setSession(WebIServerSession currentSession)
Sets the session that will be used as default when accessing session settings
and also reloads session browser settings.
| ||||||||||
void |
setSessionValue(String keyName, String value, WebIServerSession session)
Persists the specified value under the specified key for the indicated session
| ||||||||||
void |
setSessionValue(String keyName, String value)
Persists the specified value under the specified key for the default session
| ||||||||||
void |
setValue(String keyName, String value)
Persists the specified value under the specified key.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | canStore(BrowserSettingElement bSet) | ||||||||||
String |
getProjectKey(WebIServerSession session)
Returns the key to be used for the requested session
| ||||||||||
String |
getValue(BrowserSettingElement browserSettingElement, String keyName, boolean checkForXSS)
Get browser setting value.
| ||||||||||
BrowserSettingElement |
loadHttpSessionValues()
Load temporary browser setting windows from web session.
| ||||||||||
BrowserSettingElement |
loadSessionValues()
Load project browser setting windows from web session.
| ||||||||||
abstract BrowserSettingElement |
loadValues()
Store permenant browser setting windows in persistent storage.
| ||||||||||
void |
storeHttpSessionValues(BrowserSettingElement bSetHttpSession)
Store temporary browser setting windows to web session.
| ||||||||||
void |
storeSessionValues(BrowserSettingElement bSetSession)
Store project browser setting windows to web session.
| ||||||||||
abstract void |
storeValues(BrowserSettingElement bSet)
Load permanent browser setting windows from persistent storage.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Container for browser setting values
Container for HttpSession browser setting values
Container for Session browser setting values
Clears session browser settings
Store the browser settings windows to more persistent storage.
Returns the http session value of the key sent as parameter
keyName | the name associated with the value to return |
---|
null
Returns the value of the key sent as parameter, related with the setting corresponding to the indicated session.
keyName | the name associated with the value to return |
---|---|
session | an initialized WebIServerSession instance |
Returns the value of the key sent as parameter, related with the setting corresponding to the default session
keyName | the name associated with the value to return |
---|
Returns the value of the key sent as parameter
keyName | the name associated with the value to return |
---|
Checks whether a value has been set for the given key name or not
keyName | the name associated with the setting |
---|
Persists the specified http session value under the specified key. If the value sent is null, no changes will be saved.
keyName | name under to which the new setting will be saved |
---|---|
value | value of the setting to be saved |
Sets the session that will be used as default when accessing session settings and also reloads session browser settings.
currentSession | an initialized WebIServerSession instance that
represents the current session opened.
|
---|
Persists the specified value under the specified key for the indicated session
keyName | name under to which the new setting will be saved |
---|---|
value | value of the setting to be saved |
session | an initialized WebIServerSession instance
|
Persists the specified value under the specified key for the default session
keyName | name under to which the new setting will be saved |
---|---|
value | value of the setting to be saved |
Persists the specified value under the specified key. If the value sent is null, no changes will be saved.
keyName | name under to which the new setting will be saved |
---|---|
value | value of the setting to be saved |
Returns the key to be used for the requested session
session | an initialized WebIServerSession instance |
---|
Get browser setting value.
browserSettingElement | An instance of BrowserSettingElement. |
---|---|
keyName | The browser setting key. |
checkForXSS | TODO |
Load temporary browser setting windows from web session.
Load project browser setting windows from web session.
Store permenant browser setting windows in persistent storage.
Store temporary browser setting windows to web session.
Store project browser setting windows to web session.
Load permanent browser setting windows from persistent storage.