|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ExperimentalApi public interface RemoteContentTrashService
ContentTrashService implementation that communicates with Confluence remotely using the Confluence REST API.
Provides Promise-returning equivalents for the methods in ContentTrashService.
| Method Summary | |
|---|---|
com.atlassian.util.concurrent.Promise<Void> |
purge(Content content)
Permanently delete a piece of content. |
com.atlassian.util.concurrent.Promise<Content> |
restore(Content content)
Restore a trashed piece of content. |
com.atlassian.util.concurrent.Promise<Void> |
trash(Content content)
Trash a piece of content. |
| Method Detail |
|---|
com.atlassian.util.concurrent.Promise<Void> trash(Content content)
The purge(Content) method can be used for content that doesn't support trashing.
Currently, only content with types ContentType.PAGE and ContentType.BLOG_POST support trashing.
content - the content to be trashed
com.atlassian.util.concurrent.Promise<Content> restore(Content content)
content - the content to be restored
com.atlassian.util.concurrent.Promise<Void> purge(Content content)
There are two main cases:
content - the content to be purged
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||