org.apache.aries.samples.blog.comment.ejb
Class BlogCommentEJB
java.lang.Object
org.apache.aries.samples.blog.comment.ejb.BlogCommentEJB
- All Implemented Interfaces:
- BlogCommentService
public class BlogCommentEJB
- extends Object
- implements BlogCommentService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogCommentEJB
public BlogCommentEJB()
createComment
public void createComment(String comment,
String author,
long entryId)
- Specified by:
createComment in interface BlogCommentService
delete
public void delete(int id)
- Specified by:
delete in interface BlogCommentService
getCommentsForAuthor
public List<? extends Comment> getCommentsForAuthor(String authorId)
- Specified by:
getCommentsForAuthor in interface BlogCommentService
getCommentsForEntry
public List<? extends Comment> getCommentsForEntry(long entryId)
- Specified by:
getCommentsForEntry in interface BlogCommentService
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.