Class SoapReportClient
java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<ReportService>
com.logicaldoc.report.webservice.soap.client.SoapReportClient
- All Implemented Interfaces:
ReportService
public class SoapReportClient
extends com.logicaldoc.webservice.soap.client.SoapClient<ReportService>
implements ReportService
Java client to invoke the Report service
- Since:
- 7.4
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SoapReportClient
- Throws:
IOException
-
-
Method Details
-
list
public WSReport[] list(String sid) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.core.security.authorization.PermissionException, FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException 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:
com.logicaldoc.core.security.authentication.AuthenticationException
- The user has not been authenticatedcom.logicaldoc.core.security.authorization.PermissionException
- The user does not have enough permissionsFeatureNotEnabledException
- The feature is not enabled in the licensecom.logicaldoc.webservice.WebserviceException
- Error in the webservicecom.logicaldoc.core.PersistenceException
- Error in the data layer
-
execute
public void execute(String sid, long reportId, com.logicaldoc.webservice.model.WSAttribute[] parameters) throws com.logicaldoc.core.security.authorization.PermissionException, com.logicaldoc.core.security.authentication.AuthenticationException, FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException 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:
com.logicaldoc.core.security.authorization.PermissionException
- The user does not have enough permissionscom.logicaldoc.core.security.authentication.AuthenticationException
- The user has not been authenticatedFeatureNotEnabledException
- The feature is not enabled in the licensecom.logicaldoc.webservice.WebserviceException
- Error in the webservicecom.logicaldoc.core.PersistenceException
- Error in the data layer
-