Interface JasperUtilsService
- All Known Implementing Classes:
JasperUtilsServiceImpl
public interface JasperUtilsService
-
Method Summary
Modifier and TypeMethodDescriptionextractParameters(String jrxml) Returns aListofJasperParameterProposals holding all 'parameter' tags of the given JRXML.extractParameters(Document jrxml) Returns aListofJasperParameterProposals holding all 'parameter' tags of the given JRXML.getJRXMLFileById(Long id) getQueryFromJRXML(String jrxml) Returns the 'queryString' tag of the given JRXMLgetQueryFromJRXML(Document jrxml) Returns the 'queryString' tag of the given JRXMLFinds the report that hosts the given jrxml filebooleanmerge(JasperReportJRXMLFile realFile) voidpersist(JasperReportJRXMLFile jrxmlFile) Removes JRXML file and adapts corresponding report.
-
Method Details
-
getQueryFromJRXML
Returns the 'queryString' tag of the given JRXML- Parameters:
jrxml- The JRXML as aString- Returns:
- The 'queryString' tag
-
getQueryFromJRXML
Returns the 'queryString' tag of the given JRXML- Parameters:
jrxml- The JRXML as aDocument- Returns:
- The 'queryString' tag
-
extractParameters
Returns aListofJasperParameterProposals holding all 'parameter' tags of the given JRXML.- Parameters:
jrxml- The JRXML as aString- Returns:
- A
ListofJasperParameterProposals
-
extractParameters
Returns aListofJasperParameterProposals holding all 'parameter' tags of the given JRXML.- Parameters:
jrxml- The JRXML as aDocument- Returns:
- A
ListofJasperParameterProposals
-
removeJRXMLFile
Removes JRXML file and adapts corresponding report.- Parameters:
file-- Returns:
- The corresponding report
-
persist
-
getReportWithJRXMLFile
Finds the report that hosts the given jrxml file- Parameters:
file-
-
getJRXMLFileById
-
merge
-
getJasperAllowedLanguages
-
isJasperEnabled
boolean isJasperEnabled()
-