Class ServiceTermsOfService
java.lang.Object
org.silverpeas.mobile.shared.services.rest.AbstractService
org.silverpeas.mobile.shared.services.rest.ServiceTermsOfService
Service for handling requests related to the Terms and Conditions of Use (TCU).
- Author:
- svu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetContent(RestCallback<String> callback) Retrieve the content of the Terms and Conditions of Use.voidshow(RestCallback<String> callback) Check whether the Terms and Conditions of Use need to be displayed.Methods inherited from class org.silverpeas.mobile.shared.services.rest.AbstractService
asBoolean, delete, encode, escapeJson, get, getText, initContext, mapArray, post, put, request, request, requestJson, requestText, toJsonArray
-
Constructor Details
-
ServiceTermsOfService
public ServiceTermsOfService()
-
-
Method Details
-
show
Check whether the Terms and Conditions of Use need to be displayed.- Parameters:
callback- Le callback pour gérer la réponse (booléen).
-
getContent
Retrieve the content of the Terms and Conditions of Use.- Parameters:
callback- Le callback pour gérer la réponse (texte brut).
-