Class ServiceComment
java.lang.Object
org.silverpeas.mobile.shared.services.rest.AbstractService
org.silverpeas.mobile.shared.services.rest.ServiceComment
- Author:
- svu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteComment(String componentId, String contentType, String contentId, String commentId, RestCallback<Void> callback) voidgetAllComments(String componentId, String contentType, String contentId, RestCallback<List<CommentDTO>> callback) voidsaveNewComment(String componentId, String contentType, String contentId, CommentDTO commentToSave, RestCallback<CommentDTO> callback) voidupdateComment(String componentId, String contentType, String contentId, String commentId, CommentDTO comment, RestCallback<CommentDTO> callback) 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
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
ServiceComment
public ServiceComment()
-
-
Method Details
-
getAllComments
public void getAllComments(String componentId, String contentType, String contentId, RestCallback<List<CommentDTO>> callback) -
deleteComment