Class ExportSetContentTypeTagHelper
- java.lang.Object
-
- com.microstrategy.web.app.taglibs.CoreTagHelper
-
- com.microstrategy.web.app.taglibs.MstrPageTagHelper
-
- com.microstrategy.web.app.taglibs.AbstractNoBodyTagHelper
-
- com.microstrategy.web.app.taglibs.ExportSetContentTypeTagHelper
-
public class ExportSetContentTypeTagHelper extends AbstractNoBodyTagHelper
Helper for theExportSetContentTypeTag
tag library.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.taglibs.MstrPageTagHelper
_mstrPage
-
-
Constructor Summary
Constructors Constructor Description 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 helpervoid
setContentType(java.lang.String value)
Sets the value assigned to the contentType attribute of the custom tag instance that uses this helpervoid
setDocumentBean(java.lang.String value)
Sets the value assigned to the documentBean attribute of the custom tag instance that uses this helpervoid
setExportBean(java.lang.String value)
Sets the value assigned to the exportBean attribute of the custom tag instance that uses this helpervoid
setFileExtension(java.lang.String value)
Sets the value assigned to the fileExtension attribute of the custom tag instance that uses this helpervoid
setFileName(java.lang.String value)
Sets the value assigned to the fileName attribute of the custom tag instance that uses this helpervoid
setMaxFileSize(int value)
Deprecated.we now read this value fromExportBean.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 com.microstrategy.web.app.taglibs.MstrPageTagHelper
getContainerServices, newHiddenInputBuilder, newURIBuilder, resolveNumericAttribute, setPageComponent
-
Methods inherited from class com.microstrategy.web.app.taglibs.CoreTagHelper
getTagsFactory
-
-
-
-
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 classMstrPageTagHelper
-
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 classAbstractNoBodyTagHelper
- 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
@Deprecated public void setMaxFileSize(int value)
Deprecated.we now read this value fromExportBean.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 theExportBean
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 theReportBean
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 theDocumentBean
on the page- Since:
- MicroStrategy Web 7.5.0
-
-