org.apache.aries.samples.blog.biz
Class BlogCommentManagerImpl

java.lang.Object
  extended by org.apache.aries.samples.blog.biz.BlogCommentManagerImpl
All Implemented Interfaces:
BlogCommentManager

public class BlogCommentManagerImpl
extends Object
implements BlogCommentManager


Constructor Summary
BlogCommentManagerImpl()
           
 
Method Summary
 void blogServiceBound(BlogCommentService comment, Map props)
           
 void blogServiceUnbound(BlogCommentService comment, Map props)
           
 void createComment(String comment, String email, long entryId)
           
 void deleteComment(int id)
           
 List<? extends BlogComment> getCommentsByAuthor(String email)
           
 List<? extends BlogComment> getCommentsForPost(long id)
           
 boolean isCommentingAvailable()
           
 void setCommentService(BlogCommentService bcs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogCommentManagerImpl

public BlogCommentManagerImpl()
Method Detail

setCommentService

public void setCommentService(BlogCommentService bcs)

createComment

public void createComment(String comment,
                          String email,
                          long entryId)
Specified by:
createComment in interface BlogCommentManager

getCommentsByAuthor

public List<? extends BlogComment> getCommentsByAuthor(String email)
Specified by:
getCommentsByAuthor in interface BlogCommentManager

getCommentsForPost

public List<? extends BlogComment> getCommentsForPost(long id)
Specified by:
getCommentsForPost in interface BlogCommentManager

deleteComment

public void deleteComment(int id)
Specified by:
deleteComment in interface BlogCommentManager

isCommentingAvailable

public boolean isCommentingAvailable()
Specified by:
isCommentingAvailable in interface BlogCommentManager

blogServiceBound

public void blogServiceBound(BlogCommentService comment,
                             Map props)

blogServiceUnbound

public void blogServiceUnbound(BlogCommentService comment,
                               Map props)


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.