public class

PreferenceValidationForDefaultLoginMode

extends PreferenceDefinitionImpl
java.lang.Object
   ↳ com.microstrategy.web.preferences.PreferenceDefinitionBase
     ↳ com.microstrategy.web.preferences.PreferenceDefinitionImpl
       ↳ com.microstrategy.web.preferences.PreferenceValidationForDefaultLoginMode

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.preferences.PreferenceDefinitionImpl
From interface com.microstrategy.web.preferences.PreferenceDefinition
[Expand]
Inherited Fields
From class com.microstrategy.web.preferences.PreferenceDefinitionBase
Public Constructors
PreferenceValidationForDefaultLoginMode()
Protected Methods
String validateTransmute(String value, Preferences pref, Object validationObject)
This method is triggered by callback when setting preference values.
[Expand]
Inherited Methods
From class com.microstrategy.web.preferences.PreferenceDefinitionImpl
From class com.microstrategy.web.preferences.PreferenceDefinitionBase
From class java.lang.Object
From interface com.microstrategy.web.preferences.PreferenceDefinition

Public Constructors

public PreferenceValidationForDefaultLoginMode ()

Protected Methods

protected String validateTransmute (String value, Preferences pref, Object validationObject)

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.

Returns
  • transmuted preference value