|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
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. @since 4.3 use newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, Draft draft, User user, boolean notifySelf) |
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 |
|---|
ServiceCommand newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
BlogPostLocator getIdBlogPostLocator(long pageId)
ServiceCommand newRevertBlogPostCommand(BlogPostLocator blogPostToRevert,
int version,
String revertComment,
boolean revertTitle)
ServiceCommand newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf)
provider - an object that can provide a BlogPost to the commandpermissionProvider - an object that can provide the permissions for the blog postdraft - user - 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
ServiceCommand newCreateBlogPostCommand(BlogPostProvider provider,
ContentPermissionProvider permissionProvider,
com.atlassian.user.User user,
boolean notifySelf)
newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, Draft draft, User user, boolean notifySelf)
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 | |||||||||