Class SoapSystemClient
- java.lang.Object
-
- com.logicaldoc.webservice.soap.client.SoapClient<SystemService>
-
- com.logicaldoc.webservice.soap.client.SoapSystemClient
-
- All Implemented Interfaces:
SystemService
public class SoapSystemClient extends SoapClient<SystemService> implements SystemService
System Web Service client.- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SoapSystemClient(String endpoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSSystemInfo
getInfo()
Retrieves the Installation informationsString[]
getLanguages(String tenantOrSid)
Retrieves the languages enabled in the server.WSParameter[]
getStatistics(String sid)
Retrieves the system statistics
-
-
-
Constructor Detail
-
SoapSystemClient
public SoapSystemClient(String endpoint) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getStatistics
public WSParameter[] getStatistics(String sid) throws Exception
Description copied from interface:SystemService
Retrieves the system statistics- Specified by:
getStatistics
in interfaceSystemService
- Parameters:
sid
- Session identifier- Returns:
- The value object containing the statistics values
- Throws:
Exception
- error in the server application
-
getLanguages
public String[] getLanguages(String tenantOrSid) throws Exception
Description copied from interface:SystemService
Retrieves the languages enabled in the server.- Specified by:
getLanguages
in interfaceSystemService
- Parameters:
tenantOrSid
- Tenant name or session identifier (optional)- Returns:
- Array of active languages (en, it, es ....)
- Throws:
Exception
- error in the server application
-
getInfo
public WSSystemInfo getInfo() throws Exception
Description copied from interface:SystemService
Retrieves the Installation informations- Specified by:
getInfo
in interfaceSystemService
- Returns:
- The value object containing the installation informations
- Throws:
Exception
- error in the server application
-
-