Class RestSystemService
- java.lang.Object
 - 
- com.logicaldoc.webservice.AbstractService
 - 
- com.logicaldoc.webservice.soap.endpoint.SoapSystemService
 - 
- com.logicaldoc.webservice.rest.endpoint.RestSystemService
 
 
 
 
- 
- All Implemented Interfaces:
 SystemService,SystemService
- Direct Known Subclasses:
 RestSystemSwagger
@Path("/") @Consumes("application/json") @Produces("application/json") public class RestSystemService extends SoapSystemService implements SystemService 
- 
- 
Constructor Summary
Constructors Constructor Description RestSystemService() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSSystemInfogetInfo()Retrieves the Installation informationsString[]getLanguages()Retrieves the languages enabled in the server.WSParameter[]getStatistics()Retrieves the system statistics- 
Methods inherited from class com.logicaldoc.webservice.soap.endpoint.SoapSystemService
getLanguages, getStatistics 
- 
Methods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getContext, getMessageContext, isValidateSession, setContext, setMessageContext, setValidateSession 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getInfo
@GET @Path("/getInfo") public WSSystemInfo getInfo() throws ExceptionDescription copied from interface:SystemServiceRetrieves the Installation informations- Specified by:
 getInfoin interfaceSystemService- Specified by:
 getInfoin interfaceSystemService- Overrides:
 getInfoin classSoapSystemService- Returns:
 - The value object containing the installation informations
 - Throws:
 Exception- error in the server application
 
- 
getStatistics
@GET @Path("/getStatistics") public WSParameter[] getStatistics() throws ExceptionDescription copied from interface:SystemServiceRetrieves the system statistics- Specified by:
 getStatisticsin interfaceSystemService- Returns:
 - The value object containing the statistics values
 - Throws:
 Exception- error in the server application
 
- 
getLanguages
@GET @Path("/getLanguages") public String[] getLanguages() throws ExceptionDescription copied from interface:SystemServiceRetrieves the languages enabled in the server.- Specified by:
 getLanguagesin interfaceSystemService- Returns:
 - Array of active languages (en, it, es ....)
 - Throws:
 Exception- error in the server application
 
 - 
 
 -