Package com.openkm.sdk4j.definition
Interface BaseReport
-
- All Known Implementing Classes:
ReportImpl
public interface BaseReportBaseReport- Author:
- sochoa
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamexecute(long rpId, Map<String,String> params, String format, String uuid)Execute report input stream.StringgenerateDownloadReportToken(long rpId)Generate download report token string.ReportgetReport(long rpId)Gets report.List<Report>getReports(boolean active)Gets reports.Documentsave(long rpId, Map<String,String> params, String format, String dstId, String docName, String uuid)Save report document.
-
-
-
Method Detail
-
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, WebserviceException
Execute 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
-
save
Document save(long rpId, Map<String,String> params, String format, String dstId, String docName, String uuid) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException
Save 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
-
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
-
-