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 -
Method Summary
Methods inherited from class com.logicaldoc.webservice.soap.endpoint.SoapSystemService
getLanguages, getStatisticsMethods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getContext, getMessageContext, isValidateSession, setContext, setMessageContext, setValidateSession
-
Constructor Details
-
RestSystemService
public RestSystemService()
-
-
Method Details
-
getInfo
Description 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:
WebserviceException- Error in the webservice
-
getStatistics
@GET @Path("/getStatistics") public WSParameter[] getStatistics() throws AuthenticationException, WebserviceException, PersistenceExceptionDescription copied from interface:SystemServiceRetrieves the system statistics- Specified by:
getStatisticsin interfaceSystemService- 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:SystemServiceRetrieves the languages enabled in the server.- Specified by:
getLanguagesin interfaceSystemService- Returns:
- Array of active languages (en, it, es ....)
-