Class ReportData
- java.lang.Object
- 
- com.inductiveautomation.snap.filedata.SnapData
- 
- com.inductiveautomation.snap.filedata.ReportData
 
 
- 
- 
Constructor SummaryConstructors Constructor Description ReportData()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RMParentShapecreateRootShape()Creates the root shape from ReportFile.WebFilegenerateReport(java.lang.Object aDataSet)Generate report file.static ReportDataget(WebFile aFile)Returns the ReportData for given file.RMDocumentgetDocument()Returns the root shape as a document (if it is one).RMParentShapegetRootShape()Returns the root shape of the file.static booleanis(WebFile aFile)Returns whether file contains ReportData.booleanisGenerated()Returns whether report file document has already generated report.voidsetBytes(byte[] theBytes)Override to clear document.voidsetGenerated(boolean aValue)Sets whether report file document has already generated report.voidsetRootShape(RMParentShape aShape)Sets the root shape of the file.- 
Methods inherited from class com.inductiveautomation.snap.filedata.SnapDatacreateBytes, createSourceURL, delete, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, refresh, save, setSource
 
- 
 
- 
- 
- 
Method Detail- 
getRootShapepublic RMParentShape getRootShape() Returns the root shape of the file.
 - 
setRootShapepublic void setRootShape(RMParentShape aShape) Sets the root shape of the file.
 - 
createRootShapepublic RMParentShape createRootShape() Creates the root shape from ReportFile.
 - 
getDocumentpublic RMDocument getDocument() Returns the root shape as a document (if it is one).
 - 
setBytespublic void setBytes(byte[] theBytes) Override to clear document.
 - 
isGeneratedpublic boolean isGenerated() Returns whether report file document has already generated report.
 - 
setGeneratedpublic void setGenerated(boolean aValue) Sets whether report file document has already generated report.
 - 
generateReportpublic WebFile generateReport(java.lang.Object aDataSet) Generate report file.
 - 
ispublic static boolean is(WebFile aFile) Returns whether file contains ReportData.
 - 
getpublic static ReportData get(WebFile aFile) Returns the ReportData for given file.
 
- 
 
-