Class ServiceTermsOfService

java.lang.Object
org.silverpeas.mobile.shared.services.rest.AbstractService
org.silverpeas.mobile.shared.services.rest.ServiceTermsOfService

public class ServiceTermsOfService extends AbstractService
Service for handling requests related to the Terms and Conditions of Use (TCU).
Author:
svu
  • Constructor Details

    • ServiceTermsOfService

      public ServiceTermsOfService()
  • Method Details

    • show

      public void show(RestCallback<String> callback)
      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

      public void getContent(RestCallback<String> callback)
      Retrieve the content of the Terms and Conditions of Use.
      Parameters:
      callback - Le callback pour gérer la réponse (texte brut).