Modifier and Type | Field and Description |
---|---|
static ContentRepresentation |
DEFAULT_REPRESENTATION |
Constructor and Description |
---|
ContentRpc(AuthenticatedWebResourceProvider provider) |
Modifier and Type | Method and Description |
---|---|
BlogPost |
createBlogPost(BlogPost blogPost,
ContentRepresentation format) |
Comment |
createComment(Comment comment,
ContentRepresentation format) |
Page |
createPage(Page page,
ContentRepresentation format) |
boolean |
delete(ContentId contentId)
Trashes trashable content and purges forever un-trashable content.
|
Content |
get(ContentId contentId,
Expansion... expansions) |
BlogPost |
getBlogPost(ContentId id) |
List<Page> |
getChildren(ContentId parentPageId) |
Comment |
getComment(ContentId id) |
Page |
getPage(ContentId pageId) |
Page |
getPage(String spaceKey,
String title) |
void |
purge(ContentId id)
Purges trashed content from the system forever.
|
BlogPost |
updateBlogPost(BlogPost blogPost,
boolean minorEdit,
String versionComment,
ContentRepresentation format) |
Comment |
updateComment(Comment comment,
ContentRepresentation format) |
Page |
updatePage(Page page,
boolean minorEdit,
String versionComment,
ContentRepresentation format) |
public static final ContentRepresentation DEFAULT_REPRESENTATION
public ContentRpc(AuthenticatedWebResourceProvider provider)
public Page createPage(Page page, ContentRepresentation format)
public BlogPost createBlogPost(BlogPost blogPost, ContentRepresentation format)
public Comment createComment(Comment comment, ContentRepresentation format)
public Page updatePage(Page page, boolean minorEdit, String versionComment, ContentRepresentation format)
public BlogPost updateBlogPost(BlogPost blogPost, boolean minorEdit, String versionComment, ContentRepresentation format)
public Comment updateComment(Comment comment, ContentRepresentation format)
public boolean delete(ContentId contentId)
purge(ContentId)
.public void purge(ContentId id)
Copyright © 2003–2015 Atlassian. All rights reserved.