Class SoapReportClient
- java.lang.Object
-
- com.logicaldoc.report.webservice.soap.client.SoapReportClient
-
- All Implemented Interfaces:
ReportService
public class SoapReportClient extends Object implements ReportService
Java client to invoke the Report service- Since:
- 7.4
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SoapReportClient(String endpoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(String sid, long reportId, com.logicaldoc.webservice.model.WSAttribute[] parameters)
Executes a given reportWSReport[]
list(String sid)
Lists all the reports in the tenant
-
-
-
Constructor Detail
-
SoapReportClient
public SoapReportClient(String endpoint) throws IOException
- Throws:
IOException
-
-
Method Detail
-
list
public WSReport[] list(String sid) throws Exception
Description copied from interface:ReportService
Lists all the reports in the tenant- Specified by:
list
in interfaceReportService
- Parameters:
sid
- The session identifier- Returns:
- The array of all the reports
- Throws:
Exception
- error in the server
-
execute
public void execute(String sid, long reportId, com.logicaldoc.webservice.model.WSAttribute[] parameters) throws Exception
Description copied from interface:ReportService
Executes a given report- Specified by:
execute
in interfaceReportService
- Parameters:
sid
- The session identifierreportId
- The ID of the report to executeparameters
- The parameters to pass to the report (optional)- Throws:
Exception
- error in the server
-
-