Class ReportData
- java.lang.Object
-
- com.inductiveautomation.snap.filedata.SnapData
-
- com.inductiveautomation.snap.filedata.ReportData
-
-
Constructor Summary
Constructors Constructor Description ReportData()
-
Method Summary
All 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.SnapData
createBytes, createSourceURL, delete, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, refresh, save, setSource
-
-
-
-
Method Detail
-
getRootShape
public RMParentShape getRootShape()
Returns the root shape of the file.
-
setRootShape
public void setRootShape(RMParentShape aShape)
Sets the root shape of the file.
-
createRootShape
public RMParentShape createRootShape()
Creates the root shape from ReportFile.
-
getDocument
public RMDocument getDocument()
Returns the root shape as a document (if it is one).
-
setBytes
public void setBytes(byte[] theBytes)
Override to clear document.
-
isGenerated
public boolean isGenerated()
Returns whether report file document has already generated report.
-
setGenerated
public void setGenerated(boolean aValue)
Sets whether report file document has already generated report.
-
generateReport
public WebFile generateReport(java.lang.Object aDataSet)
Generate report file.
-
is
public static boolean is(WebFile aFile)
Returns whether file contains ReportData.
-
get
public static ReportData get(WebFile aFile)
Returns the ReportData for given file.
-
-