Uses of Interface
org.alfresco.service.cmr.version.Version
Packages that use Version
Package
Description
-
Uses of Version in org.alfresco.opencmis
Methods in org.alfresco.opencmis that return Version -
Uses of Version in org.alfresco.repo.forum
Methods in org.alfresco.repo.forum with parameters of type VersionModifier and TypeMethodDescriptionvoidDiscussableAspect.afterVersionRevert(NodeRef nodeRef, Version version) -
Uses of Version in org.alfresco.repo.jscript
Constructors in org.alfresco.repo.jscript with parameters of type VersionModifierConstructorDescriptionScriptVersion(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 VersionModifier and TypeMethodDescriptionEditionServiceImpl.getVersionedMetadatas(Version version) Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific cm:mlContainer versionEditionServiceImpl.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 VersionModifierConstructorDescriptionVersionHistoryNode(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 VersionModifier and TypeFieldDescriptionprotected Comparator<Version>VersionServiceImpl.versionComparatorDescMethods in org.alfresco.repo.version that return VersionModifier and TypeMethodDescriptionVersion2ServiceImpl.createVersion(NodeRef nodeRef, Map<String, Serializable> versionProperties) protected VersionVersion2ServiceImpl.createVersion(NodeRef nodeRef, Map<String, Serializable> origVersionProperties, int versionNumber) VersionServiceImpl.createVersion(NodeRef nodeRef, Map<String, Serializable> versionProperties) protected VersionVersionServiceImpl.createVersion(NodeRef nodeRef, Map<String, Serializable> origVersionProperties, int versionNumber) Creates a new version of the passed node assigning the version properties accordingly.Version2ServiceImpl.getCurrentVersion(NodeRef nodeRef) VersionServiceImpl.getCurrentVersion(NodeRef nodeRef) protected VersionVersion2ServiceImpl.getVersion(NodeRef versionRef) Constructs the a version object to contain the version information from the version node ref.protected VersionVersionServiceImpl.getVersion(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 VersionModifier and TypeMethodDescriptionVersion2ServiceImpl.createVersion(Collection<NodeRef> nodeRefs, Map<String, Serializable> versionProperties) VersionServiceImpl.createVersion(Collection<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.VersionServiceImpl.createVersion(NodeRef nodeRef, Map<String, Serializable> versionProperties, boolean versionChildren) The version's are created from the children upwards with the parent being created first.Version2ServiceImpl.getAllVersions(NodeRef versionHistoryRef) Gets all versions in version historyMethods in org.alfresco.repo.version with parameters of type VersionModifier and TypeMethodDescriptionvoidVersionableAspect.afterCreateVersion(NodeRef versionableNode, Version version) voidVersionServicePolicies.AfterCreateVersionPolicy.afterCreateVersion(NodeRef versionableNode, Version version) Called after the version has been createdvoidVersionServicePolicies.AfterVersionRevertPolicy.afterVersionRevert(NodeRef nodeRef, Version version) Called after the version has been revertedVersionServicePolicies.CalculateVersionLabelPolicy.calculateVersionLabel(QName classRef, Version preceedingVersion, int versionNumber, Map<String, Serializable> verisonProperties) voidVersion2ServiceImpl.deleteVersion(NodeRef nodeRef, Version version) voidVersionServiceImpl.deleteVersion(NodeRef nodeRef, Version version) voidvoidvoidvoid -
Uses of Version in org.alfresco.repo.version.common
Classes in org.alfresco.repo.version.common that implement VersionMethods in org.alfresco.repo.version.common that return VersionModifier and TypeMethodDescriptionVersionHistoryImpl.getHeadVersion()Gets the head (current / most recent) version of the version history.VersionHistoryImpl.getPredecessor(Version version) Gets the predecessor of a specified versionVersionHistoryImpl.getRootVersion()Gets the root (initial / least recent) version of the version history.VersionHistoryImpl.getVersion(String versionLabel) Gets a version with a specified version label.Methods in org.alfresco.repo.version.common that return types with arguments of type VersionModifier and TypeMethodDescriptionVersionHistoryImpl.getAllVersions()Gets a collection containing all the versions within the version history.VersionHistoryImpl.getSuccessors(Version version) Gets the succeeding versions of a specified version.Methods in org.alfresco.repo.version.common with parameters of type VersionModifier and TypeMethodDescriptionvoidVersionHistoryImpl.addVersion(Version version, Version predecessor) Add a version to the version history, in the order they were created.intDeprecated.VersionHistoryImpl.getPredecessor(Version version) Gets the predecessor of a specified versionVersionHistoryImpl.getSuccessors(Version version) Gets the succeeding versions of a specified version.protected voidAbstractVersionServiceImpl.invokeAfterCreateVersion(NodeRef nodeRef, Version version) Invoke the after create version policy behaviourprotected voidAbstractVersionServiceImpl.invokeAfterVersionRevert(NodeRef nodeRef, Version version) Invokes after version has been revertedprotected StringAbstractVersionServiceImpl.invokeCalculateVersionLabel(QName classRef, Version preceedingVersion, int versionNumber, Map<String, Serializable> versionProperties) Invoke the calculate version label policy behaviourConstructors in org.alfresco.repo.version.common with parameters of type VersionModifierConstructorDescriptionVersionHistoryImpl(Version rootVersion, Comparator<Version> versionComparatorDesc) Constructor, ensures the root version is set.Constructor parameters in org.alfresco.repo.version.common with type arguments of type VersionModifierConstructorDescriptionVersionHistoryImpl(Version rootVersion, 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 VersionModifier and TypeMethodDescriptionSerialVersionLabelPolicy.calculateVersionLabel(QName classRef, Version preceedingVersion, int versionNumber, Map<String, Serializable> versionProperties) Get the version label value base on the data provided.SerialVersionLabelPolicy.calculateVersionLabel(QName classRef, Version preceedingVersion, Map<String, 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 VersionModifier and TypeMethodDescriptionVirtualVersionServiceExtension.createVersion(NodeRef nodeRef, Map<String, Serializable> versionProperties) VirtualVersionServiceExtension.getCurrentVersion(NodeRef nodeRef) VirtualVersionServiceExtension.VirtualVersionHistory.getHeadVersion()VirtualVersionServiceExtension.VirtualVersionHistory.getPredecessor(Version version) VirtualVersionServiceExtension.VirtualVersionHistory.getRootVersion()VirtualVersionServiceExtension.VirtualVersionHistory.getVersion(String versionLabel) Methods in org.alfresco.repo.virtual.bundle that return types with arguments of type VersionModifier and TypeMethodDescriptionVirtualVersionServiceExtension.createVersion(Collection<NodeRef> nodeRefs, Map<String, Serializable> versionProperties) VirtualVersionServiceExtension.createVersion(NodeRef nodeRef, Map<String, Serializable> versionProperties, boolean versionChildren) VirtualVersionServiceExtension.VirtualVersionHistory.getAllVersions()VirtualVersionServiceExtension.VirtualVersionHistory.getSuccessors(Version version) Methods in org.alfresco.repo.virtual.bundle with parameters of type VersionModifier and TypeMethodDescriptionvoidVirtualVersionServiceExtension.deleteVersion(NodeRef nodeRef, Version version) VirtualVersionServiceExtension.VirtualVersionHistory.getPredecessor(Version version) VirtualVersionServiceExtension.VirtualVersionHistory.getSuccessors(Version version) voidvoid -
Uses of Version in org.alfresco.service.cmr.ml
Methods in org.alfresco.service.cmr.ml with parameters of type VersionModifier and TypeMethodDescriptionEditionService.getVersionedMetadatas(Version version) Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific cm:mlContainer versionEditionService.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 VersionModifier and TypeMethodDescriptionVersionService.createVersion(NodeRef nodeRef, Map<String, Serializable> versionProperties) Creates a new version based on the referenced node.VersionService.getCurrentVersion(NodeRef nodeRef) Gets the version object for the current version of the node reference passed.VersionHistory.getHeadVersion()Gets the head (current / most recent) version of the version history.VersionHistory.getPredecessor(Version version) Gets the predecessor of a specified versionVersionHistory.getRootVersion()Gets the root (initial / least recent) version of the version history.VersionHistory.getVersion(String versionLabel) Gets a version with a specified version label.Methods in org.alfresco.service.cmr.version that return types with arguments of type VersionModifier and TypeMethodDescriptionVersionService.createVersion(Collection<NodeRef> nodeRefs, Map<String, Serializable> versionProperties) Creates new versions based on the list of node references provided.VersionService.createVersion(NodeRef nodeRef, Map<String, Serializable> versionProperties, boolean versionChildren) Creates a new version based on the referenced node.VersionHistory.getAllVersions()Gets a collection containing all the versions within the version history.VersionHistory.getSuccessors(Version version) Gets the succeeding versions of a specified version.Methods in org.alfresco.service.cmr.version with parameters of type VersionModifier and TypeMethodDescriptionvoidVersionService.deleteVersion(NodeRef nodeRef, Version version) Delete a specific version associated with a node reference.VersionHistory.getPredecessor(Version version) Gets the predecessor of a specified versionVersionHistory.getSuccessors(Version version) Gets the succeeding versions of a specified version.voidRevert the state of the node to the specified version.voidRevert the state of the node to the specified version.