Class ServiceRestDocuments
java.lang.Object
org.silverpeas.mobile.shared.services.rest.AbstractService
org.silverpeas.mobile.shared.services.rest.ServiceRestDocuments
Service pour gérer les requêtes liées aux documents.
- Author:
- svu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDocumentsByType(String componentId, String resourceId, String type, String lang, RestCallback<List<SimpleDocumentDTO>> callback) Retrieve documents of a given type for a specific resource and language.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
-
ServiceRestDocuments
public ServiceRestDocuments()
-
-
Method Details
-
getDocumentsByType
public void getDocumentsByType(String componentId, String resourceId, String type, String lang, RestCallback<List<SimpleDocumentDTO>> callback) Retrieve documents of a given type for a specific resource and language.- Parameters:
componentId-resourceId-type-lang-callback-
-