com.atlassian.confluence.content.service
Class DefaultBlogPostService

java.lang.Object
  extended by com.atlassian.confluence.content.service.DefaultBlogPostService
All Implemented Interfaces:
BlogPostService

public class DefaultBlogPostService
extends java.lang.Object
implements BlogPostService


Constructor Summary
DefaultBlogPostService(PageManager pageManager, PermissionManager permissionManager)
           
 
Method Summary
 BlogPostLocator getIdBlogPostLocator(long pageId)
          Creates a blogpost locator that can locate a blogpost based on its id.
 ServiceCommand newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
          Retrieve a command to remove an existing blog post
 ServiceCommand newRevertBlogPostCommand(BlogPostLocator blogPostToRevert, int version, java.lang.String revertComment, boolean revertTitle)
          Retreive a command to revert a blogpost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBlogPostService

public DefaultBlogPostService(PageManager pageManager,
                              PermissionManager permissionManager)
Method Detail

newDeleteBlogPostCommand

public ServiceCommand newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
Description copied from interface: BlogPostService
Retrieve a command to remove an existing blog post

Specified by:
newDeleteBlogPostCommand in interface BlogPostService

getIdBlogPostLocator

public BlogPostLocator getIdBlogPostLocator(long pageId)
Description copied from interface: BlogPostService
Creates a blogpost locator that can locate a blogpost based on its id.

Specified by:
getIdBlogPostLocator in interface BlogPostService

newRevertBlogPostCommand

public ServiceCommand newRevertBlogPostCommand(BlogPostLocator blogPostToRevert,
                                               int version,
                                               java.lang.String revertComment,
                                               boolean revertTitle)
Description copied from interface: BlogPostService
Retreive a command to revert a blogpost

Specified by:
newRevertBlogPostCommand in interface BlogPostService


Copyright © 2003-2010 Atlassian. All Rights Reserved.