net.sourceforge.blogentis.plugins.base
Class AbstractPostViewExtension

java.lang.Object
  extended bynet.sourceforge.blogentis.plugins.AbstractExtension
      extended bynet.sourceforge.blogentis.plugins.AbstractBlogExtension
          extended bynet.sourceforge.blogentis.plugins.base.AbstractPostViewExtension
All Implemented Interfaces:
IBlogExtension, IExtension, IPostViewExtension

public abstract class AbstractPostViewExtension
extends AbstractBlogExtension
implements IPostViewExtension

Author:
abas

Field Summary
 
Fields inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtension
blog, preferences
 
Constructor Summary
AbstractPostViewExtension(IPlugin plugin, Blog blog)
           
 
Method Summary
 Post prepareForView(BlogRunData data, Post post)
          Prepare a post for viewing.
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractBlogExtension
getPreferences, setPreferences
 
Methods inherited from class net.sourceforge.blogentis.plugins.AbstractExtension
getPlugin
 
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.IBlogExtension
getPreferences, setPreferences
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtension
getName, getPlugin
 

Constructor Detail

AbstractPostViewExtension

public AbstractPostViewExtension(IPlugin plugin,
                                 Blog blog)
Method Detail

prepareForView

public Post prepareForView(BlogRunData data,
                           Post post)
Description copied from interface: IPostViewExtension
Prepare a post for viewing. This method is free to make with the post anything, except saving it to disk. The return value is at this time the Post itself.

Specified by:
prepareForView in interface IPostViewExtension
Parameters:
data - the run-time data of the request
post - the post that will be prepared
Returns:
the post as processed.


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