net.anotheria.moskitodemo.guestbook.business
Class CommentServiceImpl
java.lang.Object
net.anotheria.moskitodemo.guestbook.business.CommentServiceImpl
- All Implemented Interfaces:
- ICommentService
public class CommentServiceImpl
- extends Object
- implements ICommentService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createComment
public Comment createComment()
throws CommentServiceException
- Specified by:
createComment in interface ICommentService
- Throws:
CommentServiceException
deleteComment
public void deleteComment(int id)
throws CommentServiceException
- Specified by:
deleteComment in interface ICommentService
- Throws:
CommentServiceException
deleteComments
public void deleteComments(List<Integer> ids)
throws CommentServiceException
- Specified by:
deleteComments in interface ICommentService
- Throws:
CommentServiceException
getComment
public Comment getComment(int id)
throws CommentServiceException
- Specified by:
getComment in interface ICommentService
- Throws:
CommentServiceException
getComments
public List<Comment> getComments()
throws CommentServiceException
- Specified by:
getComments in interface ICommentService
- Throws:
CommentServiceException
getCommentsSorted
public List<Comment> getCommentsSorted(CommentSortType sortType)
throws CommentServiceException
- Specified by:
getCommentsSorted in interface ICommentService
- Throws:
CommentServiceException
updateComment
public void updateComment(Comment c)
throws CommentServiceException
- Specified by:
updateComment in interface ICommentService
- Throws:
CommentServiceException
Copyright © 2010-2012 anotheria.net. All Rights Reserved.