@Deprecated public class ReporterClient extends AbstractRPCClient
Modifier and Type | Field and Description |
---|---|
private SessionClient |
session
Deprecated.
|
Constructor and Description |
---|
ReporterClient(SessionClient session)
Deprecated.
Creates a new instance of ReporterClient used together with a SessionClient
|
Modifier and Type | Method and Description |
---|---|
InputStream |
downloadReporters(ExtendedPropertyInfo[] extPropInfo,
QueryOptions qOpt)
Deprecated.
Downloads exported reporter properties to an input stream.
|
InputStream |
downloadReportersInList(int reporterListId,
ExtendedPropertyInfo[] extPropInfo,
QueryOptions qOpt)
Deprecated.
Gets an input stream for a file with info about
reporters in a reporter list.
|
ExtendedPropertyInfo[] |
getExtendedProperties()
Deprecated.
Gets the extended properties, for reporters, through web services.
|
getOperation, getService, getServiceFactory, invokeBlocking, invokeBlocking, invokeBlocking, invokeFileBlocking, setServiceFactory
private SessionClient session
public ReporterClient(SessionClient session)
session
- The SessionClient to use.public ExtendedPropertyInfo[] getExtendedProperties() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public InputStream downloadReportersInList(int reporterListId, ExtendedPropertyInfo[] extPropInfo, QueryOptions qOpt) throws IOException
reporterListId
- Id of the reporter list to export and download.extPropInfo
- An array of ExtendedPropertyInfo objects to include in the export/download.qOpt
- QueryOptions to use when selecting items from the database.IOException
- If something goes wrong with the input streampublic InputStream downloadReporters(ExtendedPropertyInfo[] extPropInfo, QueryOptions qOpt) throws IOException
extPropInfo
- A list with the extended properties to export.qOpt
- Options on the query that selects data from the database.IOException
- If something goes wrong when getting the exported properties.