@ExperimentalApi
public interface ContentVersionService
Modifier and Type | Interface and Description |
---|---|
static interface |
ContentVersionService.ParameterVersionFinder
Finder interface that allows to fetchMany(PageRequest) operation
|
static interface |
ContentVersionService.Validator
Validator provide validation on operations of this service.
|
static interface |
ContentVersionService.VersionFinder
Finder interface that allows to fetchOne() to find A versioned content.
|
Modifier and Type | Method and Description |
---|---|
void |
delete(ContentId contentId,
int versionNumber)
Delete the version of content.
|
ContentVersionService.VersionFinder |
find(Expansion... expansions)
Returns a finder interface for setting search criterion for versions or content.
|
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.
|
ContentVersionService.Validator |
validator()
return an instance of
ContentVersionService.Validator |
ContentVersionService.VersionFinder find(Expansion... expansions)
expansions
- ContentVersionService.Validator validator()
ContentVersionService.Validator
ContentVersionService.Validator
void delete(ContentId contentId, int versionNumber)
contentId
- ContentIdversionNumber
- version to deleteVersion restore(ContentId contentId, VersionRestoreParameters versionRestoreParameters, Expansion... expansions)
VersionRestoreParameters
contentId
- contentIdversionRestoreParameters
- A wrapper for all parameters related to restore a version. VersionRestoreParameters
.expansions
- expansions arrayCopyright © 2003–2021 Atlassian. All rights reserved.