sakaiproject/Hilary — pull request #256 by bp323 (2012-11-22 14:09:07+00:00)
Title: Introduce commenting on content items

Introduce API's and REST endpoints to manage comments on content.

- Create comments
- Create replies on comments (threaded)
- Delete comments
- Get all comments

There are 2 columnfamilies for comments:

Comments
````
| timestampA| | timestampA#timestampB|
--------------------------------------------------------------------------------------------------------
contentId | commentId | commentId
````

CommentsByCommentId

````
| comment | commenter | lastModified | level
--------------------------------------------------------------------------------------------------------
commentId | 'abcdefgh' | principalId | 12315643216 | 0
commentId | 'ijklmnopq' | principalId | 12315643456 | 1
````

The hash and pipe characters are used to return comments in a threaded structure with the latest comment on top.

Todo:

- Create update comment functionality
- Sanity check code

Ready to review? No(t yet).