Modifier and Type | Method and Description |
---|---|
Version |
ContentVersionServiceImpl.restore(ContentId contentId,
VersionRestoreParameters versionRestoreParameters,
Expansion... expansions) |
Modifier and Type | Method and Description |
---|---|
Version |
VersionFactory.build(ContentEntityObject entity,
Expansions subExpansions,
ContentFactory contentFactory) |
Modifier and Type | Method and Description |
---|---|
Reference<Version> |
VersionFactory.buildRef(ContentEntityObject entity,
Fauxpansions fauxpansions,
ContentFactory contentFactory) |
Modifier and Type | Method and Description |
---|---|
Version |
Version.VersionBuilder.build() |
Version |
Content.getVersion() |
Version |
JsonContentProperty.getVersion() |
Modifier and Type | Method and Description |
---|---|
static Reference<Version> |
Version.buildReference(int number) |
static Reference<Version> |
Version.buildReference(Reference<Content> contentRef,
int number)
Deprecated.
since 5.6 use
buildReference(int) |
Reference<Version> |
History.getLastUpdatedRef()
Get information about the latest published non-draft version of the content.
|
Reference<Version> |
History.getNextVersionRef()
Get the next version, if this is not the newest version.
|
Reference<Version> |
History.getPreviousVersionRef()
Get the previous version, if this is not the oldest version.
|
Reference<Version> |
Content.getVersionRef() |
Modifier and Type | Method and Description |
---|---|
static Version.VersionBuilder |
Version.builder(Version version) |
Content.ContentBuilder |
Content.ContentBuilder.version(Version version) |
JsonContentProperty.ContentPropertyBuilder |
JsonContentProperty.ContentPropertyBuilder.version(Version version) |
Modifier and Type | Method and Description |
---|---|
static int |
Version.getVersionNumber(Reference<Version> versionRef) |
History.HistoryBuilder |
History.HistoryBuilder.lastUpdated(Reference<Version> lastUpdated) |
History.HistoryBuilder |
History.HistoryBuilder.nextVersion(Reference<Version> nextVersion) |
History.HistoryBuilder |
History.HistoryBuilder.previousVersion(Reference<Version> previousVersion) |
Content.ContentBuilder |
Content.ContentBuilder.version(Reference<Version> version) |
JsonContentProperty.ContentPropertyBuilder |
JsonContentProperty.ContentPropertyBuilder.version(Reference<Version> version) |
Modifier and Type | Method and Description |
---|---|
Navigation.Builder |
Navigation.ExperimentalContentNav.version(Version version) |
Modifier and Type | Method and Description |
---|---|
Version |
ContentVersionService.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.
|
Modifier and Type | Method and Description |
---|---|
SingleFetcher<Version> |
ContentVersionService.VersionFinder.withIdAndVersion(ContentId contentId,
int versionNumber)
When Version is set, search will find the particular version and return a single version.
|
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
ContentCreator.saveNewVersion(T ceo,
T originalCEO,
Version version)
Save a new version of the CEO due to an update
|
<T extends ContentEntityObject> |
ContentCreator.update(T ceo,
T originalCEO,
Version version)
Saves CEO
|
Modifier and Type | Method and Description |
---|---|
Version |
JsonPropertyFactory.makeVersion(ContentEntityObject entity) |
Modifier and Type | Method and Description |
---|---|
Reference<Version> |
JsonPropertyFactory.makeVersion(ContentEntityObject entity,
boolean expanded) |
Modifier and Type | Method and Description |
---|---|
Version |
ContentVersionResource.getContentVersion(ContentId contentId,
int versionNumber,
String expand)
Get a version of the content with option to expand on content and its sub fields, by default it expands content on version.
|
Version |
ContentVersionResource.restoreContentHistory(ContentId contentId,
RestData restData,
String expand)
Restore a historical version to be a new current version.
|
Modifier and Type | Method and Description |
---|---|
PageResponse<Version> |
ContentVersionResource.getContentHistory(ContentId contentId,
int start,
int limit,
String expand,
javax.ws.rs.core.UriInfo uriInfo)
Get list of content versions in version descending order.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<Version> |
RemoteContentVersionService.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.
|
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Version>> |
RemoteContentVersionServiceImpl.RemoteVersionFinderImpl.fetchMany(PageRequest pageRequest) |
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Version>> |
RemoteContentVersionServiceImpl.RemoteVersionFinderImpl.fetchOne() |
com.atlassian.util.concurrent.Promise<Version> |
RemoteContentVersionServiceImpl.RemoteVersionFinderImpl.fetchOneOrNull() |
com.atlassian.util.concurrent.Promise<Version> |
RemoteContentVersionServiceImpl.restore(ContentId contentId,
VersionRestoreParameters versionRestoreParameters,
Expansion... expansions) |
Copyright © 2003–2017 Atlassian. All rights reserved.