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) |
void |
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, IOException, UnknowException, WebserviceException
getReports
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
IOException
UnknowException
WebserviceException
public Report getReport(long rpId) throws DatabaseException, AccessDeniedException, ParseException, IOException, UnknowException, WebserviceException
getReport
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
IOException
UnknowException
WebserviceException
public InputStream executeReport(long rpId, Map<String,String> params, String format) throws DatabaseException, AccessDeniedException, ParseException, IOException, JRException, EvalError, UnknowException, WebserviceException
executeReport
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
IOException
JRException
EvalError
UnknowException
WebserviceException
public void saveReport(long rpId, Map<String,String> params, String format, String dstId, String docName) throws DatabaseException, AccessDeniedException, ParseException, IOException, JRException, EvalError, UnknowException, WebserviceException
saveReport
in interface BaseReport
DatabaseException
AccessDeniedException
ParseException
IOException
JRException
EvalError
UnknowException
WebserviceException
public String generateDownloadReportToken(long rpId) throws AccessDeniedException, DatabaseException, UnknowException, WebserviceException
generateDownloadReportToken
in interface BaseReport
AccessDeniedException
DatabaseException
UnknowException
WebserviceException
Copyright © 2019 Open Knowledge Management System S.L.. All Rights Reserved.