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
Constructors -
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:SystemServiceRetrieves the system statistics- Specified by:
getStatisticsin 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:SystemServiceRetrieves the statistics of a tenenat- Specified by:
getTenantStatisticsin 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:SystemServiceRetrieves the languages enabled in the server.- Specified by:
getLanguagesin interfaceSystemService- Parameters:
tenantOrSid- Tenant name or session identifier (optional)- Returns:
- Array of active languages (en, it, es ....)
-
getInfo
Description copied from interface:SystemServiceRetrieves the Installation informations- Specified by:
getInfoin interfaceSystemService- Returns:
- The value object containing the installation informations
- Throws:
WebserviceException- Error in the webservice
-