Uses of Interface
org.alfresco.service.cmr.version.Version
-
-
Uses of Version in org.alfresco.opencmis
Methods in org.alfresco.opencmis that return Version Modifier and Type Method Description protected VersionCMISNodeInfoImpl. getVersion() -
Uses of Version in org.alfresco.repo.forum
Methods in org.alfresco.repo.forum with parameters of type Version Modifier and Type Method Description voidDiscussableAspect. afterVersionRevert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version) -
Uses of Version in org.alfresco.repo.jscript
Constructors in org.alfresco.repo.jscript with parameters of type Version Constructor Description ScriptVersion(Version version, ServiceRegistry services, org.mozilla.javascript.Scriptable scope)Construct -
Uses of Version in org.alfresco.repo.model.ml
Methods in org.alfresco.repo.model.ml with parameters of type Version Modifier and Type Method Description java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable>EditionServiceImpl. getVersionedMetadatas(Version version)Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific cm:mlContainer versionjava.util.List<VersionHistory>EditionServiceImpl. getVersionedTranslations(Version mlContainerEdition)Get the different cm:mlDocument transalation version histories of a specific edition of a cm:mlContainer -
Uses of Version in org.alfresco.repo.template
Constructors in org.alfresco.repo.template with parameters of type Version Constructor Description VersionHistoryNode(Version version, TemplateNode parent, ServiceRegistry services)Constructor -
Uses of Version in org.alfresco.repo.version
Fields in org.alfresco.repo.version with type parameters of type Version Modifier and Type Field Description protected java.util.Comparator<Version>VersionServiceImpl. versionComparatorDescMethods in org.alfresco.repo.version that return Version Modifier and Type Method Description VersionVersion2ServiceImpl. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)protected VersionVersion2ServiceImpl. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> origVersionProperties, int versionNumber)VersionVersionServiceImpl. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)protected VersionVersionServiceImpl. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> origVersionProperties, int versionNumber)Creates a new version of the passed node assigning the version properties accordingly.VersionVersion2ServiceImpl. getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef)VersionVersionServiceImpl. getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef)protected VersionVersion2ServiceImpl. getVersion(org.alfresco.service.cmr.repository.NodeRef versionRef)Constructs the a version object to contain the version information from the version node ref.protected VersionVersionServiceImpl. getVersion(org.alfresco.service.cmr.repository.NodeRef versionRef)Constructs the a version object to contain the version information from the version node ref.Methods in org.alfresco.repo.version that return types with arguments of type Version Modifier and Type Method Description java.util.Collection<Version>Version2ServiceImpl. createVersion(java.util.Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)java.util.Collection<Version>VersionServiceImpl. createVersion(java.util.Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs, java.util.Map<java.lang.String,java.io.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.java.util.Collection<Version>VersionServiceImpl. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> versionProperties, boolean versionChildren)The version's are created from the children upwards with the parent being created first.protected java.util.List<Version>Version2ServiceImpl. getAllVersions(org.alfresco.service.cmr.repository.NodeRef versionHistoryRef)Gets all versions in version historyMethods in org.alfresco.repo.version with parameters of type Version Modifier and Type Method Description voidVersionableAspect. afterCreateVersion(org.alfresco.service.cmr.repository.NodeRef versionableNode, Version version)voidVersionServicePolicies.AfterCreateVersionPolicy. afterCreateVersion(org.alfresco.service.cmr.repository.NodeRef versionableNode, Version version)Called after the version has been createdvoidVersionServicePolicies.AfterVersionRevertPolicy. afterVersionRevert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)Called after the version has been revertedjava.lang.StringVersionServicePolicies.CalculateVersionLabelPolicy. calculateVersionLabel(org.alfresco.service.namespace.QName classRef, Version preceedingVersion, int versionNumber, java.util.Map<java.lang.String,java.io.Serializable> verisonProperties)voidVersion2ServiceImpl. deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)voidVersionServiceImpl. deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)voidVersion2ServiceImpl. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)voidVersion2ServiceImpl. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version, boolean deep)voidVersionServiceImpl. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)voidVersionServiceImpl. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version, boolean deep) -
Uses of Version in org.alfresco.repo.version.common
Classes in org.alfresco.repo.version.common that implement Version Modifier and Type Class Description classVersionImplVersion class implementation.Methods in org.alfresco.repo.version.common that return Version Modifier and Type Method Description VersionVersionHistoryImpl. getHeadVersion()Gets the head (current / most recent) version of the version history.VersionVersionHistoryImpl. getPredecessor(Version version)Gets the predecessor of a specified versionVersionVersionHistoryImpl. getRootVersion()Gets the root (initial / least recent) version of the version history.VersionVersionHistoryImpl. getVersion(java.lang.String versionLabel)Gets a version with a specified version label.Methods in org.alfresco.repo.version.common that return types with arguments of type Version Modifier and Type Method Description java.util.Collection<Version>VersionHistoryImpl. getAllVersions()Gets a collection containing all the versions within the version history.java.util.Collection<Version>VersionHistoryImpl. getSuccessors(Version version)Gets the succeeding versions of a specified version.Methods in org.alfresco.repo.version.common with parameters of type Version Modifier and Type Method Description voidVersionHistoryImpl. addVersion(Version version, Version predecessor)Add a version to the version history, in the order they were created.intVersionLabelComparator. compare(Version version1, Version version2)Deprecated.VersionVersionHistoryImpl. getPredecessor(Version version)Gets the predecessor of a specified versionjava.util.Collection<Version>VersionHistoryImpl. getSuccessors(Version version)Gets the succeeding versions of a specified version.protected voidAbstractVersionServiceImpl. invokeAfterCreateVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)Invoke the after create version policy behaviourprotected voidAbstractVersionServiceImpl. invokeAfterVersionRevert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)Invokes after version has been revertedprotected java.lang.StringAbstractVersionServiceImpl. invokeCalculateVersionLabel(org.alfresco.service.namespace.QName classRef, Version preceedingVersion, int versionNumber, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)Invoke the calculate version label policy behaviourConstructors in org.alfresco.repo.version.common with parameters of type Version Constructor Description VersionHistoryImpl(Version rootVersion, java.util.Comparator<Version> versionComparatorDesc)Constructor, ensures the root version is set.Constructor parameters in org.alfresco.repo.version.common with type arguments of type Version Constructor Description VersionHistoryImpl(Version rootVersion, java.util.Comparator<Version> versionComparatorDesc)Constructor, ensures the root version is set. -
Uses of Version in org.alfresco.repo.version.common.versionlabel
Methods in org.alfresco.repo.version.common.versionlabel with parameters of type Version Modifier and Type Method Description java.lang.StringSerialVersionLabelPolicy. calculateVersionLabel(org.alfresco.service.namespace.QName classRef, Version preceedingVersion, int versionNumber, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)Get the version label value base on the data provided.java.lang.StringSerialVersionLabelPolicy. calculateVersionLabel(org.alfresco.service.namespace.QName classRef, Version preceedingVersion, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)Get the version label value base on the data provided. -
Uses of Version in org.alfresco.repo.virtual.bundle
Methods in org.alfresco.repo.virtual.bundle that return Version Modifier and Type Method Description VersionVirtualVersionServiceExtension. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)VersionVirtualVersionServiceExtension. getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef)VersionVirtualVersionServiceExtension.VirtualVersionHistory. getHeadVersion()VersionVirtualVersionServiceExtension.VirtualVersionHistory. getPredecessor(Version version)VersionVirtualVersionServiceExtension.VirtualVersionHistory. getRootVersion()VersionVirtualVersionServiceExtension.VirtualVersionHistory. getVersion(java.lang.String versionLabel)Methods in org.alfresco.repo.virtual.bundle that return types with arguments of type Version Modifier and Type Method Description java.util.Collection<Version>VirtualVersionServiceExtension. createVersion(java.util.Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)java.util.Collection<Version>VirtualVersionServiceExtension. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> versionProperties, boolean versionChildren)java.util.Collection<Version>VirtualVersionServiceExtension.VirtualVersionHistory. getAllVersions()java.util.Collection<Version>VirtualVersionServiceExtension.VirtualVersionHistory. getSuccessors(Version version)Methods in org.alfresco.repo.virtual.bundle with parameters of type Version Modifier and Type Method Description voidVirtualVersionServiceExtension. deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)VersionVirtualVersionServiceExtension.VirtualVersionHistory. getPredecessor(Version version)java.util.Collection<Version>VirtualVersionServiceExtension.VirtualVersionHistory. getSuccessors(Version version)voidVirtualVersionServiceExtension. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)voidVirtualVersionServiceExtension. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version, boolean deep) -
Uses of Version in org.alfresco.service.cmr.ml
Methods in org.alfresco.service.cmr.ml with parameters of type Version Modifier and Type Method Description java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable>EditionService. getVersionedMetadatas(Version version)Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific cm:mlContainer versionjava.util.List<VersionHistory>EditionService. getVersionedTranslations(Version mlContainerEdition)Get the different cm:mlDocument transalation version histories of a specific edition of a cm:mlContainer -
Uses of Version in org.alfresco.service.cmr.version
Methods in org.alfresco.service.cmr.version that return Version Modifier and Type Method Description VersionVersionService. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)Creates a new version based on the referenced node.VersionVersionService. getCurrentVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef)Gets the version object for the current version of the node reference passed.VersionVersionHistory. getHeadVersion()Gets the head (current / most recent) version of the version history.VersionVersionHistory. getPredecessor(Version version)Gets the predecessor of a specified versionVersionVersionHistory. getRootVersion()Gets the root (initial / least recent) version of the version history.VersionVersionHistory. getVersion(java.lang.String versionLabel)Gets a version with a specified version label.Methods in org.alfresco.service.cmr.version that return types with arguments of type Version Modifier and Type Method Description java.util.Collection<Version>VersionService. createVersion(java.util.Collection<org.alfresco.service.cmr.repository.NodeRef> nodeRefs, java.util.Map<java.lang.String,java.io.Serializable> versionProperties)Creates new versions based on the list of node references provided.java.util.Collection<Version>VersionService. createVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map<java.lang.String,java.io.Serializable> versionProperties, boolean versionChildren)Creates a new version based on the referenced node.java.util.Collection<Version>VersionHistory. getAllVersions()Gets a collection containing all the versions within the version history.java.util.Collection<Version>VersionHistory. getSuccessors(Version version)Gets the succeeding versions of a specified version.Methods in org.alfresco.service.cmr.version with parameters of type Version Modifier and Type Method Description voidVersionService. deleteVersion(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)Delete a specific version associated with a node reference.VersionVersionHistory. getPredecessor(Version version)Gets the predecessor of a specified versionjava.util.Collection<Version>VersionHistory. getSuccessors(Version version)Gets the succeeding versions of a specified version.voidVersionService. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version)Revert the state of the node to the specified version.voidVersionService. revert(org.alfresco.service.cmr.repository.NodeRef nodeRef, Version version, boolean deep)Revert the state of the node to the specified version.
-