REPO-3766 Renditions: Simplified Async Rendition Service (#23)

Addition of rn:version to rendition2 aspect to allow transforms to arrive out of sequence.
This commit is contained in:
Alan Davis
2018-09-09 21:03:52 +01:00
parent 5814d8e466
commit e927d2d091

View File

@@ -41,6 +41,12 @@ public interface RenditionModel
*/ */
static final QName ASPECT_RENDITION2 = QName.createQName(NamespaceService.RENDITION_MODEL_1_0_URI, "rendition2"); 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 * @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. * replaced by RenditionService2 which additionally uses a rendition2 aspect to mark its renditions.