net.sourceforge.blogentis.plugins.impl
Class CommentExtensionPointImpl

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.AbstractExtensionPoint
      extended bynet.sourceforge.blogentis.plugins.AbstractBlogExtensionPoint
          extended bynet.sourceforge.blogentis.plugins.impl.CommentExtensionPointImpl
All Implemented Interfaces:
IBlogExtensionPoint, ICommentExtensionPoint, IExtensionPoint

public class CommentExtensionPointImpl
extends AbstractBlogExtensionPoint
implements ICommentExtensionPoint

Private implementation of the comment extension point.

Author:
abas

Field Summary
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtensionPoint
blog, preferences
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractExtensionPoint
extensions, plugin
 
Constructor Summary
CommentExtensionPointImpl(IPlugin plugin, Blog blog)
           
 
Method Summary
 java.util.List commentActions(BlogRunData data, Comment c)
           
 boolean commentCreated(BlogRunData data, Comment comment)
           
 void commentRemoved(BlogRunData data, Comment comment)
           
 java.lang.Class getExtensionClass()
          Get the class or interface that extensions for this extension point have to implement.
 java.lang.String getName()
          Get the user-visible name of this extension point.
 java.lang.String getNewCommentMessage(BlogRunData data)
           
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtensionPoint
getBlog, getPreferences
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractExtensionPoint
addExtension, getExtensions, getPlugin, removeExtension, removeExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IBlogExtensionPoint
getBlog
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtensionPoint
addExtension, getExtensions, getPlugin, removeExtension, removeExtensions
 

Constructor Detail

CommentExtensionPointImpl

public CommentExtensionPointImpl(IPlugin plugin,
                                 Blog blog)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IExtensionPoint
Get the user-visible name of this extension point.

Specified by:
getName in interface IExtensionPoint
Returns:
the name of this extension point.

getExtensionClass

public java.lang.Class getExtensionClass()
Description copied from interface: IExtensionPoint
Get the class or interface that extensions for this extension point have to implement.

Specified by:
getExtensionClass in interface IExtensionPoint
Returns:
this extension points' appropriate base class or inteface.

commentCreated

public boolean commentCreated(BlogRunData data,
                              Comment comment)
Specified by:
commentCreated in interface ICommentExtensionPoint

commentRemoved

public void commentRemoved(BlogRunData data,
                           Comment comment)
Specified by:
commentRemoved in interface ICommentExtensionPoint

commentActions

public java.util.List commentActions(BlogRunData data,
                                     Comment c)
Specified by:
commentActions in interface ICommentExtensionPoint

getNewCommentMessage

public java.lang.String getNewCommentMessage(BlogRunData data)
Specified by:
getNewCommentMessage in interface ICommentExtensionPoint


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.