net.anotheria.moskitodemo.guestbook.business
Interface ICommentService

All Known Implementing Classes:
CommentServiceImpl

public interface ICommentService


Method Summary
 Comment createComment()
           
 void deleteComment(int id)
           
 void deleteComments(List<Integer> idsToDelete)
           
 Comment getComment(int id)
           
 List<Comment> getComments()
           
 List<Comment> getCommentsSorted(CommentSortType sortType)
           
 void updateComment(Comment c)
           
 

Method Detail

createComment

Comment createComment()
                      throws CommentServiceException
Throws:
CommentServiceException

getComments

List<Comment> getComments()
                          throws CommentServiceException
Throws:
CommentServiceException

getComment

Comment getComment(int id)
                   throws CommentServiceException
Throws:
CommentServiceException

updateComment

void updateComment(Comment c)
                   throws CommentServiceException
Throws:
CommentServiceException

deleteComment

void deleteComment(int id)
                   throws CommentServiceException
Throws:
CommentServiceException

deleteComments

void deleteComments(List<Integer> idsToDelete)
                    throws CommentServiceException
Throws:
CommentServiceException

getCommentsSorted

List<Comment> getCommentsSorted(CommentSortType sortType)
                                throws CommentServiceException
Throws:
CommentServiceException


Copyright © 2010-2012 anotheria.net. All Rights Reserved.