Modifier and Type | Method and Description |
---|---|
protected DocumentVersionBean |
AlfrescoVersionsServiceHandler.getDocumentVersionInfo(Version version,
String id)
Get document version bean by version
|
Modifier and Type | Method and Description |
---|---|
protected Version |
CMISNodeInfoImpl.getVersion() |
Modifier and Type | Method and Description |
---|---|
void |
DiscussableAspect.afterVersionRevert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version) |
Constructor and Description |
---|
ScriptVersion(Version version,
ServiceRegistry services,
org.mozilla.javascript.Scriptable scope)
Construct
|
Modifier and Type | Method and Description |
---|---|
Map<org.alfresco.service.namespace.QName,Serializable> |
EditionServiceImpl.getVersionedMetadatas(Version version)
Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific
cm:mlContainer version
|
List<VersionHistory> |
EditionServiceImpl.getVersionedTranslations(Version mlContainerEdition)
Get the different cm:mlDocument transalation version histories of a specific edition of a cm:mlContainer
|
Constructor and Description |
---|
VersionHistoryNode(Version version,
TemplateNode parent,
ServiceRegistry services)
Constructor
|
Modifier and Type | Field and Description |
---|---|
protected Comparator<Version> |
VersionServiceImpl.versionComparatorDesc |
Modifier and Type | Method and Description |
---|---|
Version |
Version2ServiceImpl.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> versionProperties) |
Version |
VersionServiceImpl.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> versionProperties) |
protected Version |
Version2ServiceImpl.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> origVersionProperties,
int versionNumber) |
protected Version |
VersionServiceImpl.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> origVersionProperties,
int versionNumber)
Creates a new version of the passed node assigning the version properties
accordingly.
|
Version |
Version2ServiceImpl.getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Version |
VersionServiceImpl.getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
protected Version |
Version2ServiceImpl.getVersion(org.alfresco.service.cmr.repository.NodeRef versionRef)
Constructs the a version object to contain the version information from the version node ref.
|
protected Version |
VersionServiceImpl.getVersion(org.alfresco.service.cmr.repository.NodeRef versionRef)
Constructs the a version object to contain the version information from the version node ref.
|
Modifier and Type | Method and Description |
---|---|
Collection<Version> |
Version2ServiceImpl.createVersion(Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs,
Map<String,Serializable> versionProperties) |
Collection<Version> |
VersionServiceImpl.createVersion(Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs,
Map<String,Serializable> versionProperties)
Note: we can't control the order of the list, so if we have children and parents in the list and the
parents get versioned before the children and the children are not already versioned then the parents
child references will be pointing to the node ref, rather than the verison history.
|
Collection<Version> |
VersionServiceImpl.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> versionProperties,
boolean versionChildren)
The version's are created from the children upwards with the parent being created first.
|
protected List<Version> |
Version2ServiceImpl.getAllVersions(org.alfresco.service.cmr.repository.NodeRef versionHistoryRef)
Gets all versions in version history
|
Modifier and Type | Method and Description |
---|---|
void |
VersionableAspect.afterCreateVersion(org.alfresco.service.cmr.repository.NodeRef versionableNode,
Version version) |
void |
VersionServicePolicies.AfterCreateVersionPolicy.afterCreateVersion(org.alfresco.service.cmr.repository.NodeRef versionableNode,
Version version)
Called after the version has been created
|
void |
VersionServicePolicies.AfterVersionRevertPolicy.afterVersionRevert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version)
Called after the version has been reverted
|
String |
VersionServicePolicies.CalculateVersionLabelPolicy.calculateVersionLabel(org.alfresco.service.namespace.QName classRef,
Version preceedingVersion,
int versionNumber,
Map<String,Serializable> verisonProperties) |
void |
Version2ServiceImpl.deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version) |
void |
VersionServiceImpl.deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version) |
void |
Version2ServiceImpl.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version) |
void |
VersionServiceImpl.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version) |
void |
Version2ServiceImpl.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version,
boolean deep) |
void |
VersionServiceImpl.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version,
boolean deep) |
Modifier and Type | Class and Description |
---|---|
class |
VersionImpl
Version class implementation.
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionHistoryImpl.getHeadVersion()
Gets the head (current / most recent) version of the version history.
|
Version |
VersionHistoryImpl.getPredecessor(Version version)
Gets the predecessor of a specified version
|
Version |
VersionHistoryImpl.getRootVersion()
Gets the root (initial / least recent) version of the version history.
|
Version |
VersionHistoryImpl.getVersion(String versionLabel)
Gets a version with a specified version label.
|
Modifier and Type | Method and Description |
---|---|
Collection<Version> |
VersionHistoryImpl.getAllVersions()
Gets a collection containing all the versions within the
version history.
|
Collection<Version> |
VersionHistoryImpl.getSuccessors(Version version)
Gets the succeeding versions of a specified version.
|
Modifier and Type | Method and Description |
---|---|
void |
VersionHistoryImpl.addVersion(Version version,
Version predecessor)
Add a version to the version history, in the order they were
created.
|
int |
VersionLabelComparator.compare(Version version1,
Version version2)
Deprecated.
|
Version |
VersionHistoryImpl.getPredecessor(Version version)
Gets the predecessor of a specified version
|
Collection<Version> |
VersionHistoryImpl.getSuccessors(Version version)
Gets the succeeding versions of a specified version.
|
protected void |
AbstractVersionServiceImpl.invokeAfterCreateVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version)
Invoke the after create version policy bahaviour
|
protected void |
AbstractVersionServiceImpl.invokeAfterVersionRevert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version)
Invokes after version has been reverted
|
protected String |
AbstractVersionServiceImpl.invokeCalculateVersionLabel(org.alfresco.service.namespace.QName classRef,
Version preceedingVersion,
int versionNumber,
Map<String,Serializable> versionProperties)
Invoke the calculate version label policy behaviour
|
Constructor and Description |
---|
VersionHistoryImpl(Version rootVersion,
Comparator<Version> versionComparatorDesc)
Constructor, ensures the root version is set.
|
Constructor and Description |
---|
VersionHistoryImpl(Version rootVersion,
Comparator<Version> versionComparatorDesc)
Constructor, ensures the root version is set.
|
Modifier and Type | Method and Description |
---|---|
String |
SerialVersionLabelPolicy.calculateVersionLabel(org.alfresco.service.namespace.QName classRef,
Version preceedingVersion,
int versionNumber,
Map<String,Serializable> versionProperties)
Get the version label value base on the data provided.
|
String |
SerialVersionLabelPolicy.calculateVersionLabel(org.alfresco.service.namespace.QName classRef,
Version preceedingVersion,
Map<String,Serializable> versionProperties)
Get the version label value base on the data provided.
|
Modifier and Type | Method and Description |
---|---|
Version |
VirtualVersionServiceExtension.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> versionProperties) |
Version |
VirtualVersionServiceExtension.getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Version |
VirtualVersionServiceExtension.VirtualVersionHistory.getHeadVersion() |
Version |
VirtualVersionServiceExtension.VirtualVersionHistory.getPredecessor(Version version) |
Version |
VirtualVersionServiceExtension.VirtualVersionHistory.getRootVersion() |
Version |
VirtualVersionServiceExtension.VirtualVersionHistory.getVersion(String versionLabel) |
Modifier and Type | Method and Description |
---|---|
Collection<Version> |
VirtualVersionServiceExtension.createVersion(Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs,
Map<String,Serializable> versionProperties) |
Collection<Version> |
VirtualVersionServiceExtension.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> versionProperties,
boolean versionChildren) |
Collection<Version> |
VirtualVersionServiceExtension.VirtualVersionHistory.getAllVersions() |
Collection<Version> |
VirtualVersionServiceExtension.VirtualVersionHistory.getSuccessors(Version version) |
Modifier and Type | Method and Description |
---|---|
void |
VirtualVersionServiceExtension.deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version) |
Version |
VirtualVersionServiceExtension.VirtualVersionHistory.getPredecessor(Version version) |
Collection<Version> |
VirtualVersionServiceExtension.VirtualVersionHistory.getSuccessors(Version version) |
void |
VirtualVersionServiceExtension.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version) |
void |
VirtualVersionServiceExtension.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version,
boolean deep) |
Modifier and Type | Method and Description |
---|---|
Version |
NodeVersionsRelation.findVersion(String nodeId,
String versionLabelId) |
Modifier and Type | Method and Description |
---|---|
void |
NodeVersionsRelation.mapVersionInfo(Version v,
Node aNode,
org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Modifier and Type | Method and Description |
---|---|
Map<org.alfresco.service.namespace.QName,Serializable> |
EditionService.getVersionedMetadatas(Version version)
Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific
cm:mlContainer version
|
List<VersionHistory> |
EditionService.getVersionedTranslations(Version mlContainerEdition)
Get the different cm:mlDocument transalation version histories of a specific edition of a cm:mlContainer
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionService.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> versionProperties)
Creates a new version based on the referenced node.
|
Version |
VersionService.getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the version object for the current version of the node reference passed.
|
Version |
VersionHistory.getHeadVersion()
Gets the head (current / most recent) version of the version history.
|
Version |
VersionHistory.getPredecessor(Version version)
Gets the predecessor of a specified version
|
Version |
VersionHistory.getRootVersion()
Gets the root (initial / least recent) version of the version history.
|
Version |
VersionHistory.getVersion(String versionLabel)
Gets a version with a specified version label.
|
Modifier and Type | Method and Description |
---|---|
Collection<Version> |
VersionService.createVersion(Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs,
Map<String,Serializable> versionProperties)
Creates new versions based on the list of node references provided.
|
Collection<Version> |
VersionService.createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Map<String,Serializable> versionProperties,
boolean versionChildren)
Creates a new version based on the referenced node.
|
Collection<Version> |
VersionHistory.getAllVersions()
Gets a collection containing all the versions within the
version history.
|
Collection<Version> |
VersionHistory.getSuccessors(Version version)
Gets the succeeding versions of a specified version.
|
Modifier and Type | Method and Description |
---|---|
void |
VersionService.deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version)
Delete a specific version associated with a node reference.
|
Version |
VersionHistory.getPredecessor(Version version)
Gets the predecessor of a specified version
|
Collection<Version> |
VersionHistory.getSuccessors(Version version)
Gets the succeeding versions of a specified version.
|
void |
VersionService.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version)
Revert the state of the node to the specified version.
|
void |
VersionService.revert(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Version version,
boolean deep)
Revert the state of the node to the specified version.
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionedDocumentDetailsDialog.getVersion() |
Copyright © 2005–2017 Alfresco Software. All rights reserved.