From e927d2d09136b8a37ecad65f8b97aeea17f43f41 Mon Sep 17 00:00:00 2001 From: Alan Davis Date: Sun, 9 Sep 2018 21:03:52 +0100 Subject: [PATCH] REPO-3766 Renditions: Simplified Async Rendition Service (#23) Addition of rn:version to rendition2 aspect to allow transforms to arrive out of sequence. --- src/main/java/org/alfresco/model/RenditionModel.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/alfresco/model/RenditionModel.java b/src/main/java/org/alfresco/model/RenditionModel.java index 5409db6a31..7115bae0cb 100644 --- a/src/main/java/org/alfresco/model/RenditionModel.java +++ b/src/main/java/org/alfresco/model/RenditionModel.java @@ -41,6 +41,12 @@ public interface RenditionModel */ static final QName ASPECT_RENDITION2 = QName.createQName(NamespaceService.RENDITION_MODEL_1_0_URI, "rendition2"); + /** + * Version number used to work out if a transform should replace the existing rendition, as transforms may be + * provided outr of order. + */ + static final QName PROP_RENDITION_VERSION = QName.createQName(NamespaceService.RENDITION_MODEL_1_0_URI, "version"); + /** * @deprecated This rendition aspect will no longger be needed once the original RenditionService has been * replaced by RenditionService2 which additionally uses a rendition2 aspect to mark its renditions.