Class ContentRpc
- java.lang.Object
-
- com.atlassian.confluence.it.rpc.delegates.ContentRpc
-
-
Field Summary
Fields Modifier and Type Field Description static ContentRepresentation
DEFAULT_REPRESENTATION
-
Constructor Summary
Constructors Constructor Description ContentRpc(AuthenticatedWebResourceProvider provider)
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_REPRESENTATION
public static final ContentRepresentation DEFAULT_REPRESENTATION
-
-
Constructor Detail
-
ContentRpc
public ContentRpc(AuthenticatedWebResourceProvider provider)
-
-
Method Detail
-
createPage
public Page createPage(Page page, ContentRepresentation format)
-
createBlogPost
public BlogPost createBlogPost(BlogPost blogPost, ContentRepresentation format)
-
createComment
public Comment createComment(Comment comment, ContentRepresentation format)
-
updatePage
public Page updatePage(Page page, boolean minorEdit, String versionComment, ContentRepresentation format)
-
updateBlogPost
public BlogPost updateBlogPost(BlogPost blogPost, boolean minorEdit, String versionComment, ContentRepresentation format)
-
updateComment
public Comment updateComment(Comment comment, ContentRepresentation format)
-
delete
public boolean delete(ContentId contentId)
Trashes trashable content and purges forever un-trashable content.Purge trashable content with
purge(ContentId)
.
-
purge
public void purge(ContentId id)
Purges trashed content from the system forever.
-
-