Class OptionsBeanImpl

  • All Implemented Interfaces:
    EnumWebPersistableState, Persistable, AppComponent, OptionsBean, PreferencesBean, RequestPersistable, Transformable, WebComponent

    public class OptionsBeanImpl
    extends PreferencesBeanImpl
    implements OptionsBean
    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.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Field Detail

      • PREFERENCE_HEADER_LEFT

        protected static final java.lang.String PREFERENCE_HEADER_LEFT
        Deprecated.
        See Also:
        Constant Field Values
      • PREFERENCE_HEADER_CENTER

        protected static final java.lang.String PREFERENCE_HEADER_CENTER
        Deprecated.
        See Also:
        Constant Field Values
      • PREFERENCE_HEADER_RIGHT

        protected static final java.lang.String PREFERENCE_HEADER_RIGHT
        Deprecated.
        See Also:
        Constant Field Values
      • PREFERENCE_FOOTER_LEFT

        protected static final java.lang.String PREFERENCE_FOOTER_LEFT
        Deprecated.
        See Also:
        Constant Field Values
      • PREFERENCE_FOOTER_CENTER

        protected static final java.lang.String PREFERENCE_FOOTER_CENTER
        Deprecated.
        See Also:
        Constant Field Values
      • PREFERENCE_FOOTER_RIGHT

        protected static final java.lang.String PREFERENCE_FOOTER_RIGHT
        Deprecated.
        See Also:
        Constant Field Values
      • PREFERENCE_HEADER_FOOTER_CHANGED

        protected static final java.lang.String PREFERENCE_HEADER_FOOTER_CHANGED
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • getShowOptions

        public boolean getShowOptions()
        Deprecated.
        Returns whether the options page is being displayed.
        A false value means that the preferences page is being displayed.
        Specified by:
        getShowOptions in interface OptionsBean
        Returns:
        whether the options page is being displayed.
      • setShowOptions

        public void setShowOptions​(boolean showOptions)
        Deprecated.
        Sets whether the options page is being displayed.
        Specified by:
        setShowOptions in interface OptionsBean
        Parameters:
        showOptions - whether the options page is being displayed.
      • getShowAdvancedOptions

        public boolean getShowAdvancedOptions()
        Deprecated.
        Returns whether to show the Advanced Options.
        Used for Printing in HTML mode.
        Specified by:
        getShowAdvancedOptions in interface OptionsBean
        Returns:
        whether to show the Advanced Options.
      • setShowAdvancedOptions

        public void setShowAdvancedOptions​(boolean value)
        Deprecated.
        Sets whether to show the Advanced Options.
        Used for Printing in HTML mode.
        Specified by:
        setShowAdvancedOptions in interface OptionsBean
        Parameters:
        value - whether to show the Advanced Options
      • getUseForPrint

        public boolean getUseForPrint()
        Deprecated.
        Specified by:
        getUseForPrint in interface OptionsBean
        Returns:
        whether the bean is used for Printing.
      • setUseForPrint

        public void setUseForPrint​(boolean value)
        Deprecated.
        Sets whether the bean is used for Printing.
        Specified by:
        setUseForPrint in interface OptionsBean
        Parameters:
        value - whether the bean is used for Printing.
      • getUseForPDF

        public boolean getUseForPDF()
        Deprecated.
        Specified by:
        getUseForPDF in interface OptionsBean
        Returns:
        whether the bean is used for PDF.
      • setUseForPDF

        public void setUseForPDF​(boolean value)
        Deprecated.
        Sets whether the bean is used for PDF.
        Specified by:
        setUseForPDF in interface OptionsBean
        Parameters:
        value - whether the bean is used for PDF
      • getUseForPDFPrint

        public boolean getUseForPDFPrint()
        Deprecated.
        Specified by:
        getUseForPDFPrint in interface OptionsBean
        Returns:
        whether the bean is used for PDF Print.
        Since:
        MicroStrategy Web 8.0.0
      • setUseForPDFPrint

        public void setUseForPDFPrint​(boolean value)
        Deprecated.
        Sets whether the bean is used for PDF Print.
        Specified by:
        setUseForPDFPrint in interface OptionsBean
        Parameters:
        value - whether the bean is used for PDF Print
        Since:
        MicroStrategy Web 8.0.0
      • getUseForExport

        public boolean getUseForExport()
        Deprecated.
        Specified by:
        getUseForExport in interface OptionsBean
        Returns:
        whether the bean is used for Export
      • setUseForExport

        public void setUseForExport​(boolean value)
        Deprecated.
        Sets whether the bean is used for Export.
        Specified by:
        setUseForExport in interface OptionsBean
        Parameters:
        value - whether the bean is used for Export
      • getHeaderFooterChanged

        public boolean getHeaderFooterChanged()
        Deprecated.
        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.
        Specified by:
        getHeaderFooterChanged in interface OptionsBean
        Returns:
        whether the Header/Footer has been changed.
      • setHeaderFooterChanged

        public void setHeaderFooterChanged​(boolean value)
        Deprecated.
        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.
        Specified by:
        setHeaderFooterChanged in interface OptionsBean
        Parameters:
        value -
      • getHeaderFooterSectionName

        public java.lang.String getHeaderFooterSectionName()
        Deprecated.
        Returns the name of the current header footer section.
        Used for the Header/footer editor in HTML mode.
        Specified by:
        getHeaderFooterSectionName in interface OptionsBean
        Returns:
        the name of the current header footer section.
      • setHeaderFooterSectionName

        public void setHeaderFooterSectionName​(java.lang.String value)
        Deprecated.
        Sets the name of the current header footer section.
        Used for the Header/footer editor in HTML mode.
        Specified by:
        setHeaderFooterSectionName in interface OptionsBean
        Parameters:
        value - the name of the current header footer section.
      • getDontPromptAgain

        public java.lang.String getDontPromptAgain()
        Deprecated.
        Returns whether not to show the options page.
        Specified by:
        getDontPromptAgain in interface OptionsBean
        Returns:
        a String value indicating whether not to show the options page.
        Since:
        MicroStrategy Web 8.0.0
      • setDontPromptAgain

        public void setDontPromptAgain​(java.lang.String value)
        Deprecated.
        Sets whether not to show the options page.
        Specified by:
        setDontPromptAgain in interface OptionsBean
        Parameters:
        value - a String value indicating whether not to show the options page.
        Since:
        MicroStrategy Web 8.0.0
      • getIsProjectHeaderFooter

        public boolean getIsProjectHeaderFooter()
        Deprecated.
        Returns whether the header/footer properties are the project level ones.
        Note: Used on the Header/Footer editor.
        Specified by:
        getIsProjectHeaderFooter in interface OptionsBean
        Returns:
        a boolean value indicating whether the header/footer properties are the project level ones.
        Since:
        MicroStrategy Web 8.0.0
      • setIsProjectHeaderFooter

        public void setIsProjectHeaderFooter​(boolean value)
        Deprecated.
        Sets whether the header/footer properties are the project level ones.
        Note: Used on the Header/Footer editor.
        Specified by:
        setIsProjectHeaderFooter in interface OptionsBean
        Parameters:
        value - a boolean value indicating whether the header/footer properties are the project level ones.
        Since:
        MicroStrategy Web 8.0.0
      • getHeaderFooterMacroPrefix

        public java.lang.String getHeaderFooterMacroPrefix()
        Deprecated.
        Specified by:
        getHeaderFooterMacroPrefix in interface OptionsBean
        Returns:
        the prefix used for the macros on the header/footer
        Since:
        MicroStrategy Web 9.0.0
      • getHeaderFooterMacroSuffix

        public java.lang.String getHeaderFooterMacroSuffix()
        Deprecated.
        Specified by:
        getHeaderFooterMacroSuffix in interface OptionsBean
        Returns:
        the suffix used for the macros on the header/footer
        Since:
        MicroStrategy Web 9.0.0
      • getHeaderFooterPropValue

        public java.lang.String getHeaderFooterPropValue​(java.lang.String name)
        Deprecated.
        Specified by:
        getHeaderFooterPropValue in interface OptionsBean
        Returns:
        the value of a property
        Since:
        MicroStrategy Web 9.0.0
      • setHeaderFooterPropValue

        public void setHeaderFooterPropValue​(java.lang.String name,
                                             java.lang.String value)
        Deprecated.
        Description copied from interface: OptionsBean
        Sets a temporary property. These properties are part of the bean state
        Specified by:
        setHeaderFooterPropValue in interface OptionsBean
        Since:
        MicroStrategy Web 9.0.0
      • useForHeaderFooter

        public boolean useForHeaderFooter()
        Deprecated.
        Specified by:
        useForHeaderFooter in interface OptionsBean
        Returns:
        whether the options bean is used to display a Header/footer Editor which requires special handling.
        Since:
        MicroStrategy Web 9.0.0