com.atlassian.confluence.content.service
Interface BlogPostService

All Known Implementing Classes:
DefaultBlogPostService

public interface BlogPostService

A service provides methods to retreive service commands to manipulate blog posts


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, String revertComment, boolean revertTitle)
          Retreive a command to revert a blogpost
 

Method Detail

newDeleteBlogPostCommand

ServiceCommand newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
Retrieve a command to remove an existing blog post


getIdBlogPostLocator

BlogPostLocator getIdBlogPostLocator(long pageId)
Creates a blogpost locator that can locate a blogpost based on its id.


newRevertBlogPostCommand

ServiceCommand newRevertBlogPostCommand(BlogPostLocator blogPostToRevert,
                                        int version,
                                        String revertComment,
                                        boolean revertTitle)
Retreive a command to revert a blogpost



Copyright © 2003-2010 Atlassian. All Rights Reserved.