|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.service.DefaultBlogPostService
public class DefaultBlogPostService
Constructor Summary | |
---|---|
DefaultBlogPostService(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
SpacePermissionManager spacePermissionManager,
DraftManager draftManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher)
|
Method Summary | |
---|---|
BlogPostLocator |
getIdBlogPostLocator(long pageId)
Creates a blogpost locator that can locate a blogpost based on its id. |
ServiceCommand |
newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
ServiceCommand |
newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
com.atlassian.user.User user,
boolean notifySelf)
Deprecated. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBlogPostService(PageManager pageManager, PermissionManager permissionManager, ContentPermissionManager contentPermissionManager, SpacePermissionManager spacePermissionManager, DraftManager draftManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail |
---|
public ServiceCommand newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
BlogPostService
newDeleteBlogPostCommand
in interface BlogPostService
public BlogPostLocator getIdBlogPostLocator(long pageId)
BlogPostService
getIdBlogPostLocator
in interface BlogPostService
public ServiceCommand newRevertBlogPostCommand(BlogPostLocator blogPostToRevert, int version, String revertComment, boolean revertTitle)
BlogPostService
newRevertBlogPostCommand
in interface BlogPostService
public ServiceCommand newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
newCreateBlogPostCommand
in interface BlogPostService
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. @return the CreateBlogPostCommand.@Deprecated public ServiceCommand newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, com.atlassian.user.User user, boolean notifySelf)
newCreateBlogPostCommand
in interface BlogPostService
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. @return the CreateBlogPostCommand.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |