org.apache.aries.samples.blog.biz
Class BlogCommentManagerImpl
java.lang.Object
org.apache.aries.samples.blog.biz.BlogCommentManagerImpl
- All Implemented Interfaces:
- BlogCommentManager
public class BlogCommentManagerImpl
- extends Object
- implements BlogCommentManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogCommentManagerImpl
public BlogCommentManagerImpl()
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.