|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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,
ContentPropertyManager contentPropertyManager)
|
|
| 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,
CreateContextProvider contextProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
|
ServiceCommand |
newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
Deprecated. |
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 |
newMoveBlogPostCommand(BlogPostLocator blogPostLocator,
SpaceLocator targetSpaceLocator)
Creates a new ServiceCommand for moving an existing BlogPost. |
ServiceCommand |
newRevertBlogPostCommand(BlogPostLocator blogPostToRevert,
int version,
java.lang.String revertComment,
boolean revertTitle)
Retrieve a command to revert a blogpost |
void |
setPermissionManager(PermissionManager permissionManager)
|
| 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,
ContentPropertyManager contentPropertyManager)
| Method Detail |
|---|
public ServiceCommand newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
BlogPostService
newDeleteBlogPostCommand in interface BlogPostServicepublic BlogPostLocator getIdBlogPostLocator(long pageId)
BlogPostService
getIdBlogPostLocator in interface BlogPostService
public ServiceCommand newRevertBlogPostCommand(BlogPostLocator blogPostToRevert,
int version,
java.lang.String revertComment,
boolean revertTitle)
BlogPostService
newRevertBlogPostCommand in interface BlogPostService
public ServiceCommand newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
newCreateBlogPostCommand in interface BlogPostServiceprovider - an object that can provide a BlogPost to the commandpermissionProvider - an object that can provide the permissions for the blog postcontextProvider - an object that can provide a context to be included when publishing the blog post creation eventuser - 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.
@Deprecated
public ServiceCommand newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
BlogPostServiceServiceCommand for creation of a new BlogPost.
newCreateBlogPostCommand in interface BlogPostServiceprovider - 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)
BlogPostServiceServiceCommand for creation of a new BlogPost.
newCreateBlogPostCommand in interface BlogPostServiceprovider - 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.
public ServiceCommand newMoveBlogPostCommand(BlogPostLocator blogPostLocator,
SpaceLocator targetSpaceLocator)
BlogPostServiceServiceCommand for moving an existing BlogPost.
newMoveBlogPostCommand in interface BlogPostServiceblogPostLocator - provides the BlogPost to the commandtargetSpaceLocator - provides the target space to the commandpublic void setPermissionManager(PermissionManager permissionManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||