public interface EditionService
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
createEdition(org.alfresco.service.cmr.repository.NodeRef translationNodeRef,
Map<String,Serializable> versionProperties)
Create a new edition of an existing cm:mlContainer using any one of the
associated cm:mlDocument transalations.
|
VersionHistory |
getEditions(org.alfresco.service.cmr.repository.NodeRef mlContainer)
Get editions of an existing cm:mlContainer.
|
Map<org.alfresco.service.namespace.QName,Serializable> |
getVersionedMetadatas(Version version)
Get the the versioned metadata of a specific cm:mlDocument transalation version or a specific
cm:mlContainer version
|
List<VersionHistory> |
getVersionedTranslations(Version mlContainerEdition)
Get the different cm:mlDocument transalation version histories of a specific edition of a cm:mlContainer
|
@Auditable(parameters={"translationNodeRef","versionProperties"}) org.alfresco.service.cmr.repository.NodeRef createEdition(org.alfresco.service.cmr.repository.NodeRef translationNodeRef, Map<String,Serializable> versionProperties)
translationNodeRef
- The specific cm:mlDocument to use as the starting point
of the new edition. All other translations will be removed.@Auditable(parameters="mlContainer") VersionHistory getEditions(org.alfresco.service.cmr.repository.NodeRef mlContainer)
mlContainer
- An existing cm:mlContainer@Auditable(parameters="mlContainerEdition") List<VersionHistory> getVersionedTranslations(Version mlContainerEdition)
mlContainerEdition
- An existing version of a mlContainer@Auditable(parameters="version") Map<org.alfresco.service.namespace.QName,Serializable> getVersionedMetadatas(Version version)
version
- An existing version of a cm:mlDocument translation version or
an existing version of a cm:mlContainer version.Copyright © 2005–2017 Alfresco Software. All rights reserved.