requestUri = FileUrls.USERLIBRARY_DOCUMENT_FEED.format(this,
FileUrlParts.accessType.get(accessType), FileUrlParts.userId.get(userId),
FileUrlParts.fileId.get(fileId));
}
String payload = new CommentSerializer(comment).generateCommentUpdatePayload();
Response response = createData(requestUri, null, new ClientService.ContentString(payload,
CommonConstants.APPLICATION_ATOM_XML));
checkResponseCode(response, HTTPCode.CREATED);
Comment ret = getCommentFeedHandler().createEntity(response);
comment.clearFieldsMap();
comment.setDataHandler(ret.getDataHandler());