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 informationsString[]
getLanguages
(String tenantOrSid) Retrieves the languages enabled in the server.getStatistics
(String sid) Retrieves the system statisticsMethods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getContext, getMessageContext, isValidateSession, setContext, setMessageContext, setValidateSession
-
Constructor Details
-
SoapSystemService
public SoapSystemService()
-
-
Method Details
-
getStatistics
public 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:
- The value object containing the statistics values
- 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
-