com.microstrategy.web.preferences.PreferenceDefinition |
This encapsulates a more detailed description of a preference object in addition to its name and value.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | TYPE_BOOLEAN | ||||||||||
String | TYPE_DEFAULT |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean |
clusterPropagate()
Whether changes to the preference will also propagate to other
Intelligence Servers in the cluster.
| ||||||||||
abstract List<PreferenceAllowableValue> |
getAllowableValues()
Retrieves a list of
PreferenceAllowableValue objects which are supported by thie preference. | ||||||||||
abstract String |
getDescription()
A description of the definition.
| ||||||||||
abstract String |
getName()
The name/key of the definition.
| ||||||||||
abstract PreferenceLevel |
getScope()
The scope refers to the PreferenceLevel which this definition applies.
| ||||||||||
abstract String | getType() | ||||||||||
abstract String |
getValue()
The value of the definition.
| ||||||||||
abstract void |
setClusterPropagate(boolean propagate)
Configures whether changes to the preference will also propagate to other
Intelligence Servers in the cluster.
| ||||||||||
abstract void |
setDescription(String val)
Update the description of a definition.
| ||||||||||
abstract void |
setScope(PreferenceLevel lvl)
Updates the scope of the definition.
| ||||||||||
abstract void |
setType(String type)
Type is an application dependent declaration - typically used for
validating the value property.
| ||||||||||
abstract void |
setValue(String val)
Update the value of the definition.
|
Whether changes to the preference will also propagate to other Intelligence Servers in the cluster. Defaults to true.
Retrieves a list of PreferenceAllowableValue
objects which are supported by thie preference.
A description of the definition.
The name/key of the definition.
The scope refers to the PreferenceLevel which this definition applies.
PreferenceLevel
scope.
The value of the definition.
Configures whether changes to the preference will also propagate to other Intelligence Servers in the cluster.
propagate | whether to propagate preference value changes to other servers in the cluster. |
---|
Update the description of a definition.
val | The new definition description. |
---|
Updates the scope of the definition.
lvl | The new PreferenceLevel scope.
|
---|
Type is an application dependent declaration - typically used for validating the value property. See specific PreferenceDefinition implementations for further details.
type | type of the definition. |
---|
Update the value of the definition.
val | the new definition value. |
---|