| java.lang.Object org.blojsom.plugin.admin.BaseAdminPlugin org.blojsom.plugin.admin.EditBlogsPlugin
EditBlogsPlugin | public class EditBlogsPlugin extends BaseAdminPlugin (Code) | | EditBlogsPlugin
author: David Czarnecki version: $Id: EditBlogsPlugin.java,v 1.8 2007/01/17 02:35:05 czarneckid Exp $ since: blojsom 3.0 |
EditBlogsPlugin | public EditBlogsPlugin()(Code) | | Default constructor.
|
process | public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code) | | Process the blog entries
Parameters: httpServletRequest - Request Parameters: httpServletResponse - Response Parameters: blog - Blog instance Parameters: context - Context Parameters: entries - Blog entries retrieved for the particular request Modified set of blog entries throws: PluginException - If there is an error processing the blog entries |
setBlojsomProperties | public void setBlojsomProperties(Properties blojsomProperties)(Code) | | Set the default blojsom properties
Parameters: blojsomProperties - Default blojsom properties |
setDefaultBlogProperties | public void setDefaultBlogProperties(Map defaultBlogProperties)(Code) | | Set the default blog properties
Parameters: defaultBlogProperties - Default blog properties |
setDefaultPluginProperties | public void setDefaultPluginProperties(Map defaultPluginProperties)(Code) | | Set the default plugin properties
Parameters: defaultPluginProperties - Default plugin properties |
setDefaultTemplateProperties | public void setDefaultTemplateProperties(Map defaultTemplateProperties)(Code) | | Set the default template properties
Parameters: defaultTemplateProperties - Default template properties |
setProtectedBlogs | public void setProtectedBlogs(Map protectedBlogs)(Code) | | Set the protected blogs (cannot be deleted)
Parameters: protectedBlogs - Map of protected blogs |
Methods inherited from org.blojsom.plugin.admin.BaseAdminPlugin | protected void addOperationResultMessage(Map context, String message)(Code)(Java Doc) protected boolean authenticateUser(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Map context, Blog blog)(Code)(Java Doc) public boolean checkPermission(Blog blog, Map permissionContext, String username, String permission)(Code)(Java Doc) public void cleanup() throws PluginException(Code)(Java Doc) public void destroy() throws PluginException(Code)(Java Doc) protected String formatAdminResource(String resourceID, String fallbackText, Locale locale, Object[] arguments)(Code)(Java Doc) protected String getAdminResource(String resourceID, String fallbackText, Locale locale)(Code)(Java Doc) protected String getUsernameFromSession(HttpServletRequest httpServletRequest, Blog blog)(Code)(Java Doc) public void init() throws PluginException(Code)(Java Doc) public Entry[] process(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Blog blog, Map context, Entry[] entries) throws PluginException(Code)(Java Doc) public void setAuthorizationProvider(AuthorizationProvider authorizationProvider)(Code)(Java Doc) public void setResourceManager(ResourceManager resourceManager)(Code)(Java Doc) public void setServletConfig(ServletConfig servletConfig)(Code)(Java Doc)
|
|
|