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 WSSystemInfo
getInfo()
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 Exception
Description copied from interface:SystemService
Retrieves the Installation informations- Specified by:
getInfo
in interfaceSystemService
- Specified by:
getInfo
in interfaceSystemService
- Overrides:
getInfo
in classSoapSystemService
- Returns:
- The value object containing the installation informations
- Throws:
Exception
- error in the server application
-
getStatistics
@GET @Path("/getStatistics") public WSParameter[] getStatistics() throws Exception
Description copied from interface:SystemService
Retrieves the system statistics- Specified by:
getStatistics
in interfaceSystemService
- Returns:
- The value object containing the statistics values
- Throws:
Exception
- error in the server application
-
getLanguages
@GET @Path("/getLanguages") public String[] getLanguages() throws Exception
Description copied from interface:SystemService
Retrieves the languages enabled in the server.- Specified by:
getLanguages
in interfaceSystemService
- Returns:
- Array of active languages (en, it, es ....)
- Throws:
Exception
- error in the server application
-
-