
Create ProviderType for Comment
Reported by Alxandr | March 21st, 2010 @ 12:50 AM | in ProviderTypes
Create a ProviderType for CommentProviders. A typical CommentProvider should be able to do the following:
- Get a count of comments for a list of post-ids.
- Get a count of comments for a post-id.
- Get comments for a post-id (pageable like posts).
- Get a comment by id.
- Get a list of the latest comments.
- Get a list of comments by their state (pageable like posts).
- Add a comment to a post-id.
- Edit a comment.
- Delete a comment.
A comment should at least contain the following.
- An id.
- A title.
- An author (should contain an id-representation, a text-representation for name, a text-representation for email and a text-representation for webpage).
- A time at which the comment was posted.
- A state of the comment (spam, to be determined, approved).
- The message.
- The id of the post.
Note that everywhere I've mentioned an id of a post, it should also be able to use an id of something entirely else, or a GUID for that matter. It's just simpler to write.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The providers to be used by AppVisum.