Class PreferenceValidationForDefaultLoginMode
- java.lang.Object
-
- com.microstrategy.web.preferences.PreferenceDefinitionBase
-
- com.microstrategy.web.preferences.PreferenceDefinitionImpl
-
- com.microstrategy.web.preferences.PreferenceValidationForDefaultLoginMode
-
- All Implemented Interfaces:
PreferenceDefinition
public class PreferenceValidationForDefaultLoginMode extends PreferenceDefinitionImpl
Handles the validation of the default login mode. If one of the default login modes is not among the enabled login modes, an exception will be thrown. A Default login mode has to be enabled as well.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.preferences.PreferenceDefinitionImpl
Att_Class, Att_ClusterPropagate, Att_DescriptionID, Att_Scope, Tag_AllowableValue, Tag_AllowableValues
-
Fields inherited from class com.microstrategy.web.preferences.PreferenceDefinitionBase
_allowableValues, _clusterPropagate, _description, _levels, _name, _scope, _type, _value
-
Fields inherited from interface com.microstrategy.web.preferences.PreferenceDefinition
TYPE_BOOLEAN, TYPE_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description PreferenceValidationForDefaultLoginMode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
validateTransmute(java.lang.String value, Preferences pref, java.lang.Object validationObject)
This method is triggered by callback when setting preference values.-
Methods inherited from class com.microstrategy.web.preferences.PreferenceDefinitionImpl
buildXmlAttributes, setAttributes, setAttributes, toString, validate, validateAllowableValues
-
Methods inherited from class com.microstrategy.web.preferences.PreferenceDefinitionBase
clusterPropagate, getAllowableValues, getDescription, getEnumPreferenceLevels, getName, getScope, getType, getValue, setClusterPropagate, setDescription, setEnumPreferenceLevels, setName, setScope, setType, setValue, validateDataType
-
-
-
-
Method Detail
-
validateTransmute
protected java.lang.String validateTransmute(java.lang.String value, Preferences pref, java.lang.Object validationObject) throws PreferencesException
Description copied from class:PreferenceDefinitionImpl
This method is triggered by callback when setting preference values. By default, this method doesn't do anything. The returned value will be used to set the preference value - this facilitates preprocessing such as trimming strings, or date time reformating.- Overrides:
validateTransmute
in classPreferenceDefinitionImpl
- Returns:
- transmuted preference value
- Throws:
PreferencesException
- Since:
- MicroStrategy Web 8.0.0
-
-