net.sourceforge.blogentis.plugins.base
Interface IPostViewExtensionPoint

All Superinterfaces:
IBlogExtensionPoint, IExtensionPoint
All Known Implementing Classes:
PostViewExtensionPointImpl

public interface IPostViewExtensionPoint
extends IBlogExtensionPoint

Plugins that wish to implement functionality that should be performed anytime a post is about to be viewed, either in HTML or in an RSS feed, should put an extension here. No methods have been specified here as they are internal.

Author:
abas

Method Summary
 java.util.List doPostViewExtensions(BlogRunData data, java.util.List posts)
          Apply doPostViewExtensions to a whole List of Posts.
 Post doPostViewExtensions(BlogRunData data, Post post)
          Invoke the extensions to prepare this post for viewing.
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IBlogExtensionPoint
getBlog
 
Methods inherited from interface net.sourceforge.blogentis.plugins.IExtensionPoint
addExtension, getExtensionClass, getExtensions, getName, getPlugin, removeExtension, removeExtensions
 

Method Detail

doPostViewExtensions

public Post doPostViewExtensions(BlogRunData data,
                                 Post post)
Invoke the extensions to prepare this post for viewing.

Parameters:
data - the RunData of the current request.
post - the post to be prepared.
Returns:
the actual post that will be viewed.

doPostViewExtensions

public java.util.List doPostViewExtensions(BlogRunData data,
                                           java.util.List posts)
Apply doPostViewExtensions to a whole List of Posts.

Parameters:
data - the RunData of the current request
posts - a List of Posts to which the doPostViewExtensions() should be applied.
Returns:
a new List containing the results of the invocations in the same order as the original list.


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