Package com.openkm.sdk4j.definition
Interface BaseReport
- All Known Implementing Classes:
ReportImpl
public interface BaseReport
BaseReport
- Author:
- sochoa
-
Method Summary
Modifier and TypeMethodDescriptionExecute report input stream.executeSql(long rpId) Execute sql input stream.generateDownloadReportToken(long rpId) Generate download report token string.getReport(long rpId) Gets report.getReports(boolean active) Gets reports.getSqlReports(boolean active) Gets sql reports.save(long rpId, Map<String, String> params, String format, String dstId, String docName, String uuid) Save report document.Save sql document.
-
Method Details
-
getReports
List<Report> getReports(boolean active) throws DatabaseException, AccessDeniedException, ParseException, UnknownException, WebserviceException Gets reports.- Parameters:
active- the active- Returns:
- the reports
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionParseException- the parse exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getReport
Report getReport(long rpId) throws DatabaseException, AccessDeniedException, ParseException, UnknownException, WebserviceException Gets report.- Parameters:
rpId- the rp id- Returns:
- the report
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionParseException- the parse exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
execute
InputStream execute(long rpId, Map<String, String> params, String format, String uuid) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceExceptionExecute report input stream.- Parameters:
rpId- the rp idparams- the paramsformat- the formatuuid- the uuid- Returns:
- the input stream
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionParseException- the parse exceptionJRException- the jr exceptionEvalError- the eval errorUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
executeSql
InputStream executeSql(long rpId) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException Execute sql input stream.- Parameters:
rpId- the rp id- Returns:
- the input stream
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionParseException- the parse exceptionJRException- the jr exceptionEvalError- the eval errorUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
save
Document save(long rpId, Map<String, String> params, String format, String dstId, String docName, String uuid) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceExceptionSave report document.- Parameters:
rpId- the rp idparams- the paramsformat- the formatdstId- the dst iddocName- the doc nameuuid- the uuid- Returns:
- the document
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionParseException- the parse exceptionJRException- the jr exceptionEvalError- the eval errorUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
saveSql
Document saveSql(long rpId, Map<String, String> params, String dstId, String docName) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceExceptionSave sql document.- Parameters:
rpId- the rp idparams- the paramsdstId- the dst iddocName- the doc name- Returns:
- the document
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionParseException- the parse exceptionJRException- the jr exceptionEvalError- the eval errorUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
getSqlReports
List<SqlReport> getSqlReports(boolean active) throws DatabaseException, AccessDeniedException, ParseException, UnknownException, WebserviceException Gets sql reports.- Parameters:
active- the active- Returns:
- the sql reports
- Throws:
DatabaseException- the database exceptionAccessDeniedException- the access denied exceptionParseException- the parse exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
generateDownloadReportToken
String generateDownloadReportToken(long rpId) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException Generate download report token string.- Parameters:
rpId- the rp id- Returns:
- the string
- Throws:
AccessDeniedException- the access denied exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-