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, resourcepublic ReportImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public List<Report> getReports(boolean active) throws DatabaseException, AccessDeniedException, ParseException, IOException, UnknowException, WebserviceException
getReports in interface BaseReportDatabaseExceptionAccessDeniedExceptionParseExceptionIOExceptionUnknowExceptionWebserviceExceptionpublic Report getReport(long rpId) throws DatabaseException, AccessDeniedException, ParseException, IOException, UnknowException, WebserviceException
getReport in interface BaseReportDatabaseExceptionAccessDeniedExceptionParseExceptionIOExceptionUnknowExceptionWebserviceExceptionpublic InputStream executeReport(long rpId, Map<String,String> params, String format) throws DatabaseException, AccessDeniedException, ParseException, IOException, JRException, EvalError, UnknowException, WebserviceException
executeReport in interface BaseReportDatabaseExceptionAccessDeniedExceptionParseExceptionIOExceptionJRExceptionEvalErrorUnknowExceptionWebserviceExceptionpublic Document 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 BaseReportDatabaseExceptionAccessDeniedExceptionParseExceptionIOExceptionJRExceptionEvalErrorUnknowExceptionWebserviceExceptionpublic String generateDownloadReportToken(long rpId) throws AccessDeniedException, DatabaseException, UnknowException, WebserviceException
generateDownloadReportToken in interface BaseReportAccessDeniedExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.