Class SoapSystemService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.webservice.soap.endpoint.SoapSystemService
- All Implemented Interfaces:
SystemService
- Direct Known Subclasses:
RestSystemService
System Web Service Implementation
- Since:
- 6.1
- Author:
- Matteo Caruso - 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 tenenatMethods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
-
Constructor Details
-
SoapSystemService
public SoapSystemService()
-
-
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
-