org.apache.aries.samples.blog.comment.ejb
Class BlogCommentEJB

java.lang.Object
  extended by org.apache.aries.samples.blog.comment.ejb.BlogCommentEJB
All Implemented Interfaces:
BlogCommentService

public class BlogCommentEJB
extends Object
implements BlogCommentService


Constructor Summary
BlogCommentEJB()
           
 
Method Summary
 void createComment(String comment, String author, long entryId)
           
 void delete(int id)
           
 List<? extends Comment> getCommentsForAuthor(String authorId)
           
 List<? extends Comment> getCommentsForEntry(long entryId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogCommentEJB

public BlogCommentEJB()
Method Detail

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.