| java.lang.Object | |||
| ↳ | com.microstrategy.web.preferences.PreferenceDefinitionBase | ||
| ↳ | com.microstrategy.web.preferences.PreferenceDefinitionImpl | ||
| ↳ | com.microstrategy.web.preferences.PreferenceValidationForPrintRowsColsPerPage | ||
This class validates the rows per page (WebPreferencePrintDefaultRowsPerPage, WebPreferencePrintGridRowsPerPage)
and the columns per page (WebPreferencePrintDefaultColsPerPage, WebPreferencePrintGridColsPerPage) on HTML print.
It makes sure that they do not exceed the maximum rows per page (WebPreferencePrintMaxRowsPerPage) and maximum columns per page (WebPreferencePrintMaxColsPerPage) .
It also checks that the value is within the min and max settings specified.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | Att_Max | ||||||||||
| String | Att_Min | ||||||||||
|
[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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PreferenceValidationForPrintRowsColsPerPage() | |||||||||||
| 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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
| |||||||||||
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. The attributes populated by PreferenceDefinitionImpl are as follows: name, value, description, type, scope, and the preference levels grouping.
| attrs | properties of the definition in XML form. |
|---|---|
| group | used to check the scope of the definition. |
| PreferencesException |
|---|
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.
| PreferencesException |
|---|