com.atlassian.confluence.content.service
Class DefaultBlogPostService
java.lang.Object
com.atlassian.confluence.content.service.DefaultBlogPostService
- All Implemented Interfaces:
- BlogPostService
public class DefaultBlogPostService
- extends Object
- implements BlogPostService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBlogPostService
public DefaultBlogPostService(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
SpacePermissionManager spacePermissionManager,
DraftManager draftManager,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher)
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,
String revertComment,
boolean revertTitle)
- Description copied from interface:
BlogPostService
- Retreive a command to revert a blogpost
- Specified by:
newRevertBlogPostCommand in interface BlogPostService
newCreateBlogPostCommand
public ServiceCommand newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
com.atlassian.user.User user,
boolean notifySelf)
- Specified by:
newCreateBlogPostCommand in interface BlogPostService
- Parameters:
provider - an object that can provide a BlogPost to the commandpermissionProvider - an object that can provide the permissions for the blog postuser - the user creating this blog post or null if the anonymous usernotifySelf - a flag indicating whether the user themselves should be notified about this creation.
- Returns:
- the CreateBlogPostCommand.
Copyright © 2003-2011 Atlassian. All Rights Reserved.