Modifier and Type | Field and Description |
---|---|
static ContentRepresentation |
DEFAULT_REPRESENTATION |
Constructor and Description |
---|
ContentRpc(AuthenticatedWebResourceProvider provider) |
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 trashable content with purge(ContentId)
.
public void purge(ContentId id)
Copyright © 2003–2016 Atlassian. All rights reserved.