Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Create ProviderType for Comment

#2

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.

Reported by Alxandr · March 21st, 2010 @ 12:50 AM

State: new
Milestone: ProviderTypes
Assigned to: nobody

Activity

No comments yet.

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.