Class SoapSystemClient
java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<SystemService>
com.logicaldoc.webservice.soap.client.SoapSystemClient
- All Implemented Interfaces:
SystemService
System Web Service client.
- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
Retrieves the Installation informationsgetLanguages
(String tenantOrSid) Retrieves the languages enabled in the server.getStatistics
(String sid) Retrieves the system statisticsgetTenantStatistics
(String sid, long tenantId) Retrieves the statistics of a tenenat
-
Constructor Details
-
SoapSystemClient
-
-
Method Details
-
getStatistics
public List<WSParameter> getStatistics(String sid) throws AuthenticationException, WebserviceException, PersistenceException Description copied from interface:SystemService
Retrieves the system statistics- Specified by:
getStatistics
in interfaceSystemService
- Parameters:
sid
- Session identifier- Returns:
- List of stats
- Throws:
AuthenticationException
- Invalid sessionWebserviceException
- Error in the webservicePersistenceException
- Error in the database
-
getTenantStatistics
public List<WSParameter> getTenantStatistics(String sid, long tenantId) throws AuthenticationException, WebserviceException, PersistenceException Description copied from interface:SystemService
Retrieves the statistics of a tenenat- Specified by:
getTenantStatistics
in interfaceSystemService
- Parameters:
sid
- Session identifiertenantId
- Identifier of the tenant- Returns:
- List of stats
- Throws:
AuthenticationException
- Invalid sessionWebserviceException
- Error in the webservicePersistenceException
- Error in the database
-
getLanguages
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 ....)
-
getInfo
Description copied from interface:SystemService
Retrieves the Installation informations- Specified by:
getInfo
in interfaceSystemService
- Returns:
- The value object containing the installation informations
- Throws:
WebserviceException
- Error in the webservice
-