public class ReportImpl extends ClientImpl implements BaseReport, Serializable
| Constructor and Description |
|---|
ReportImpl(String host)
ReportImpl
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
executeReport(long rpId,
Map<String,String> params,
String format)
Deprecated.
As of sdk4j 3.14, replaced by
executeReport(long, Map, String, String) |
InputStream |
executeReport(long rpId,
Map<String,String> params,
String format,
String uuid)
Execute report input stream.
|
String |
generateDownloadReportToken(long rpId)
Generate download report token string.
|
Report |
getReport(long rpId)
Gets report.
|
List<Report> |
getReports(boolean active)
Gets reports.
|
Document |
saveReport(long rpId,
Map<String,String> params,
String format,
String dstId,
String docName)
Deprecated.
As of sdk4j 3.14, replaced by
saveReport(long, Map, String, String, String, String) |
Document |
saveReport(long rpId,
Map<String,String> params,
String format,
String dstId,
String docName,
String uuid)
Save report document.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
getClient, resource, resourcepublic ReportImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public List<Report> getReports(boolean active) throws DatabaseException, AccessDeniedException, ParseException, UnknownException, WebserviceException
BaseReportgetReports in interface BaseReportactive - the activeDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionParseException - the parse exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic Report getReport(long rpId) throws DatabaseException, AccessDeniedException, ParseException, UnknownException, WebserviceException
BaseReportgetReport in interface BaseReportrpId - the rp idDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionParseException - the parse exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic String generateDownloadReportToken(long rpId) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException
BaseReportgenerateDownloadReportToken in interface BaseReportrpId - the rp idAccessDeniedException - the access denied exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exception@Deprecated public InputStream executeReport(long rpId, Map<String,String> params, String format) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException
executeReport(long, Map, String, String)executeReport in interface BaseReportrpId - the rp idparams - the paramsformat - the formatDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionParseException - the parse exceptionJRException - the jr exceptionEvalError - the eval errorUnknownException - the unknown exceptionWebserviceException - the webservice exceptionexecuteReport(long, Map, String, String)public InputStream executeReport(long rpId, Map<String,String> params, String format, String uuid) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException
BaseReportexecuteReport in interface BaseReportrpId - the rp idparams - the paramsformat - the formatuuid - the uuidDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionParseException - the parse exceptionJRException - the jr exceptionEvalError - the eval errorUnknownException - the unknown exceptionWebserviceException - the webservice exception@Deprecated public Document saveReport(long rpId, Map<String,String> params, String format, String dstId, String docName) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException
saveReport(long, Map, String, String, String, String)saveReport in interface BaseReportrpId - the rp idparams - the paramsformat - the formatdstId - the dst iddocName - the doc nameDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionParseException - the parse exceptionJRException - the jr exceptionEvalError - the eval errorUnknownException - the unknown exceptionWebserviceException - the webservice exceptionsaveReport(long, Map, String, String, String, String)public Document saveReport(long rpId, Map<String,String> params, String format, String dstId, String docName, String uuid) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException
BaseReportsaveReport in interface BaseReportrpId - the rp idparams - the paramsformat - the formatdstId - the dst iddocName - the doc nameuuid - the uuidDatabaseException - the database exceptionAccessDeniedException - the access denied exceptionParseException - the parse exceptionJRException - the jr exceptionEvalError - the eval errorUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2022 Open Knowledge Management System S.L.. All Rights Reserved.