@ExperimentalApi
public interface RemoteContentVersionService
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RemoteContentVersionService.RemoteParameterVersionFinder |
static interface |
RemoteContentVersionService.RemoteVersionFinder |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<Void> |
delete(ContentId contentId,
int versionNumber)
delete the version of content.
|
CompletionStage<Void> |
deleteCompletionStage(ContentId contentId,
int versionNumber)
delete the version of content.
|
RemoteContentVersionService.RemoteVersionFinder |
find(Expansion... expansions)
Returns a finder interface for setting search criterion for versions or content.
|
com.atlassian.util.concurrent.Promise<Version> |
restore(ContentId contentId,
VersionRestoreParameters versionRestoreParameters,
Expansion... expansions)
Restore on version of content, update current content with that version then increment version number of current version.
|
CompletionStage<Version> |
restoreCompletionStage(ContentId contentId,
VersionRestoreParameters versionRestoreParameters,
Expansion... expansions)
Restore on version of content, update current content with that version then increment version number of current version.
|
RemoteContentVersionService.RemoteVersionFinder find(Expansion... expansions)
expansions - expansionscom.atlassian.util.concurrent.Promise<Void> delete(ContentId contentId, int versionNumber)
contentId - contentIdversionNumber - version number to deletecom.atlassian.util.concurrent.Promise<Version> restore(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
contentId - contentIdversionRestoreParameters - options for restoring version, including version number, message and restoreTitleexpansions - expansion for newly created version.CompletionStage<Void> deleteCompletionStage(ContentId contentId, int versionNumber)
contentId - contentIdversionNumber - version number to deleteCompletionStage<Version> restoreCompletionStage(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
contentId - contentIdversionRestoreParameters - options for restoring version, including version number, message and restoreTitleexpansions - expansion for newly created version.Copyright © 2003–2022 Atlassian. All rights reserved.