java.lang.Object | |||
↳ | com.microstrategy.web.preferences.PreferenceDefinitionBase | ||
↳ | com.microstrategy.web.preferences.PreferenceDefinitionImpl | ||
↳ | com.microstrategy.web.preferences.EmptyNumericStringPreferenceDefinition |
This class checks the string to validate as a possible preference value it's either an empty string or if it has a value, it is a valid integer with the limits specified...
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EmptyNumericStringPreferenceDefinition(String name, PreferenceLevels lvls) | |||||||||||
EmptyNumericStringPreferenceDefinition()
Constructor for creating PreferenceDefinition objects from XML parsing.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
buildXmlAttributes(XMLBuilder builder)
Constructs an XML representation of the preference definition.
| ||||||||||
void |
setAttributes(Attributes attrs, PreferenceLevels group, boolean update)
Populates the object with attributes from parsing the definition XML.
| ||||||||||
String |
validateTransmute(String value, Preferences pref, Object validationObject)
This method is triggered by callback when setting preference values.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
MSTRUncheckedException |
---|
Constructor for creating PreferenceDefinition objects from XML parsing.
Constructs an XML representation of the preference definition. Persists the following attributes: name, value, description, type, scope, and the implementation class of PreferenceDefinition (omitted if PreferenceDefinitionImpl).
Populates the object with attributes from parsing the definition XML.
attrs | properties of the definition in XML form. |
---|---|
group | used to check the scope of the definition. |
PreferencesException | if errors occur during the population. |
---|
This method is triggered by callback when setting preference values. By default, this method doesn't do anything.
value | value to validate. |
---|---|
pref | the Preferences hierarchy in the validation context. |
PreferencesException |
---|