Class ExportSetContentTypeTagHelper

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void cleanState()
      Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.
      MarkupOutput getContent()
      Obtains the contents to render based on the attributes that have been defined (if any).
      void setCharSet​(java.lang.String value)
      Sets the value assigned to the charSet attribute of the custom tag instance that uses this helper
      void setContentType​(java.lang.String value)
      Sets the value assigned to the contentType attribute of the custom tag instance that uses this helper
      void setDocumentBean​(java.lang.String value)
      Sets the value assigned to the documentBean attribute of the custom tag instance that uses this helper
      void setExportBean​(java.lang.String value)
      Sets the value assigned to the exportBean attribute of the custom tag instance that uses this helper
      void setFileExtension​(java.lang.String value)
      Sets the value assigned to the fileExtension attribute of the custom tag instance that uses this helper
      void setFileName​(java.lang.String value)
      Sets the value assigned to the fileName attribute of the custom tag instance that uses this helper
      void setMaxFileSize​(int value)
      Deprecated.
      we now read this value from ExportBean.getMaxFileSize()
      void setReportBean​(java.lang.String value)
      Sets the value assigned to the reportBean attribute of the custom tag instance that uses this helper
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExportSetContentTypeTagHelper

        public ExportSetContentTypeTagHelper()
    • Method Detail

      • cleanState

        public void cleanState()
        Resets the state of the tag library, by cleaning the values of the properties initialized for this tag.
        Overrides:
        cleanState in class MstrPageTagHelper
      • getContent

        public MarkupOutput getContent()
                                throws java.io.IOException
        Obtains the contents to render based on the attributes that have been defined (if any).
        Specified by:
        getContent in class AbstractNoBodyTagHelper
        Returns:
        a MarkupOutput instance initialized with the contents to display
        Throws:
        java.io.IOException - if an error happens while getting the contents to render.
      • setFileName

        public void setFileName​(java.lang.String value)
        Sets the value assigned to the fileName attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the name of the file to generate.
      • setContentType

        public void setContentType​(java.lang.String value)
        Sets the value assigned to the contentType attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the content type of the file to generate.
      • setFileExtension

        public void setFileExtension​(java.lang.String value)
        Sets the value assigned to the fileExtension attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the file extension of the new document to generate.
      • setCharSet

        public void setCharSet​(java.lang.String value)
        Sets the value assigned to the charSet attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the character set information of the new file to generate.
      • setMaxFileSize

        public void setMaxFileSize​(int value)
        Deprecated.
        we now read this value from ExportBean.getMaxFileSize()
        Indicates the maximum size of the file name to use on the new exported document to generate.
        Usage:
        The file name used is based on the report name, if this is too long we have to truncated for it to work in some configurations. This number will determine the maximum file size in characters
        Parameters:
        value - int with the maximum file size in characters.
        Since:
        MicroStrategy Web 8.0.0
      • setExportBean

        public void setExportBean​(java.lang.String value)
        Sets the value assigned to the exportBean attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the name given to the ExportBean on the page
      • setReportBean

        public void setReportBean​(java.lang.String value)
        Sets the value assigned to the reportBean attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the name given to the ReportBean on the page
      • setDocumentBean

        public void setDocumentBean​(java.lang.String value)
        Sets the value assigned to the documentBean attribute of the custom tag instance that uses this helper
        Parameters:
        value - String with the name given to the DocumentBean on the page
        Since:
        MicroStrategy Web 7.5.0