Package com.logicaldoc.webservice.rest
Interface SystemService
- All Known Implementing Classes:
RestSystemService
,RestSystemSwagger
@Consumes("application/json")
@Produces("application/json")
public interface SystemService
System Web Service definition interface for REST.
Alessandro Gasparini - LogicalDOC
- Since:
- 8.4.2
-
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
Retrieves the Installation informationsRetrieves the languages enabled in the server.Retrieves the system statistics
-
Method Details
-
getInfo
Retrieves the Installation informations- Returns:
- The value object containing the installation informations
- Throws:
WebserviceException
- Error in the webservice
-
getStatistics
@GET @Path("/getStatistics") List<WSParameter> getStatistics() throws AuthenticationException, WebserviceException, PersistenceExceptionRetrieves the system statistics- Returns:
- List of stats
- Throws:
PersistenceException
- Error in the databaseWebserviceException
- Error in the webserviceAuthenticationException
- Invalid session
-
getLanguages
Retrieves the languages enabled in the server.- Returns:
- Array of active languages (en, it, es ....)
-