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) |
String |
generateDownloadReportToken(long rpId) |
Report |
getReport(long rpId) |
List<Report> |
getReports(boolean active) |
Document |
saveReport(long rpId,
Map<String,String> params,
String format,
String dstId,
String docName) |
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
getClient, getClient, resource, resource
public ReportImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public List<Report> getReports(boolean active) throws DatabaseException, AccessDeniedException, ParseException, UnknownException, WebserviceException
getReports
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
UnknownException
WebserviceException
public Report getReport(long rpId) throws DatabaseException, AccessDeniedException, ParseException, UnknownException, WebserviceException
getReport
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
UnknownException
WebserviceException
public InputStream executeReport(long rpId, Map<String,String> params, String format) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException
executeReport
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
JRException
EvalError
UnknownException
WebserviceException
public Document saveReport(long rpId, Map<String,String> params, String format, String dstId, String docName) throws DatabaseException, AccessDeniedException, ParseException, JRException, EvalError, UnknownException, WebserviceException
saveReport
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
JRException
EvalError
UnknownException
WebserviceException
public String generateDownloadReportToken(long rpId) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException
generateDownloadReportToken
in interface BaseReport
AccessDeniedException
DatabaseException
UnknownException
WebserviceException
Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.