java.lang.Object | |||||||
↳ | com.microstrategy.utils.serialization.AbstractPersistable | ||||||
↳ | com.microstrategy.web.beans.AbstractTransformable | ||||||
↳ | com.microstrategy.web.beans.AbstractWebComponent | ||||||
↳ | com.microstrategy.web.app.beans.AbstractAppComponent | ||||||
↳ | com.microstrategy.web.app.beans.AbstractPersistableAppComponent | ||||||
↳ | com.microstrategy.web.app.beans.PreferencesBeanImpl | ||||||
↳ | com.microstrategy.web.app.beans.OptionsBeanImpl |
This class is deprecated.
this class will be made non-public
The OptionsBeanImpl is an application level bean that allows end users to set their preferences values. This bean extends the preferences bean and used specifically for the Print/PDF/Export options. This bean uses most of the methods and logic that it inherits from its parent. the only difference being the setters and getters for the header/footer text and the getter for the report bean. The state of this bean is also an extension of its parent with the information of the header/footer text as a part of the state.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PREFERENCE_FOOTER_CENTER | ||||||||||
String | PREFERENCE_FOOTER_LEFT | ||||||||||
String | PREFERENCE_FOOTER_RIGHT | ||||||||||
String | PREFERENCE_HEADER_CENTER | ||||||||||
String | PREFERENCE_HEADER_FOOTER_CHANGED | ||||||||||
String | PREFERENCE_HEADER_LEFT | ||||||||||
String | PREFERENCE_HEADER_RIGHT |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MarkupOutput |
generateOutput()
Uses a transform to generate the output.
| ||||||||||
DirectExportBean | getDirectExportBean() | ||||||||||
String |
getDontPromptAgain()
Returns whether not to show the options page.
| ||||||||||
String |
getFooterCenterText()
This method is deprecated.
we now use
getHeaderFooterPropValue(String)
| ||||||||||
String |
getFooterLeftText()
This method is deprecated.
we now use
getHeaderFooterPropValue(String)
| ||||||||||
String |
getFooterRightText()
This method is deprecated.
we now use
getHeaderFooterPropValue(String)
| ||||||||||
String |
getHeaderCenterText()
This method is deprecated.
we now use
getHeaderFooterPropValue(String)
| ||||||||||
boolean |
getHeaderFooterChanged()
Return whether the Header/Footer has been changed.
| ||||||||||
String | getHeaderFooterMacroPrefix() | ||||||||||
String | getHeaderFooterMacroSuffix() | ||||||||||
String | getHeaderFooterPropValue(String name) | ||||||||||
HashMap<String, String> | getHeaderFooterProps() | ||||||||||
String |
getHeaderFooterSectionName()
Returns the name of the current header footer section.
| ||||||||||
String |
getHeaderLeftText()
This method is deprecated.
we now use
getHeaderFooterPropValue(String)
| ||||||||||
String |
getHeaderRightText()
This method is deprecated.
we now use
getHeaderFooterPropValue(String)
| ||||||||||
boolean |
getIsProjectHeaderFooter()
Returns whether the header/footer properties are the project level ones.
| ||||||||||
ReportBean | getReportBean() | ||||||||||
boolean |
getShowAdvancedOptions()
Returns whether to show the Advanced Options.
| ||||||||||
boolean |
getShowOptions()
Returns whether the options page is being displayed.
| ||||||||||
int |
getType()
Returns the type of Bean.
| ||||||||||
boolean | getUseForExport() | ||||||||||
boolean | getUseForPDF() | ||||||||||
boolean | getUseForPDFPrint() | ||||||||||
boolean | getUseForPrint() | ||||||||||
void |
setDontPromptAgain(String value)
Sets whether not to show the options page.
| ||||||||||
void |
setFooterCenterText(String value)
This method is deprecated.
we now use
setHeaderFooterPropValue(String, String)
| ||||||||||
void |
setFooterLeftText(String value)
This method is deprecated.
we now use
setHeaderFooterPropValue(String, String)
| ||||||||||
void |
setFooterRightText(String value)
This method is deprecated.
we now use
setHeaderFooterPropValue(String, String)
| ||||||||||
void |
setHeaderCenterText(String value)
This method is deprecated.
we now use
setHeaderFooterPropValue(String, String)
| ||||||||||
void |
setHeaderFooterChanged(boolean value)
Sets whether the Header/Footer has been changed.
| ||||||||||
void |
setHeaderFooterPropValue(String name, String value)
Sets a temporary property.
| ||||||||||
void |
setHeaderFooterSectionName(String value)
Sets the name of the current header footer section.
| ||||||||||
void |
setHeaderLeftText(String value)
This method is deprecated.
we now use
setHeaderFooterPropValue(String, String)
| ||||||||||
void |
setHeaderRightText(String value)
This method is deprecated.
we now use
setHeaderFooterPropValue(String, String)
| ||||||||||
void |
setIsProjectHeaderFooter(boolean value)
Sets whether the header/footer properties are the project level ones.
| ||||||||||
void |
setShowAdvancedOptions(boolean value)
Sets whether to show the Advanced Options.
| ||||||||||
void |
setShowOptions(boolean showOptions)
Sets whether the options page is being displayed.
| ||||||||||
void |
setUseForExport(boolean value)
Sets whether the bean is used for Export.
| ||||||||||
void |
setUseForPDF(boolean value)
Sets whether the bean is used for PDF.
| ||||||||||
void |
setUseForPDFPrint(boolean value)
Sets whether the bean is used for PDF Print.
| ||||||||||
void |
setUseForPrint(boolean value)
Sets whether the bean is used for Printing.
| ||||||||||
boolean | useForHeaderFooter() |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Proceses the save/restore state opperation of the AppComponent
| ||||||||||
WebEventHandler | newDefaultEventHandler() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Uses a transform to generate the output. The transform used will be the one of the current group.
Returns whether not to show the options page.
String
value indicating whether not to show the options page.
This method is deprecated.
we now use getHeaderFooterPropValue(String)
This method is deprecated.
we now use getHeaderFooterPropValue(String)
This method is deprecated.
we now use getHeaderFooterPropValue(String)
This method is deprecated.
we now use getHeaderFooterPropValue(String)
Return whether the Header/Footer has been changed.
If we are displaying the Options page and this value is true we include header/footer values as hidden imputs in the form.
Returns the name of the current header footer section.
Used for the Header/footer editor in HTML mode.
This method is deprecated.
we now use getHeaderFooterPropValue(String)
This method is deprecated.
we now use getHeaderFooterPropValue(String)
Returns whether the header/footer properties are the project level ones.
Note: Used on the Header/Footer editor.
boolean
value indicating whether the header/footer properties are the project level ones.Returns whether to show the Advanced Options.
Used for Printing in HTML mode.
Returns whether the options page is being displayed.
A false value means that the preferences page is being displayed.
Returns the type of Bean.
Sets whether not to show the options page.
value | a String value indicating whether not to show the options page. |
---|
This method is deprecated.
we now use setHeaderFooterPropValue(String, String)
Sets the center section of the footer.
value | the center section of the footer. |
---|
This method is deprecated.
we now use setHeaderFooterPropValue(String, String)
Sets the left section of the footer.
value | the left section of the footer. |
---|
This method is deprecated.
we now use setHeaderFooterPropValue(String, String)
Sets the right section of the footer.
value | the right section of the footer. |
---|
This method is deprecated.
we now use setHeaderFooterPropValue(String, String)
Sets the center section of the header.
value | the center section of the header. |
---|
Sets whether the Header/Footer has been changed.
If we are displaying the Options page and this value is true we include header/footer values as hidden imputs in the form.
Sets a temporary property. These properties are part of the bean state
Sets the name of the current header footer section.
Used for the Header/footer editor in HTML mode.
value | the name of the current header footer section. |
---|
This method is deprecated.
we now use setHeaderFooterPropValue(String, String)
Sets the left section of the header.
value | the left section of the header. |
---|
This method is deprecated.
we now use setHeaderFooterPropValue(String, String)
Sets the right section of the header.
value | the right section of the header. |
---|
Sets whether the header/footer properties are the project level ones.
Note: Used on the Header/Footer editor.
value | a boolean value indicating whether the header/footer properties are the project level ones. |
---|
Sets whether to show the Advanced Options.
Used for Printing in HTML mode.
value | whether to show the Advanced Options |
---|
Sets whether the options page is being displayed.
showOptions | whether the options page is being displayed. |
---|
Sets whether the bean is used for Export.
value | whether the bean is used for Export |
---|
Sets whether the bean is used for PDF.
value | whether the bean is used for PDF |
---|
Sets whether the bean is used for PDF Print.
value | whether the bean is used for PDF Print |
---|
Sets whether the bean is used for Printing.
value | whether the bean is used for Printing. |
---|
Proceses the save/restore state opperation of the AppComponent
serializer | an instance of the FlatStateSerializer object to use |
---|---|
howMuchState | defines how much information needs to be saved |
tokenizer | an instance of the FlatStateTokenizer object to use
|