From 22ca0f7784039d493fa10978cc04c63cc7666e07 Mon Sep 17 00:00:00 2001 From: Alan Davis Date: Tue, 11 Sep 2018 15:21:49 +0100 Subject: [PATCH] REPO-3766 Renditions: Simplified Async Rendition Service (#23) Change rn:sourceModifiedDate to rn:contentUtlHashCode as we cannot use the modified date. --- src/main/java/org/alfresco/model/RenditionModel.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/alfresco/model/RenditionModel.java b/src/main/java/org/alfresco/model/RenditionModel.java index 3a4b7821d1..0aec4d3d8f 100644 --- a/src/main/java/org/alfresco/model/RenditionModel.java +++ b/src/main/java/org/alfresco/model/RenditionModel.java @@ -42,10 +42,10 @@ public interface RenditionModel static final QName ASPECT_RENDITION2 = QName.createQName(NamespaceService.RENDITION_MODEL_1_0_URI, "rendition2"); /** - * The source node's modified date. Used to work out if a transform should replace the existing rendition, as - * transforms may be provided out of order. + * The source node's content URL's hash code. Used to work out if a transform should replace the existing rendition, + * as transforms may be provided out of order. */ - static final QName PROP_RENDITION_SOURCE_MODIFIED_DATE = QName.createQName(NamespaceService.RENDITION_MODEL_1_0_URI, "sourceModifiedDate"); + static final QName PROP_RENDITION_CONTENT_URL_HAS_CODE = QName.createQName(NamespaceService.RENDITION_MODEL_1_0_URI, "contentUrlHashCode"); /** * @deprecated This rendition aspect will no longger be needed once the original RenditionService has been