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
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 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: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
-