public interface JasperUtilsService
Modifier and Type | Method and Description |
---|---|
java.util.List<JasperParameterProposal> |
extractParameters(org.w3c.dom.Document jrxml)
Returns a
List of JasperParameterProposal s holding all
'parameter' tags of the given JRXML. |
java.util.List<JasperParameterProposal> |
extractParameters(java.lang.String jrxml)
Returns a
List of JasperParameterProposal s holding all
'parameter' tags of the given JRXML. |
java.util.List<java.lang.String> |
getJasperAllowedLanguages() |
JasperReportJRXMLFile |
getJRXMLFileById(java.lang.Long id) |
java.lang.String |
getQueryFromJRXML(org.w3c.dom.Document jrxml)
Returns the 'queryString' tag of the given JRXML
|
java.lang.String |
getQueryFromJRXML(java.lang.String jrxml)
Returns the 'queryString' tag of the given JRXML
|
JasperReport |
getReportWithJRXMLFile(JasperReportJRXMLFile file)
Finds the report that hosts the given jrxml file
|
boolean |
isJasperEnabled() |
JasperReportJRXMLFile |
merge(JasperReportJRXMLFile realFile) |
void |
persist(JasperReportJRXMLFile jrxmlFile) |
JasperReport |
removeJRXMLFile(JasperReportJRXMLFile file)
Removes JRXML file and adapts corresponding report.
|
java.lang.String getQueryFromJRXML(java.lang.String jrxml)
jrxml
- The JRXML as a String
java.lang.String getQueryFromJRXML(org.w3c.dom.Document jrxml)
jrxml
- The JRXML as a Document
java.util.List<JasperParameterProposal> extractParameters(java.lang.String jrxml)
List
of JasperParameterProposal
s holding all
'parameter' tags of the given JRXML.jrxml
- The JRXML as a String
List
of JasperParameterProposal
sjava.util.List<JasperParameterProposal> extractParameters(org.w3c.dom.Document jrxml)
List
of JasperParameterProposal
s holding all
'parameter' tags of the given JRXML.jrxml
- The JRXML as a Document
List
of JasperParameterProposal
sJasperReport removeJRXMLFile(JasperReportJRXMLFile file)
file
- void persist(JasperReportJRXMLFile jrxmlFile)
JasperReport getReportWithJRXMLFile(JasperReportJRXMLFile file)
file
- JasperReportJRXMLFile getJRXMLFileById(java.lang.Long id)
JasperReportJRXMLFile merge(JasperReportJRXMLFile realFile)
java.util.List<java.lang.String> getJasperAllowedLanguages()
boolean isJasperEnabled()