mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged CMIS063 to HEAD
15242: 0.62c update: Abdera extension / AtomPub tests passing (except query) 15277: 0.62c upgrade: AtomPub resources/links refactor 15290: 0.62c Upgrade: AtomPub resource/link compliance. Updated Test client / Custom Type test client / Abdera extension. 15293: 0.62 final Upgrade: Introduce schemas and examples 15318: 0.62 final upgrade: AtomPub server and tests updated 15321: Fixes for CMIS custom model tests. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -30,9 +30,9 @@
|
||||
<author><name>${node.properties.creator!""}</name></author>
|
||||
[@contentstream node/]
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[@linkstream node "enclosure"/]
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[@linkstream node "edit-media"/]
|
||||
[@documentCMISLinks node=node/]
|
||||
<published>${xmldate(node.properties.created)}</published>
|
||||
@@ -41,21 +41,20 @@
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
[@objectCMISProps node propfilter/]
|
||||
[#if includeallowableactions][@allowableactions node/][/#if]
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
[/@entry]
|
||||
[/#macro]
|
||||
|
||||
[#macro documentCMISLinks node]
|
||||
<link rel="allowableactions" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/permissions"/>
|
||||
<link rel="relationships" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/rels"/>
|
||||
<link rel="parents" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/parents"/>
|
||||
<link rel="allversions" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/versions"/>
|
||||
[@linkstream node "stream"/]
|
||||
<link rel="type" href="${absurl(url.serviceContext)}/api/type/${cmistype(node).typeId.id!"unknown"}"/>
|
||||
<link rel="repository" href="[@serviceuri/]"/>
|
||||
[@linkallowableactions node/]
|
||||
[@linkrelationships node/]
|
||||
[@linkparents node/]
|
||||
[@linkversions node/]
|
||||
[@linktype node/]
|
||||
[@linkservice/]
|
||||
[/#macro]
|
||||
|
||||
|
||||
@@ -68,7 +67,7 @@
|
||||
<author><name>${node.properties.creator}</name></author>
|
||||
[@contentstream node/]
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[@linkstream node "enclosure"/]
|
||||
[@documentCMISLinks node=node/]
|
||||
<published>${xmldate(node.properties.created)}</published>
|
||||
@@ -77,9 +76,9 @@
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
[@objectCMISProps node propfilter/]
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
[/@entry]
|
||||
[/#macro]
|
||||
|
||||
@@ -93,9 +92,9 @@
|
||||
<author><name>${node.properties.creator}</name></author>
|
||||
[@contentstream node/]
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/pwc/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/pwc/[@noderef node/]"/>
|
||||
[@linkstream node "enclosure"/]
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[@linkstream node "edit-media"/]
|
||||
[@documentCMISLinks node=node/]
|
||||
<published>${xmldate(node.properties.created)}</published>
|
||||
@@ -105,10 +104,10 @@
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
[#-- TODO: the edit link refers to the updatable node resource, allowing updates on PWCs without checkin --]
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
[@objectCMISProps node propfilter/]
|
||||
[#if includeallowableactions][@allowableactions node/][/#if]
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
[/@entry]
|
||||
[/#macro]
|
||||
|
||||
@@ -117,13 +116,17 @@
|
||||
[#-- ATOM Entry for Folder --]
|
||||
[#-- --]
|
||||
|
||||
[#macro folder node propfilter="*" typesfilter="any" includeallowableactions=false includerelationships="none" ns="" depth=1 maxdepth=1]
|
||||
[#macro foldertree node propfilter="*" includeallowableactions=false includerelationships="none" ns="" maxdepth=-1]
|
||||
[@folder node propfilter "folders" includeallowableactions includerelationships ns 1 maxdepth "tree"/]
|
||||
[/#macro]
|
||||
|
||||
[#macro folder node propfilter="*" typesfilter="any" includeallowableactions=false includerelationships="none" ns="" depth=1 maxdepth=1 nestedkind=""]
|
||||
[@entry ns]
|
||||
<author><name>${node.properties.creator}</name></author>
|
||||
<content>${node.id}</content> [#-- TODO --]
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[@folderCMISLinks node/]
|
||||
<published>${xmldate(node.properties.created)}</published>
|
||||
<summary>${node.properties.description!node.properties.title!""}</summary> [#-- TODO --]
|
||||
@@ -131,34 +134,40 @@
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
<cmis:object>
|
||||
[#-- recurse for depth greater than 1 --]
|
||||
<cmisra:object>
|
||||
[@objectCMISProps node propfilter/]
|
||||
[#if includeallowableactions][@allowableactions node/][/#if]
|
||||
</cmis:object>
|
||||
[#if depth < maxdepth || depth == -1]
|
||||
[#list cmischildren(node, typesfilter) as child]
|
||||
</cmisra:object>
|
||||
[#-- recurse for depth greater than 1 --]
|
||||
[#if maxdepth == -1 || depth < maxdepth]
|
||||
[#assign nested = cmischildren(node, typesfilter)/]
|
||||
[#if nested?size > 0]
|
||||
<cmisra:children>
|
||||
[@feedLib.node node "${nestedkind}"/]
|
||||
[#list nested as child]
|
||||
[#if child.isDocument]
|
||||
[@document child propfilter includeallowableactions includerelationships/]
|
||||
[#else]
|
||||
[@folder child propfilter typesfilter includeallowableactions includerelationships/]
|
||||
[@folder child propfilter typesfilter includeallowableactions includerelationships ns depth+1 maxdepth/]
|
||||
[@folder child propfilter typesfilter includeallowableactions includerelationships ns depth+1 maxdepth nestedkind/]
|
||||
[/#if]
|
||||
[/#list]
|
||||
</cmisra:children>
|
||||
[/#if]
|
||||
[/#if]
|
||||
[/@entry]
|
||||
[/#macro]
|
||||
|
||||
[#macro folderCMISLinks node]
|
||||
<link rel="allowableactions" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/permissions"/>
|
||||
<link rel="relationships" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/rels"/>
|
||||
[#if cmisproperty(node, "cmis:ParentId")?is_string]
|
||||
<link rel="parents" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/parent"/>
|
||||
[@linkallowableactions node/]
|
||||
[@linkrelationships node/]
|
||||
[#if cmisproperty(node, cmisconstants.PROP_PARENT_ID)?is_string]
|
||||
[@linkparent node/]
|
||||
[/#if]
|
||||
<link rel="children" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/children"/>
|
||||
<link rel="descendants" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/descendants"/>
|
||||
<link rel="type" href="${absurl(url.serviceContext)}/api/type/${cmistype(node).typeId.id!"unknown"}"/>
|
||||
<link rel="repository" href="[@serviceuri/]"/>
|
||||
[@linkchildren node/]
|
||||
[@linkdescendants node/]
|
||||
[@linktree node/]
|
||||
[@linktype node/]
|
||||
[@linkservice/]
|
||||
[/#macro]
|
||||
|
||||
|
||||
@@ -168,30 +177,30 @@
|
||||
|
||||
[#macro assoc assoc propfilter="*" includeallowableactions=false ns=""]
|
||||
[@entry ns]
|
||||
<author><name>${xmldate(date)}</name></author> [#-- TODO: [@namedvalue "cmis:CreatedBy" assoc "STRING"/] --]
|
||||
<content>[@namedvalue "cmis:ObjectId" assoc "ID"/]</content> [#-- TODO: spec id, how to map? --]
|
||||
<id>[@namedvalue "cmis:ObjectId" assoc "ID"/]</id> [#-- TODO: id compliant --]
|
||||
<author><name>${xmldate(date)}</name></author> [#-- TODO: [@namedvalue cmisconstants.PROP_CREATED_BY assoc cmisconstants.DATATYPE_STRING/] --]
|
||||
<content>[@namedvalue cmisconstants.PROP_OBJECT_ID assoc cmisconstants.DATATYPE_ID/]</content> [#-- TODO: spec id, how to map? --]
|
||||
<id>[@namedvalue cmisconstants.PROP_OBJECT_ID assoc cmisconstants.DATATYPE_ID/]</id> [#-- TODO: id compliant --]
|
||||
<link rel="self" href="${absurl(url.serviceContext)}[@assocuri assoc/]"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}[@assocuri assoc/]"/>
|
||||
[@assocCMISLinks assoc=assoc/]
|
||||
<published>${xmldate(date)}</published> [#-- TODO: [@namedvalue "cmis:CreationDate" assoc "DATETIME"/] --]
|
||||
<summary>[@namedvalue "cmis:ObjectId" assoc "ID"/]</summary> [#-- TODO: spec id, how to map? --]
|
||||
<title>[@namedvalue "cmis:ObjectId" assoc "ID"/]</title> [#-- TODO: spec id, how to map? --]
|
||||
<updated>${xmldate(date)}</updated> [#-- TODO: [@namedvalue "cmis:LastModificationDate" assoc "DATETIME"/] --]
|
||||
<app:edited>${xmldate(date)}</app:edited> [#-- TODO: [@namedvalue "cmis:LastModificationDate" assoc "DATETIME"/] --]
|
||||
<cmis:object>
|
||||
<published>${xmldate(date)}</published> [#-- TODO: [@namedvalue cmisconstants.PROP_CREATION_DATE assoc cmisconstants.DATATYPE_DATETIME/] --]
|
||||
<summary>[@namedvalue cmisconstants.PROP_OBJECT_ID assoc cmisconstants.DATATYPE_ID/]</summary> [#-- TODO: spec id, how to map? --]
|
||||
<title>[@namedvalue cmisconstants.PROP_OBJECT_ID assoc cmisconstants.DATATYPE_ID/]</title> [#-- TODO: spec id, how to map? --]
|
||||
<updated>${xmldate(date)}</updated> [#-- TODO: [@namedvalue cmisconstants.PROP_LAST_MODIFICATION_DATE assoc cmisconstants.DATATYPE_DATETIME/] --]
|
||||
<app:edited>${xmldate(date)}</app:edited> [#-- TODO: [@namedvalue cmisconstants.PROP_LAST_MODIFICATION_DATE assoc cmisconstants.DATATYPE_DATETIME/] --]
|
||||
<cmisra:object>
|
||||
[@objectCMISProps assoc propfilter/]
|
||||
[#-- TODO: [#if includeallowableactions][@allowableactions node/][/#if] --]
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
[/@entry]
|
||||
[/#macro]
|
||||
|
||||
[#macro assocCMISLinks assoc]
|
||||
[#-- TODO: <link rel="allowableactions" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/permissions"/> --]
|
||||
<link rel="type" href="${absurl(url.serviceContext)}/api/type/${cmistype(assoc).typeId.id!"unknown"}"/>
|
||||
<link rel="source" href="${absurl(url.serviceContext)}[@nodeuri assoc.source/]"/>
|
||||
<link rel="target" href="${absurl(url.serviceContext)}[@nodeuri assoc.target/]"/>
|
||||
<link rel="repository" href="[@serviceuri/]"/>
|
||||
[@linktype assoc/]
|
||||
[@linktosource assoc.source/]
|
||||
[@linktotarget assoc.target/]
|
||||
[@linkservice/]
|
||||
[/#macro]
|
||||
|
||||
|
||||
@@ -214,8 +223,8 @@
|
||||
[/#if]
|
||||
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[#if node.isDocument]
|
||||
[@linkstream node "enclosure"/]
|
||||
[@linkstream node "edit-media"/]
|
||||
@@ -227,7 +236,7 @@
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
[/#if]
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
|
||||
[#assign rowvalues = row.values]
|
||||
@@ -241,7 +250,7 @@
|
||||
[/#list]
|
||||
</cmis:properties>
|
||||
[#if row.nodes?? && includeallowableactions][@allowableactions node/][/#if]
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
[/@entry]
|
||||
[/#macro]
|
||||
|
||||
@@ -264,40 +273,40 @@
|
||||
[/#macro]
|
||||
|
||||
[#macro propvalue name value type]
|
||||
[#if type == "STRING"]
|
||||
<cmis:propertyString id="${name}">[@values value;v]<cmis:value>[@stringvalue v/]</cmis:value>[/@values]</cmis:propertyString>
|
||||
[#elseif type == "INTEGER"]
|
||||
<cmis:propertyInteger id="${name}">[@values value;v]<cmis:value>[@integervalue v/]</cmis:value>[/@values]</cmis:propertyInteger>
|
||||
[#elseif type == "DECIMAL"]
|
||||
<cmis:propertyDecimal id="${name}">[@values value;v]<cmis:value>[@decimalvalue v/]</cmis:value>[/@values]</cmis:propertyDecimal>
|
||||
[#elseif type == "BOOLEAN"]
|
||||
<cmis:propertyBoolean id="${name}">[@values value;v]<cmis:value>[@booleanvalue v/]</cmis:value>[/@values]</cmis:propertyBoolean>
|
||||
[#elseif type == "DATETIME"]
|
||||
<cmis:propertyDateTime id="${name}">[@values value;v]<cmis:value>[@datetimevalue v/]</cmis:value>[/@values]</cmis:propertyDateTime>
|
||||
[#elseif type == "URI"]
|
||||
[#if type.label == cmisconstants.DATATYPE_STRING]
|
||||
<cmis:propertyString pdid="${name}">[@values value;v]<cmis:value>[@stringvalue v/]</cmis:value>[/@values]</cmis:propertyString>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_INTEGER]
|
||||
<cmis:propertyInteger pdid="${name}">[@values value;v]<cmis:value>[@integervalue v/]</cmis:value>[/@values]</cmis:propertyInteger>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_DECIMAL]
|
||||
<cmis:propertyDecimal pdid="${name}">[@values value;v]<cmis:value>[@decimalvalue v/]</cmis:value>[/@values]</cmis:propertyDecimal>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_BOOLEAN]
|
||||
<cmis:propertyBoolean pdid="${name}">[@values value;v]<cmis:value>[@booleanvalue v/]</cmis:value>[/@values]</cmis:propertyBoolean>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_DATETIME]
|
||||
<cmis:propertyDateTime pdid="${name}">[@values value;v]<cmis:value>[@datetimevalue v/]</cmis:value>[/@values]</cmis:propertyDateTime>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_URI]
|
||||
[#-- TODO: check validity of abs url prefix --]
|
||||
<cmis:propertyUri id="${name}">[@values value;v]<cmis:value>[@urivalue absurl(url.serviceContext) + v/]</cmis:value>[/@values]</cmis:propertyUri>
|
||||
[#elseif type == "ID"]
|
||||
<cmis:propertyId id="${name}">[@values value;v]<cmis:value>[@idvalue v/]</cmis:value>[/@values]</cmis:propertyId>
|
||||
<cmis:propertyUri pdid="${name}">[@values value;v]<cmis:value>[@urivalue absurl(url.serviceContext) + v/]</cmis:value>[/@values]</cmis:propertyUri>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_ID]
|
||||
<cmis:propertyId pdid="${name}">[@values value;v]<cmis:value>[@idvalue v/]</cmis:value>[/@values]</cmis:propertyId>
|
||||
[#-- TODO: remaining property types --]
|
||||
[/#if]
|
||||
[/#macro]
|
||||
|
||||
[#macro propnull name type]
|
||||
[#if type == "STRING"]
|
||||
<cmis:propertyString id="${name}"/>
|
||||
[#elseif type == "INTEGER"]
|
||||
<cmis:propertyInteger id="${name}"/>
|
||||
[#elseif type == "DECIMAL"]
|
||||
<cmis:propertyDecimal id="${name}"/>
|
||||
[#elseif type == "BOOLEAN"]
|
||||
<cmis:propertyBoolean id="${name}"/>
|
||||
[#elseif type == "DATETIME"]
|
||||
<cmis:propertyDateTime id="${name}"/>
|
||||
[#elseif type == "URI"]
|
||||
<cmis:propertyUri id="${name}"/>
|
||||
[#elseif type == "ID"]
|
||||
<cmis:propertyId id="${name}"/>
|
||||
[#if type.label == cmisconstants.DATATYPE_STRING]
|
||||
<cmis:propertyString pdid="${name}"/>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_INTEGER]
|
||||
<cmis:propertyInteger pdid="${name}"/>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_DECIMAL]
|
||||
<cmis:propertyDecimal pdid="${name}"/>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_BOOLEAN]
|
||||
<cmis:propertyBoolean pdid="${name}"/>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_DATETIME]
|
||||
<cmis:propertyDateTime pdid="${name}"/>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_URI]
|
||||
<cmis:propertyUri pdid="${name}"/>
|
||||
[#elseif type.label == cmisconstants.DATATYPE_ID]
|
||||
<cmis:propertyId pdid="${name}"/>
|
||||
[#-- TODO: remaining property types --]
|
||||
[/#if]
|
||||
[/#macro]
|
||||
@@ -313,20 +322,20 @@
|
||||
[/#macro]
|
||||
|
||||
[#macro typedvalue value type]
|
||||
[#if type == "STRING"]
|
||||
[#if type== cmisconstants.DATATYPE_STRING]
|
||||
[@values value;v][@stringvalue v/][/@values]
|
||||
[#elseif type == "INTEGER"]
|
||||
[#elseif type == cmisconstants.DATATYPE_INTEGER]
|
||||
[@values value;v][@integervalue v/][/@values]
|
||||
[#elseif type == "DECIMAL"]
|
||||
[#elseif type == cmisconstants.DATATYPE_DECIMAL]
|
||||
[@values value;v][@decimalvalue v/][/@values]
|
||||
[#elseif type == "BOOLEAN"]
|
||||
[#elseif type == cmisconstants.DATATYPE_BOOLEAN]
|
||||
[@values value;v][@booleanvalue v/][/@values]
|
||||
[#elseif type == "DATETIME"]
|
||||
[#elseif type == cmisconstants.DATATYPE_DATETIME]
|
||||
[@values value;v][@datetimevalue v/][/@values]
|
||||
[#elseif type == "URI"]
|
||||
[#elseif type == cmisconstants.DATATYPE_URI]
|
||||
[#-- TODO: check validity of abs url prefix --]
|
||||
[@values value;v][@urivalue absurl(url.serviceContext) + v/][/@values]
|
||||
[#elseif type == "ID"]
|
||||
[#elseif type == cmisconstants.DATATYPE_ID]
|
||||
[@values value;v][@idvalue v/][/@values]
|
||||
[#-- TODO: remaining property types --]
|
||||
[/#if]
|
||||
@@ -366,67 +375,79 @@
|
||||
[#-- ATOM Entry for Type Definition --]
|
||||
[#-- --]
|
||||
|
||||
[#macro typedef typedef includeProperties=true includeInheritedProperties=true ns=""]
|
||||
[#macro typedef typedefn includeProperties=true includeInheritedProperties=true ns="" depth=1 maxdepth=1]
|
||||
[@entry ns=ns]
|
||||
<author><name>${person.properties.userName}</name></author>
|
||||
<content>${typedef.typeId.id}</content> [#-- TODO --]
|
||||
<id>urn:uuid:type-${typedef.typeId.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/type/${typedef.typeId.id}"/>
|
||||
[@typedefCMISLinks typedef/]
|
||||
<summary>[#if typedef.description??]${typedef.description?xml}[#else]${typedef.displayName?xml}[/#if]</summary>
|
||||
<title>${typedef.displayName}</title>
|
||||
<content>${typedefn.typeId.id}</content> [#-- TODO --]
|
||||
<id>urn:uuid:type-${typedefn.typeId.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/type/${typedefn.typeId.id}"/>
|
||||
[@typedefCMISLinks typedefn/]
|
||||
<summary>[#if typedefn.description??]${typedefn.description?xml}[#else]${typedefn.displayName?xml}[/#if]</summary>
|
||||
<title>${typedefn.displayName}</title>
|
||||
<updated>${xmldate(date)}</updated> [#-- TODO --]
|
||||
[@typedefCMISProps typedef includeProperties/]
|
||||
[@typedefCMISProps typedefn includeProperties/]
|
||||
[#-- recurse for depth greater than 1 --]
|
||||
[#if maxdepth == -1 || depth < maxdepth]
|
||||
[#assign nested = typedefn.getSubTypes(false)/]
|
||||
[#if nested?size > 1]
|
||||
<cmisra:children>
|
||||
[@feedLib.typedef typedefn=typedefn kind="descendants" author="${person.properties.userName}"/]
|
||||
[#list nested as child]
|
||||
[@typedef child includeProperties includeInheritedProperties ns depth+1 maxdepth/]
|
||||
[/#list]
|
||||
</cmisra:children>
|
||||
[/#if]
|
||||
[/#if]
|
||||
[/@entry]
|
||||
[/#macro]
|
||||
|
||||
[#macro typedefCMISLinks typedef]
|
||||
<link rel="type" href="${absurl(url.serviceContext)}/api/type/${typedef.baseType.typeId.id}"/>
|
||||
[@linktype typedef/]
|
||||
[#if typedef.parentType??]
|
||||
<link rel="parents" href="${absurl(url.serviceContext)}/api/type/${typedef.parentType.typeId.id}"/>
|
||||
[@linktypeparent typedef/]
|
||||
[/#if]
|
||||
<link rel="children" href="${absurl(url.serviceContext)}/api/type/${typedef.typeId.id}/children"/>
|
||||
<link rel="descendants" href="${absurl(url.serviceContext)}/api/type/${typedef.typeId.id}/descendants"/>
|
||||
<link rel="repository" href="[@serviceuri/]"/>
|
||||
[@linktypechildren typedef/]
|
||||
[@linktypedescendants typedef/]
|
||||
[@linkservice/]
|
||||
[/#macro]
|
||||
|
||||
[#macro typedefCMISProps typedef includeProperties=true includeInheritedProperties=true]
|
||||
[#if typedef.baseType.typeId.id = "cmis:Document"]
|
||||
[#if typedef.baseType.typeId.id = cmisconstants.TYPE_DOCUMENT]
|
||||
[@documenttypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
[#elseif typedef.baseType.typeId.id = "cmis:Folder"]
|
||||
[#elseif typedef.baseType.typeId.id = cmisconstants.TYPE_FOLDER]
|
||||
[@foldertypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
[#elseif typedef.baseType.typeId.id = "cmis:Relationship"]
|
||||
[#elseif typedef.baseType.typeId.id = cmisconstants.TYPE_RELATIONSHIP]
|
||||
[@relationshiptypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
[#elseif typedef.baseType.typeId.id = "cmis:Policy"]
|
||||
[#elseif typedef.baseType.typeId.id = cmisconstants.TYPE_POLICY]
|
||||
[@policytypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
[/#if]
|
||||
[/#macro]
|
||||
|
||||
[#macro documenttypedefCMISProps typedef includeProperties=true includeInheritedProperties=true]
|
||||
<cmis:documentType>
|
||||
<cmisra:documentType>
|
||||
[@objecttypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
<cmis:versionable>${typedef.versionable?string}</cmis:versionable>
|
||||
<cmis:contentStreamAllowed>${typedef.contentStreamAllowed.label}</cmis:contentStreamAllowed>
|
||||
</cmis:documentType>
|
||||
</cmisra:documentType>
|
||||
[/#macro]
|
||||
|
||||
[#macro foldertypedefCMISProps typedef includeProperties=true includeInheritedProperties=true]
|
||||
<cmis:folderType>
|
||||
<cmisra:folderType>
|
||||
[@objecttypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
</cmis:folderType>
|
||||
</cmisra:folderType>
|
||||
[/#macro]
|
||||
|
||||
[#macro relationshiptypedefCMISProps typedef includeProperties=true includeInheritedProperties=true]
|
||||
<cmis:relationshipType>
|
||||
<cmisra:relationshipType>
|
||||
[@objecttypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
[#-- TODO: source and target types --]
|
||||
</cmis:relationshipType>
|
||||
</cmisra:relationshipType>
|
||||
[/#macro]
|
||||
|
||||
[#macro policytypedefCMISProps typedef includeProperties=true includeInheritedProperties=true]
|
||||
<cmis:policyType>
|
||||
<cmisra:policyType>
|
||||
[@objecttypedefCMISProps typedef includeProperties includeInheritedProperties/]
|
||||
</cmis:policyType>
|
||||
</cmisra:policyType>
|
||||
[/#macro]
|
||||
|
||||
[#macro objecttypedefCMISProps typedef includeProperties=true includeInheritedProperties=true]
|
||||
@@ -459,23 +480,23 @@
|
||||
[/#macro]
|
||||
|
||||
[#macro propdefCMISProps propdef inherited=false]
|
||||
[#if propdef.dataType == "BOOLEAN"]
|
||||
[#if propdef.dataType.label == cmisconstants.DATATYPE_BOOLEAN]
|
||||
[@booleanpropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "ID"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_ID]
|
||||
[@idpropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "INTEGER"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_INTEGER]
|
||||
[@integerpropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "DATETIME"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_DATETIME]
|
||||
[@datetimepropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "DECIMAL"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_DECIMAL]
|
||||
[@decimalpropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "HTML"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_HTML]
|
||||
[@htmlpropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "STRING"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_STRING]
|
||||
[@stringpropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "URI"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_URI]
|
||||
[@uripropdefCMISProps propdef inherited/]
|
||||
[#elseif propdef.dataType == "XML"]
|
||||
[#elseif propdef.dataType.label == cmisconstants.DATATYPE_XML]
|
||||
[@xmlpropdefCMISProps propdef inherited/]
|
||||
[/#if]
|
||||
[/#macro]
|
||||
@@ -566,37 +587,37 @@
|
||||
[#macro cmisChoices choices type]
|
||||
[#if choices?exists]
|
||||
[#list choices as choice]
|
||||
[#if type == "STRING"]
|
||||
[#if type.label == cmisconstants.DATATYPE_STRING]
|
||||
<cmis:choiceString cmis:key="${choice.name}">
|
||||
[@cmisChoices choice.children type/]
|
||||
<cmis:value>[@stringvalue choice.value/]</cmis:value>
|
||||
</cmis:choiceString>
|
||||
[#elseif type == "INTEGER"]
|
||||
[#elseif type.label == cmisconstants.DATATYPE_INTEGER]
|
||||
<cmis:choiceInteger cmis:key="${choice.name}">
|
||||
[@cmisChoices choice.children type/]
|
||||
<cmis:value>[@stringvalue choice.value/]</cmis:value>
|
||||
</cmis:choiceInteger>
|
||||
[#elseif type == "DECIMAL"]
|
||||
[#elseif type.label == cmisconstants.DATATYPE_DECIMAL]
|
||||
<cmis:choiceDecimal cmis:key="${choice.name}">
|
||||
[@cmisChoices choice.children type/]
|
||||
<cmis:value>[@stringvalue choice.value/]</cmis:value>
|
||||
</cmis:choiceDecimal>
|
||||
[#elseif type == "BOOLEAN"]
|
||||
[#elseif type.label == cmisconstants.DATATYPE_BOOLEAN]
|
||||
<cmis:choiceBoolean cmis:key="${choice.name}">
|
||||
[@cmisChoices choice.children type/]
|
||||
<cmis:value>[@stringvalue choice.value/]</cmis:value>
|
||||
</cmis:choiceBoolean>
|
||||
[#elseif type == "DATETIME"]
|
||||
[#elseif type.label == cmisconstants.DATATYPE_DATETIME]
|
||||
<cmis:choiceDateTime cmis:key="${choice.name}">
|
||||
[@cmisChoices choice.children type/]
|
||||
<cmis:value>[@stringvalue choice.value/]</cmis:value>
|
||||
</cmis:choiceDateTime>
|
||||
[#elseif type == "URI"]
|
||||
[#elseif type.label == cmisconstants.DATATYPE_URI]
|
||||
<cmis:choiceUri cmis:key="${choice.name}">
|
||||
[@cmisChoices choice.children type/]
|
||||
<cmis:value>[@stringvalue choice.value/]</cmis:value>
|
||||
</cmis:choiceUri>
|
||||
[#elseif type == "ID"]
|
||||
[#elseif type.label == cmisconstants.DATATYPE_ID]
|
||||
<cmis:choiceId cmis:key="${choice.name}">
|
||||
[@cmisChoices choice.children type/]
|
||||
<cmis:value>[@stringvalue choice.value/]</cmis:value>
|
||||
@@ -607,6 +628,96 @@
|
||||
[/#if]
|
||||
[/#macro]
|
||||
|
||||
|
||||
[#-- --]
|
||||
[#-- Link Relations --]
|
||||
[#-- --]
|
||||
|
||||
[#-- Link to repository service document --]
|
||||
[#macro linkservice]
|
||||
<link rel="${cmisconstants.REL_SERVICE}" href="${absurl(url.serviceContext)}/api/repository"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node allowable actions --]
|
||||
[#macro linkallowableactions node]
|
||||
<link rel="${cmisconstants.REL_ALLOWABLE_ACTIONS}" href="${absurl(url.serviceContext)}[@nodeuri node/]/allowableactions"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node relationships --]
|
||||
[#macro linkrelationships node]
|
||||
<link rel="${cmisconstants.REL_RELATIONSHIPS}" href="${absurl(url.serviceContext)}[@nodeuri node/]/rels"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node parents --]
|
||||
[#macro linkparents node]
|
||||
<link rel="${cmisconstants.REL_UP}" type="application/atom+xml;type=feed" href="${absurl(url.serviceContext)}[@nodeuri node/]/parents"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to folder parent --]
|
||||
[#macro linkparent node]
|
||||
<link rel="${cmisconstants.REL_UP}" type="application/atom+xml;type=entry" href="${absurl(url.serviceContext)}[@nodeuri node.parent/]"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node children --]
|
||||
[#macro linkchildren node]
|
||||
<link rel="${cmisconstants.REL_DOWN}" type="application/atom+xml;type=feed" href="${absurl(url.serviceContext)}[@nodeuri node/]/children"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node descendants --]
|
||||
[#macro linkdescendants node]
|
||||
<link rel="${cmisconstants.REL_DOWN}" type="application/cmistree+xml" href="${absurl(url.serviceContext)}[@nodeuri node/]/descendants"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node tree --]
|
||||
[#macro linktree node]
|
||||
<link rel="${cmisconstants.REL_FOLDER_TREE}" type="application/cmistree+xml" href="${absurl(url.serviceContext)}[@nodeuri node/]/tree"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node versions --]
|
||||
[#macro linkversions node]
|
||||
<link rel="${cmisconstants.REL_VERSION_HISTORY}" href="${absurl(url.serviceContext)}[@nodeuri node/]/versions"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to source node --]
|
||||
[#macro linktosource node]
|
||||
<link rel="${cmisconstants.REL_ASSOC_SOURCE}" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to target node --]
|
||||
[#macro linktotarget node]
|
||||
<link rel="${cmisconstants.REL_ASSOC_TARGET}" href="${absurl(url.serviceContext)}[@nodeuri node/]"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to content stream --]
|
||||
[#macro linkstream node rel=""]
|
||||
<link[#if rel !=""] rel="${rel}"[/#if][#if node.mimetype??] type="${node.mimetype}"[/#if] href="[@contenturi node/]"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to node type --]
|
||||
[#macro linktype object]
|
||||
<link rel="${cmisconstants.REL_DESCRIBED_BY}" href="${absurl(url.serviceContext)}[@typeuri cmistype(object)/]"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to type parent --]
|
||||
[#macro linktypeparent typedef]
|
||||
<link rel="${cmisconstants.REL_UP}" type="application/atom+xml;type=entry" href="${absurl(url.serviceContext)}[@typeuri typedef.parentType/]"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to type children --]
|
||||
[#macro linktypechildren typedef]
|
||||
<link rel="${cmisconstants.REL_DOWN}" type="application/atom+xml;type=feed" href="${absurl(url.serviceContext)}[@typeuri typedef/]/children"/>
|
||||
[/#macro]
|
||||
|
||||
[#-- Link to type descendants --]
|
||||
[#macro linktypedescendants typedef]
|
||||
<link rel="${cmisconstants.REL_DOWN}" type="application/cmistree+xml" href="${absurl(url.serviceContext)}[@typeuri typedef/]/descendants"/>
|
||||
[/#macro]
|
||||
|
||||
|
||||
[#-- --]
|
||||
[#-- General Utils --]
|
||||
[#-- --]
|
||||
|
||||
[#-- Helper to render Atom Summary --]
|
||||
[#macro contentsummary node][#if node.properties.description??]${node.properties.description}[#elseif node.properties.title??]${node.properties.title}[#elseif node.mimetype?? && node.mimetype == "text/plain"]${cropContent(node.properties.content, 50)}[#else]${node.properties.name}[/#if][/#macro]
|
||||
|
||||
@@ -616,9 +727,6 @@
|
||||
[#-- Helper to render atom content element --]
|
||||
[#macro contentstream node]<content[#if node.mimetype??] type="${node.mimetype}"[/#if] src="[@contenturi node/]"/>[/#macro]
|
||||
|
||||
[#-- Helper to render atom content element --]
|
||||
[#macro linkstream node rel=""]<link[#if rel !=""] rel="${rel}"[/#if][#if node.mimetype??] type="${node.mimetype}"[/#if] href="[@contenturi node/]"/>[/#macro]
|
||||
|
||||
[#-- Helper to render Alfresco content stream uri --]
|
||||
[#macro contenturi node]${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/content[#if node.properties.name?? && node.properties.name?last_index_of(".") != -1]${encodeuri(node.properties.name?substring(node.properties.name?last_index_of(".")))}[/#if][/#macro]
|
||||
|
||||
@@ -633,3 +741,6 @@
|
||||
|
||||
[#-- Helper to render Alfresco Assoc uri --]
|
||||
[#macro assocuri assoc]/api/rel/[@noderef assoc.source/]/type/${cmistype(assoc).typeId.id!"undefined"}/target/[@noderef assoc.target/][/#macro]
|
||||
|
||||
[#-- Helper to render Alfresco Type uri --]
|
||||
[#macro typeuri typedef]/api/type/${typedef.typeId.id}[/#macro]
|
||||
|
@@ -8,12 +8,12 @@
|
||||
//
|
||||
function createNode(parent, entry, slug)
|
||||
{
|
||||
var object = entry.getExtension(atom.names.cmis_object);
|
||||
var object = entry.getExtension(atom.names.cmisra_object);
|
||||
var typeId = (object !== null) ? object.objectTypeId.nativeValue : null;
|
||||
|
||||
// locate type definition
|
||||
// TODO: check this against spec - default to Document, if not specified
|
||||
var type = cmis.queryType(typeId === null ? "document" : typeId);
|
||||
var type = cmis.queryType(typeId === null ? DOCUMENT_TYPE_ID.id : typeId);
|
||||
if (type === null)
|
||||
{
|
||||
status.code = 400;
|
||||
@@ -24,13 +24,13 @@ function createNode(parent, entry, slug)
|
||||
|
||||
// construct node of folder or file
|
||||
var name = (slug !== null) ? slug : entry.title;
|
||||
var baseType = type.typeId.baseTypeId.id;
|
||||
if (baseType == "document")
|
||||
var baseType = type.typeId.baseTypeId;
|
||||
if (baseType == DOCUMENT_TYPE_ID)
|
||||
{
|
||||
node = parent.createFile(name);
|
||||
// TODO: versioningState argument (CheckedOut/CheckedInMinor/CheckedInMajor)
|
||||
}
|
||||
else if (baseType == "folder")
|
||||
else if (baseType == FOLDER_TYPE_ID)
|
||||
{
|
||||
node = parent.createFolder(name);
|
||||
}
|
||||
@@ -43,8 +43,7 @@ function createNode(parent, entry, slug)
|
||||
}
|
||||
|
||||
// specialize to required custom type
|
||||
var objectType = type.typeId.id;
|
||||
if (objectType != "document" && objectType != "folder")
|
||||
if (type.typeId != DOCUMENT_TYPE_ID && type.typeId != FOLDER_TYPE_ID)
|
||||
{
|
||||
if (!node.specializeType(type.typeId.QName))
|
||||
{
|
||||
@@ -56,7 +55,7 @@ function createNode(parent, entry, slug)
|
||||
}
|
||||
|
||||
// update node properties (excluding object type & name)
|
||||
var exclude = [ "ObjectTypeId", "Name" ];
|
||||
var exclude = [ PROP_OBJECT_TYPE_ID, PROP_NAME ];
|
||||
var updated = updateNode(node, entry, exclude, function(propDef) {return patchValidator(propDef, true);});
|
||||
|
||||
// only return node if updated successfully
|
||||
@@ -85,16 +84,16 @@ function updateNode(node, entry, exclude, validator)
|
||||
}
|
||||
|
||||
var updated = false;
|
||||
var object = entry.getExtension(atom.names.cmis_object);
|
||||
var object = entry.getExtension(atom.names.cmisra_object);
|
||||
var props = (object == null) ? null : object.properties;
|
||||
var vals = new Object();
|
||||
|
||||
// calculate list of properties to update
|
||||
// TODO: consider array form of properties.names
|
||||
var updateProps = (props == null) ? new Array() : props.names.toArray().filter(function(element, index, array) {return true;});
|
||||
updateProps.push("Name"); // mapped to entry.title
|
||||
var updateProps = (props == null) ? new Array() : props.ids.toArray().filter(function(element, index, array) {return true;});
|
||||
updateProps.push(PROP_NAME); // mapped to entry.title
|
||||
var exclude = (exclude == null) ? new Array() : exclude;
|
||||
exclude.push("BaseType"); // TODO: CMIS Issue where BaseType is not a property
|
||||
exclude.push(PROP_BASE_TYPE_ID);
|
||||
updateProps = updateProps.filter(includeProperty, exclude);
|
||||
|
||||
// build values to update
|
||||
@@ -134,7 +133,7 @@ function updateNode(node, entry, exclude, validator)
|
||||
{
|
||||
if (prop.isMultiValued())
|
||||
{
|
||||
if (propDef.updatability === Packages.org.alfresco.cmis.CMISCardinalityEnum.MULTI_VALUED)
|
||||
if (propDef.updatability === CMISCardinalityEnum.MULTI_VALUED)
|
||||
{
|
||||
status.code = 500;
|
||||
status.message = "Property " + propName + " is single valued."
|
||||
@@ -150,7 +149,7 @@ function updateNode(node, entry, exclude, validator)
|
||||
}
|
||||
|
||||
// NOTE: special case name: entry.title overrides cmis:name
|
||||
if (propName === "Name")
|
||||
if (propName === PROP_NAME)
|
||||
{
|
||||
val = entry.title;
|
||||
}
|
||||
@@ -207,18 +206,18 @@ function updateNode(node, entry, exclude, validator)
|
||||
//
|
||||
function createAssociation(source, entry)
|
||||
{
|
||||
var object = entry.getExtension(atom.names.cmis_object);
|
||||
var object = entry.getExtension(atom.names.cmisra_object);
|
||||
var typeId = (object !== null) ? object.objectTypeId.nativeValue : null;
|
||||
|
||||
// locate relationship type definition
|
||||
// TODO: check this against spec - default to Relationship, if not specified
|
||||
var type = cmis.queryType(typeId === null ? "relationship" : typeId);
|
||||
var type = cmis.queryType(typeId === null ? RELATIONSHIP_TYPE_ID.id : typeId);
|
||||
if (type === null)
|
||||
{
|
||||
status.setCode(400, "CMIS object type " + typeId + " not understood");
|
||||
return null;
|
||||
}
|
||||
if (type.typeId.baseTypeId.id != "relationship")
|
||||
if (type.typeId.baseTypeId != RELATIONSHIP_TYPE_ID)
|
||||
{
|
||||
status.setCode(400, "CMIS object type " + typeId + " is not a relationship type");
|
||||
return null;
|
||||
@@ -256,14 +255,14 @@ function createAssociation(source, entry)
|
||||
function patchValidator(propDef, pwc)
|
||||
{
|
||||
// is the property write-able?
|
||||
if (propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_ONLY)
|
||||
if (propDef.updatability === CMISUpdatabilityEnum.READ_ONLY)
|
||||
{
|
||||
status.code = 500;
|
||||
status.message = "Property " + propName + " cannot be updated. It is read only."
|
||||
status.redirect = true;
|
||||
return null;
|
||||
}
|
||||
if (!pwc && propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT)
|
||||
if (!pwc && propDef.updatability === CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT)
|
||||
{
|
||||
status.code = 500;
|
||||
status.message = "Property " + propName + " can only be updated on a private working copy.";
|
||||
@@ -288,11 +287,11 @@ function patchValidator(propDef, pwc)
|
||||
function putValidator(propDef, pwc)
|
||||
{
|
||||
// is the property write-able?
|
||||
if (propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_ONLY)
|
||||
if (propDef.updatability === CMISUpdatabilityEnum.READ_ONLY)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!pwc && propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT)
|
||||
if (!pwc && propDef.updatability === CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@@ -31,14 +31,30 @@
|
||||
[#-- ATOM Feed for Node --]
|
||||
[#-- --]
|
||||
|
||||
[#macro node node title=""]
|
||||
[#macro node node kind=""]
|
||||
<author><name>${node.properties.creator!""}</name></author>
|
||||
<generator version="${server.version}">Alfresco (${server.edition})</generator>
|
||||
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
|
||||
<id>urn:uuid:${node.id}[#if title != ""]-${title}[/#if]</id>
|
||||
<id>urn:uuid:${node.id}[#if kind != ""]-${kind}[/#if]</id>
|
||||
<link rel="self" href="${absurl(encodeuri(url.full))?xml}"/>
|
||||
<link rel="source" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
[#nested] [#-- NOTE: Custom links --]
|
||||
<title>${node.name}[#if title != ""] ${title?capitalize}[/#if]</title>
|
||||
<title>${node.name}[#if kind != ""] ${kind?capitalize}[/#if]</title>
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
[/#macro]
|
||||
|
||||
|
||||
[#-- --]
|
||||
[#-- ATOM Feed for Type Container --]
|
||||
[#-- --]
|
||||
|
||||
[#macro typedef typedefn kind="children" author="System"]
|
||||
<author><name>${author}</name></author>
|
||||
<generator version="${server.version}">Alfresco (${server.edition})</generator>
|
||||
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
|
||||
<id>urn:uuid:type-${typedefn.typeId.id}-${kind}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/type/${typedefn.typeId.id}/${kind}"/>
|
||||
[#nested] [#-- NOTE: Custom links --]
|
||||
<title>${typedefn.displayName} ${kind?capitalize}</title>
|
||||
<updated>${xmldate(date)}</updated>
|
||||
[/#macro]
|
||||
|
@@ -2,5 +2,19 @@
|
||||
// Constants
|
||||
//
|
||||
|
||||
// Base Type Ids
|
||||
DOCUMENT_TYPE_ID = Packages.org.alfresco.cmis.CMISDictionaryModel.DOCUMENT_TYPE_ID;
|
||||
FOLDER_TYPE_ID = Packages.org.alfresco.cmis.CMISDictionaryModel.FOLDER_TYPE_ID;
|
||||
RELATIONSHIP_TYPE_ID = Packages.org.alfresco.cmis.CMISDictionaryModel.RELATIONSHIP_TYPE_ID;
|
||||
POLICY_TYPE_ID = Packages.org.alfresco.cmis.CMISDictionaryModel.POLICY_TYPE_ID;
|
||||
|
||||
// Property Names
|
||||
// NOTE: force conversion of java to javascript strings (hack)
|
||||
PROP_BASE_TYPE_ID = Packages.org.alfresco.cmis.CMISDictionaryModel.PROP_BASE_TYPE_ID + "";
|
||||
PROP_OBJECT_TYPE_ID = Packages.org.alfresco.cmis.CMISDictionaryModel.PROP_OBJECT_TYPE_ID + "";
|
||||
PROP_NAME = Packages.org.alfresco.cmis.CMISDictionaryModel.PROP_NAME + "";
|
||||
|
||||
// CMIS Enums
|
||||
CMISRelationshipDirectionEnum = Packages.org.alfresco.cmis.CMISRelationshipDirectionEnum;
|
||||
CMISCardinalityEnum = Packages.org.alfresco.cmis.CMISCardinalityEnum;
|
||||
CMISUpdatabilityEnum = Packages.org.alfresco.cmis.CMISUpdatabilityEnum;
|
@@ -6,7 +6,7 @@
|
||||
[#macro cmisraNS]http://docs.oasis-open.org/ns/cmis/restatom/200901[/#macro]
|
||||
[#macro alfNS]http://www.alfresco.org[/#macro]
|
||||
[#macro opensearchNS]http://a9.com/-/spec/opensearch/1.1/[/#macro]
|
||||
[#macro serviceNS]xmlns="[@appNS/]" xmlns:atom="[@atomNS/]" xmlns:cmis="[@cmisNS/]" xmlns:cmisra="[@cmisraNS/]" xmlns:alf="[@alfNS/]"[/#macro]
|
||||
[#macro feedNS]xmlns="[@atomNS/]" xmlns:app="[@appNS/]" xmlns:cmis="[@cmisNS/]" xmlns:alf="[@alfNS/]" xmlns:opensearch="[@opensearchNS/]"[/#macro]
|
||||
[#macro entryNS]xmlns="[@atomNS/]" xmlns:app="[@appNS/]" xmlns:cmis="[@cmisNS/]" xmlns:alf="[@alfNS/]"[/#macro]
|
||||
[#macro serviceNS]xmlns="[@appNS/]" xmlns:atom="[@atomNS/]" xmlns:cmisra="[@cmisraNS/]" xmlns:cmis="[@cmisNS/]" xmlns:alf="[@alfNS/]"[/#macro]
|
||||
[#macro feedNS]xmlns="[@atomNS/]" xmlns:app="[@appNS/]" xmlns:cmisra="[@cmisraNS/]" xmlns:cmis="[@cmisNS/]" xmlns:alf="[@alfNS/]" xmlns:opensearch="[@opensearchNS/]"[/#macro]
|
||||
[#macro entryNS]xmlns="[@atomNS/]" xmlns:app="[@appNS/]" xmlns:cmisra="[@cmisraNS/]" xmlns:cmis="[@cmisNS/]" xmlns:alf="[@alfNS/]"[/#macro]
|
||||
[#macro allowableactionsNS]xmlns:cmis="[@cmisNS/]"[/#macro]
|
||||
|
@@ -2,12 +2,15 @@
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service [@nsLib.serviceNS/]>
|
||||
<workspace>
|
||||
<workspace cmis:id="${server.id}" cmis:repositoryRelationship="self">
|
||||
<atom:title>${server.name}</atom:title>
|
||||
|
||||
<collection href="${absurl(url.serviceContext)}/api/path/${encodeuri(defaultRootFolderPath)}/children" cmisra:collectionType="root">
|
||||
<atom:title>root collection</atom:title>
|
||||
</collection>
|
||||
<collection href="${absurl(url.serviceContext)}/api/types" cmisra:collectionType="types">
|
||||
<atom:title>type collection</atom:title>
|
||||
</collection>
|
||||
<collection href="${absurl(url.serviceContext)}/api/checkedout" cmisra:collectionType="checkedout">
|
||||
<atom:title>checkedout collection</atom:title>
|
||||
<accept>application/atom+xml;type=entry</accept>
|
||||
@@ -16,14 +19,15 @@
|
||||
<atom:title>unfiled collection</atom:title>
|
||||
<accept>application/atom+xml;type=entry</accept>
|
||||
</collection>
|
||||
<collection href="${absurl(url.serviceContext)}/api/types" cmisra:collectionType="types">
|
||||
<atom:title>type collection</atom:title>
|
||||
</collection>
|
||||
<collection href="${absurl(url.serviceContext)}/api/query" cmisra:collectionType="query">
|
||||
<atom:title>query collection</atom:title>
|
||||
<accept>application/cmisquery+xml</accept>
|
||||
</collection>
|
||||
|
||||
<atom:link title="root folder tree" type="application/atom+xml;type=feed" rel="http://docs.oasis-open.org/ns/cmis/link/200901/foldertree" href="${absurl(url.serviceContext)}/api/path/${encodeuri(defaultRootFolderPath)}/tree"/>
|
||||
<atom:link title="root descendants" type="application/atom+xml;type=feed" rel="http://docs.oasis-open.org/ns/cmis/link/200901/rootdescendants" href="${absurl(url.serviceContext)}/api/path/${encodeuri(defaultRootFolderPath)}/descendants"/>
|
||||
<atom:link title="type descendants" type="application/atom+xml;type=feed" rel="http://docs.oasis-open.org/ns/cmis/link/200901/typesdescendants" href="${absurl(url.serviceContext)}/api/types/descendants"/>
|
||||
|
||||
<cmisra:repositoryInfo>
|
||||
<cmis:repositoryId>${server.id}</cmis:repositoryId>
|
||||
<cmis:repositoryName>${server.name}</cmis:repositoryName>
|
||||
@@ -39,22 +43,29 @@
|
||||
<cmis:capabilityACL>[#-- TODO --]none</cmis:capabilityACL>
|
||||
<cmis:capabilityAllVersionsSearchable>${allVersionsSearchable?string}</cmis:capabilityAllVersionsSearchable>
|
||||
<cmis:capabilityChanges>[#-- TODO --]none</cmis:capabilityChanges>
|
||||
[#-- ISSUE CMIS-342 --]<cmis:capabilityChangesOnType>cmis:Document</cmis:capabilityChangesOnType>
|
||||
<cmis:capabilityContentStreamUpdates>[#-- TODO, ISSUE CMIS-342 --]anytime</cmis:capabilityContentStreamUpdates>
|
||||
<cmis:capabilityDescendantNavigation>[#-- TODO CMIS-342 --]true</cmis:capabilityDescendantNavigation>
|
||||
<cmis:capabilityChangesOnType>cmis:document</cmis:capabilityChangesOnType>
|
||||
<cmis:capabilityContentStreamUpdatability>anytime</cmis:capabilityContentStreamUpdatability>
|
||||
<cmis:capabilityGetDescendants>true</cmis:capabilityGetDescendants>
|
||||
<cmis:capabilityMultifiling>true</cmis:capabilityMultifiling>
|
||||
<cmis:capabilityPWCSearchable>${pwcSearchable?string}</cmis:capabilityPWCSearchable>
|
||||
<cmis:capabilityPWCUpdateable>true</cmis:capabilityPWCUpdateable>
|
||||
<cmis:capabilityQuery>${querySupport}</cmis:capabilityQuery>
|
||||
<cmis:capabilityRenditions>[#-- TODO, ISSUE CMIS-342 --]false</cmis:capabilityRenditions>
|
||||
[#-- TODO: implement rendition spec --]
|
||||
<cmis:capabilityRenditions>none</cmis:capabilityRenditions>
|
||||
<cmis:capabilityUnfiling>false</cmis:capabilityUnfiling>
|
||||
<cmis:capabilityVersionSpecificFiling>false</cmis:capabilityVersionSpecificFiling>
|
||||
<cmis:capabilityJoin>${joinSupport}</cmis:capabilityJoin>
|
||||
</cmis:capabilities>
|
||||
[#-- TODO: wait for ACL proposal before implementing --]
|
||||
[#-- TODO: implement ACL spec --]
|
||||
[#-- <cmis:aclCapability></cmis:aclCapability> --]
|
||||
<cmis:cmisVersionSupported>${cmisVersion}</cmis:cmisVersionSupported>
|
||||
</cmisra:repositoryInfo>
|
||||
|
||||
<cmisra:uritemplate>
|
||||
<cmisra:template>${absurl(url.serviceContext)}/api/node/{id}?filter={filter}&includeAllowableActions={includeAllowableActions}&includeRelationships={includeRelationships}</cmisra:template>
|
||||
<cmisra:type>entrybyid</cmisra:type>
|
||||
<cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype>
|
||||
</cmisra:uritemplate>
|
||||
|
||||
</workspace>
|
||||
</service>
|
||||
|
@@ -5,9 +5,6 @@
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
[#assign namespace][@nsLib.allowableactionsNS/][/#assign]
|
||||
[@entryLib.allowableactions node=node ns=namespace]
|
||||
<cmis:parentId>${cmisproperty(node, "ObjectId")}</cmis:parentId>
|
||||
<cmis:parentUrl>${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}</cmis:parentUrl>
|
||||
[/@entryLib.allowableactions]
|
||||
[@entryLib.allowableactions node=node ns=namespace/]
|
||||
|
||||
[/#compress]
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Retrieve Allowable Actions</shortname>
|
||||
<description>Retrieve Allowable Actions</description>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/permissions</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/permissions</url>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/allowableactions</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/allowableactions</url>
|
||||
<authentication>guest</authentication>
|
||||
<transaction allow="readonly"/>
|
||||
<format default="cmisallowableactions">argument</format>
|
||||
|
@@ -10,7 +10,7 @@ script:
|
||||
}
|
||||
|
||||
// extract object id from atom entry
|
||||
var object = entry.getExtension(atom.names.cmis_object);
|
||||
var object = entry.getExtension(atom.names.cmisra_object);
|
||||
var objectId = (object !== null) ? object.objectId.stringValue : null;
|
||||
if (objectId === null)
|
||||
{
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
|
||||
|
||||
script:
|
||||
|
@@ -1,40 +0,0 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
|
||||
|
||||
script:
|
||||
{
|
||||
// ensure atom entry is posted
|
||||
if (entry === null)
|
||||
{
|
||||
status.code = 400;
|
||||
status.message = "Expected atom entry";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
// locate parent node
|
||||
var pathSegments = url.match.split("/");
|
||||
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
||||
model.parent = cmis.findNode(pathSegments[2], reference);
|
||||
if (model.parent === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not found";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
// create node
|
||||
var node = createNode(model.parent, entry, slug);
|
||||
if (node == null)
|
||||
{
|
||||
break script;
|
||||
}
|
||||
|
||||
// success
|
||||
node.save();
|
||||
model.node = node;
|
||||
// TODO: set Content-Location
|
||||
status.code = 201;
|
||||
status.location = url.server + url.serviceContext + "/api/node/" + node.nodeRef.storeRef.protocol + "/" + node.nodeRef.storeRef.identifier + "/" + node.nodeRef.id;
|
||||
status.redirect = true;
|
||||
}
|
@@ -1,16 +0,0 @@
|
||||
[#ftl]
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
|
||||
[#compress]
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
[#assign namespace][@nsLib.entryNS/][/#assign]
|
||||
|
||||
[#if node.isDocument]
|
||||
[@entryLib.document node=node propfilter="*" includeallowableactions=false includerelationships="none" ns=namespace/]
|
||||
[#else]
|
||||
[@entryLib.folder node=node propfilter="*" includeallowableactions=false includerelationships="none" ns=namespace/]
|
||||
[/#if]
|
||||
|
||||
[/#compress]
|
@@ -1,49 +0,0 @@
|
||||
<webscript>
|
||||
<shortname>Create folder or document (createDocument, createFolder)</shortname>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Creates a document object of the specified type, and optionally adds the document to a folder<br>
|
||||
<br>
|
||||
Inputs:<br>
|
||||
<br>
|
||||
ID typeId: Document type<br>
|
||||
Collection properties<br>
|
||||
(Optional) ID folderId: Parent folder for this new document<br>
|
||||
(Optional) ContentStream contentStream<br>
|
||||
(Optional) Enum versioningState: CheckedOut, CheckedInMinor, CheckedInMajor (Default)<br>
|
||||
<br>
|
||||
Outputs:<br>
|
||||
<br>
|
||||
ID objectId: Id of the created document object<br>
|
||||
<br>
|
||||
The versioningState input is used to create a document in a checked-out state, or as a checked-in minor version, or as a checked-in major version. If created in a checked-out state, the object is a PWC and there is no corresponding "checked out document". (See the "Versioning" section.)<br>
|
||||
If the Document’s Object Type does not allow content-stream and a content-stream is provided, or if content-stream is required and a content-stream is not provided, throw ConstraintViolationException.<br>
|
||||
If a Folder is specified, and the Document’s Object Type is not one of the “Allowed_Child_Object_Types” for this Folder, throw ConstraintViolationException.<br>
|
||||
If unfiling is not supported and a Folder is not specified, throw FolderNotValidException.<br>
|
||||
Repositories MAY reject the createDocument request (by throwing ConstaintViolationException) if any of the Required properties specified in the Document’s Object Type are not set.<br>
|
||||
However, iF the repository does NOT reject the createDocument request in this case, the repository MUST leave the newly-created Document in a checked-out state, and MUST ensure that all required properties are set before the Document is checked in.<br>
|
||||
<br>
|
||||
<br>
|
||||
Creates a folder object of the specified type<br>
|
||||
<br>
|
||||
Inputs:<br>
|
||||
<br>
|
||||
ID typeId: Folder type<br>
|
||||
Collection properties<br>
|
||||
ID folderId: Parent folder for this new folder<br>
|
||||
<br>
|
||||
Outputs:<br>
|
||||
<br>
|
||||
ID objectId: Id of the created folder object<br>
|
||||
<br>
|
||||
Notes:<br>
|
||||
If the to-be-created Folder’s Object Type is not one of the “Allowed_Child_Object_Types” for the parent Folder, throw ConstraintViolationException.<br>
|
||||
Root folder can not be created using this service.<br>
|
||||
]]>
|
||||
</description>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/descendants</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/descendants</url>
|
||||
<authentication>user</authentication>
|
||||
<format default="atomentry"/>
|
||||
<family>CMIS</family>
|
||||
</webscript>
|
@@ -1,9 +0,0 @@
|
||||
script:
|
||||
{
|
||||
// TODO: Handle direct posting of media
|
||||
|
||||
status.code = 400;
|
||||
status.message = "Posting of media resource not supported";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
@@ -26,8 +26,8 @@ PropertyCollection includes changeToken (if applicable to repository)<br>
|
||||
]]>
|
||||
</description>
|
||||
<!-- TODO: spec issue: returnVersion or returnCurrent? -->
|
||||
<url>/api/node/{store_type}/{store_id}/{id}?filter={filter?}&returnVersion={returnVersion?}&filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}?filter={filter?}&returnVersion={returnVersion?}&filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}?filter={filter?}&returnVersion={returnVersion?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}?filter={filter?}&returnVersion={returnVersion?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<!-- TODO: consider /api/node/{store_type}/{store_id}/{id}/{child_node} for atom relative paths -->
|
||||
<authentication>guest</authentication>
|
||||
<transaction allow="readonly"/>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
|
||||
|
||||
script:
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
|
||||
|
||||
script:
|
||||
|
@@ -0,0 +1,11 @@
|
||||
[#ftl]
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
|
||||
[#compress]
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
[#assign namespace][@nsLib.entryNS/][/#assign]
|
||||
|
||||
[@entryLib.folder node=node propfilter=filter includeallowableactions=includeAllowableActions includerelationships="none" ns=namespace/]
|
||||
|
||||
[/#compress]
|
@@ -1,25 +0,0 @@
|
||||
[#ftl]
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
[#import "/org/alfresco/cmis/atomfeed.lib.atom.ftl" as feedLib/]
|
||||
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
|
||||
[#compress]
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<feed [@nsLib.feedNS/]>
|
||||
|
||||
[@feedLib.node node "parent"/]
|
||||
[@parent node.parent returnToRoot/]
|
||||
|
||||
</feed>
|
||||
|
||||
[/#compress]
|
||||
|
||||
[#macro parent node recurse=false]
|
||||
[#if node?exists && node.isContainer]
|
||||
[@entryLib.folder node=node propfilter=filter includeallowableactions=includeAllowableActions includerelationships="none"/]
|
||||
[#if recurse && node.id != rootNode.id]
|
||||
[@parent node.parent true/]
|
||||
[/#if]
|
||||
[/#if]
|
||||
[/#macro]
|
@@ -1,35 +1,11 @@
|
||||
<webscript>
|
||||
<shortname>Retrieve Parent Folder (getFolderParent)</shortname>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Returns the parent folder object, and optionally all ancestor folder objects, above a specified folder object.<br>
|
||||
<br>
|
||||
Inputs:<br>
|
||||
<br>
|
||||
ID folderId: Source folder to get the parent or ancestors of<br>
|
||||
(Optional) String filter: Property filter specifying which properties to return.<br>
|
||||
(Optional) Boolean includeAllowableActions: False (default)<br>
|
||||
(Optional) Enum includeRelationships: none (default), source, target, both<br>
|
||||
(Optional) Bool returnToRoot: If false, return only the immediate parent of the folder. If true, return an ordered list of all ancestor folders from the specified folder to the root folder. Default=False<br>
|
||||
<br>
|
||||
Outputs:<br>
|
||||
<br>
|
||||
ResultSet resultSet of folders<br>
|
||||
Parent Folder ID + Specified properties<br>
|
||||
Can be a list of folders<br>
|
||||
<br>
|
||||
Notes:<br>
|
||||
<br>
|
||||
Output is ordered by ancestry, closest to specified folder first. However XML clients may not always respect ordering. For that reason repositories SHOULD always include the parent and the ObjectID property in the filter to allow re-ordering if necessary.<br>
|
||||
No parent folder is returned if the specified folder is the root folder.<br>
|
||||
If “includeAllowableActions” is TRUE, the repository will return the allowable actions for the current user for each parent or ancestor folder as part of the output.<br>
|
||||
"IncludeRelationships" indicates whether relationships are also returned for each returned object. If it is set to "source" or "target", relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to "both", relationships for which the returned object is either a source or a target will be returned. If it is set to "none", relationships are not returned.<br>
|
||||
]]>
|
||||
</description>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/parent?returnToRoot={returnToRoot}&filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/parent?returnToRoot={returnToRoot}&filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/parent?filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/parent?filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<authentication>guest</authentication>
|
||||
<transaction allow="readonly"/>
|
||||
<format default="atomfeed">argument</format>
|
||||
<format default="atomentry">argument</format>
|
||||
<family>CMIS</family>
|
||||
</webscript>
|
@@ -3,8 +3,8 @@ script:
|
||||
// locate node
|
||||
var pathSegments = url.match.split("/");
|
||||
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
||||
model.node = cmis.findNode(pathSegments[2], reference);
|
||||
if (model.node === null)
|
||||
var node = cmis.findNode(pathSegments[2], reference);
|
||||
if (node === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not found";
|
||||
@@ -12,6 +12,16 @@ script:
|
||||
break script;
|
||||
}
|
||||
|
||||
// locate parent
|
||||
if (node.id == cmis.defaultRootFolder.id)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " parent not found";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
model.node = node.parent;
|
||||
|
||||
// property filter
|
||||
model.filter = args[cmis.ARG_FILTER];
|
||||
if (model.filter === null)
|
||||
@@ -22,9 +32,4 @@ script:
|
||||
// include allowable actions
|
||||
var includeAllowableActions = args[cmis.ARG_INCLUDE_ALLOWABLE_ACTIONS];
|
||||
model.includeAllowableActions = (includeAllowableActions == "true" ? true : false);
|
||||
|
||||
// retrieve parent
|
||||
var returnToRoot = args[cmis.ARG_RETURN_TO_ROOT];
|
||||
model.returnToRoot = returnToRoot == "true" ? true : false;
|
||||
model.rootNode = cmis.defaultRootFolder;
|
||||
}
|
||||
|
@@ -9,17 +9,11 @@
|
||||
<feed [@nsLib.feedNS/]>
|
||||
|
||||
[@feedLib.node node "parents"/]
|
||||
[@parent node.parent returnToRoot/]
|
||||
|
||||
[#if parent?? && parent.isContainer]
|
||||
[@entryLib.folder node=parent propfilter=filter includeallowableactions=includeAllowableActions includerelationships="none"/]
|
||||
[/#if]
|
||||
|
||||
</feed>
|
||||
|
||||
[/#compress]
|
||||
|
||||
[#macro parent node recurse=false]
|
||||
[#if node?exists && node.isContainer]
|
||||
[@entryLib.folder node=node propfilter=filter includeallowableactions=includeAllowableActions includerelationships="none"/]
|
||||
[#if recurse && node.id != rootNode.id]
|
||||
[@parent node.parent true/]
|
||||
[/#if]
|
||||
[/#if]
|
||||
[/#macro]
|
||||
|
@@ -23,7 +23,6 @@ If “includeAllowableActions” is TRUE, the repository will return the allowab
|
||||
"IncludeRelationships" indicates whether relationships are also returned for each returned object. If it is set to "source" or "target", relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to "both", relationships for which the returned object is either a source or a target will be returned. If it is set to "none", relationships are not returned.<br>
|
||||
]]>
|
||||
</description>
|
||||
<!-- TODO: returnToRoot argument required? -->
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/parents?filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/parents?filter={filter?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<authentication>guest</authentication>
|
||||
|
@@ -3,8 +3,8 @@ script:
|
||||
// locate node
|
||||
var pathSegments = url.match.split("/");
|
||||
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
||||
model.node = cmis.findNode(pathSegments[2], reference);
|
||||
if (model.node === null)
|
||||
var node = cmis.findNode(pathSegments[2], reference);
|
||||
if (node === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not found";
|
||||
@@ -12,6 +12,10 @@ script:
|
||||
break script;
|
||||
}
|
||||
|
||||
// locate parent
|
||||
model.node = node;
|
||||
model.parent = node.parent;
|
||||
|
||||
// property filter
|
||||
model.filter = args[cmis.ARG_FILTER];
|
||||
if (model.filter === null)
|
||||
@@ -22,10 +26,4 @@ script:
|
||||
// include allowable actions
|
||||
var includeAllowableActions = args[cmis.ARG_INCLUDE_ALLOWABLE_ACTIONS];
|
||||
model.includeAllowableActions = (includeAllowableActions == "true" ? true : false);
|
||||
|
||||
// TODO: check returnToRoot is required for getDocumentParents
|
||||
// retrieve parent
|
||||
var returnToRoot = args[cmis.ARG_RETURN_TO_ROOT];
|
||||
model.returnToRoot = returnToRoot == "true" ? true : false;
|
||||
model.rootNode = cmis.defaultRootFolder;
|
||||
}
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
|
||||
|
||||
script:
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
|
||||
|
||||
script:
|
||||
|
@@ -1,3 +1,5 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
|
||||
script:
|
||||
{
|
||||
// relationship type
|
||||
@@ -8,7 +10,7 @@ script:
|
||||
status.setCode(400, "Relationship type " + relType + " unknown");
|
||||
break script;
|
||||
}
|
||||
if (model.relTypeDef.baseType.typeId != "relationship")
|
||||
if (model.relTypeDef.baseType.typeId != RELATIONSHIP_TYPE_ID)
|
||||
{
|
||||
status.setCode(400, "Type + " + relType + " is not a relationship type");
|
||||
break script;
|
||||
|
@@ -1,3 +1,5 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
|
||||
script:
|
||||
{
|
||||
// relationship type
|
||||
@@ -8,7 +10,7 @@ script:
|
||||
status.setCode(400, "Relationship type " + relType + " unknown");
|
||||
break script;
|
||||
}
|
||||
if (model.relTypeDef.baseType.typeId != "relationship")
|
||||
if (model.relTypeDef.baseType.typeId != RELATIONSHIP_TYPE_ID)
|
||||
{
|
||||
status.setCode(400, "Type + " + relType + " is not a relationship type");
|
||||
break script;
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/constants.lib.js">
|
||||
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
|
||||
|
||||
script:
|
||||
|
@@ -0,0 +1,10 @@
|
||||
<webscript>
|
||||
<shortname>Delete tree (deleteTree)</shortname>
|
||||
<description>
|
||||
</description>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/tree?continueOnFailure={continueOnFailure?}&unfileMultiFiledDocuments={unfileMultiFiledDocuments}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/tree?continueOnFailure={continueOnFailure?}&unfileMultiFiledDocuments={unfileMultiFiledDocuments}</url>
|
||||
<authentication>user</authentication>
|
||||
<format default="atomfeed"/>
|
||||
<family>CMIS</family>
|
||||
</webscript>
|
@@ -0,0 +1,38 @@
|
||||
script:
|
||||
{
|
||||
// locate node
|
||||
var pathSegments = url.match.split("/");
|
||||
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
||||
var node = cmis.findNode(pathSegments[2], reference);
|
||||
if (node === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not found";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
// NOTE: Ignore continueOnDelete as complete tree is deleted in single transaction
|
||||
// TODO: Throw error on invalid unfileMultiFiledDocuments error
|
||||
|
||||
if (!node.hasPermission("Delete"))
|
||||
{
|
||||
status.code = 403;
|
||||
status.message = "Permission to delete is denied";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
// TODO: Checked-out documents - are they automatically cancelled?
|
||||
|
||||
if (!node.remove())
|
||||
{
|
||||
status.code = 500;
|
||||
status.message = "Failed to delete node " + pathSegments[2] + " " + reference.join("/");
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
status.code = 204; // Success, but no response content
|
||||
status.redirect = true;
|
||||
}
|
@@ -0,0 +1,20 @@
|
||||
[#ftl]
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
[#import "/org/alfresco/cmis/atomfeed.lib.atom.ftl" as feedLib/]
|
||||
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
|
||||
[#compress]
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed [@nsLib.feedNS/]>
|
||||
|
||||
[@feedLib.node node "tree"/]
|
||||
|
||||
[#if depth > 0 || depth == -1]
|
||||
[#list cmischildren(node, "folders") as child]
|
||||
[@entryLib.foldertree node=child propfilter=propFilter includeallowableactions=includeAllowableActions includerelationships=false maxdepth=depth/]
|
||||
[/#list]
|
||||
[/#if]
|
||||
|
||||
</feed>
|
||||
|
||||
[/#compress]
|
@@ -0,0 +1,11 @@
|
||||
<webscript>
|
||||
<shortname>Retrieve folder tree (getFolderTree)</shortname>
|
||||
<description>
|
||||
</description>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/tree?filter={filter?}&depth={depth?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/tree?filter={filter?}&depth={depth?}&includeAllowableActions={includeAllowableActions?}</url>
|
||||
<authentication>guest</authentication>
|
||||
<transaction allow="readonly"/>
|
||||
<format default="atomfeed">argument</format>
|
||||
<family>CMIS</family>
|
||||
</webscript>
|
@@ -0,0 +1,37 @@
|
||||
script:
|
||||
{
|
||||
// locate node
|
||||
var pathSegments = url.match.split("/");
|
||||
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
||||
model.node = cmis.findNode(pathSegments[2], reference);
|
||||
if (model.node === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not found";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
if (model.node.isDocument)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not a folder";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
// property filter
|
||||
model.filter = args[cmis.ARG_FILTER];
|
||||
if (model.filter === null)
|
||||
{
|
||||
model.filter = "*";
|
||||
}
|
||||
|
||||
// depth
|
||||
var depth = args[cmis.ARG_DEPTH];
|
||||
model.depth = (depth === null) ? 1 : parseInt(depth);
|
||||
|
||||
// include allowable actions
|
||||
var includeAllowableActions = args[cmis.ARG_INCLUDE_ALLOWABLE_ACTIONS];
|
||||
model.includeAllowableActions = (includeAllowableActions == "true" ? true : false);
|
||||
}
|
@@ -5,6 +5,6 @@
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
[#assign namespace][@nsLib.entryNS/][/#assign]
|
||||
[@entryLib.typedef typedef=typedef includeProperties=true includeInheritedProperties=includeInheritedProperties ns=namespace/]
|
||||
[@entryLib.typedef typedefn=typedef includeProperties=true includeInheritedProperties=includeInheritedProperties ns=namespace/]
|
||||
|
||||
[/#compress]
|
||||
|
@@ -8,12 +8,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed [@nsLib.feedNS/]>
|
||||
|
||||
[@feedLib.generic "urn:uuid:type-${typedef.objectTypeId}-children" "Child types of ${typedef.objectTypeId}" "${person.properties.userName}"]
|
||||
[#assign title][#if type = "base"]Base Types[#else]Type ${type}[/#if][/#assign]
|
||||
[@feedLib.generic "urn:uuid:types-${type}" "${title}" "${person.properties.userName}"]
|
||||
[@pagingLib.links cursor/]
|
||||
[/@feedLib.generic]
|
||||
[@pagingLib.opensearch cursor/]
|
||||
|
||||
|
||||
[#list results as child]
|
||||
[@entryLib.typedef child returnPropertyDefinitions/]
|
||||
[/#list]
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<shortname>Retrieve list of child Types</shortname>
|
||||
<description>Retrieve list of all child Types</description>
|
||||
<url>/api/type/{typeId}/children?includePropertyDefinitions={includePropertyDefinitions?}&skipCount={skipCount?}&maxItems={maxItems?}</url>
|
||||
<url>/api/types?typeId={typeId?}&includePropertyDefinitions={includePropertyDefinitions?}&skipCount={skipCount?}&maxItems={maxItems?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction allow="readonly"/>
|
||||
<format default="atomfeed"/>
|
||||
|
@@ -1,21 +1,35 @@
|
||||
script:
|
||||
{
|
||||
// query type
|
||||
var typeId = url.templateArgs.typeId;
|
||||
model.typedef = cmis.queryType(typeId);
|
||||
if (model.typedef === null)
|
||||
var page = paging.createPageOrWindow(args);
|
||||
var typeId = args[cmis.ARG_TYPE_ID];
|
||||
if (typeId === null)
|
||||
{
|
||||
typeId = url.templateArgs[cmis.ARG_TYPE_ID];
|
||||
}
|
||||
if (typeId === null)
|
||||
{
|
||||
// query for base types
|
||||
var paged = cmis.queryTypeChildren(null, page);
|
||||
model.results = paged.results;
|
||||
model.cursor = paged.cursor;
|
||||
model.type = "base";
|
||||
}
|
||||
else
|
||||
{
|
||||
// query a specific type and its children
|
||||
var typedef = cmis.queryType(typeId);
|
||||
if (typedef === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Type " + typeId + " not found";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
// query type children
|
||||
var page = paging.createPageOrWindow(args);
|
||||
var paged = cmis.queryTypeHierarchy(model.typedef, false, page);
|
||||
var paged = cmis.queryTypeChildren(typedef, page);
|
||||
model.results = paged.results;
|
||||
model.cursor = paged.cursor;
|
||||
model.type = typeId;
|
||||
}
|
||||
|
||||
// handle property definitions
|
||||
var returnPropertyDefinitions = args[cmis.ARG_INCLUDE_PROPERTY_DEFINITIONS];
|
||||
|
@@ -2,20 +2,26 @@
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
[#import "/org/alfresco/cmis/atomfeed.lib.atom.ftl" as feedLib/]
|
||||
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
|
||||
[#import "/org/alfresco/paging.lib.atom.ftl" as pagingLib/]
|
||||
[#compress]
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed [@nsLib.feedNS/]>
|
||||
|
||||
[@feedLib.generic "urn:uuid:type-${typedef.objectTypeId}-descendants" "Descendant types of ${typedef.objectTypeId}" "${person.properties.userName}"]
|
||||
[@pagingLib.links cursor/]
|
||||
[/@feedLib.generic]
|
||||
[@pagingLib.opensearch cursor/]
|
||||
[#if depth > 0 || depth == -1]
|
||||
|
||||
[#list results as child]
|
||||
[@entryLib.typedef child returnPropertyDefinitions/]
|
||||
[#if typedef??]
|
||||
[@feedLib.typedef typedefn=typedef kind="descendants" author="${person.properties.userName}"/]
|
||||
[#list typedef.getSubTypes(false) as child]
|
||||
[@entryLib.typedef typedefn=child includeProperties=includePropertyDefinitions depth=1 maxdepth=depth/]
|
||||
[/#list]
|
||||
[#else]
|
||||
[@feedLib.generic "urn:uuid:types-all" "All Types" "${person.properties.userName}"/]
|
||||
[#list basetypes as child]
|
||||
[@entryLib.typedef typedefn=child includeProperties=includePropertyDefinitions depth=1 maxdepth=depth/]
|
||||
[/#list]
|
||||
[/#if]
|
||||
|
||||
[/#if]
|
||||
|
||||
</feed>
|
||||
|
||||
|
@@ -1,7 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Retrieve list of descendant Types</shortname>
|
||||
<description>Retrieve list of all descendant Types</description>
|
||||
<url>/api/type/{typeId}/descendants?includePropertyDefinitions={includePropertyDefinitions?}&skipCount={skipCount?}&maxItems={maxItems?}</url>
|
||||
<url>/api/type/{typeId}/descendants?includePropertyDefinitions={includePropertyDefinitions?}&depth={depth?}</url>
|
||||
<url>/api/types/descendants?typeId={typeId?}&includePropertyDefinitions={includePropertyDefinitions?}&depth={depth?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction allow="readonly"/>
|
||||
<format default="atomfeed"/>
|
||||
|
@@ -1,23 +1,37 @@
|
||||
script:
|
||||
{
|
||||
// query type
|
||||
var typeId = url.templateArgs.typeId;
|
||||
model.typedef = cmis.queryType(typeId);
|
||||
if (model.typedef === null)
|
||||
// extract type
|
||||
var typeId = args[cmis.ARG_TYPE_ID];
|
||||
if (typeId === null)
|
||||
{
|
||||
typeId = url.templateArgs[cmis.ARG_TYPE_ID];
|
||||
}
|
||||
|
||||
// descend from root
|
||||
if (typeId === null)
|
||||
{
|
||||
var paged = cmis.queryTypeChildren(null, paging.createUnlimitedPage());
|
||||
model.basetypes = paged.results;
|
||||
}
|
||||
else
|
||||
{
|
||||
// query a specific type
|
||||
var typedef = cmis.queryType(typeId);
|
||||
if (typedef === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Type " + typeId + " not found";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
model.typedef = typedef;
|
||||
}
|
||||
|
||||
// query type descendants
|
||||
var page = paging.createPageOrWindow(args);
|
||||
var paged = cmis.queryTypeHierarchy(model.typedef, true, page);
|
||||
model.results = paged.results;
|
||||
model.cursor = paged.cursor;
|
||||
// depth
|
||||
var depth = args[cmis.ARG_DEPTH];
|
||||
model.depth = (depth === null) ? 1 : parseInt(depth);
|
||||
|
||||
// handle property definitions
|
||||
var returnPropertyDefinitions = args[cmis.ARG_INCLUDE_PROPERTY_DEFINITIONS];
|
||||
model.returnPropertyDefinitions = returnPropertyDefinitions == "true" ? true : false;
|
||||
var includePropertyDefinitions = args[cmis.ARG_INCLUDE_PROPERTY_DEFINITIONS];
|
||||
model.includePropertyDefinitions = includePropertyDefinitions == "true" ? true : false;
|
||||
}
|
@@ -1,23 +0,0 @@
|
||||
[#ftl]
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
[#import "/org/alfresco/cmis/atomfeed.lib.atom.ftl" as feedLib/]
|
||||
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
|
||||
[#import "/org/alfresco/paging.lib.atom.ftl" as pagingLib/]
|
||||
[#compress]
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed [@nsLib.feedNS/]>
|
||||
|
||||
[#assign title][#if type = "all"]All Types[#else]Type ${type}[/#if][/#assign]
|
||||
[@feedLib.generic "urn:uuid:types-${type}" "${title}" "${person.properties.userName}"]
|
||||
[@pagingLib.links cursor/]
|
||||
[/@feedLib.generic]
|
||||
[@pagingLib.opensearch cursor/]
|
||||
|
||||
[#list results as child]
|
||||
[@entryLib.typedef child returnPropertyDefinitions/]
|
||||
[/#list]
|
||||
|
||||
</feed>
|
||||
|
||||
[/#compress]
|
@@ -1,34 +0,0 @@
|
||||
<webscript>
|
||||
<shortname>Retrieve list of all Types (getTypes)</shortname>
|
||||
<description>
|
||||
<![CDATA[
|
||||
Returns the list of all types in the repository.<br>
|
||||
<br>
|
||||
Inputs:<br>
|
||||
<br>
|
||||
(Optional) ID typeId: not set (default)<br>
|
||||
(Optional) Bool returnPropertyDefinitions: False (default)<br>
|
||||
(Optional) int maxItems: 0 = Repository-default number of items (Default)<br>
|
||||
(Optional) int skipCount: 0 = start (Default)<br>
|
||||
<br>
|
||||
Outputs:<br>
|
||||
<br>
|
||||
Result Set - List of types<br>
|
||||
Boolean hasMoreItems<br>
|
||||
The type attributes of each type will be returned<br>
|
||||
The property definitions of each type will be returned if returnPropertyDefinitions is TRUE.<br>
|
||||
<br>
|
||||
Notes:<br>
|
||||
<br>
|
||||
A repository may support a hierarchy of types but CMIS will return them as a flat list.<br>
|
||||
If provided, the input parameter “TypeId” specifies to only return the specific Object Type and its descendants. If not provided, all Object Types are to be returned.<br>
|
||||
If no “maxItems” value is provided, then the Repository will determine an appropriate number of items to return. How the Repository determines this value is repository-specific and opaque to CMIS.<br>
|
||||
If “returnPropertyDefinitions” is False, then the Repository will return only the “Attributes” of the Object Type Definition as specified in the “Object Type” section of the Data Model. Otherwise, property definitions will also be returned for each object type.
|
||||
]]>
|
||||
</description>
|
||||
<url>/api/types?type={type?}&includePropertyDefinitions={includePropertyDefinitions?}&skipCount={skipCount?}&maxItems={maxItems?}</url>
|
||||
<authentication>user</authentication>
|
||||
<transaction allow="readonly"/>
|
||||
<format default="atomfeed"/>
|
||||
<family>CMIS</family>
|
||||
</webscript>
|
@@ -1,36 +0,0 @@
|
||||
script:
|
||||
{
|
||||
// process paging
|
||||
var page = paging.createPageOrWindow(args);
|
||||
|
||||
// query types
|
||||
var typeId = args[cmis.ARG_TYPE];
|
||||
if (typeId === null)
|
||||
{
|
||||
// query all types
|
||||
var paged = cmis.queryTypes(page);
|
||||
model.results = paged.results;
|
||||
model.cursor = paged.cursor;
|
||||
model.type = "all";
|
||||
}
|
||||
else
|
||||
{
|
||||
// query a specific type and its descendants
|
||||
var typedef = cmis.queryType(typeId);
|
||||
if (typedef === null)
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Type " + typeId + " not found";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
var paged = cmis.queryTypeHierarchy(typedef, true, page);
|
||||
model.results = paged.results;
|
||||
model.cursor = paged.cursor;
|
||||
model.type = typeId;
|
||||
}
|
||||
|
||||
// handle property definitions
|
||||
var returnPropertyDefinitions = args[cmis.ARG_INCLUDE_PROPERTY_DEFINITIONS];
|
||||
model.returnPropertyDefinitions = (returnPropertyDefinitions == "true" ? true : false);
|
||||
}
|
@@ -102,6 +102,9 @@
|
||||
</property>
|
||||
<property name="templateObjects">
|
||||
<map merge="true">
|
||||
<entry key="cmisconstants">
|
||||
<bean class="org.alfresco.repo.cmis.rest.CMISConstantsFactory"/>
|
||||
</entry>
|
||||
<entry key="cmistype">
|
||||
<bean class="org.alfresco.repo.cmis.rest.CMISTypeDefinitionMethod">
|
||||
<constructor-arg><ref bean="CMISDictionaryService"/></constructor-arg>
|
||||
|
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* Copyright (C) 2005-2008 Alfresco Software Limited.
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
* As a special exception to the terms and conditions of version 2.0 of
|
||||
* the GPL, you may redistribute this Program in connection with Free/Libre
|
||||
* and Open Source Software ("FLOSS") applications as described in Alfresco's
|
||||
* FLOSS exception. You should have recieved a copy of the text describing
|
||||
* the FLOSS exception, and it is also available here:
|
||||
* http://www.alfresco.com/legal/licensing"
|
||||
*/
|
||||
package org.alfresco.repo.cmis.rest;
|
||||
|
||||
import org.alfresco.abdera.ext.cmis.CMISConstants;
|
||||
import org.springframework.beans.factory.FactoryBean;
|
||||
|
||||
import freemarker.ext.beans.BeansWrapper;
|
||||
import freemarker.template.TemplateHashModel;
|
||||
|
||||
|
||||
/**
|
||||
* CMISConstants factory for allowing use of constants in Freemarker
|
||||
*/
|
||||
public class CMISConstantsFactory implements FactoryBean
|
||||
{
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.beans.factory.FactoryBean#getObject()
|
||||
*/
|
||||
public Object getObject()
|
||||
throws Exception
|
||||
{
|
||||
BeansWrapper wrapper = BeansWrapper.getDefaultInstance();
|
||||
TemplateHashModel staticModels = wrapper.getStaticModels();
|
||||
return staticModels.get(CMISConstants.class.getName());
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.beans.factory.FactoryBean#getObjectType()
|
||||
*/
|
||||
public Class getObjectType()
|
||||
{
|
||||
return TemplateHashModel.class;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.beans.factory.FactoryBean#isSingleton()
|
||||
*/
|
||||
public boolean isSingleton()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
@@ -87,7 +87,6 @@ public class CMISScript extends BaseScopableProcessorExtension
|
||||
public static final String ARG_REMOVE_FROM = "removeFrom";
|
||||
public static final String ARG_RELATIONSHIP_TYPE = "relationshipType";
|
||||
public static final String ARG_REPOSITORY_ID = "repositoryId";
|
||||
public static final String ARG_RETURN_TO_ROOT = "returnToRoot";
|
||||
public static final String ARG_RETURN_VERSION = "returnVersion";
|
||||
public static final String ARG_SKIP_COUNT = "skipCount";
|
||||
public static final String ARG_THIS_VERSION = "thisVersion";
|
||||
@@ -392,18 +391,19 @@ public class CMISScript extends BaseScopableProcessorExtension
|
||||
}
|
||||
|
||||
/**
|
||||
* Query for all Type Definitions
|
||||
* Query for child types (of a given type), or the base types (if no type given)
|
||||
*
|
||||
* @param typeDef
|
||||
* @param page
|
||||
* @return paged result set of types
|
||||
* @return
|
||||
*/
|
||||
public PagedResults queryTypes(Page page)
|
||||
public PagedResults queryTypeChildren(CMISTypeDefinition typeDef, Page page)
|
||||
{
|
||||
Collection<CMISTypeDefinition> typeDefs = cmisDictionaryService.getAllTypes();
|
||||
Cursor cursor = paging.createCursor(typeDefs.size(), page);
|
||||
Collection<CMISTypeDefinition> children = (typeDef == null) ? cmisDictionaryService.getBaseTypes() : typeDef.getSubTypes(false);
|
||||
Cursor cursor = paging.createCursor(children.size(), page);
|
||||
|
||||
// skip
|
||||
Iterator<CMISTypeDefinition> iterTypeDefs = typeDefs.iterator();
|
||||
Iterator<CMISTypeDefinition> iterTypeDefs = children.iterator();
|
||||
for (int i = 0; i < cursor.getStartRow(); i++)
|
||||
{
|
||||
iterTypeDefs.next();
|
||||
@@ -426,28 +426,28 @@ public class CMISScript extends BaseScopableProcessorExtension
|
||||
* @param page
|
||||
* @return paged result set of types
|
||||
*/
|
||||
public PagedResults queryTypeHierarchy(CMISTypeDefinition typeDef, boolean descendants, Page page)
|
||||
{
|
||||
Collection<CMISTypeDefinition> subTypes = typeDef.getSubTypes(descendants);
|
||||
Cursor cursor = paging.createCursor(subTypes.size(), page);
|
||||
|
||||
// skip
|
||||
Iterator<CMISTypeDefinition> iterSubTypes = subTypes.iterator();
|
||||
for (int i = 0; i < cursor.getStartRow(); i++)
|
||||
{
|
||||
iterSubTypes.next();
|
||||
}
|
||||
|
||||
// get types for page
|
||||
CMISTypeDefinition[] types = new CMISTypeDefinition[cursor.getRowCount()];
|
||||
for (int i = cursor.getStartRow(); i <= cursor.getEndRow(); i++)
|
||||
{
|
||||
types[i - cursor.getStartRow()] = iterSubTypes.next();
|
||||
}
|
||||
|
||||
PagedResults results = paging.createPagedResults(types, cursor);
|
||||
return results;
|
||||
}
|
||||
// public PagedResults queryTypeHierarchy(CMISTypeDefinition typeDef, boolean descendants, Page page)
|
||||
// {
|
||||
// Collection<CMISTypeDefinition> subTypes = typeDef.getSubTypes(descendants);
|
||||
// Cursor cursor = paging.createCursor(subTypes.size(), page);
|
||||
//
|
||||
// // skip
|
||||
// Iterator<CMISTypeDefinition> iterSubTypes = subTypes.iterator();
|
||||
// for (int i = 0; i < cursor.getStartRow(); i++)
|
||||
// {
|
||||
// iterSubTypes.next();
|
||||
// }
|
||||
//
|
||||
// // get types for page
|
||||
// CMISTypeDefinition[] types = new CMISTypeDefinition[cursor.getRowCount()];
|
||||
// for (int i = cursor.getStartRow(); i <= cursor.getEndRow(); i++)
|
||||
// {
|
||||
// types[i - cursor.getStartRow()] = iterSubTypes.next();
|
||||
// }
|
||||
//
|
||||
// PagedResults results = paging.createPagedResults(types, cursor);
|
||||
// return results;
|
||||
// }
|
||||
|
||||
/**
|
||||
* Query for a Type Definition given a CMIS Type Id
|
||||
|
@@ -29,7 +29,6 @@ import java.util.List;
|
||||
import org.alfresco.cmis.CMISDictionaryService;
|
||||
import org.alfresco.cmis.CMISScope;
|
||||
import org.alfresco.cmis.CMISTypeDefinition;
|
||||
import org.alfresco.cmis.mapping.CMISMapping;
|
||||
import org.alfresco.repo.template.TemplateAssociation;
|
||||
import org.alfresco.repo.template.TemplateNode;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
@@ -94,6 +93,10 @@ public class CMISTypeDefinitionMethod implements TemplateMethodModelEx
|
||||
{
|
||||
nodeType = (QName)wrapped;
|
||||
}
|
||||
else if (wrapped instanceof CMISTypeDefinition)
|
||||
{
|
||||
result = ((CMISTypeDefinition)wrapped).getBaseType();
|
||||
}
|
||||
}
|
||||
|
||||
// convert to CMIS type
|
||||
|
@@ -34,6 +34,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.activation.MimeType;
|
||||
import javax.activation.MimeTypeParseException;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
import javax.xml.transform.dom.DOMSource;
|
||||
import javax.xml.validation.Validator;
|
||||
@@ -444,6 +445,70 @@ public class BaseCMISWebScriptTest extends BaseWebScriptTest
|
||||
return rootHREF;
|
||||
}
|
||||
|
||||
protected Link getLink(Entry entry, String rel, String... matchesMimetypes)
|
||||
{
|
||||
List<Link> links = entry.getLinks(rel);
|
||||
if (links != null)
|
||||
{
|
||||
for (Link link : links)
|
||||
{
|
||||
MimeType mimetype = link.getMimeType();
|
||||
if (matchesMimetypes.length == 0)
|
||||
{
|
||||
if (links.size() == 1)
|
||||
{
|
||||
// take the single link regardless of type
|
||||
return link;
|
||||
}
|
||||
else if (mimetype == null)
|
||||
{
|
||||
// take the link if it doesn't have a type
|
||||
return link;
|
||||
}
|
||||
}
|
||||
for (String matchesMimetype : matchesMimetypes)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (mimetype != null && mimetype.match(matchesMimetype))
|
||||
{
|
||||
return link;
|
||||
}
|
||||
}
|
||||
catch (MimeTypeParseException e)
|
||||
{
|
||||
// note: not a match
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
protected Link getChildrenLink(Entry entry)
|
||||
{
|
||||
return getLink(entry, CMISConstants.REL_DOWN, CMISConstants.MIMETYPE_FEED);
|
||||
}
|
||||
|
||||
protected Link getDescendantsLink(Entry entry)
|
||||
{
|
||||
return getLink(entry, CMISConstants.REL_DOWN, CMISConstants.MIMETYPE_CMISTREE);
|
||||
}
|
||||
|
||||
protected Link getFolderTreeLink(Entry entry)
|
||||
{
|
||||
return getLink(entry, CMISConstants.REL_FOLDER_TREE, CMISConstants.MIMETYPE_CMISTREE);
|
||||
}
|
||||
|
||||
protected Link getObjectParentsLink(Entry entry)
|
||||
{
|
||||
return getLink(entry, CMISConstants.REL_UP, CMISConstants.MIMETYPE_FEED);
|
||||
}
|
||||
|
||||
protected Link getFolderParentLink(Entry entry)
|
||||
{
|
||||
return getLink(entry, CMISConstants.REL_UP, CMISConstants.MIMETYPE_ENTRY);
|
||||
}
|
||||
|
||||
protected Entry createFolder(IRI parent, String name)
|
||||
throws Exception
|
||||
@@ -464,7 +529,7 @@ public class BaseCMISWebScriptTest extends BaseWebScriptTest
|
||||
assertEquals(name, entry.getTitle());
|
||||
//assertEquals(name + " (summary)", entry.getSummary());
|
||||
CMISObject object = entry.getExtension(CMISConstants.OBJECT);
|
||||
assertEquals("folder", object.getBaseType().getStringValue());
|
||||
assertEquals(CMISConstants.TYPE_FOLDER, object.getBaseTypeId().getStringValue());
|
||||
String testFolderHREF = (String)res.getHeader("Location");
|
||||
assertNotNull(testFolderHREF);
|
||||
return entry;
|
||||
@@ -495,7 +560,7 @@ public class BaseCMISWebScriptTest extends BaseWebScriptTest
|
||||
//assertEquals(name + " (summary)", entry.getSummary());
|
||||
assertNotNull(entry.getContentSrc());
|
||||
CMISObject object = entry.getExtension(CMISConstants.OBJECT);
|
||||
assertEquals("document", object.getBaseType().getStringValue());
|
||||
assertEquals(CMISConstants.TYPE_DOCUMENT, object.getBaseTypeId().getStringValue());
|
||||
String testFileHREF = (String)res.getHeader("Location");
|
||||
assertNotNull(testFileHREF);
|
||||
return entry;
|
||||
@@ -519,7 +584,7 @@ public class BaseCMISWebScriptTest extends BaseWebScriptTest
|
||||
Entry entry = abdera.parseEntry(new StringReader(xml), null);
|
||||
assertNotNull(entry);
|
||||
CMISObject object = entry.getExtension(CMISConstants.OBJECT);
|
||||
assertEquals("relationship", object.getBaseType().getStringValue());
|
||||
assertEquals(CMISConstants.TYPE_RELATIONSHIP, object.getBaseTypeId().getStringValue());
|
||||
assertEquals(targetId, object.getTargetId().getStringValue());
|
||||
String testFileHREF = (String)res.getHeader("Location");
|
||||
assertNotNull(testFileHREF);
|
||||
@@ -574,7 +639,7 @@ public class BaseCMISWebScriptTest extends BaseWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testRootFolder = getTestRootFolder();
|
||||
Link testsChildrenLink = testRootFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link testsChildrenLink = getChildrenLink(testRootFolder);
|
||||
return createFolder(testsChildrenLink.getHref(), "Test Run " + System.currentTimeMillis());
|
||||
}
|
||||
|
||||
@@ -582,7 +647,7 @@ public class BaseCMISWebScriptTest extends BaseWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testRunFolder = getTestRunFolder();
|
||||
Link childrenLink = testRunFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testRunFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry testFolder = createFolder(childrenLink.getHref(), name + " " + System.currentTimeMillis());
|
||||
return testFolder;
|
||||
|
@@ -79,10 +79,10 @@ public class BulkCreateSystemTest
|
||||
|
||||
CMISObject cmisObject = entry.addExtension(CMISConstants.OBJECT);
|
||||
CMISProperties properties = cmisObject.addExtension(CMISConstants.PROPERTIES);
|
||||
CMISProperty property = properties.addExtension(CMISConstants.PROPERTY_STRING);
|
||||
property.setAttributeValue(CMISConstants.PROPERTY_NAME, CMISConstants.PROP_OBJECT_TYPE_ID);
|
||||
CMISProperty property = properties.addExtension(CMISConstants.ID_PROPERTY);
|
||||
property.setAttributeValue(CMISConstants.PROPERTY_ID, CMISConstants.PROP_OBJECT_TYPE_ID);
|
||||
Element value = property.addExtension(CMISConstants.PROPERTY_VALUE);
|
||||
value.setText("folder");
|
||||
value.setText("cmis:Folder");
|
||||
|
||||
ClientResponse resp = client.post(parent, entry);
|
||||
|
||||
@@ -116,8 +116,8 @@ public class BulkCreateSystemTest
|
||||
|
||||
CMISObject cmisObject = entry.addExtension(CMISConstants.OBJECT);
|
||||
CMISProperties properties = cmisObject.addExtension(CMISConstants.PROPERTIES);
|
||||
CMISProperty property = properties.addExtension(CMISConstants.PROPERTY_STRING);
|
||||
property.setAttributeValue(CMISConstants.PROPERTY_NAME, CMISConstants.PROP_OBJECT_TYPE_ID);
|
||||
CMISProperty property = properties.addExtension(CMISConstants.ID_PROPERTY);
|
||||
property.setAttributeValue(CMISConstants.PROPERTY_ID, CMISConstants.PROP_OBJECT_TYPE_ID);
|
||||
Element value = property.addExtension(CMISConstants.PROPERTY_VALUE);
|
||||
value.setText("document");
|
||||
|
||||
|
@@ -82,7 +82,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testCreateCustomFolder");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -93,8 +93,8 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertEquals(entriesBefore +1, entriesAfter);
|
||||
Entry entry = feedFolderAfter.getEntry(folder.getId().toString());
|
||||
CMISObject object = entry.getExtension(CMISConstants.OBJECT);
|
||||
assertEquals("F/cmiscustom_folder", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom_folderprop_string");
|
||||
assertEquals("F/cmiscustom:folder", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom:folderprop_string");
|
||||
assertNotNull(customProp);
|
||||
assertEquals("custom string", customProp.getStringValue());
|
||||
}
|
||||
@@ -103,7 +103,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testCreateCustomDocument");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -114,11 +114,11 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertEquals(entriesBefore +1, entriesAfter);
|
||||
Entry entry = feedFolderAfter.getEntry(document.getId().toString());
|
||||
CMISObject object = entry.getExtension(CMISConstants.OBJECT);
|
||||
assertEquals("D/cmiscustom_document", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom_docprop_string");
|
||||
assertEquals("D/cmiscustom:document", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom:docprop_string");
|
||||
assertNotNull(customProp);
|
||||
assertEquals("custom string", customProp.getStringValue());
|
||||
CMISProperty multiProp = object.getProperties().find("cmiscustom_docprop_boolean_multi");
|
||||
CMISProperty multiProp = object.getProperties().find("cmiscustom:docprop_boolean_multi");
|
||||
assertNotNull(multiProp);
|
||||
List<Object> multiValues = multiProp.getNativeValues();
|
||||
assertNotNull(multiValues);
|
||||
@@ -132,7 +132,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for update
|
||||
Entry testFolder = createTestFolder("testUpdatePatchCustomDocument");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for update
|
||||
Entry document = createDocument(childrenLink.getHref(), "testUpdatePatchCustomDocument", "/org/alfresco/repo/cmis/rest/test/createcustomdocument.atomentry.xml");
|
||||
@@ -151,11 +151,11 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertEquals(document.getPublished(), updated.getPublished());
|
||||
assertEquals("Updated Title " + guid, updated.getTitle());
|
||||
CMISObject object = updated.getExtension(CMISConstants.OBJECT);
|
||||
assertEquals("D/cmiscustom_document", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom_docprop_string");
|
||||
assertEquals("D/cmiscustom:document", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom:docprop_string");
|
||||
assertNotNull(customProp);
|
||||
assertEquals("custom " + guid, customProp.getStringValue());
|
||||
CMISProperty multiProp = object.getProperties().find("cmiscustom_docprop_boolean_multi");
|
||||
CMISProperty multiProp = object.getProperties().find("cmiscustom:docprop_boolean_multi");
|
||||
assertNotNull(multiProp);
|
||||
List<Object> multiValues = multiProp.getNativeValues();
|
||||
assertNotNull(multiValues);
|
||||
@@ -169,7 +169,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for update
|
||||
Entry testFolder = createTestFolder("testUpdatePutCustomDocument");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for update
|
||||
Entry document = createDocument(childrenLink.getHref(), "testUpdatePutCustomDocument", "/org/alfresco/repo/cmis/rest/test/createcustomdocument.atomentry.xml");
|
||||
@@ -188,11 +188,11 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertEquals(document.getPublished(), updated.getPublished());
|
||||
assertEquals("Updated Title " + guid, updated.getTitle());
|
||||
CMISObject object = updated.getExtension(CMISConstants.OBJECT);
|
||||
assertEquals("D/cmiscustom_document", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom_docprop_string");
|
||||
assertEquals("D/cmiscustom:document", object.getObjectTypeId().getStringValue());
|
||||
CMISProperty customProp = object.getProperties().find("cmiscustom:docprop_string");
|
||||
assertNotNull(customProp);
|
||||
assertEquals("custom " + guid, customProp.getStringValue());
|
||||
CMISProperty multiProp = object.getProperties().find("cmiscustom_docprop_boolean_multi");
|
||||
CMISProperty multiProp = object.getProperties().find("cmiscustom:docprop_boolean_multi");
|
||||
assertNotNull(multiProp);
|
||||
List<Object> multiValues = multiProp.getNativeValues();
|
||||
assertNotNull(multiValues);
|
||||
@@ -206,7 +206,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for deletes
|
||||
Entry testFolder = createTestFolder("testDeleteCustom");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
int entriesBefore = children.getEntries().size();
|
||||
|
||||
@@ -241,7 +241,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
// retrieve test folder for query
|
||||
Entry testFolder = createTestFolder("testQueryCustom");
|
||||
CMISObject testFolderObject = testFolder.getExtension(CMISConstants.OBJECT);
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create documents to query
|
||||
// Standard root document
|
||||
@@ -287,10 +287,10 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertEquals(document2Object.getObjectTypeId().getStringValue(), result1.getObjectTypeId().getStringValue());
|
||||
CMISProperties result1properties = result1.getProperties();
|
||||
assertNotNull(result1properties);
|
||||
CMISProperty result1property = result1properties.find("cmiscustom_docprop_string");
|
||||
CMISProperty result1property = result1properties.find("cmiscustom:docprop_string");
|
||||
assertNotNull(result1property);
|
||||
assertEquals("custom string", result1property.getStringValue());
|
||||
CMISProperty result1multiproperty = result1properties.find("cmiscustom_docprop_boolean_multi");
|
||||
CMISProperty result1multiproperty = result1properties.find("cmiscustom:docprop_boolean_multi");
|
||||
assertNotNull(result1multiproperty);
|
||||
List<Object> result1multiValues = result1multiproperty.getNativeValues();
|
||||
assertNotNull(result1multiValues);
|
||||
@@ -306,10 +306,10 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertEquals(document3Object.getObjectTypeId().getStringValue(), result2.getObjectTypeId().getStringValue());
|
||||
CMISProperties result2properties = result2.getProperties();
|
||||
assertNotNull(result2properties);
|
||||
CMISProperty result2property = result2properties.find("cmiscustom_docprop_string");
|
||||
CMISProperty result2property = result2properties.find("cmiscustom:docprop_string");
|
||||
assertNotNull(result2property);
|
||||
assertEquals("custom string", result2property.getStringValue());
|
||||
CMISProperty result2multiproperty = result1properties.find("cmiscustom_docprop_boolean_multi");
|
||||
CMISProperty result2multiproperty = result1properties.find("cmiscustom:docprop_boolean_multi");
|
||||
assertNotNull(result2multiproperty);
|
||||
List<Object> result2multiValues = result2multiproperty.getNativeValues();
|
||||
assertNotNull(result2multiValues);
|
||||
@@ -323,7 +323,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testCreateCustomRelationship");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -344,7 +344,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(targetObject);
|
||||
String targetId = targetObject.getObjectId().getStringValue();
|
||||
assertNotNull(targetId);
|
||||
Entry rel = createRelationship(relsLink.getHref(), "R/cmiscustom_assoc", targetId);
|
||||
Entry rel = createRelationship(relsLink.getHref(), "R/cmiscustom:assoc", targetId);
|
||||
assertNotNull(rel);
|
||||
|
||||
// check created relationship
|
||||
@@ -354,11 +354,11 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(sourceId);
|
||||
CMISObject relObject = rel.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(relObject);
|
||||
assertEquals("R/cmiscustom_assoc", relObject.getObjectTypeId().getStringValue());
|
||||
assertEquals("R/cmiscustom:assoc", relObject.getObjectTypeId().getStringValue());
|
||||
assertEquals(sourceId, relObject.getSourceId().getStringValue());
|
||||
assertEquals(targetId, relObject.getTargetId().getStringValue());
|
||||
assertEquals(source.getSelfLink().getHref(), rel.getLink(CMISConstants.REL_SOURCE).getHref());
|
||||
assertEquals(target.getSelfLink().getHref(), rel.getLink(CMISConstants.REL_TARGET).getHref());
|
||||
assertEquals(source.getSelfLink().getHref(), rel.getLink(CMISConstants.REL_ASSOC_SOURCE).getHref());
|
||||
assertEquals(target.getSelfLink().getHref(), rel.getLink(CMISConstants.REL_ASSOC_TARGET).getHref());
|
||||
|
||||
// check relationships for created item
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
@@ -372,7 +372,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testGetCustomRelationship");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -390,7 +390,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(targetObject);
|
||||
String targetId = targetObject.getObjectId().getStringValue();
|
||||
assertNotNull(targetId);
|
||||
Entry rel = createRelationship(relsLink.getHref(), "R/cmiscustom_assoc", targetId);
|
||||
Entry rel = createRelationship(relsLink.getHref(), "R/cmiscustom:assoc", targetId);
|
||||
assertNotNull(rel);
|
||||
|
||||
// get created relationship
|
||||
@@ -401,15 +401,15 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertEquals(relObject.getObjectTypeId().getStringValue(), relEntryObject.getObjectTypeId().getStringValue());
|
||||
assertEquals(relObject.getSourceId().getStringValue(), relEntryObject.getSourceId().getStringValue());
|
||||
assertEquals(relObject.getTargetId().getStringValue(), relEntryObject.getTargetId().getStringValue());
|
||||
assertEquals(source.getSelfLink().getHref(), relEntry.getLink(CMISConstants.REL_SOURCE).getHref());
|
||||
assertEquals(target.getSelfLink().getHref(), relEntry.getLink(CMISConstants.REL_TARGET).getHref());
|
||||
assertEquals(source.getSelfLink().getHref(), relEntry.getLink(CMISConstants.REL_ASSOC_SOURCE).getHref());
|
||||
assertEquals(target.getSelfLink().getHref(), relEntry.getLink(CMISConstants.REL_ASSOC_TARGET).getHref());
|
||||
}
|
||||
|
||||
public void testDeleteRelationship()
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testDeleteCustomRelationship");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -430,7 +430,7 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(targetObject);
|
||||
String targetId = targetObject.getObjectId().getStringValue();
|
||||
assertNotNull(targetId);
|
||||
Entry rel = createRelationship(relsLink.getHref(), "R/cmiscustom_assoc", targetId);
|
||||
Entry rel = createRelationship(relsLink.getHref(), "R/cmiscustom:assoc", targetId);
|
||||
assertNotNull(rel);
|
||||
|
||||
// check relationships for created item
|
||||
|
@@ -25,6 +25,7 @@
|
||||
package org.alfresco.repo.cmis.rest.test;
|
||||
|
||||
import java.io.StringReader;
|
||||
import java.io.StringWriter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
@@ -34,6 +35,7 @@ import java.util.Set;
|
||||
|
||||
import org.alfresco.abdera.ext.cmis.CMISAllowableAction;
|
||||
import org.alfresco.abdera.ext.cmis.CMISAllowableActions;
|
||||
import org.alfresco.abdera.ext.cmis.CMISChildren;
|
||||
import org.alfresco.abdera.ext.cmis.CMISConstants;
|
||||
import org.alfresco.abdera.ext.cmis.CMISObject;
|
||||
import org.alfresco.util.GUID;
|
||||
@@ -90,7 +92,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testCreateDocument");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -110,7 +112,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testCreateAtomEntry");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -130,7 +132,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testCreateFolder");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
assertNotNull(children);
|
||||
@@ -143,26 +145,6 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(entry);
|
||||
}
|
||||
|
||||
public void testCreateDocumentViaDescendants()
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testCreateDocumentViaDescendants");
|
||||
Link descendantsLink = testFolder.getLink(CMISConstants.REL_DESCENDANTS);
|
||||
assertNotNull(descendantsLink);
|
||||
Feed descendants = getFeed(descendantsLink.getHref());
|
||||
assertNotNull(descendants);
|
||||
int entriesBefore = descendants.getEntries().size();
|
||||
Entry document = createDocument(descendants.getSelfLink().getHref(), "testCreateDocumentViaDescendants");
|
||||
Response documentContentRes = sendRequest(new GetRequest(document.getContentSrc().toString()), 200);
|
||||
String resContent = documentContentRes.getContentAsString();
|
||||
assertEquals(document.getTitle(), resContent);
|
||||
Feed feedFolderAfter = getFeed(descendantsLink.getHref());
|
||||
int entriesAfter = feedFolderAfter.getEntries().size();
|
||||
assertEquals(entriesBefore +1, entriesAfter);
|
||||
Entry entry = feedFolderAfter.getEntry(document.getId().toString());
|
||||
assertNotNull(entry);
|
||||
}
|
||||
|
||||
public void testGet()
|
||||
throws Exception
|
||||
{
|
||||
@@ -175,7 +157,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertEquals(testFolder.getSummary(), testFolderFromGet.getSummary());
|
||||
|
||||
// get document
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry testDocument = createDocument(childrenLink.getHref(), "testGet");
|
||||
assertNotNull(testDocument);
|
||||
@@ -194,7 +176,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// create multiple children
|
||||
Entry testFolder = createTestFolder("testGetChildren");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "testGetChildren1");
|
||||
assertNotNull(document1);
|
||||
@@ -229,7 +211,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
// create multiple children
|
||||
Set<IRI> docIds = new HashSet<IRI>();
|
||||
Entry testFolder = createTestFolder("testGetChildrenPaging");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
for (int i = 0; i < 15; i++)
|
||||
{
|
||||
@@ -273,7 +255,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// create multiple children
|
||||
Entry testFolder = createTestFolder("testChildrenTypeFilter");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry document = createDocument(childrenLink.getHref(), "testChildren1");
|
||||
assertNotNull(document);
|
||||
@@ -318,7 +300,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// create children
|
||||
Entry testFolder = createTestFolder("testGetChildrenPropertyFilter");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "testGetChildrenPropertyFilter1");
|
||||
assertNotNull(document1);
|
||||
@@ -337,7 +319,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// get children with object_id only
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
args.put("filter", "ObjectId");
|
||||
args.put("filter", CMISConstants.PROP_OBJECT_ID);
|
||||
Feed children = getFeed(childrenLink.getHref(), args);
|
||||
for (Entry entry : children.getEntries())
|
||||
{
|
||||
@@ -353,13 +335,13 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// create multiple nested children
|
||||
Entry testFolder = createTestFolder("testGetDescendants");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "testGetDescendants1");
|
||||
assertNotNull(document1);
|
||||
Entry folder2 = createFolder(childrenLink.getHref(), "testGetDescendants2");
|
||||
assertNotNull(folder2);
|
||||
Link childrenLink2 = folder2.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink2 = getChildrenLink(folder2);
|
||||
assertNotNull(childrenLink2);
|
||||
Entry document3 = createDocument(childrenLink2.getHref(), "testGetDescendants3");
|
||||
assertNotNull(document3);
|
||||
@@ -368,7 +350,9 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
// get descendants (depth = 1, equivalent to getChildren)
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
args.put("depth", "1");
|
||||
Link descendantsLink = testFolder.getLink(CMISConstants.REL_DESCENDANTS);
|
||||
Link descendantsLink = getDescendantsLink(testFolder);
|
||||
assertNotNull(descendantsLink);
|
||||
|
||||
Feed descendants = getFeed(descendantsLink.getHref(), args);
|
||||
assertNotNull(descendants);
|
||||
assertEquals(2, descendants.getEntries().size());
|
||||
@@ -376,101 +360,119 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(descendants.getEntry(folder2.getId().toString()));
|
||||
|
||||
Entry getFolder2 = descendants.getEntry(folder2.getId().toString());
|
||||
Entry getFolder2Child = getFolder2.getFirstChild(CMISConstants.NESTED_ENTRY);
|
||||
assertNull(getFolder2Child);
|
||||
CMISChildren folder2Children = getFolder2.getFirstChild(CMISConstants.CHILDREN);
|
||||
assertNull(folder2Children);
|
||||
}
|
||||
|
||||
{
|
||||
// get nested children
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
args.put("depth", "2");
|
||||
Link descendantsLink = testFolder.getLink(CMISConstants.REL_DESCENDANTS);
|
||||
Link descendantsLink = getDescendantsLink(testFolder);
|
||||
Feed descendants = getFeed(descendantsLink.getHref(), args);
|
||||
assertNotNull(descendants);
|
||||
assertEquals(2, descendants.getEntries().size());
|
||||
assertNotNull(descendants.getEntry(document1.getId().toString()));
|
||||
assertNotNull(descendants.getEntry(folder2.getId().toString()));
|
||||
|
||||
Entry getFolder2 = descendants.getEntry(folder2.getId().toString());
|
||||
List<Entry> getFolder2Children = getFolder2.getExtensions(CMISConstants.NESTED_ENTRY);
|
||||
assertNotNull(getFolder2Children);
|
||||
assertEquals(1, getFolder2Children.size());
|
||||
Entry getFolder2Child = getFolder2Children.get(0);
|
||||
CMISChildren folder2Children = getFolder2.getFirstChild(CMISConstants.CHILDREN);
|
||||
assertNotNull(folder2Children);
|
||||
assertEquals(1, folder2Children.size());
|
||||
Entry getFolder2Child = folder2Children.getEntries().get(0);
|
||||
assertEquals(document3.getId(), getFolder2Child.getId());
|
||||
assertEquals(document3.getEditLink().getHref().toString(), getFolder2Child.getEditLink().getHref().toString());
|
||||
}
|
||||
}
|
||||
|
||||
public void testGetFolderTree()
|
||||
throws Exception
|
||||
{
|
||||
// create multiple nested children
|
||||
Entry testFolder = createTestFolder("testGetFolderTree");
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "testGetFolderTree1");
|
||||
assertNotNull(document1);
|
||||
Entry folder2 = createFolder(childrenLink.getHref(), "testGetFolderTree2");
|
||||
assertNotNull(folder2);
|
||||
Link childrenLink2 = getChildrenLink(folder2);
|
||||
assertNotNull(childrenLink2);
|
||||
Entry folder3 = createFolder(childrenLink2.getHref(), "testGetFolderTree2");
|
||||
assertNotNull(folder3);
|
||||
Entry document4 = createDocument(childrenLink2.getHref(), "testGetFolderTree3");
|
||||
assertNotNull(document4);
|
||||
|
||||
{
|
||||
// get tree (depth = 1, equivalent to getChildren)
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
args.put("depth", "1");
|
||||
Link treeLink = getFolderTreeLink(testFolder);
|
||||
assertNotNull(treeLink);
|
||||
|
||||
Feed tree = getFeed(treeLink.getHref(), args);
|
||||
assertNotNull(tree);
|
||||
assertEquals(1, tree.getEntries().size());
|
||||
assertNotNull(tree.getEntry(folder2.getId().toString()));
|
||||
assertNull(tree.getEntry(document1.getId().toString()));
|
||||
|
||||
Entry getFolder2 = tree.getEntry(folder2.getId().toString());
|
||||
CMISChildren folder2Children = getFolder2.getFirstChild(CMISConstants.CHILDREN);
|
||||
assertNull(folder2Children);
|
||||
}
|
||||
|
||||
{
|
||||
// get full tree
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
args.put("depth", "-1");
|
||||
Link treeLink = getFolderTreeLink(testFolder);
|
||||
Feed tree = getFeed(treeLink.getHref(), args);
|
||||
assertNotNull(treeLink);
|
||||
assertEquals(1, tree.getEntries().size());
|
||||
assertNotNull(tree.getEntry(folder2.getId().toString()));
|
||||
assertNull(tree.getEntry(document1.getId().toString()));
|
||||
|
||||
Entry getFolder2 = tree.getEntry(folder2.getId().toString());
|
||||
CMISChildren folder2Children = getFolder2.getFirstChild(CMISConstants.CHILDREN);
|
||||
assertNotNull(folder2Children);
|
||||
assertEquals(1, folder2Children.size());
|
||||
assertNotNull(folder2Children.getEntry(folder3.getId().toString()));
|
||||
assertNull(folder2Children.getEntry(document4.getId().toString()));
|
||||
}
|
||||
}
|
||||
|
||||
public void testGetParent()
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testParent");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry childFolder = createFolder(childrenLink.getHref(), "testParentChild");
|
||||
assertNotNull(childFolder);
|
||||
Link parentLink = childFolder.getLink(CMISConstants.REL_PARENTS);
|
||||
Link parentLink = getFolderParentLink(childFolder);
|
||||
assertNotNull(parentLink);
|
||||
|
||||
// ensure there is parent 'testParent'
|
||||
Feed parent = getFeed(parentLink.getHref());
|
||||
Entry parent = getEntry(parentLink.getHref());
|
||||
assertNotNull(parent);
|
||||
assertEquals(1, parent.getEntries().size());
|
||||
assertEquals(testFolder.getId(), parent.getEntries().get(0).getId());
|
||||
|
||||
// TODO: compare identity using OBJECT_ID property, not atom:id
|
||||
|
||||
// ensure there are ancestors 'testParent', "test run folder", "tests folder" and "root folder"
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
args.put("returnToRoot", "true");
|
||||
Feed parentsToRoot = getFeed(new IRI(parentLink.getHref().toString()), args);
|
||||
assertNotNull(parentsToRoot);
|
||||
assertEquals(4, parentsToRoot.getEntries().size());
|
||||
assertEquals(testFolder.getId(), parentsToRoot.getEntries().get(0).getId());
|
||||
assertNotNull(parentsToRoot.getEntries().get(0).getLink(CMISConstants.REL_PARENTS));
|
||||
assertEquals(getTestRunFolder().getId(), parentsToRoot.getEntries().get(1).getId());
|
||||
assertNotNull(parentsToRoot.getEntries().get(1).getLink(CMISConstants.REL_PARENTS));
|
||||
assertEquals(getTestRootFolder().getId(), parentsToRoot.getEntries().get(2).getId());
|
||||
assertNotNull(parentsToRoot.getEntries().get(2).getLink(CMISConstants.REL_PARENTS));
|
||||
Feed root = getFeed(getRootCollection(getWorkspace(getRepository())));
|
||||
Entry rootEntry = getEntry(root.getLink(CMISConstants.REL_SOURCE).getHref());
|
||||
assertEquals(rootEntry.getId(), parentsToRoot.getEntries().get(3).getId());
|
||||
assertNull(parentsToRoot.getEntries().get(3).getLink(CMISConstants.REL_PARENTS));
|
||||
assertEquals(testFolder.getId(), parent.getId());
|
||||
}
|
||||
|
||||
public void testGetParents()
|
||||
throws Exception
|
||||
{
|
||||
Entry testFolder = createTestFolder("testParents");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry childDocs = createDocument(childrenLink.getHref(), "testParentsChild");
|
||||
assertNotNull(childDocs);
|
||||
Link parentLink = childDocs.getLink(CMISConstants.REL_PARENTS);
|
||||
assertNotNull(parentLink);
|
||||
Link parentsLink = getObjectParentsLink(childDocs);
|
||||
assertNotNull(parentsLink);
|
||||
|
||||
// ensure there is parent 'testParent'
|
||||
Feed parent = getFeed(parentLink.getHref());
|
||||
Feed parent = getFeed(parentsLink.getHref());
|
||||
assertNotNull(parent);
|
||||
assertEquals(1, parent.getEntries().size());
|
||||
assertEquals(testFolder.getId(), parent.getEntries().get(0).getId());
|
||||
|
||||
// ensure there are ancestors 'testParent', "test run folder" and "root folder"
|
||||
Map<String, String> args = new HashMap<String, String>();
|
||||
args.put("returnToRoot", "true");
|
||||
Feed parentsToRoot = getFeed(new IRI(parentLink.getHref().toString()), args);
|
||||
assertNotNull(parentsToRoot);
|
||||
assertEquals(4, parentsToRoot.getEntries().size());
|
||||
assertEquals(testFolder.getId(), parentsToRoot.getEntries().get(0).getId());
|
||||
//assertNotNull(parentsToRoot.getEntries().get(0).getLink(CMISConstants.REL_PARENT));
|
||||
assertEquals(getTestRunFolder().getId(), parentsToRoot.getEntries().get(1).getId());
|
||||
//assertNotNull(parentsToRoot.getEntries().get(1).getLink(CMISConstants.REL_PARENT));
|
||||
assertEquals(getTestRootFolder().getId(), parentsToRoot.getEntries().get(2).getId());
|
||||
//assertNotNull(parentsToRoot.getEntries().get(2).getLink(CMISConstants.REL_PARENT));
|
||||
Feed root = getFeed(getRootCollection(getWorkspace(getRepository())));
|
||||
Entry rootEntry = getEntry(root.getLink(CMISConstants.REL_SOURCE).getHref());
|
||||
assertEquals(rootEntry.getId(), parentsToRoot.getEntries().get(3).getId());
|
||||
assertNull(parentsToRoot.getEntries().get(3).getLink(CMISConstants.REL_PARENTS));
|
||||
}
|
||||
|
||||
public void testDelete()
|
||||
@@ -478,7 +480,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for deletes
|
||||
Entry testFolder = createTestFolder("testDelete");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
Feed children = getFeed(childrenLink.getHref());
|
||||
int entriesBefore = children.getEntries().size();
|
||||
|
||||
@@ -504,12 +506,78 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertEquals(entriesBefore, entriesAfterDelete);
|
||||
}
|
||||
|
||||
public void testDeleteDescendants()
|
||||
throws Exception
|
||||
{
|
||||
// create multiple nested children
|
||||
Entry testFolder = createTestFolder("testDeleteDescendants");
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "testDeleteDescendants1");
|
||||
assertNotNull(document1);
|
||||
Entry folder2 = createFolder(childrenLink.getHref(), "testDeleteDescendants2");
|
||||
assertNotNull(folder2);
|
||||
Link childrenLink2 = getChildrenLink(folder2);
|
||||
assertNotNull(childrenLink2);
|
||||
Entry document3 = createDocument(childrenLink2.getHref(), "testDeleteDescendants3");
|
||||
assertNotNull(document3);
|
||||
|
||||
// delete on root of created tree
|
||||
Link descendantsLink = getDescendantsLink(testFolder);
|
||||
assertNotNull(descendantsLink);
|
||||
Response deleteRes = sendRequest(new DeleteRequest(descendantsLink.getHref().toString()), 204);
|
||||
assertNotNull(deleteRes);
|
||||
|
||||
// ensure all have been deleted
|
||||
Response getRes1 = sendRequest(new GetRequest(testFolder.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes1);
|
||||
Response getRes2 = sendRequest(new GetRequest(document1.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes2);
|
||||
Response getRes3 = sendRequest(new GetRequest(folder2.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes3);
|
||||
Response getRes4 = sendRequest(new GetRequest(document3.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes4);
|
||||
}
|
||||
|
||||
public void testDeleteFolderTree()
|
||||
throws Exception
|
||||
{
|
||||
// create multiple nested children
|
||||
Entry testFolder = createTestFolder("testDeleteFolderTree");
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "testDeleteDescendants1");
|
||||
assertNotNull(document1);
|
||||
Entry folder2 = createFolder(childrenLink.getHref(), "testDeleteDescendants2");
|
||||
assertNotNull(folder2);
|
||||
Link childrenLink2 = getChildrenLink(folder2);
|
||||
assertNotNull(childrenLink2);
|
||||
Entry document3 = createDocument(childrenLink2.getHref(), "testDeleteDescendants3");
|
||||
assertNotNull(document3);
|
||||
|
||||
// delete on root of created tree
|
||||
Link treeLink = getFolderTreeLink(testFolder);
|
||||
assertNotNull(treeLink);
|
||||
Response deleteRes = sendRequest(new DeleteRequest(treeLink.getHref().toString()), 204);
|
||||
assertNotNull(deleteRes);
|
||||
|
||||
// ensure all have been deleted
|
||||
Response getRes1 = sendRequest(new GetRequest(testFolder.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes1);
|
||||
Response getRes2 = sendRequest(new GetRequest(document1.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes2);
|
||||
Response getRes3 = sendRequest(new GetRequest(folder2.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes3);
|
||||
Response getRes4 = sendRequest(new GetRequest(document3.getSelfLink().getHref().toString()), 404);
|
||||
assertNotNull(getRes4);
|
||||
}
|
||||
|
||||
public void testUpdatePatch()
|
||||
throws Exception
|
||||
{
|
||||
// retrieve test folder for update
|
||||
Entry testFolder = createTestFolder("testUpdatePatch");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for update
|
||||
Entry document = createDocument(childrenLink.getHref(), "testUpdatePatch");
|
||||
@@ -546,7 +614,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for update
|
||||
Entry testFolder = createTestFolder("testUpdatePut");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for update
|
||||
Entry document = createDocument(childrenLink.getHref(), "testUpdatePut");
|
||||
@@ -583,18 +651,23 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for update
|
||||
Entry testFolder = createTestFolder("testUpdatePutAtomEntry");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for update
|
||||
Entry document = createDocument(childrenLink.getHref(), "testUpdatePutAtomEntry");
|
||||
assertNotNull(document);
|
||||
|
||||
// update
|
||||
String updateFile = loadString("/org/alfresco/repo/cmis/rest/test/updateatomentry.atomentry.xml");
|
||||
Response res = sendRequest(new PutRequest(document.getSelfLink().getHref().toString(), updateFile, Format.ATOMENTRY.mimetype()), 200, getAtomValidator());
|
||||
// edit title
|
||||
String updatedTitle = "Iñtërnâtiônàlizætiøn - 2";
|
||||
document.setTitle(updatedTitle);
|
||||
StringWriter writer = new StringWriter();
|
||||
document.writeTo(writer);
|
||||
|
||||
// put document
|
||||
Response res = sendRequest(new PutRequest(document.getSelfLink().getHref().toString(), writer.toString(), Format.ATOMENTRY.mimetype()), 200, getAtomValidator());
|
||||
assertNotNull(res);
|
||||
Entry updated = getAbdera().parseEntry(new StringReader(res.getContentAsString()), null);
|
||||
assertEquals("Iñtërnâtiônàlizætiøn - 2", updated.getTitle());
|
||||
assertEquals(updatedTitle, updated.getTitle());
|
||||
}
|
||||
|
||||
public void testContentStreamEmpty()
|
||||
@@ -602,7 +675,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for content stream tests
|
||||
Entry testFolder = createTestFolder("testContentStreamEmpty");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for setting / getting content
|
||||
Entry document = createDocument(childrenLink.getHref(), "testContent", "createdocumentNoContent.atomentry.xml");
|
||||
@@ -616,7 +689,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for content stream tests
|
||||
Entry testFolder = createTestFolder("testContentStream");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for setting / getting content
|
||||
Entry document = createDocument(childrenLink.getHref(), "testContent");
|
||||
@@ -644,7 +717,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for content stream tests
|
||||
Entry testFolder = createTestFolder("testContentStreamEmpty");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for setting / getting content
|
||||
Entry document = createDocument(childrenLink.getHref(), "testContent");
|
||||
@@ -669,14 +742,14 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for allowable actions
|
||||
Entry testFolder = createTestFolder("testAllowableActions");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
|
||||
// test allowable actions for folder
|
||||
{
|
||||
Entry child = createFolder(childrenLink.getHref(), "testFolderAllowableActions");
|
||||
assertNotNull(child);
|
||||
Link allowableActionsLink = child.getLink(CMISConstants.REL_ALLOWABLEACTIONS);
|
||||
Link allowableActionsLink = child.getLink(CMISConstants.REL_ALLOWABLE_ACTIONS);
|
||||
Response allowableActionsRes = sendRequest(new GetRequest(allowableActionsLink.getHref().toString()), 200, getAtomValidator());
|
||||
assertNotNull(allowableActionsRes);
|
||||
Element allowableActions = getAbdera().parse(new StringReader(allowableActionsRes.getContentAsString()), null);
|
||||
@@ -684,9 +757,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertTrue(allowableActions instanceof CMISAllowableActions);
|
||||
CMISObject childObject = child.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(childObject);
|
||||
assertEquals(((CMISAllowableActions)allowableActions).getParentUrl(), child.getSelfLink().getHref().toString());
|
||||
assertEquals(((CMISAllowableActions)allowableActions).getParentId(), childObject.getObjectId().getStringValue());
|
||||
CMISAllowableActions objectAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLEACTIONS);
|
||||
CMISAllowableActions objectAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
|
||||
assertNotNull(objectAllowableActions);
|
||||
compareAllowableActions((CMISAllowableActions)allowableActions, objectAllowableActions);
|
||||
|
||||
@@ -697,7 +768,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(properties);
|
||||
CMISObject propObject = properties.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(propObject);
|
||||
CMISAllowableActions propAllowableActions = propObject.getExtension(CMISConstants.ALLOWABLEACTIONS);
|
||||
CMISAllowableActions propAllowableActions = propObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
|
||||
assertNotNull(propAllowableActions);
|
||||
compareAllowableActions((CMISAllowableActions)allowableActions, propAllowableActions);
|
||||
}
|
||||
@@ -706,7 +777,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
Entry child = createDocument(childrenLink.getHref(), "testDocumentAllowableActions");
|
||||
assertNotNull(child);
|
||||
Link allowableActionsLink = child.getLink(CMISConstants.REL_ALLOWABLEACTIONS);
|
||||
Link allowableActionsLink = child.getLink(CMISConstants.REL_ALLOWABLE_ACTIONS);
|
||||
Response allowableActionsRes = sendRequest(new GetRequest(allowableActionsLink.getHref().toString()), 200, getAtomValidator());
|
||||
assertNotNull(allowableActionsRes);
|
||||
Element allowableActions = getAbdera().parse(new StringReader(allowableActionsRes.getContentAsString()), null);
|
||||
@@ -714,9 +785,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertTrue(allowableActions instanceof CMISAllowableActions);
|
||||
CMISObject childObject = child.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(childObject);
|
||||
assertEquals(((CMISAllowableActions)allowableActions).getParentUrl(), child.getSelfLink().getHref().toString());
|
||||
assertEquals(((CMISAllowableActions)allowableActions).getParentId(), childObject.getObjectId().getStringValue());
|
||||
CMISAllowableActions objectAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLEACTIONS);
|
||||
CMISAllowableActions objectAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
|
||||
assertNotNull(objectAllowableActions);
|
||||
compareAllowableActions((CMISAllowableActions)allowableActions, objectAllowableActions);
|
||||
|
||||
@@ -727,7 +796,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertNotNull(properties);
|
||||
CMISObject propObject = properties.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(propObject);
|
||||
CMISAllowableActions propAllowableActions = propObject.getExtension(CMISConstants.ALLOWABLEACTIONS);
|
||||
CMISAllowableActions propAllowableActions = propObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
|
||||
assertNotNull(propAllowableActions);
|
||||
compareAllowableActions((CMISAllowableActions)allowableActions, propAllowableActions);
|
||||
}
|
||||
@@ -743,11 +812,11 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
// extract allowable actions from child
|
||||
CMISObject childObject = child.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(childObject);
|
||||
CMISAllowableActions objectAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLEACTIONS);
|
||||
CMISAllowableActions objectAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
|
||||
assertNotNull(objectAllowableActions);
|
||||
|
||||
// retrieve allowable actions from link
|
||||
Link allowableActionsLink = child.getLink(CMISConstants.REL_ALLOWABLEACTIONS);
|
||||
Link allowableActionsLink = child.getLink(CMISConstants.REL_ALLOWABLE_ACTIONS);
|
||||
Response allowableActionsRes = sendRequest(new GetRequest(allowableActionsLink.getHref().toString()), 200, getAtomValidator());
|
||||
assertNotNull(allowableActionsRes);
|
||||
Element allowableActions = getAbdera().parse(new StringReader(allowableActionsRes.getContentAsString()), null);
|
||||
@@ -755,8 +824,6 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
assertTrue(allowableActions instanceof CMISAllowableActions);
|
||||
|
||||
// compare the two
|
||||
assertEquals(((CMISAllowableActions)allowableActions).getParentUrl(), child.getSelfLink().getHref().toString());
|
||||
assertEquals(((CMISAllowableActions)allowableActions).getParentId(), childObject.getObjectId().getStringValue());
|
||||
compareAllowableActions((CMISAllowableActions)allowableActions, objectAllowableActions);
|
||||
}
|
||||
}
|
||||
@@ -787,7 +854,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for checkouts
|
||||
Entry testFolder = createTestFolder("testCheckout");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for checkout
|
||||
Entry document = createDocument(childrenLink.getHref(), "testCheckout");
|
||||
@@ -840,7 +907,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for checkouts
|
||||
Entry testFolder = createTestFolder("testCancelCheckout");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for checkout
|
||||
Entry document = createDocument(childrenLink.getHref(), "testCancelCheckout");
|
||||
@@ -885,7 +952,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for checkins
|
||||
Entry testFolder = createTestFolder("testCheckIn");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for checkout
|
||||
Entry document = createDocument(childrenLink.getHref(), "testCheckin");
|
||||
@@ -978,7 +1045,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for checkins
|
||||
Entry testFolder = createTestFolder("testUpdateOnCheckIn");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for checkout
|
||||
Entry document = createDocument(childrenLink.getHref(), "testUpdateOnCheckIn");
|
||||
@@ -1041,7 +1108,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
|
||||
// retrieve test folder for checkins
|
||||
Entry testFolder = createTestFolder("testGetAllVersions");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document for checkout
|
||||
Entry document = createDocument(childrenLink.getHref(), "testGetAllVersions");
|
||||
@@ -1075,7 +1142,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
}
|
||||
|
||||
// get all versions
|
||||
Link allVersionsLink = document.getLink(CMISConstants.REL_ALLVERSIONS);
|
||||
Link allVersionsLink = document.getLink(CMISConstants.REL_VERSION_HISTORY);
|
||||
assertNotNull(allVersionsLink);
|
||||
Feed allVersions = getFeed(allVersionsLink.getHref());
|
||||
assertNotNull(allVersions);
|
||||
@@ -1145,7 +1212,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
{
|
||||
// retrieve test folder for type definitions
|
||||
Entry testFolder = createTestFolder("testGetEntryTypeDefinition");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create document
|
||||
Entry document = createDocument(childrenLink.getHref(), "testGetEntryTypeDefinitionDoc");
|
||||
@@ -1162,7 +1229,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
for (Entry entry : children.getEntries())
|
||||
{
|
||||
// get type definition
|
||||
Link typeLink = entry.getLink(CMISConstants.REL_TYPE);
|
||||
Link typeLink = entry.getLink(CMISConstants.REL_DESCRIBED_BY);
|
||||
assertNotNull(typeLink);
|
||||
Entry type = getEntry(typeLink.getHref());
|
||||
assertNotNull(type);
|
||||
@@ -1185,7 +1252,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
// retrieve test folder for query
|
||||
Entry testFolder = createTestFolder("testQuery");
|
||||
CMISObject testFolderObject = testFolder.getExtension(CMISConstants.OBJECT);
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create documents to query
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "apple1");
|
||||
@@ -1306,7 +1373,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
// create multiple children
|
||||
Set<IRI> docIds = new HashSet<IRI>();
|
||||
Entry testFolder = createTestFolder("testQueryPaging");
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
assertNotNull(childrenLink);
|
||||
for (int i = 0; i < 15; i++)
|
||||
{
|
||||
@@ -1357,7 +1424,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
// retrieve test folder for query
|
||||
Entry testFolder = createTestFolder("testQueryAllowableAcrtions");
|
||||
CMISObject testFolderObject = testFolder.getExtension(CMISConstants.OBJECT);
|
||||
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
|
||||
Link childrenLink = getChildrenLink(testFolder);
|
||||
|
||||
// create documents to query
|
||||
Entry document1 = createDocument(childrenLink.getHref(), "apple1");
|
||||
@@ -1396,7 +1463,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
// extract allowable actions from child
|
||||
CMISObject childObject = child.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(childObject);
|
||||
CMISAllowableActions childAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLEACTIONS);
|
||||
CMISAllowableActions childAllowableActions = childObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
|
||||
assertNotNull(childAllowableActions);
|
||||
|
||||
// retrieve allowable actions from link
|
||||
@@ -1405,7 +1472,7 @@ public class CMISTest extends BaseCMISWebScriptTest
|
||||
Entry entry = getEntry(child.getSelfLink().getHref(), args);
|
||||
CMISObject entryObject = entry.getExtension(CMISConstants.OBJECT);
|
||||
assertNotNull(entryObject);
|
||||
CMISAllowableActions entryAllowableActions = entryObject.getExtension(CMISConstants.ALLOWABLEACTIONS);
|
||||
CMISAllowableActions entryAllowableActions = entryObject.getExtension(CMISConstants.ALLOWABLE_ACTIONS);
|
||||
|
||||
// compare the two
|
||||
compareAllowableActions(childAllowableActions, entryAllowableActions);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>Updated Title ${NAME}</title>
|
||||
<content>updated content ${NAME}</content>
|
||||
</entry>
|
||||
|
@@ -1,2 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901"/>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom"/>
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<title>${NAME}</title>
|
||||
<summary>${NAME} (summary)</summary>
|
||||
<content type="text/html">${CONTENT}</content>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>D/cmiscustom_document</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="cmiscustom_docprop_string"><cmis:value>custom string</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyBoolean cmis:name="cmiscustom_docprop_boolean_multi"><cmis:value>true</cmis:value><cmis:value>false</cmis:value></cmis:propertyBoolean>
|
||||
<cmis:propertyId pdid="cmis:ObjectTypeId"><cmis:value>D/cmiscustom:document</cmis:value></cmis:propertyId>
|
||||
<cmis:propertyString pdid="cmiscustom:docprop_string"><cmis:value>custom string</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyBoolean pdid="cmiscustom:docprop_boolean_multi"><cmis:value>true</cmis:value><cmis:value>false</cmis:value></cmis:propertyBoolean>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<title>${NAME}</title>
|
||||
<summary>${NAME} (summary)</summary>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>F/cmiscustom_folder</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="cmiscustom_folderprop_string"><cmis:value>custom string</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId pdid="cmis:ObjectTypeId"><cmis:value>F/cmiscustom:folder</cmis:value></cmis:propertyId>
|
||||
<cmis:propertyString pdid="cmiscustom:folderprop_string"><cmis:value>custom string</cmis:value></cmis:propertyString>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<title>${NAME}</title>
|
||||
<summary>${NAME} (summary)</summary>
|
||||
<content type="text/html">${CONTENT}</content>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>document</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId pdid="cmis:ObjectTypeId"><cmis:value>cmis:document</cmis:value></cmis:propertyId>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:app="http://www.w3.org/2007/app">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:app="http://www.w3.org/2007/app">
|
||||
<title type="text">onesentence.txt</title>
|
||||
<content type="text/plain">MQ==
</content>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>document</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="DocumentTitle"><cmis:value>onesentence.txt</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyIs pdid="cmis:ObjectTypeId"><cmis:value>document</cmis:value></cmis:propertyId>
|
||||
<cmis:propertyString pdid="cmis:DocumentTitle"><cmis:value>onesentence.txt</cmis:value></cmis:propertyString>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<title>${NAME}</title>
|
||||
<summary>${NAME} (summary)</summary>
|
||||
<content type="text/plain">
|
||||
@@ -13,9 +13,9 @@
|
||||
ZCBmb2xkZXIuICBJZiB0aGUgY29udGVudCBzdHJlYW0gaXMgc3BlY2lmaWVkIG9uIGNyZWF0ZSwg
|
||||
aXQgc2hvdWxkIGJlIGJhc2U2NCBlbmNvZGVkIGluIHRoZSBhdG9tIGVudHJ5Lg==
|
||||
</content>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>document</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId pdid="cmis:ObjectTypeId"><cmis:value>cmis:document</cmis:value></cmis:propertyId>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<title>${NAME}</title>
|
||||
<summary>${NAME} (summary)</summary>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>document</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId pdid="cmis:ObjectTypeId"><cmis:value>cmis:document</cmis:value></cmis:propertyId>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<title>${NAME}</title>
|
||||
<summary>${NAME} (summary)</summary>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>folder</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId pdid="cmis:ObjectTypeId"><cmis:value>cmis:folder</cmis:value></cmis:propertyId>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<cmis:object>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="ObjectTypeId"><cmis:value>${RELTYPE}</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId cmis:name="TargetId"><cmis:value>${TARGETID}</cmis:value></cmis:propertyId>
|
||||
<cmis:propertyId pdid="cmis:ObjectTypeId"><cmis:value>${RELTYPE}</cmis:value></cmis:propertyId>
|
||||
<cmis:propertyId pdid="cmis:TargetId"><cmis:value>${TARGETID}</cmis:value></cmis:propertyId>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,72 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:alf="http://www.alfresco.org">
|
||||
<author><name>admin</name></author>
|
||||
<content type="text/xhtml">sdsds</content> <id>urn:uuid:87067d6a-e471-4b21-83bd-125e44dc9d75</id>
|
||||
<link rel="self" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75"/>
|
||||
<link rel="enclosure" type="text/xhtml" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/content"/><link rel="edit" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75"/>
|
||||
<link rel="edit-media" type="text/xhtml" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/content"/><link rel="cmis-allowableactions" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/permissions"/>
|
||||
<link rel="cmis-relationships" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/associations"/>
|
||||
<link rel="cmis-parents" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/parents"/>
|
||||
<link rel="cmis-allversions" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/versions"/>
|
||||
<link rel="cmis-stream" type="text/xhtml" href="http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/content"/><link rel="cmis-type" href="http://localhost:8080/alfresco/service/api/type/document"/>
|
||||
<link rel="cmis-repository" href="http://localhost:8080/alfresco/service/api/repository"/>
|
||||
<published>2009-04-07T20:38:29.737+01:00</published>
|
||||
<summary>Iñtërnâtiônàlizætiøn - 2</summary>
|
||||
<title>Iñtërnâtiônàlizætiøn - 2</title>
|
||||
<updated>2009-04-07T20:38:29.784+01:00</updated>
|
||||
<cmis:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="BaseType"><cmis:value>document</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="VersionLabel"/>
|
||||
<cmis:propertyString cmis:name="CheckinComment"/>
|
||||
<cmis:propertyString cmis:name="ContentStreamAllowed"><cmis:value>ALLOWED</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyBoolean cmis:name="IsVersionSeriesCheckedOut"><cmis:value>false</cmis:value></cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean cmis:name="IsLatestVersion"><cmis:value>true</cmis:value></cmis:propertyBoolean>
|
||||
<cmis:propertyString cmis:name="ChangeToken"/>
|
||||
<cmis:propertyBoolean cmis:name="IsMajorVersion"><cmis:value>false</cmis:value></cmis:propertyBoolean>
|
||||
<cmis:propertyString cmis:name="VersionSeriesCheckedOutBy"/>
|
||||
<cmis:propertyDateTime cmis:name="LastModificationDate"><cmis:value>2009-04-07T20:38:29.784+01:00</cmis:value></cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime cmis:name="CreationDate"><cmis:value>2009-04-07T20:38:29.737+01:00</cmis:value></cmis:propertyDateTime>
|
||||
<cmis:propertyUri cmis:name="ContentStreamUri"><cmis:value>http://localhost:8080/alfresco/service/api/node/workspace/SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75/content</cmis:value></cmis:propertyUri>
|
||||
<cmis:propertyString cmis:name="LastModifiedBy"><cmis:value>admin</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyInteger cmis:name="ContentStreamLength"><cmis:value>68</cmis:value></cmis:propertyInteger>
|
||||
<cmis:propertyId cmis:name="VersionSeriesId"><cmis:value>workspace://SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75</cmis:value></cmis:propertyId>
|
||||
<cmis:propertyUri cmis:name="Uri"/>
|
||||
<cmis:propertyBoolean cmis:name="IsLatestMajorVersion"><cmis:value>false</cmis:value></cmis:propertyBoolean>
|
||||
<cmis:propertyString cmis:name="Name"><cmis:value>Iñtërnâtiônàlizætiøn - 2</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="ContentStreamMimeType"><cmis:value>text/xhtml</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="ContentStreamFilename"><cmis:value>Iñtërnâtiônàlizætiøn - 2</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId cmis:name="ObjectTypeId"><cmis:value>document</cmis:value></cmis:propertyId>
|
||||
<cmis:propertyId cmis:name="VersionSeriesCheckedOutId"/>
|
||||
<cmis:propertyBoolean cmis:name="IsImmutable"><cmis:value>false</cmis:value></cmis:propertyBoolean>
|
||||
<cmis:propertyString cmis:name="CreatedBy"><cmis:value>admin</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyId cmis:name="ObjectId"><cmis:value>workspace://SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75</cmis:value></cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
<cmis:canGetParents>true</cmis:canGetParents>
|
||||
<cmis:canMove>true</cmis:canMove>
|
||||
<cmis:canDeleteVersion>true</cmis:canDeleteVersion>
|
||||
<cmis:canDeleteContent>true</cmis:canDeleteContent>
|
||||
<cmis:canCheckout>true</cmis:canCheckout>
|
||||
<cmis:canCancelCheckout>false</cmis:canCancelCheckout>
|
||||
<cmis:canCheckin>false</cmis:canCheckin>
|
||||
<cmis:canSetContent>true</cmis:canSetContent>
|
||||
<cmis:canGetAllVersions>true</cmis:canGetAllVersions>
|
||||
<cmis:canAddToFolder>true</cmis:canAddToFolder>
|
||||
<cmis:canRemoveFromFolder>true</cmis:canRemoveFromFolder>
|
||||
<cmis:canViewContent>true</cmis:canViewContent>
|
||||
<cmis:canAddPolicy>false</cmis:canAddPolicy>
|
||||
<cmis:canGetAppliedPolicies>false</cmis:canGetAppliedPolicies>
|
||||
<cmis:canRemovePolicy>false</cmis:canRemovePolicy>
|
||||
<cmis:canCreateRelationship>true</cmis:canCreateRelationship>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
<cmis:terminator/>
|
||||
<app:edited>2009-04-07T20:38:29.784+01:00</app:edited>
|
||||
<alf:icon>http://localhost:8080/alfresco/images/filetypes/_default.gif</alf:icon>
|
||||
<alf:noderef>workspace://SpacesStore/87067d6a-e471-4b21-83bd-125e44dc9d75</alf:noderef>
|
||||
</entry>
|
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<title>Updated Title ${NAME}</title>
|
||||
<cmis:object>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyString cmis:name="cmiscustom_docprop_string"><cmis:value>custom ${NAME}</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyBoolean cmis:name="cmiscustom_docprop_boolean_multi"><cmis:value>false</cmis:value><cmis:value>true</cmis:value></cmis:propertyBoolean>
|
||||
<cmis:propertyString pdid="cmiscustom:docprop_string"><cmis:value>custom ${NAME}</cmis:value></cmis:propertyString>
|
||||
<cmis:propertyBoolean pdid="cmiscustom:docprop_boolean_multi"><cmis:value>false</cmis:value><cmis:value>true</cmis:value></cmis:propertyBoolean>
|
||||
</cmis:properties>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</entry>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901">
|
||||
<entry xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>Updated Title ${NAME}</title>
|
||||
<content>updated content ${NAME}</content>
|
||||
</entry>
|
||||
|
@@ -8,7 +8,7 @@
|
||||
xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app"
|
||||
xmlns:cmisc="http://docs.oasis-open.org/ns/cmis/core/200901"
|
||||
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
|
||||
version="0.62a">
|
||||
version="0.62d">
|
||||
<xs:import namespace="http://www.w3.org/2005/Atom"
|
||||
schemaLocation="ATOM.xsd" />
|
||||
<xs:import namespace="http://docs.oasis-open.org/ns/cmis/core/200901"
|
||||
@@ -65,7 +65,7 @@
|
||||
</xs:complexType>
|
||||
|
||||
<!-- -->
|
||||
<xs:element name="edited" type="xs:dateTime" />
|
||||
<xs:element name="edited" type="atom:atomDateConstruct" />
|
||||
<xs:complexType name="appControlType">
|
||||
<xs:sequence>
|
||||
<xs:element name="draft" type="app:enumYesNo" minOccurs="0"
|
||||
|
@@ -9,7 +9,7 @@
|
||||
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
||||
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
|
||||
jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1" version="0.62a">
|
||||
jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1" version="0.62d">
|
||||
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="xml.xsd" />
|
||||
@@ -89,27 +89,31 @@
|
||||
<!-- atom:feed -->
|
||||
<xs:element name="feed" type="atom:feedType"></xs:element>
|
||||
<xs:complexType name="feedType">
|
||||
<!-- <xs:choice>, issue CMIS 337 -->
|
||||
<xs:sequence>
|
||||
<xs:element ref="atom:author" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:category" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:contributor" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element ref="atom:generator" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:icon" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:id" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element ref="atom:link" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:logo" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:rights" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:subtitle" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:title" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element ref="atom:updated" minOccurs="1" maxOccurs="1" />
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:property name="items" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element ref="atom:author" />
|
||||
<xs:element ref="atom:category" />
|
||||
<xs:element ref="atom:contributor" />
|
||||
<xs:element ref="atom:generator" />
|
||||
<xs:element ref="atom:icon" />
|
||||
<xs:element ref="atom:id" />
|
||||
<xs:element ref="atom:link" />
|
||||
<xs:element ref="atom:logo" />
|
||||
<xs:element ref="atom:rights" />
|
||||
<xs:element ref="atom:subtitle" />
|
||||
<xs:element ref="atom:title" />
|
||||
<xs:element ref="atom:updated" />
|
||||
</xs:choice>
|
||||
|
||||
<!-- original atom extension element -->
|
||||
<xs:group ref="atom:extensionElement" />
|
||||
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" ref="atom:entry" />
|
||||
<!-- </xs:choice>, issue CMIS 337 -->
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="atom:atomCommonAttributes" />
|
||||
</xs:complexType>
|
||||
@@ -117,25 +121,29 @@
|
||||
<xs:element name="entry" type="atom:entryType">
|
||||
</xs:element>
|
||||
<xs:complexType name="entryType">
|
||||
<!-- <xs:choice>, issue CMIS 337 -->
|
||||
<xs:sequence>
|
||||
<xs:element ref="atom:author" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:category" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:content" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:contributor" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element ref="atom:id" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element ref="atom:link" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element ref="atom:published" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:rights" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:source" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:summary" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element ref="atom:title" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element ref="atom:updated" minOccurs="1" maxOccurs="1" />
|
||||
<xs:choice maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:property name="items" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element ref="atom:author" />
|
||||
<xs:element ref="atom:category" />
|
||||
<xs:element ref="atom:content" />
|
||||
<xs:element ref="atom:contributor" />
|
||||
<xs:element ref="atom:id" />
|
||||
<xs:element ref="atom:link" />
|
||||
<xs:element ref="atom:published" />
|
||||
<xs:element ref="atom:rights" />
|
||||
<xs:element ref="atom:source" />
|
||||
<xs:element ref="atom:summary" />
|
||||
<xs:element ref="atom:title" />
|
||||
<xs:element ref="atom:updated" />
|
||||
</xs:choice>
|
||||
|
||||
<!-- Normal ATOM extension element -->
|
||||
<xs:group ref="atom:extensionElement" />
|
||||
<!-- </xs:choice>, issue CMIS 337 -->
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="atom:atomCommonAttributes" />
|
||||
</xs:complexType>
|
||||
@@ -412,7 +420,10 @@
|
||||
</xs:any>
|
||||
</xs:sequence>
|
||||
|
||||
<!-- <xs:group minOccurs="0" maxOccurs="unbounded" ref="atom:anyForeignElement" /> -->
|
||||
<!--
|
||||
<xs:group minOccurs="0" maxOccurs="unbounded"
|
||||
ref="atom:anyForeignElement" />
|
||||
-->
|
||||
</xs:complexType>
|
||||
<xs:group name="anyElement">
|
||||
<xs:sequence>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xhtml="http://www.w3.org/1999/xhtml"
|
||||
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1"
|
||||
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" version="0.61c">
|
||||
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" version="0.62f">
|
||||
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
|
||||
schemaLocation="xml.xsd" />
|
||||
|
||||
@@ -55,10 +55,10 @@
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="enumBaseObjectTypeIds">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="cmis:Document" />
|
||||
<xs:enumeration value="cmis:Folder" />
|
||||
<xs:enumeration value="cmis:Relationship" />
|
||||
<xs:enumeration value="cmis:Policy" />
|
||||
<xs:enumeration value="cmis:document" />
|
||||
<xs:enumeration value="cmis:folder" />
|
||||
<xs:enumeration value="cmis:relationship" />
|
||||
<xs:enumeration value="cmis:policy" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="enumCapabilityQuery">
|
||||
@@ -159,7 +159,7 @@
|
||||
<xs:enumeration value="cmis:CheckinComment" />
|
||||
<xs:enumeration value="cmis:ContentStreamLength" />
|
||||
<xs:enumeration value="cmis:ContentStreamMimeType" />
|
||||
<xs:enumeration value="cmis:ContentStreamFilename" />
|
||||
<xs:enumeration value="cmis:ContentStreamFileName" />
|
||||
<xs:enumeration value="cmis:ContentStreamId" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
@@ -200,13 +200,21 @@
|
||||
<xs:element name="relationship" type="cmis:cmisObjectType"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
|
||||
<xs:element name="child" type="cmis:cmisObjectType"
|
||||
minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This holds the children objects of this folder. This is used only in
|
||||
the Web Service binding. In the REST/AtomPub binding, an atom
|
||||
extension element is used.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
<!-- if change log -->
|
||||
<xs:element name="changeEventInfo" type="cmis:cmisChangeEventType"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
|
||||
<xs:element name="child" type="cmis:cmisObjectType"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
|
||||
<!-- ACL -->
|
||||
<xs:element name="acl" type="cmis:cmisAccessControlListType"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
@@ -223,16 +231,7 @@
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="objectTreeCollectionType">
|
||||
<xs:sequence>
|
||||
<xs:element name="object" type="cmis:cmisObjectType"
|
||||
minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:any namespace="##other" />
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
|
||||
<!-- anyother tag -->
|
||||
<!-- anyther tag -->
|
||||
<xs:complexType name="cmisAnyXml">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"
|
||||
@@ -241,26 +240,6 @@
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
|
||||
<!-- Entry tag for tree Type -->
|
||||
<xs:element name="object" type="cmis:cmisObjectType" />
|
||||
|
||||
<!-- type and type sub group -->
|
||||
<xs:element name="type" type="cmis:cmisTypeDefinitionType">
|
||||
<!--
|
||||
<xs:annotation> <xs:appinfo> <jaxb:property
|
||||
generateElementProperty="false" /> </xs:appinfo> </xs:annotation>
|
||||
-->
|
||||
</xs:element>
|
||||
<xs:element name="documentType" type="cmis:cmisTypeDocumentDefinitionType"
|
||||
substitutionGroup="cmis:type" />
|
||||
<xs:element name="folderType" type="cmis:cmisTypeFolderDefinitionType"
|
||||
substitutionGroup="cmis:type" />
|
||||
<xs:element name="relationshipType" type="cmis:cmisTypeRelationshipDefinitionType"
|
||||
substitutionGroup="cmis:type" />
|
||||
<xs:element name="policyType" type="cmis:cmisTypePolicyDefinitionType"
|
||||
substitutionGroup="cmis:type" />
|
||||
|
||||
|
||||
<!-- property bag -->
|
||||
<xs:attribute name="key" type="xs:string" />
|
||||
<xs:attribute name="index" type="xs:integer" />
|
||||
@@ -303,8 +282,8 @@
|
||||
|
||||
<!-- start the prop definitions -->
|
||||
<xs:complexType name="cmisProperty">
|
||||
<xs:attribute name="id" use="required" />
|
||||
<xs:attribute name="name" use="optional" />
|
||||
<xs:attribute name="pdid" use="required" />
|
||||
<xs:attribute name="localname" use="optional" />
|
||||
<xs:attribute name="displayname" use="optional" />
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
@@ -429,11 +408,136 @@
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- cmis choice -->
|
||||
<xs:complexType name="cmisChoice">
|
||||
<xs:attribute name="displayName" use="required" />
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceBoolean">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:boolean" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceId">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:string" />
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="cmis:href" use="optional" />
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceInteger">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:integer" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceDateTime">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:dateTime" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceDecimal">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:decimal" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceHtml">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded"
|
||||
processContents="lax" namespace="##other" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceXhtml">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded"
|
||||
processContents="lax" namespace="##other" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceString">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceUri">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:anyURI" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceXml">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoice">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded"
|
||||
processContents="lax" namespace="##other" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- allowable actions -->
|
||||
<xs:complexType name="cmisAllowableActionsType">
|
||||
<xs:sequence>
|
||||
<xs:element name="canDelete" type="xs:boolean" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="canDeleteObject" type="xs:boolean"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="canUpdateProperties" type="xs:boolean"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="canGetProperties" type="xs:boolean"
|
||||
@@ -446,8 +550,8 @@
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="canGetDescendants" type="xs:boolean"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="canMoveObject" type="xs:boolean" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="canMoveObject" type="xs:boolean"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="canDeleteContentStream" type="xs:boolean"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="canCheckOut" type="xs:boolean"
|
||||
@@ -501,155 +605,6 @@
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
|
||||
<!-- main allowable actions element -->
|
||||
<xs:element name="allowableActions" type="cmis:cmisAllowableActionsType" />
|
||||
|
||||
|
||||
<!-- subgroup -->
|
||||
<xs:element name="choice" type="cmis:cmisChoiceType" />
|
||||
<xs:element name="choiceBoolean" type="cmis:cmisChoiceBooleanType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceId" type="cmis:cmisChoiceIdType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceInteger" type="cmis:cmisChoiceIntegerType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceDateTime" type="cmis:cmisChoiceDateTimeType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceDecimal" type="cmis:cmisChoiceDecimalType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceHtml" type="cmis:cmisChoiceHtmlType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceXhtml" type="cmis:cmisChoiceXhtmlType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceString" type="cmis:cmisChoiceStringType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceUri" type="cmis:cmisChoiceUriType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
<xs:element name="choiceXml" type="cmis:cmisChoiceXmlType"
|
||||
substitutionGroup="cmis:choice" />
|
||||
|
||||
<!-- type for choices -->
|
||||
<xs:complexType name="cmisChoiceType" abstract="true">
|
||||
<xs:sequence>
|
||||
<xs:element ref="cmis:choice" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute ref="cmis:key" use="optional" />
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
|
||||
<!-- do the property type specific choice entry -->
|
||||
<xs:complexType name="cmisChoiceBooleanType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:boolean" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceIdType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceIntegerType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:integer" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceDateTimeType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:dateTime" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceDecimalType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:decimal" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceHtmlType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded"
|
||||
processContents="lax" namespace="##other" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceXhtmlType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded"
|
||||
processContents="lax" namespace="##other" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceStringType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceUriType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="value"
|
||||
type="xs:anyURI" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="cmisChoiceXmlType">
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisChoiceType">
|
||||
<xs:sequence>
|
||||
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"
|
||||
namespace="##other" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
|
||||
|
||||
<!-- Property Attributes -->
|
||||
@@ -684,24 +639,6 @@
|
||||
<xs:element name="orderable" type="xs:boolean" minOccurs="1"
|
||||
maxOccurs="1" />
|
||||
|
||||
<!-- choices -->
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:property name="choice" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:element ref="cmis:choiceBoolean" />
|
||||
<xs:element ref="cmis:choiceDateTime" />
|
||||
<xs:element ref="cmis:choiceDecimal" />
|
||||
<xs:element ref="cmis:choiceHtml" />
|
||||
<xs:element ref="cmis:choiceXhtml" />
|
||||
<xs:element ref="cmis:choiceId" />
|
||||
<xs:element ref="cmis:choiceInteger" />
|
||||
<xs:element ref="cmis:choiceString" />
|
||||
<xs:element ref="cmis:choiceUri" />
|
||||
<xs:element ref="cmis:choiceXml" />
|
||||
</xs:choice>
|
||||
<xs:element name="openChoice" type="xs:boolean" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
|
||||
@@ -717,8 +654,10 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceBooleanType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyBoolean" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceBoolean" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -727,8 +666,11 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceIdType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyId" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceId" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -737,12 +679,15 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceIntegerType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyInteger" />
|
||||
<xs:element name="maxValue" type="xs:integer" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="minValue" type="xs:integer" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceInteger" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -751,8 +696,11 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceDateTimeType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyDateTime" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceDateTime" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -761,14 +709,17 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceDecimalType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyDecimal" />
|
||||
<xs:element name="maxValue" type="xs:decimal" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="minValue" type="xs:decimal" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="precision" type="cmis:enumDecimalPrecision"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceDecimal" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -777,8 +728,11 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceHtmlType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyHtml" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceHtml" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -787,8 +741,11 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceXhtmlType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyXhtml" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceXhtml" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -797,10 +754,13 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceStringType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyString" />
|
||||
<xs:element name="maxLength" type="xs:integer"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceString" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -809,8 +769,11 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceUriType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyUri" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceUri" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -819,10 +782,13 @@
|
||||
<xs:complexContent>
|
||||
<xs:extension base="cmis:cmisPropertyDefinitionType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="defaultValue"
|
||||
type="cmis:cmisChoiceXmlType" />
|
||||
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue"
|
||||
type="cmis:cmisPropertyXml" />
|
||||
<xs:element name="schemaURI" type="xs:anyURI" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="choice"
|
||||
type="cmis:cmisChoiceXml" />
|
||||
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
@@ -889,7 +855,6 @@
|
||||
<xs:element name="propertyStringDefinition" type="cmis:cmisPropertyStringDefinitionType" />
|
||||
<xs:element name="propertyXmlDefinition" type="cmis:cmisPropertyXmlDefinitionType" />
|
||||
<xs:element name="propertyUriDefinition" type="cmis:cmisPropertyUriDefinitionType" />
|
||||
|
||||
</xs:choice>
|
||||
|
||||
<!-- extension -->
|
||||
@@ -943,7 +908,6 @@
|
||||
</xs:complexType>
|
||||
|
||||
<!-- query -->
|
||||
|
||||
<xs:complexType name="cmisQueryType">
|
||||
<xs:sequence>
|
||||
<xs:element name="repositoryId" type="xs:string"
|
||||
@@ -964,16 +928,15 @@
|
||||
<xs:element name="includeRenditions" type="xs:boolean"
|
||||
minOccurs="0" maxOccurs="1" nillable="true" />
|
||||
|
||||
<xs:element name="extension" type="cmis:cmisAnyXml"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:any maxOccurs="unbounded" minOccurs="1" namespace="##other"
|
||||
processContents="lax" />
|
||||
</xs:sequence>
|
||||
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
|
||||
</xs:complexType>
|
||||
<xs:element name="query" type="cmis:cmisQueryType" />
|
||||
|
||||
|
||||
|
||||
<!-- repository info -->
|
||||
<xs:element name="repositoryInfo" type="cmis:cmisRepositoryInfoType" />
|
||||
<xs:complexType name="cmisRepositoryInfoType">
|
||||
<xs:sequence minOccurs="1">
|
||||
<xs:element name="repositoryId" type="xs:string"
|
||||
@@ -1019,10 +982,11 @@
|
||||
<xs:element name="capabilityChanges" type="cmis:enumCapabilityChanges" />
|
||||
<xs:element name="capabilityChangesOnType" type="cmis:enumBaseObjectTypeIds"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
<xs:element name="capabilityContentStreamUpdates" type="cmis:enumCapabilityContentStreamUpdates"
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="capabilityDescendantNavigation" type="xs:boolean"
|
||||
maxOccurs="1" minOccurs="0" />
|
||||
<xs:element name="capabilityContentStreamUpdatability"
|
||||
type="cmis:enumCapabilityContentStreamUpdates" minOccurs="1"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="capabilityGetDescendants" type="xs:boolean"
|
||||
maxOccurs="1" minOccurs="1" />
|
||||
<xs:element name="capabilityMultifiling" type="xs:boolean"
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="capabilityPWCSearchable" type="xs:boolean"
|
||||
@@ -1031,7 +995,7 @@
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="capabilityQuery" type="cmis:enumCapabilityQuery"
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="capabilityRenditions" type="xs:boolean"
|
||||
<xs:element name="capabilityRenditions" type="cmis:enumCapabilityRendition"
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="capabilityUnfiling" type="xs:boolean"
|
||||
minOccurs="1" maxOccurs="1" />
|
||||
@@ -1102,10 +1066,10 @@
|
||||
|
||||
<xs:simpleType name="enumBasicPermissions">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="cmis:Read" />
|
||||
<xs:enumeration value="cmis:Write" />
|
||||
<xs:enumeration value="cmis:Delete" />
|
||||
<xs:enumeration value="cmis:All" />
|
||||
<xs:enumeration value="cmis:read" />
|
||||
<xs:enumeration value="cmis:write" />
|
||||
<xs:enumeration value="cmis:delete" />
|
||||
<xs:enumeration value="cmis:all" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
@@ -1120,8 +1084,8 @@
|
||||
|
||||
<xs:complexType name="cmisPermissionMapping">
|
||||
<xs:sequence>
|
||||
<xs:element name="key" type="cmis:enumAllowableActionsKey" />
|
||||
<xs:element name="permission" type="xs:string" maxOccurs="unbounded" />
|
||||
<xs:element name="key" type="cmis:enumAllowableActionsKey" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="permission" type="xs:string" minOccurs="1" maxOccurs="1" />
|
||||
<xs:any namespace="##other" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
@@ -1191,7 +1155,8 @@
|
||||
|
||||
<xs:complexType name="cmisAccessControlListType">
|
||||
<xs:sequence>
|
||||
<xs:element name="permission" type="cmis:cmisAccessControlEntryType" />
|
||||
<xs:element name="permission" type="cmis:cmisAccessControlEntryType"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
<xs:any namespace="##other" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
@@ -1206,10 +1171,6 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- element -->
|
||||
<xs:element name="cmisObject" type="cmis:cmisObjectType" />
|
||||
|
||||
|
||||
<!-- renditions -->
|
||||
<xs:simpleType name="enumCapabilityRendition">
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -1220,7 +1181,7 @@
|
||||
|
||||
<xs:simpleType name="enumRenditionKind">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="CMIS.Thumbnail" />
|
||||
<xs:enumeration value="cmis:thumbnail" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
@@ -1240,5 +1201,29 @@
|
||||
</xs:complexType>
|
||||
|
||||
|
||||
<!-- elements -->
|
||||
<xs:element name="allowableActions" type="cmis:cmisAllowableActionsType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the root tag for a CMIS AllowableActions
|
||||
Document Type
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="query" type="cmis:cmisQueryType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the root tag for a CMIS Query Document Type
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="acl" type="cmis:cmisAccessControlListType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the root tag for a CMIS ACL Document Type
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
<!-- EOF -->
|
@@ -9,7 +9,7 @@
|
||||
jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1"
|
||||
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901"
|
||||
xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901"
|
||||
version="0.62a">
|
||||
version="0.62f">
|
||||
<xs:import namespace="http://docs.oasis-open.org/ns/cmis/core/200901"
|
||||
schemaLocation="CMIS-Core.xsd" />
|
||||
<xs:import namespace="http://www.w3.org/2005/Atom"
|
||||
@@ -26,10 +26,36 @@
|
||||
<xs:attribute name="id" type="xs:string" />
|
||||
<xs:attribute name="renditionType" type="xs:string" />
|
||||
|
||||
<xs:element name="repositoryInfo" type="cmis:cmisRepositoryInfoType" />
|
||||
<xs:element name="repositoryInfo" type="cmis:cmisRepositoryInfoType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the AtomPub extension element that will be
|
||||
used to contain CMIS repository information
|
||||
inside an AtomPub
|
||||
workspace element inside an AtomPub Service document
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
<!-- for testing hierarchy options -->
|
||||
<xs:element name="children" type="atom:feedType" />
|
||||
<xs:element name="type" type="cmis:cmisTypeDefinitionType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the Atom extension element that will be
|
||||
used to contain a type definition (document, folder, relationship,
|
||||
or policy) inside an atom entry element.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
|
||||
<xs:element name="children" type="atom:feedType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the Atom extension element that will be
|
||||
used to contain a feed inside an atom entry element.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
<xs:simpleType name="enumCollectionType">
|
||||
<xs:restriction base="xs:string">
|
||||
@@ -59,7 +85,23 @@
|
||||
maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="uritemplate" type="cmisra:cmisUriTemplateType" />
|
||||
<xs:element name="uritemplate" type="cmisra:cmisUriTemplateType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the AtomPub extension element that will be
|
||||
used to contain CMIS URI Templates inside an AtomPub
|
||||
workspace
|
||||
element inside an AtomPub Service document</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="object" type="cmis:cmisObjectType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
This is the AtomPub extension element that will be
|
||||
used to contain a CMIS object instance inside an Atom entry element.
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
|
||||
|
||||
<xs:simpleType name="enumLinkRelations">
|
||||
@@ -84,31 +126,102 @@
|
||||
|
||||
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/allowableactions" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/allowableactions">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_ALLOWABLEACTIONS" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/relationships" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/relationships">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_RELATIONSHIPS" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/source" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/source">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_SOURCE" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/target" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/target">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_TARGET" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/policies" />
|
||||
<xs:enumeration value="http://docs.oasis-open.org/ns/cmis/link/200901/acl" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/policies">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_POLICIES" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
<xs:enumeration value="http://docs.oasis-open.org/ns/cmis/link/200901/acl">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_ACL" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
|
||||
<!-- changes -->
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/changes" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/changes">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_CHANGES" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
|
||||
<!-- folder tree -->
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/foldertree" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/foldertree">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_FOLDERTREE" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
|
||||
|
||||
<!-- types descendants -->
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/typesdescendants" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/typesdescendants">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_TYPESDESCENDANTS" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
<xs:enumeration
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/rootdescendants" />
|
||||
value="http://docs.oasis-open.org/ns/cmis/link/200901/rootdescendants">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<jaxb:typesafeEnumMember name="CMIS_ROOTDESCENDANTS" />
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
</xs:enumeration>
|
||||
|
||||
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<cmis:allowableActions xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200901" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901">
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
|
@@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<atom:feed xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200901" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901">
|
||||
<atom:title type="text">changelog feed</atom:title>
|
||||
<atom:author>
|
||||
<atom:name>Al Brown</atom:name>
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:id>urn:uuid:4b03b2ae-a615-4c04-97d5-19be766de71a</atom:id>
|
||||
<atom:updated>2009-07-17T09:13:33.109-07:00</atom:updated>
|
||||
<atom:id>urn:uuid:bbf11f9e-0534-43f4-b5a3-436c7d1cf74a</atom:id>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/folder1feed/3"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="via" href="http://cmisexample.oasis-open.org/rep1/folder1feed"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="first" href="http://cmisexample.oasis-open.org/rep1/folder1feed/first"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="next" href="http://cmisexample.oasis-open.org/rep1/folder1feed/4"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="previous" href="http://cmisexample.oasis-open.org/rep1/folder1feed/2"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="last" href="http://cmisexample.oasis-open.org/rep1/folder1feed/last"/>
|
||||
<atom:title type="text">changelog feed</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.078-07:00</atom:updated>
|
||||
<app:collection href="http://cmisexample.oasis-open.org/rep1/folder1feed/3">
|
||||
<atom:title type="text">changelog feed</atom:title>
|
||||
<app:accept>application/atom+xml;type=entry</app:accept>
|
||||
@@ -26,52 +26,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48"/>
|
||||
<atom:id>urn:uuid:97e45037-7588-44c1-9009-4d1c63d85e48</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/97e45037-7588-44c1-9009-4d1c63d85e48/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.078-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 97e45037-7588-44c1-9009-4d1c63d85e48</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a"/>
|
||||
<atom:id>urn:uuid:eca5cd9a-a34e-4001-8bcc-99a8d171f08a</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.109-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry eca5cd9a-a34e-4001-8bcc-99a8d171f08a</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.078-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.109-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/eca5cd9a-a34e-4001-8bcc-99a8d171f08a/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.078-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.109-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.078-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.109-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>97e45037-7588-44c1-9009-4d1c63d85e48</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>eca5cd9a-a34e-4001-8bcc-99a8d171f08a</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>customer</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>97e45037-7588-44c1-9009-4d1c63d85e48up</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>eca5cd9a-a34e-4001-8bcc-99a8d171f08aup</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -89,9 +89,9 @@
|
||||
</cmis:allowableActions>
|
||||
<cmis:changeEventInfo>
|
||||
<cmis:changeType>updated</cmis:changeType>
|
||||
<cmis:changeTime>2009-07-13T22:50:04.078-07:00</cmis:changeTime>
|
||||
<cmis:changeTime>2009-07-17T09:13:33.109-07:00</cmis:changeTime>
|
||||
</cmis:changeEventInfo>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -99,52 +99,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1"/>
|
||||
<atom:id>urn:uuid:91e6e001-e94b-4bea-8158-87e95cca8cb1</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/91e6e001-e94b-4bea-8158-87e95cca8cb1/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.078-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 91e6e001-e94b-4bea-8158-87e95cca8cb1</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f"/>
|
||||
<atom:id>urn:uuid:094b6e99-c409-40de-aa61-6af5feb68a7f</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.109-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 094b6e99-c409-40de-aa61-6af5feb68a7f</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.078-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.109-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/094b6e99-c409-40de-aa61-6af5feb68a7f/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.078-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.109-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.078-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.125-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>91e6e001-e94b-4bea-8158-87e95cca8cb1</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>094b6e99-c409-40de-aa61-6af5feb68a7f</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>customer</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>91e6e001-e94b-4bea-8158-87e95cca8cb1up</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>094b6e99-c409-40de-aa61-6af5feb68a7fup</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -162,9 +162,9 @@
|
||||
</cmis:allowableActions>
|
||||
<cmis:changeEventInfo>
|
||||
<cmis:changeType>updated</cmis:changeType>
|
||||
<cmis:changeTime>2009-07-13T22:50:04.078-07:00</cmis:changeTime>
|
||||
<cmis:changeTime>2009-07-17T09:13:33.125-07:00</cmis:changeTime>
|
||||
</cmis:changeEventInfo>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -172,52 +172,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e"/>
|
||||
<atom:id>urn:uuid:1b479763-248c-4a96-b5ca-97011535c38e</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/1b479763-248c-4a96-b5ca-97011535c38e/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.078-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 1b479763-248c-4a96-b5ca-97011535c38e</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e"/>
|
||||
<atom:id>urn:uuid:13792086-4a35-4818-81a3-0ee63dbe023e</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.125-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 13792086-4a35-4818-81a3-0ee63dbe023e</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Invoice type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.093-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.125-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/13792086-4a35-4818-81a3-0ee63dbe023e/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.093-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.125-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.093-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.125-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>1b479763-248c-4a96-b5ca-97011535c38e</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>13792086-4a35-4818-81a3-0ee63dbe023e</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>1b479763-248c-4a96-b5ca-97011535c38eup</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>13792086-4a35-4818-81a3-0ee63dbe023eup</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -235,9 +235,9 @@
|
||||
</cmis:allowableActions>
|
||||
<cmis:changeEventInfo>
|
||||
<cmis:changeType>updated</cmis:changeType>
|
||||
<cmis:changeTime>2009-07-13T22:50:04.093-07:00</cmis:changeTime>
|
||||
<cmis:changeTime>2009-07-17T09:13:33.125-07:00</cmis:changeTime>
|
||||
</cmis:changeEventInfo>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -245,77 +245,77 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf"/>
|
||||
<atom:id>urn:uuid:19958c69-509e-4f86-be42-bfbd0bb380cf</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cfmedia"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/19958c69-509e-4f86-be42-bfbd0bb380cf/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:04.093-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 19958c69-509e-4f86-be42-bfbd0bb380cf</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0"/>
|
||||
<atom:id>urn:uuid:0c35d523-c8fc-42bb-b08d-ba57452c63c0</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.125-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 0c35d523-c8fc-42bb-b08d-ba57452c63c0</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Invoice type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.093-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.125-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/0c35d523-c8fc-42bb-b08d-ba57452c63c0/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.093-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.140-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:04.093-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.140-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>19958c69-509e-4f86-be42-bfbd0bb380cf</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>0c35d523-c8fc-42bb-b08d-ba57452c63c0</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
@@ -323,7 +323,7 @@
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -345,8 +345,8 @@
|
||||
</cmis:allowableActions>
|
||||
<cmis:changeEventInfo>
|
||||
<cmis:changeType>updated</cmis:changeType>
|
||||
<cmis:changeTime>2009-07-13T22:50:04.093-07:00</cmis:changeTime>
|
||||
<cmis:changeTime>2009-07-17T09:13:33.140-07:00</cmis:changeTime>
|
||||
</cmis:changeEventInfo>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
</atom:feed>
|
||||
|
@@ -5,77 +5,77 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127"/>
|
||||
<atom:id>urn:uuid:7b667d77-bf53-4176-b233-91aa7d26c127</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/7b667d77-bf53-4176-b233-91aa7d26c127/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:03.796-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 7b667d77-bf53-4176-b233-91aa7d26c127</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94"/>
|
||||
<atom:id>urn:uuid:d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/type"/>
|
||||
<atom:published>2009-07-17T09:13:32.890-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94</atom:summary>
|
||||
<atom:title type="text">CMIS Example Document</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.812-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:32.906-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.812-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.906-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.812-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.906-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>7b667d77-bf53-4176-b233-91aa7d26c127</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>d6ea99e2-ef5e-4bbb-97fa-feeae20d0f94</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
@@ -83,7 +83,7 @@
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -103,5 +103,5 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreateDocument>true</cmis:canCreateDocument>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
|
@@ -5,92 +5,92 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b"/>
|
||||
<atom:id>urn:uuid:feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4bmedia"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="pwc" href="http://cmisexample.oasis-open.org/rep1/feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b/pwc"/>
|
||||
<atom:published>2009-07-13T22:50:03.828-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb"/>
|
||||
<atom:id>urn:uuid:24f3aad1-485c-468e-a9a7-aff29fdbeafb</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/type"/>
|
||||
<atom:published>2009-07-17T09:13:32.921-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 24f3aad1-485c-468e-a9a7-aff29fdbeafb</atom:summary>
|
||||
<atom:title type="text">CMIS Example Document for PWC</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.828-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:32.937-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafbmedia"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="pwc" href="http://cmisexample.oasis-open.org/rep1/24f3aad1-485c-468e-a9a7-aff29fdbeafb/pwc"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.843-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.937-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.843-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.937-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>24f3aad1-485c-468e-a9a7-aff29fdbeafb</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
<cmis:value>cmis</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:VersionSeriesCheckedOutId">
|
||||
<cmis:value>vs-feec8a83-7a8f-495c-9a41-d8f4c8b2dd4b</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:VersionSeriesCheckedOutId" pdid="cmis:VersionSeriesCheckedOutId">
|
||||
<cmis:value>vs-24f3aad1-485c-468e-a9a7-aff29fdbeafb</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:VersionSeriesCheckedOutBy">
|
||||
<cmis:propertyString localname="rep-cmis:VersionSeriesCheckedOutBy" pdid="cmis:VersionSeriesCheckedOutBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -110,5 +110,5 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreateDocument>true</cmis:canCreateDocument>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
|
@@ -5,77 +5,77 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3"/>
|
||||
<atom:id>urn:uuid:ba01e3b4-498e-4c37-a9ce-ce49afac7ce3</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/ba01e3b4-498e-4c37-a9ce-ce49afac7ce3/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:03.984-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry ba01e3b4-498e-4c37-a9ce-ce49afac7ce3</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64"/>
|
||||
<atom:id>urn:uuid:fb7b8894-bf63-4f61-bcb6-8678d3af7b64</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.156-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry fb7b8894-bf63-4f61-bcb6-8678d3af7b64</atom:summary>
|
||||
<atom:title type="text">CMIS Example Document - Loan</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.984-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.156-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/fb7b8894-bf63-4f61-bcb6-8678d3af7b64/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.984-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.156-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.984-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.156-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>ba01e3b4-498e-4c37-a9ce-ce49afac7ce3</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>fb7b8894-bf63-4f61-bcb6-8678d3af7b64</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>loan</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
@@ -83,7 +83,7 @@
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -105,7 +105,7 @@
|
||||
</cmis:allowableActions>
|
||||
<cmis:changeEventInfo>
|
||||
<cmis:changeType>updated</cmis:changeType>
|
||||
<cmis:changeTime>2009-07-13T22:50:03.984-07:00</cmis:changeTime>
|
||||
<cmis:changeTime>2009-07-17T09:13:33.156-07:00</cmis:changeTime>
|
||||
</cmis:changeEventInfo>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
|
@@ -1,19 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<atom:feed xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200901" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901">
|
||||
<atom:title type="text">Feed for folder1</atom:title>
|
||||
<atom:author>
|
||||
<atom:name>Al Brown</atom:name>
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:id>urn:uuid:e926653d-d02a-420b-87ba-94533ede656b</atom:id>
|
||||
<atom:updated>2009-07-17T09:13:33.000-07:00</atom:updated>
|
||||
<atom:id>urn:uuid:55638aa8-d558-4e59-b9b4-0bf9aba14bb3</atom:id>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/folder1feed/3"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="via" href="http://cmisexample.oasis-open.org/rep1/folder1feed"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="first" href="http://cmisexample.oasis-open.org/rep1/folder1feed/first"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="next" href="http://cmisexample.oasis-open.org/rep1/folder1feed/4"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="previous" href="http://cmisexample.oasis-open.org/rep1/folder1feed/2"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="last" href="http://cmisexample.oasis-open.org/rep1/folder1feed/last"/>
|
||||
<atom:title type="text">Feed for folder1</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.875-07:00</atom:updated>
|
||||
<app:collection href="http://cmisexample.oasis-open.org/rep1/folder1feed/3">
|
||||
<atom:title type="text">Feed for folder1</atom:title>
|
||||
<app:accept>application/atom+xml;type=entry</app:accept>
|
||||
@@ -26,52 +26,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a"/>
|
||||
<atom:id>urn:uuid:b2041411-b432-4ec5-96b1-a8129d090e6a</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/b2041411-b432-4ec5-96b1-a8129d090e6a/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:03.875-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry b2041411-b432-4ec5-96b1-a8129d090e6a</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13"/>
|
||||
<atom:id>urn:uuid:aed6c3a7-306d-461f-9a4f-3eed15e19a13</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.000-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry aed6c3a7-306d-461f-9a4f-3eed15e19a13</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.875-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.000-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/aed6c3a7-306d-461f-9a4f-3eed15e19a13/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.875-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.000-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.890-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.015-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>b2041411-b432-4ec5-96b1-a8129d090e6a</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>aed6c3a7-306d-461f-9a4f-3eed15e19a13</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>customer</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>b2041411-b432-4ec5-96b1-a8129d090e6aup</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>aed6c3a7-306d-461f-9a4f-3eed15e19a13up</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -87,7 +87,7 @@
|
||||
<cmis:canCreateFolder>true</cmis:canCreateFolder>
|
||||
<cmis:canDeleteTree>true</cmis:canDeleteTree>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -95,52 +95,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19"/>
|
||||
<atom:id>urn:uuid:c1ba0081-d770-4640-bdb4-f2d96cff6f19</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/c1ba0081-d770-4640-bdb4-f2d96cff6f19/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:03.890-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry c1ba0081-d770-4640-bdb4-f2d96cff6f19</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267"/>
|
||||
<atom:id>urn:uuid:03649b71-6c2b-4298-a4fb-09dd8465a267</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.015-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 03649b71-6c2b-4298-a4fb-09dd8465a267</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.890-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.015-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/03649b71-6c2b-4298-a4fb-09dd8465a267/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.890-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.015-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.890-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.015-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>c1ba0081-d770-4640-bdb4-f2d96cff6f19</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>03649b71-6c2b-4298-a4fb-09dd8465a267</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>customer</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>c1ba0081-d770-4640-bdb4-f2d96cff6f19up</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>03649b71-6c2b-4298-a4fb-09dd8465a267up</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -156,7 +156,7 @@
|
||||
<cmis:canCreateFolder>true</cmis:canCreateFolder>
|
||||
<cmis:canDeleteTree>true</cmis:canDeleteTree>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -164,52 +164,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d"/>
|
||||
<atom:id>urn:uuid:a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:03.890-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6"/>
|
||||
<atom:id>urn:uuid:d67daab3-1357-4f76-a1ee-4e803277d7b6</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.015-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry d67daab3-1357-4f76-a1ee-4e803277d7b6</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Invoice type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.890-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.015-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/d67daab3-1357-4f76-a1ee-4e803277d7b6/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.890-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.015-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.890-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.015-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>a63f40f8-1a7a-462f-83b2-9c10cd8f3b5d</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>d67daab3-1357-4f76-a1ee-4e803277d7b6</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>a63f40f8-1a7a-462f-83b2-9c10cd8f3b5dup</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>d67daab3-1357-4f76-a1ee-4e803277d7b6up</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -225,7 +225,7 @@
|
||||
<cmis:canCreateFolder>true</cmis:canCreateFolder>
|
||||
<cmis:canDeleteTree>true</cmis:canDeleteTree>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -233,77 +233,77 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a"/>
|
||||
<atom:id>urn:uuid:6ed0d3f3-be20-48c7-8535-080adeb9de6a</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6amedia"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/6ed0d3f3-be20-48c7-8535-080adeb9de6a/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:03.890-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 6ed0d3f3-be20-48c7-8535-080adeb9de6a</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d"/>
|
||||
<atom:id>urn:uuid:ce8c55db-a313-4db5-96c6-4d9b8a171a8d</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.015-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry ce8c55db-a313-4db5-96c6-4d9b8a171a8d</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Invoice type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.906-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.015-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8dmedia"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/ce8c55db-a313-4db5-96c6-4d9b8a171a8d/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.906-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.015-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.906-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.015-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>6ed0d3f3-be20-48c7-8535-080adeb9de6a</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>ce8c55db-a313-4db5-96c6-4d9b8a171a8d</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
@@ -311,7 +311,7 @@
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -331,6 +331,6 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreateDocument>true</cmis:canCreateDocument>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
</atom:feed>
|
||||
|
@@ -1,16 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<atom:feed xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200901" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200901">
|
||||
<atom:title type="text">Feed for folder1</atom:title>
|
||||
<atom:author>
|
||||
<atom:name>Al Brown</atom:name>
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:id>urn:uuid:6612a226-06d3-4c60-8a31-dbcbfa1fd542</atom:id>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/3f8c37fc-20e8-49a1-87a4-50b7f467cabc/3"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="via" href="http://cmisexample.oasis-open.org/rep1/3f8c37fc-20e8-49a1-87a4-50b7f467cabc"/>
|
||||
<atom:title type="text">Feed for folder1</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.921-07:00</atom:updated>
|
||||
<app:collection href="http://cmisexample.oasis-open.org/rep1/3f8c37fc-20e8-49a1-87a4-50b7f467cabc/3">
|
||||
<atom:updated>2009-07-17T09:13:33.046-07:00</atom:updated>
|
||||
<atom:id>urn:uuid:93474b3f-9ca1-440a-8856-af51e5197e05</atom:id>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/efe18f0a-74e8-4dcd-8057-9fcb799caf0e/3"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="via" href="http://cmisexample.oasis-open.org/rep1/efe18f0a-74e8-4dcd-8057-9fcb799caf0e"/>
|
||||
<app:collection href="http://cmisexample.oasis-open.org/rep1/efe18f0a-74e8-4dcd-8057-9fcb799caf0e/3">
|
||||
<atom:title type="text">Feed for folder1</atom:title>
|
||||
<app:accept>application/atom+xml;type=entry</app:accept>
|
||||
<app:accept>application/atom+xml</app:accept>
|
||||
@@ -22,52 +22,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f"/>
|
||||
<atom:id>urn:uuid:4de5c2fe-7e85-4ae1-a2ff-dad62807a21f</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:03.921-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 4de5c2fe-7e85-4ae1-a2ff-dad62807a21f</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17"/>
|
||||
<atom:id>urn:uuid:50f79725-6aa4-4206-838e-03c90a045b17</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.046-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 50f79725-6aa4-4206-838e-03c90a045b17</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.921-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.046-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.921-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.046-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.921-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.046-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>4de5c2fe-7e85-4ae1-a2ff-dad62807a21f</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>50f79725-6aa4-4206-838e-03c90a045b17</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>customer</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>4de5c2fe-7e85-4ae1-a2ff-dad62807a21fup</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>50f79725-6aa4-4206-838e-03c90a045b17up</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -83,19 +83,19 @@
|
||||
<cmis:canCreateFolder>true</cmis:canCreateFolder>
|
||||
<cmis:canDeleteTree>true</cmis:canDeleteTree>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
<cmisra:children>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:author>
|
||||
<atom:name>Al Brown</atom:name>
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:id>urn:uuid:0d85ac29-9cf0-4e39-836c-9befb14eed42</atom:id>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/3"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="via" href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f"/>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.921-07:00</atom:updated>
|
||||
<app:collection href="http://cmisexample.oasis-open.org/rep1/4de5c2fe-7e85-4ae1-a2ff-dad62807a21f/3">
|
||||
<atom:updated>2009-07-17T09:13:33.046-07:00</atom:updated>
|
||||
<atom:id>urn:uuid:40c0b703-758c-4102-8739-18d19e11109c</atom:id>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/3"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="via" href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17"/>
|
||||
<app:collection href="http://cmisexample.oasis-open.org/rep1/50f79725-6aa4-4206-838e-03c90a045b17/3">
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<app:accept>application/atom+xml;type=entry</app:accept>
|
||||
<app:accept>application/atom+xml</app:accept>
|
||||
@@ -107,77 +107,77 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2"/>
|
||||
<atom:id>urn:uuid:23787998-7b17-45e3-bd0d-09ccab9e51d2</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/23787998-7b17-45e3-bd0d-09ccab9e51d2/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:03.921-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 23787998-7b17-45e3-bd0d-09ccab9e51d2</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc"/>
|
||||
<atom:id>urn:uuid:ba61c32c-da45-43cf-8fe7-399cae307ccc</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.046-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry ba61c32c-da45-43cf-8fe7-399cae307ccc</atom:summary>
|
||||
<atom:title type="text">CMIS Example Doc as Invoice type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.921-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.046-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307cccmedia"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/ba61c32c-da45-43cf-8fe7-399cae307ccc/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.921-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.046-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.937-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.046-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>23787998-7b17-45e3-bd0d-09ccab9e51d2</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>ba61c32c-da45-43cf-8fe7-399cae307ccc</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
@@ -185,7 +185,7 @@
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -205,7 +205,7 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreateDocument>true</cmis:canCreateDocument>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -213,77 +213,77 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93"/>
|
||||
<atom:id>urn:uuid:0016826e-481b-49ea-874d-eed3dd469c93</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/0016826e-481b-49ea-874d-eed3dd469c93/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:03.937-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 0016826e-481b-49ea-874d-eed3dd469c93</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348"/>
|
||||
<atom:id>urn:uuid:8d712ae5-18fe-469b-b4c4-caa0ea3ab348</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.062-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 8d712ae5-18fe-469b-b4c4-caa0ea3ab348</atom:summary>
|
||||
<atom:title type="text">CMIS Example Doc as Invoice type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.937-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.062-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/8d712ae5-18fe-469b-b4c4-caa0ea3ab348/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.937-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.062-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.937-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.062-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>0016826e-481b-49ea-874d-eed3dd469c93</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>8d712ae5-18fe-469b-b4c4-caa0ea3ab348</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
@@ -291,7 +291,7 @@
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -311,7 +311,7 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreateDocument>true</cmis:canCreateDocument>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
</cmisra:children>
|
||||
</atom:entry>
|
||||
@@ -321,52 +321,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf"/>
|
||||
<atom:id>urn:uuid:14e2a592-fcf6-4eda-a8d7-db2b93b205bf</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/14e2a592-fcf6-4eda-a8d7-db2b93b205bf/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:03.937-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 14e2a592-fcf6-4eda-a8d7-db2b93b205bf</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204"/>
|
||||
<atom:id>urn:uuid:56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.062-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.937-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.062-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.937-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.062-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.937-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.062-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>14e2a592-fcf6-4eda-a8d7-db2b93b205bf</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>customer</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>14e2a592-fcf6-4eda-a8d7-db2b93b205bfup</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>56b10c11-dbe1-4bd8-a5e4-8dc3dcd58204up</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -382,7 +382,7 @@
|
||||
<cmis:canCreateFolder>true</cmis:canCreateFolder>
|
||||
<cmis:canDeleteTree>true</cmis:canDeleteTree>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
<atom:entry>
|
||||
<atom:author>
|
||||
@@ -390,77 +390,77 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55"/>
|
||||
<atom:id>urn:uuid:74e02f11-1e2a-4226-9a3c-c85af8f16b55</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/type"/>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/74e02f11-1e2a-4226-9a3c-c85af8f16b55/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:03.937-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 74e02f11-1e2a-4226-9a3c-c85af8f16b55</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004"/>
|
||||
<atom:id>urn:uuid:400d5852-f94a-4734-802d-0de3b6aa6004</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/type"/>
|
||||
<atom:published>2009-07-17T09:13:33.062-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 400d5852-f94a-4734-802d-0de3b6aa6004</atom:summary>
|
||||
<atom:title type="text">CMIS Example Doc as Invoice type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.937-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:33.078-07:00</atom:updated>
|
||||
<atom:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/edit-media"/>
|
||||
<atom:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/alternate"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/allversions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/latestversions"/>
|
||||
<atom:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004media"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/400d5852-f94a-4734-802d-0de3b6aa6004/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.937-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.078-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.937-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:33.078-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>74e02f11-1e2a-4226-9a3c-c85af8f16b55</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>400d5852-f94a-4734-802d-0de3b6aa6004</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>invoice</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:document</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestVersion" pdid="cmis:IsLatestVersion">
|
||||
<cmis:value>true</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsVersionSeriesCheckedOut" pdid="cmis:IsVersionSeriesCheckedOut">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsMajorVersion" pdid="cmis:IsMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean id="cmis:IsLatestMajorVersion">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsLatestMajorVersion" pdid="cmis:IsLatestMajorVersion">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyString id="cmis:CheckinComment">
|
||||
<cmis:propertyString localname="rep-cmis:CheckinComment" pdid="cmis:CheckinComment">
|
||||
<cmis:value>Checkin comment</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:VersionLabel">
|
||||
<cmis:propertyString localname="rep-cmis:VersionLabel" pdid="cmis:VersionLabel">
|
||||
<cmis:value>0.1</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamMimeType">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamMimeType" pdid="cmis:ContentStreamMimeType">
|
||||
<cmis:value>text/plain</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:ContentStreamFilename">
|
||||
<cmis:propertyString localname="rep-cmis:ContentStreamFileName" pdid="cmis:ContentStreamFileName">
|
||||
<cmis:value>text.txt</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyInteger id="cmis:ContentStreamLength">
|
||||
<cmis:propertyInteger localname="rep-cmis:ContentStreamLength" pdid="cmis:ContentStreamLength">
|
||||
<cmis:value>4234</cmis:value>
|
||||
</cmis:propertyInteger>
|
||||
<cmis:propertyString id="keywords">
|
||||
<cmis:propertyString displayname="Keywords for Document" localname="keywords" pdid="keywords">
|
||||
<cmis:value>document</cmis:value>
|
||||
<cmis:value>example</cmis:value>
|
||||
<cmis:value>sample</cmis:value>
|
||||
@@ -468,7 +468,7 @@
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -488,6 +488,6 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreateDocument>true</cmis:canCreateDocument>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
</atom:feed>
|
||||
|
@@ -5,52 +5,52 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2"/>
|
||||
<atom:id>urn:uuid:af5102cb-4f0b-42e1-b97c-c3b614074fb2</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/af5102cb-4f0b-42e1-b97c-c3b614074fb2/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:03.843-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry af5102cb-4f0b-42e1-b97c-c3b614074fb2</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c"/>
|
||||
<atom:id>urn:uuid:86b91347-4039-4363-9171-1b50b2a20f6c</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c/type"/>
|
||||
<atom:published>2009-07-17T09:13:32.937-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 86b91347-4039-4363-9171-1b50b2a20f6c</atom:summary>
|
||||
<atom:title type="text">CMIS Example Folder as Customer type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.843-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:32.937-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c/relationships"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c/up"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/86b91347-4039-4363-9171-1b50b2a20f6c/children/tree"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.843-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.937-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.843-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.937-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>af5102cb-4f0b-42e1-b97c-c3b614074fb2</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>86b91347-4039-4363-9171-1b50b2a20f6c</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>customer</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:folder</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyId id="cmis:ParentId">
|
||||
<cmis:value>af5102cb-4f0b-42e1-b97c-c3b614074fb2up</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ParentId" pdid="cmis:ParentId">
|
||||
<cmis:value>86b91347-4039-4363-9171-1b50b2a20f6cup</cmis:value>
|
||||
</cmis:propertyId>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -66,5 +66,5 @@
|
||||
<cmis:canCreateFolder>true</cmis:canCreateFolder>
|
||||
<cmis:canDeleteTree>true</cmis:canDeleteTree>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
|
@@ -5,47 +5,47 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/169251b0-40b4-4c83-b0b8-4d4d77f7199e"/>
|
||||
<atom:id>urn:uuid:169251b0-40b4-4c83-b0b8-4d4d77f7199e</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/169251b0-40b4-4c83-b0b8-4d4d77f7199e"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/169251b0-40b4-4c83-b0b8-4d4d77f7199e"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/169251b0-40b4-4c83-b0b8-4d4d77f7199e/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/169251b0-40b4-4c83-b0b8-4d4d77f7199e/type"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/169251b0-40b4-4c83-b0b8-4d4d77f7199e/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/169251b0-40b4-4c83-b0b8-4d4d77f7199e/relationships"/>
|
||||
<atom:published>2009-07-13T22:50:03.859-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 169251b0-40b4-4c83-b0b8-4d4d77f7199e</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/7910ee91-6201-4868-bcd9-1c72edf6161f"/>
|
||||
<atom:id>urn:uuid:7910ee91-6201-4868-bcd9-1c72edf6161f</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/7910ee91-6201-4868-bcd9-1c72edf6161f"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/7910ee91-6201-4868-bcd9-1c72edf6161f"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/7910ee91-6201-4868-bcd9-1c72edf6161f/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/7910ee91-6201-4868-bcd9-1c72edf6161f/type"/>
|
||||
<atom:published>2009-07-17T09:13:32.953-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry 7910ee91-6201-4868-bcd9-1c72edf6161f</atom:summary>
|
||||
<atom:title type="text">CMIS Example Policy</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.859-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:32.968-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/7910ee91-6201-4868-bcd9-1c72edf6161f/parents"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/7910ee91-6201-4868-bcd9-1c72edf6161f/relationships"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.859-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.968-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.859-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.968-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>169251b0-40b4-4c83-b0b8-4d4d77f7199e</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>7910ee91-6201-4868-bcd9-1c72edf6161f</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>policy</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:policy</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -57,5 +57,5 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreatePolicy>true</cmis:canCreatePolicy>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
|
@@ -4,4 +4,5 @@
|
||||
<cmis:searchAllVersions>true</cmis:searchAllVersions>
|
||||
<cmis:maxItems>50</cmis:maxItems>
|
||||
<cmis:skipCount>0</cmis:skipCount>
|
||||
<x:invalidschema xmlns:x="http://invalid"></x:invalidschema>
|
||||
</cmis:query>
|
||||
|
@@ -5,47 +5,47 @@
|
||||
<atom:uri>http://www.ibm.com/</atom:uri>
|
||||
<atom:email>albertcbrown@us.ibm.com</atom:email>
|
||||
</atom:author>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/b86561c5-33ca-4852-918a-a4814160f974"/>
|
||||
<atom:id>urn:uuid:b86561c5-33ca-4852-918a-a4814160f974</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/b86561c5-33ca-4852-918a-a4814160f974"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/b86561c5-33ca-4852-918a-a4814160f974"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/b86561c5-33ca-4852-918a-a4814160f974/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/b86561c5-33ca-4852-918a-a4814160f974/type"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/b86561c5-33ca-4852-918a-a4814160f974/source"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="target" href="http://cmisexample.oasis-open.org/rep1/b86561c5-33ca-4852-918a-a4814160f974/target"/>
|
||||
<atom:published>2009-07-13T22:50:03.875-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry b86561c5-33ca-4852-918a-a4814160f974</atom:summary>
|
||||
<atom:content src="http://cmisexample.oasis-open.org/rep1/bfe1e986-a166-4abf-b2a2-e164ca954738"/>
|
||||
<atom:id>urn:uuid:bfe1e986-a166-4abf-b2a2-e164ca954738</atom:id>
|
||||
<atom:link rel="self" href="http://cmisexample.oasis-open.org/rep1/bfe1e986-a166-4abf-b2a2-e164ca954738"/>
|
||||
<atom:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/bfe1e986-a166-4abf-b2a2-e164ca954738"/>
|
||||
<atom:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/bfe1e986-a166-4abf-b2a2-e164ca954738/allowableactions"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/bfe1e986-a166-4abf-b2a2-e164ca954738/type"/>
|
||||
<atom:published>2009-07-17T09:13:32.984-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Entry bfe1e986-a166-4abf-b2a2-e164ca954738</atom:summary>
|
||||
<atom:title type="text">CMIS Example Relationship as Compound Document type</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:03.875-07:00</atom:updated>
|
||||
<cmis:object>
|
||||
<atom:updated>2009-07-17T09:13:32.984-07:00</atom:updated>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/bfe1e986-a166-4abf-b2a2-e164ca954738/source"/>
|
||||
<atom:link type="application/atom+xml;type=entry" rel="target" href="http://cmisexample.oasis-open.org/rep1/bfe1e986-a166-4abf-b2a2-e164ca954738/target"/>
|
||||
<cmisra:object>
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean id="cmis:IsImmutable">
|
||||
<cmis:propertyBoolean localname="rep-cmis:IsImmutable" pdid="cmis:IsImmutable">
|
||||
<cmis:value>false</cmis:value>
|
||||
</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime id="cmis:CreationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.875-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:CreationDate" pdid="cmis:CreationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.984-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime id="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-13T22:50:03.875-07:00</cmis:value>
|
||||
<cmis:propertyDateTime localname="rep-cmis:LastModificationDate" pdid="cmis:LastModificationDate">
|
||||
<cmis:value>2009-07-17T09:13:32.984-07:00</cmis:value>
|
||||
</cmis:propertyDateTime>
|
||||
<cmis:propertyId id="cmis:ObjectId">
|
||||
<cmis:value>b86561c5-33ca-4852-918a-a4814160f974</cmis:value>
|
||||
<cmis:propertyId localname="rep-cmis:ObjectId" pdid="cmis:ObjectId">
|
||||
<cmis:value>bfe1e986-a166-4abf-b2a2-e164ca954738</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:ObjectTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:ObjectTypeId" pdid="cmis:ObjectTypeId">
|
||||
<cmis:value>compounddocument</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyId id="cmis:BaseTypeId">
|
||||
<cmis:propertyId localname="rep-cmis:BaseTypeId" pdid="cmis:BaseTypeId">
|
||||
<cmis:value>cmis:relationship</cmis:value>
|
||||
</cmis:propertyId>
|
||||
<cmis:propertyString id="cmis:LastModifiedBy">
|
||||
<cmis:propertyString localname="rep-cmis:LastModifiedBy" pdid="cmis:LastModifiedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
<cmis:propertyString id="cmis:CreatedBy">
|
||||
<cmis:propertyString localname="rep-cmis:CreatedBy" pdid="cmis:CreatedBy">
|
||||
<cmis:value>Al Brown</cmis:value>
|
||||
</cmis:propertyString>
|
||||
</cmis:properties>
|
||||
<cmis:allowableActions>
|
||||
<cmis:canDelete>true</cmis:canDelete>
|
||||
<cmis:canDeleteObject>true</cmis:canDeleteObject>
|
||||
<cmis:canUpdateProperties>true</cmis:canUpdateProperties>
|
||||
<cmis:canGetProperties>true</cmis:canGetProperties>
|
||||
<cmis:canGetRelationships>true</cmis:canGetRelationships>
|
||||
@@ -57,5 +57,5 @@
|
||||
<cmis:canRemovePolicy>true</cmis:canRemovePolicy>
|
||||
<cmis:canCreateRelationship>true</cmis:canCreateRelationship>
|
||||
</cmis:allowableActions>
|
||||
</cmis:object>
|
||||
</cmisra:object>
|
||||
</atom:entry>
|
||||
|
@@ -23,6 +23,7 @@
|
||||
<app:collection href="http://cmisexample.oasis-open.org/rep1//changes" cmisra:CollectionType="changes">
|
||||
<atom:title type="text">changes collection</atom:title>
|
||||
</app:collection>
|
||||
<atom:link title="Types Descendants feed" type="application/atom+xml;type=feed" rel="http://docs.oasis-open.org/ns/cmis/link/200901/typesdescendants" href="http://cmisexample.oasis-open.org/rep1//typesdescendants"/>
|
||||
<atom:link title="Folder Tree feed for root folder" type="application/atom+xml;type=feed" rel="http://docs.oasis-open.org/ns/cmis/link/200901/foldertree" href="http://cmisexample.oasis-open.org/rep1//foldertree"/>
|
||||
<cmisra:repositoryInfo>
|
||||
<cmis:repositoryId>repid1</cmis:repositoryId>
|
||||
@@ -33,19 +34,20 @@
|
||||
<cmis:productName>CMIS Prototype for VendorX</cmis:productName>
|
||||
<cmis:productVersion>0.62</cmis:productVersion>
|
||||
<cmis:rootFolderId>rootfolder</cmis:rootFolderId>
|
||||
<cmis:latestChangeToken></cmis:latestChangeToken>
|
||||
<cmis:latestChangeToken>token-Fri Jul 17 09:13:33 PDT 2009</cmis:latestChangeToken>
|
||||
<cmis:capabilities>
|
||||
<cmis:capabilityACL>manage</cmis:capabilityACL>
|
||||
<cmis:capabilityAllVersionsSearchable>true</cmis:capabilityAllVersionsSearchable>
|
||||
<cmis:capabilityChanges>all</cmis:capabilityChanges>
|
||||
<cmis:capabilityChangesOnType>cmis:document</cmis:capabilityChangesOnType>
|
||||
<cmis:capabilityChangesOnType>cmis:folder</cmis:capabilityChangesOnType>
|
||||
<cmis:capabilityContentStreamUpdates>anytime</cmis:capabilityContentStreamUpdates>
|
||||
<cmis:capabilityContentStreamUpdatability>anytime</cmis:capabilityContentStreamUpdatability>
|
||||
<cmis:capabilityGetDescendants>true</cmis:capabilityGetDescendants>
|
||||
<cmis:capabilityMultifiling>true</cmis:capabilityMultifiling>
|
||||
<cmis:capabilityPWCSearchable>true</cmis:capabilityPWCSearchable>
|
||||
<cmis:capabilityPWCUpdateable>true</cmis:capabilityPWCUpdateable>
|
||||
<cmis:capabilityQuery>bothcombined</cmis:capabilityQuery>
|
||||
<cmis:capabilityRenditions>false</cmis:capabilityRenditions>
|
||||
<cmis:capabilityRenditions>read</cmis:capabilityRenditions>
|
||||
<cmis:capabilityUnfiling>true</cmis:capabilityUnfiling>
|
||||
<cmis:capabilityVersionSpecificFiling>true</cmis:capabilityVersionSpecificFiling>
|
||||
<cmis:capabilityJoin>innerandouter</cmis:capabilityJoin>
|
||||
|
@@ -13,12 +13,12 @@
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/type/document-invoice/parent"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/document-invoice/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/document-invoice/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.000-07:00</atom:published>
|
||||
<atom:published>2009-07-17T09:13:33.171-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Type Definition document-invoice</atom:summary>
|
||||
<atom:title type="text">Type Definition - document-invoice</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.000-07:00</atom:updated>
|
||||
<app:edited>2009-07-13T22:50:04.000-07:00</app:edited>
|
||||
<cmis:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeDocumentDefinitionType">
|
||||
<atom:updated>2009-07-17T09:13:33.171-07:00</atom:updated>
|
||||
<app:edited>2009-07-17T09:13:33.171-07:00</app:edited>
|
||||
<cmisra:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeDocumentDefinitionType">
|
||||
<cmis:id>dtdocument-invoice</cmis:id>
|
||||
<cmis:localName>myrepname-document-invoice</cmis:localName>
|
||||
<cmis:displayName>document-invoice</cmis:displayName>
|
||||
@@ -33,9 +33,155 @@
|
||||
<cmis:includedInSupertypeQuery>true</cmis:includedInSupertypeQuery>
|
||||
<cmis:controllablePolicy>true</cmis:controllablePolicy>
|
||||
<cmis:controllableACL>true</cmis:controllableACL>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:BaseTypeId</cmis:id>
|
||||
<cmis:localName>rep-cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:BaseTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:BaseTypeId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:Name</cmis:id>
|
||||
<cmis:localName>rep-cmis:Name</cmis:localName>
|
||||
<cmis:displayName>cmis:Name</cmis:displayName>
|
||||
<cmis:description>Description for cmis:Name</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readwrite</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:ObjectId</cmis:id>
|
||||
<cmis:localName>rep-cmis:ObjectId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ObjectTypeId</cmis:id>
|
||||
<cmis:localName>rep-cmis:ObjectTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:BaseTypeId</cmis:id>
|
||||
<cmis:localName>rep-cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:BaseTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:BaseTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:CreatedBy</cmis:id>
|
||||
<cmis:localName>rep-cmis:CreatedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:CreatedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreatedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:CreationDate</cmis:id>
|
||||
<cmis:localName>rep-cmis:CreationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:CreationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:LastModifiedBy</cmis:id>
|
||||
<cmis:localName>rep-cmis:LastModifiedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModifiedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModifiedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:LastModificationDate</cmis:id>
|
||||
<cmis:localName>rep-cmis:LastModificationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModificationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModificationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ChangeToken</cmis:id>
|
||||
<cmis:localName>rep-cmis:ChangeToken</cmis:localName>
|
||||
<cmis:displayName>cmis:ChangeToken</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ChangeToken</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyBooleanDefinition>
|
||||
<cmis:id>cmis:IsImmutable</cmis:id>
|
||||
<cmis:localName>cmis:IsImmutable</cmis:localName>
|
||||
<cmis:localName>rep-cmis:IsImmutable</cmis:localName>
|
||||
<cmis:displayName>cmis:IsImmutable</cmis:displayName>
|
||||
<cmis:description>Description for cmis:IsImmutable</cmis:description>
|
||||
<cmis:propertyType>boolean</cmis:propertyType>
|
||||
@@ -49,7 +195,7 @@
|
||||
</cmis:propertyBooleanDefinition>
|
||||
<cmis:propertyBooleanDefinition>
|
||||
<cmis:id>cmis:IsLatestVersion</cmis:id>
|
||||
<cmis:localName>cmis:IsLatestVersion</cmis:localName>
|
||||
<cmis:localName>rep-cmis:IsLatestVersion</cmis:localName>
|
||||
<cmis:displayName>cmis:IsLatestVersion</cmis:displayName>
|
||||
<cmis:description>Description for cmis:IsLatestVersion</cmis:description>
|
||||
<cmis:propertyType>boolean</cmis:propertyType>
|
||||
@@ -63,7 +209,7 @@
|
||||
</cmis:propertyBooleanDefinition>
|
||||
<cmis:propertyBooleanDefinition>
|
||||
<cmis:id>cmis:IsMajorVersion</cmis:id>
|
||||
<cmis:localName>cmis:IsMajorVersion</cmis:localName>
|
||||
<cmis:localName>rep-cmis:IsMajorVersion</cmis:localName>
|
||||
<cmis:displayName>cmis:IsMajorVersion</cmis:displayName>
|
||||
<cmis:description>Description for cmis:IsMajorVersion</cmis:description>
|
||||
<cmis:propertyType>boolean</cmis:propertyType>
|
||||
@@ -77,7 +223,7 @@
|
||||
</cmis:propertyBooleanDefinition>
|
||||
<cmis:propertyBooleanDefinition>
|
||||
<cmis:id>cmis:IsLatestMajorVersion</cmis:id>
|
||||
<cmis:localName>cmis:IsLatestMajorVersion</cmis:localName>
|
||||
<cmis:localName>rep-cmis:IsLatestMajorVersion</cmis:localName>
|
||||
<cmis:displayName>cmis:IsLatestMajorVersion</cmis:displayName>
|
||||
<cmis:description>Description for cmis:IsLatestMajorVersion</cmis:description>
|
||||
<cmis:propertyType>boolean</cmis:propertyType>
|
||||
@@ -91,7 +237,7 @@
|
||||
</cmis:propertyBooleanDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:VersionLabel</cmis:id>
|
||||
<cmis:localName>cmis:VersionLabel</cmis:localName>
|
||||
<cmis:localName>rep-cmis:VersionLabel</cmis:localName>
|
||||
<cmis:displayName>cmis:VersionLabel</cmis:displayName>
|
||||
<cmis:description>Description for cmis:VersionLabel</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -106,7 +252,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:VersionSeriesId</cmis:id>
|
||||
<cmis:localName>cmis:VersionSeriesId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:VersionSeriesId</cmis:localName>
|
||||
<cmis:displayName>cmis:VersionSeriesId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:VersionSeriesId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
@@ -120,7 +266,7 @@
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyBooleanDefinition>
|
||||
<cmis:id>cmis:IsVersionSeriesCheckedOut</cmis:id>
|
||||
<cmis:localName>cmis:IsVersionSeriesCheckedOut</cmis:localName>
|
||||
<cmis:localName>rep-cmis:IsVersionSeriesCheckedOut</cmis:localName>
|
||||
<cmis:displayName>cmis:IsVersionSeriesCheckedOut</cmis:displayName>
|
||||
<cmis:description>Description for cmis:IsVersionSeriesCheckedOut</cmis:description>
|
||||
<cmis:propertyType>boolean</cmis:propertyType>
|
||||
@@ -134,7 +280,7 @@
|
||||
</cmis:propertyBooleanDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:VersionSeriesCheckedOutBy</cmis:id>
|
||||
<cmis:localName>cmis:VersionSeriesCheckedOutBy</cmis:localName>
|
||||
<cmis:localName>rep-cmis:VersionSeriesCheckedOutBy</cmis:localName>
|
||||
<cmis:displayName>cmis:VersionSeriesCheckedOutBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:VersionSeriesCheckedOutBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -149,7 +295,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:VersionSeriesCheckedOutId</cmis:id>
|
||||
<cmis:localName>cmis:VersionSeriesCheckedOutId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:VersionSeriesCheckedOutId</cmis:localName>
|
||||
<cmis:displayName>cmis:VersionSeriesCheckedOutId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:VersionSeriesCheckedOutId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
@@ -163,7 +309,7 @@
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:CheckinComment</cmis:id>
|
||||
<cmis:localName>cmis:CheckinComment</cmis:localName>
|
||||
<cmis:localName>rep-cmis:CheckinComment</cmis:localName>
|
||||
<cmis:displayName>cmis:CheckinComment</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CheckinComment</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -178,7 +324,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyIntegerDefinition>
|
||||
<cmis:id>cmis:ContentStreamLength</cmis:id>
|
||||
<cmis:localName>cmis:ContentStreamLength</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ContentStreamLength</cmis:localName>
|
||||
<cmis:displayName>cmis:ContentStreamLength</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ContentStreamLength</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
@@ -194,7 +340,7 @@
|
||||
</cmis:propertyIntegerDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ContentStreamMimeType</cmis:id>
|
||||
<cmis:localName>cmis:ContentStreamMimeType</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ContentStreamMimeType</cmis:localName>
|
||||
<cmis:displayName>cmis:ContentStreamMimeType</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ContentStreamMimeType</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -208,10 +354,10 @@
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ContentStreamFilename</cmis:id>
|
||||
<cmis:localName>cmis:ContentStreamFilename</cmis:localName>
|
||||
<cmis:displayName>cmis:ContentStreamFilename</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ContentStreamFilename</cmis:description>
|
||||
<cmis:id>cmis:ContentStreamFileName</cmis:id>
|
||||
<cmis:localName>rep-cmis:ContentStreamFileName</cmis:localName>
|
||||
<cmis:displayName>cmis:ContentStreamFileName</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ContentStreamFileName</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
@@ -223,10 +369,10 @@
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:Name</cmis:id>
|
||||
<cmis:localName>cmis:Name</cmis:localName>
|
||||
<cmis:displayName>cmis:Name</cmis:displayName>
|
||||
<cmis:description>Description for cmis:Name</cmis:description>
|
||||
<cmis:id>custom-customertype</cmis:id>
|
||||
<cmis:localName>rep-custom-customertype</cmis:localName>
|
||||
<cmis:displayName>custom-customertype</cmis:displayName>
|
||||
<cmis:description>Description for custom-customertype</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readwrite</cmis:updatability>
|
||||
@@ -235,126 +381,21 @@
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:defaultValue localname="rep-custom-customertype" pdid="custom-customertype">
|
||||
<cmis:value>defaultvalue for custom-customertype</cmis:value>
|
||||
</cmis:defaultValue>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:ObjectId</cmis:id>
|
||||
<cmis:localName>cmis:ObjectId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ObjectTypeId</cmis:id>
|
||||
<cmis:localName>cmis:ObjectTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:BaseTypeId</cmis:id>
|
||||
<cmis:localName>cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:BaseTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:BaseTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:CreatedBy</cmis:id>
|
||||
<cmis:localName>cmis:CreatedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:CreatedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreatedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:CreationDate</cmis:id>
|
||||
<cmis:localName>cmis:CreationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:CreationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:LastModifiedBy</cmis:id>
|
||||
<cmis:localName>cmis:LastModifiedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModifiedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModifiedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:LastModificationDate</cmis:id>
|
||||
<cmis:localName>cmis:LastModificationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModificationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModificationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ChangeToken</cmis:id>
|
||||
<cmis:localName>cmis:ChangeToken</cmis:localName>
|
||||
<cmis:displayName>cmis:ChangeToken</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ChangeToken</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
<cmis:choice displayName="Choice 1">
|
||||
<cmis:value>choice1value</cmis:value>
|
||||
</cmis:choice>
|
||||
<cmis:choice displayName="Choice 2">
|
||||
<cmis:value>choice2value</cmis:value>
|
||||
</cmis:choice>
|
||||
<cmis:choice displayName="Choice 3">
|
||||
<cmis:value>choice3value</cmis:value>
|
||||
</cmis:choice>
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:versionable>true</cmis:versionable>
|
||||
<cmis:contentStreamAllowed>allowed</cmis:contentStreamAllowed>
|
||||
</cmis:type>
|
||||
</cmisra:type>
|
||||
</atom:entry>
|
||||
|
@@ -13,12 +13,12 @@
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/type/document-invoice/parent"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/document-invoice/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/document-invoice/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.000-07:00</atom:published>
|
||||
<atom:published>2009-07-17T09:13:33.156-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Type Definition document-invoice</atom:summary>
|
||||
<atom:title type="text">Type Definition - document-invoice</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.000-07:00</atom:updated>
|
||||
<app:edited>2009-07-13T22:50:04.000-07:00</app:edited>
|
||||
<cmis:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeDocumentDefinitionType">
|
||||
<atom:updated>2009-07-17T09:13:33.156-07:00</atom:updated>
|
||||
<app:edited>2009-07-17T09:13:33.156-07:00</app:edited>
|
||||
<cmisra:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeDocumentDefinitionType">
|
||||
<cmis:id>dtdocument-invoice</cmis:id>
|
||||
<cmis:localName>myrepname-document-invoice</cmis:localName>
|
||||
<cmis:displayName>document-invoice</cmis:displayName>
|
||||
@@ -35,5 +35,5 @@
|
||||
<cmis:controllableACL>true</cmis:controllableACL>
|
||||
<cmis:versionable>true</cmis:versionable>
|
||||
<cmis:contentStreamAllowed>allowed</cmis:contentStreamAllowed>
|
||||
</cmis:type>
|
||||
</cmisra:type>
|
||||
</atom:entry>
|
||||
|
@@ -13,18 +13,18 @@
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/type/folder-invoice/parent"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/folder-invoice/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/folder-invoice/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.031-07:00</atom:published>
|
||||
<atom:published>2009-07-17T09:13:33.187-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Type Definition folder-invoice</atom:summary>
|
||||
<atom:title type="text">Type Definition - folder-invoice</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.031-07:00</atom:updated>
|
||||
<app:edited>2009-07-13T22:50:04.031-07:00</app:edited>
|
||||
<cmis:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeFolderDefinitionType">
|
||||
<atom:updated>2009-07-17T09:13:33.187-07:00</atom:updated>
|
||||
<app:edited>2009-07-17T09:13:33.187-07:00</app:edited>
|
||||
<cmisra:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeFolderDefinitionType">
|
||||
<cmis:id>dtfolder-invoice</cmis:id>
|
||||
<cmis:localName>myrepname-folder-invoice</cmis:localName>
|
||||
<cmis:displayName>folder-invoice</cmis:displayName>
|
||||
<cmis:queryName>folder-invoice</cmis:queryName>
|
||||
<cmis:description>Description for type definition folder-invoice</cmis:description>
|
||||
<cmis:baseTypeId>cmis:folder</cmis:baseTypeId>
|
||||
<cmis:baseTypeId>cmis:document</cmis:baseTypeId>
|
||||
<cmis:parentId>parent</cmis:parentId>
|
||||
<cmis:creatable>true</cmis:creatable>
|
||||
<cmis:fileable>true</cmis:fileable>
|
||||
@@ -34,10 +34,10 @@
|
||||
<cmis:controllablePolicy>true</cmis:controllablePolicy>
|
||||
<cmis:controllableACL>true</cmis:controllableACL>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:ParentId</cmis:id>
|
||||
<cmis:localName>cmis:ParentId</cmis:localName>
|
||||
<cmis:displayName>cmis:ParentId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ParentId</cmis:description>
|
||||
<cmis:id>cmis:BaseTypeId</cmis:id>
|
||||
<cmis:localName>rep-cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:BaseTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:BaseTypeId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
@@ -47,23 +47,9 @@
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:AllowedChildObjectTypeNames</cmis:id>
|
||||
<cmis:localName>cmis:AllowedChildObjectTypeNames</cmis:localName>
|
||||
<cmis:displayName>cmis:AllowedChildObjectTypeNames</cmis:displayName>
|
||||
<cmis:description>Description for cmis:AllowedChildObjectTypeNames</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>multi</cmis:cardinality>
|
||||
<cmis:updatability>readwrite</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:Name</cmis:id>
|
||||
<cmis:localName>cmis:Name</cmis:localName>
|
||||
<cmis:localName>rep-cmis:Name</cmis:localName>
|
||||
<cmis:displayName>cmis:Name</cmis:displayName>
|
||||
<cmis:description>Description for cmis:Name</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -78,7 +64,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:ObjectId</cmis:id>
|
||||
<cmis:localName>cmis:ObjectId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ObjectId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
@@ -92,7 +78,7 @@
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ObjectTypeId</cmis:id>
|
||||
<cmis:localName>cmis:ObjectTypeId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ObjectTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -107,7 +93,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:BaseTypeId</cmis:id>
|
||||
<cmis:localName>cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:BaseTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:BaseTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -122,7 +108,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:CreatedBy</cmis:id>
|
||||
<cmis:localName>cmis:CreatedBy</cmis:localName>
|
||||
<cmis:localName>rep-cmis:CreatedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:CreatedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreatedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -137,7 +123,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:CreationDate</cmis:id>
|
||||
<cmis:localName>cmis:CreationDate</cmis:localName>
|
||||
<cmis:localName>rep-cmis:CreationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:CreationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
@@ -151,7 +137,7 @@
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:LastModifiedBy</cmis:id>
|
||||
<cmis:localName>cmis:LastModifiedBy</cmis:localName>
|
||||
<cmis:localName>rep-cmis:LastModifiedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModifiedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModifiedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -166,7 +152,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:LastModificationDate</cmis:id>
|
||||
<cmis:localName>cmis:LastModificationDate</cmis:localName>
|
||||
<cmis:localName>rep-cmis:LastModificationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModificationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModificationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
@@ -180,7 +166,7 @@
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ChangeToken</cmis:id>
|
||||
<cmis:localName>cmis:ChangeToken</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ChangeToken</cmis:localName>
|
||||
<cmis:displayName>cmis:ChangeToken</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ChangeToken</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -193,5 +179,33 @@
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
</cmis:type>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:ParentId</cmis:id>
|
||||
<cmis:localName>rep-cmis:ParentId</cmis:localName>
|
||||
<cmis:displayName>cmis:ParentId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ParentId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:AllowedChildObjectTypeNames</cmis:id>
|
||||
<cmis:localName>rep-cmis:AllowedChildObjectTypeNames</cmis:localName>
|
||||
<cmis:displayName>cmis:AllowedChildObjectTypeNames</cmis:displayName>
|
||||
<cmis:description>Description for cmis:AllowedChildObjectTypeNames</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>multi</cmis:cardinality>
|
||||
<cmis:updatability>readwrite</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
</cmis:propertyIdDefinition>
|
||||
</cmisra:type>
|
||||
</atom:entry>
|
||||
|
@@ -13,18 +13,18 @@
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/type/folder-invoice/parent"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/folder-invoice/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/folder-invoice/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.015-07:00</atom:published>
|
||||
<atom:published>2009-07-17T09:13:33.187-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Type Definition folder-invoice</atom:summary>
|
||||
<atom:title type="text">Type Definition - folder-invoice</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.015-07:00</atom:updated>
|
||||
<app:edited>2009-07-13T22:50:04.015-07:00</app:edited>
|
||||
<cmis:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeFolderDefinitionType">
|
||||
<atom:updated>2009-07-17T09:13:33.187-07:00</atom:updated>
|
||||
<app:edited>2009-07-17T09:13:33.187-07:00</app:edited>
|
||||
<cmisra:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeFolderDefinitionType">
|
||||
<cmis:id>dtfolder-invoice</cmis:id>
|
||||
<cmis:localName>myrepname-folder-invoice</cmis:localName>
|
||||
<cmis:displayName>folder-invoice</cmis:displayName>
|
||||
<cmis:queryName>folder-invoice</cmis:queryName>
|
||||
<cmis:description>Description for type definition folder-invoice</cmis:description>
|
||||
<cmis:baseTypeId>cmis:folder</cmis:baseTypeId>
|
||||
<cmis:baseTypeId>cmis:document</cmis:baseTypeId>
|
||||
<cmis:parentId>parent</cmis:parentId>
|
||||
<cmis:creatable>true</cmis:creatable>
|
||||
<cmis:fileable>true</cmis:fileable>
|
||||
@@ -33,5 +33,5 @@
|
||||
<cmis:includedInSupertypeQuery>true</cmis:includedInSupertypeQuery>
|
||||
<cmis:controllablePolicy>true</cmis:controllablePolicy>
|
||||
<cmis:controllableACL>true</cmis:controllableACL>
|
||||
</cmis:type>
|
||||
</cmisra:type>
|
||||
</atom:entry>
|
||||
|
@@ -13,18 +13,18 @@
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/type/security-policy/parent"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/security-policy/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/security-policy/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.062-07:00</atom:published>
|
||||
<atom:published>2009-07-17T09:13:33.234-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Type Definition security-policy</atom:summary>
|
||||
<atom:title type="text">Type Definition - security-policy</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.062-07:00</atom:updated>
|
||||
<app:edited>2009-07-13T22:50:04.062-07:00</app:edited>
|
||||
<cmis:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypePolicyDefinitionType">
|
||||
<atom:updated>2009-07-17T09:13:33.234-07:00</atom:updated>
|
||||
<app:edited>2009-07-17T09:13:33.234-07:00</app:edited>
|
||||
<cmisra:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypePolicyDefinitionType">
|
||||
<cmis:id>dtsecurity-policy</cmis:id>
|
||||
<cmis:localName>myrepname-security-policy</cmis:localName>
|
||||
<cmis:displayName>security-policy</cmis:displayName>
|
||||
<cmis:queryName>security-policy</cmis:queryName>
|
||||
<cmis:description>Description for type definition security-policy</cmis:description>
|
||||
<cmis:baseTypeId>cmis:relationship</cmis:baseTypeId>
|
||||
<cmis:baseTypeId>cmis:document</cmis:baseTypeId>
|
||||
<cmis:parentId>parent</cmis:parentId>
|
||||
<cmis:creatable>true</cmis:creatable>
|
||||
<cmis:fileable>false</cmis:fileable>
|
||||
@@ -33,24 +33,23 @@
|
||||
<cmis:includedInSupertypeQuery>true</cmis:includedInSupertypeQuery>
|
||||
<cmis:controllablePolicy>true</cmis:controllablePolicy>
|
||||
<cmis:controllableACL>true</cmis:controllableACL>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:PolicyText</cmis:id>
|
||||
<cmis:localName>cmis:PolicyText</cmis:localName>
|
||||
<cmis:displayName>cmis:PolicyText</cmis:displayName>
|
||||
<cmis:description>Description for cmis:PolicyText</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:BaseTypeId</cmis:id>
|
||||
<cmis:localName>rep-cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:BaseTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:BaseTypeId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readwrite</cmis:updatability>
|
||||
<cmis:updatability>readonly</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:Name</cmis:id>
|
||||
<cmis:localName>cmis:Name</cmis:localName>
|
||||
<cmis:localName>rep-cmis:Name</cmis:localName>
|
||||
<cmis:displayName>cmis:Name</cmis:displayName>
|
||||
<cmis:description>Description for cmis:Name</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -65,7 +64,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyIdDefinition>
|
||||
<cmis:id>cmis:ObjectId</cmis:id>
|
||||
<cmis:localName>cmis:ObjectId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ObjectId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectId</cmis:description>
|
||||
<cmis:propertyType>id</cmis:propertyType>
|
||||
@@ -79,7 +78,7 @@
|
||||
</cmis:propertyIdDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ObjectTypeId</cmis:id>
|
||||
<cmis:localName>cmis:ObjectTypeId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ObjectTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:ObjectTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ObjectTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -94,7 +93,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:BaseTypeId</cmis:id>
|
||||
<cmis:localName>cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:localName>rep-cmis:BaseTypeId</cmis:localName>
|
||||
<cmis:displayName>cmis:BaseTypeId</cmis:displayName>
|
||||
<cmis:description>Description for cmis:BaseTypeId</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -109,7 +108,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:CreatedBy</cmis:id>
|
||||
<cmis:localName>cmis:CreatedBy</cmis:localName>
|
||||
<cmis:localName>rep-cmis:CreatedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:CreatedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreatedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -124,7 +123,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:CreationDate</cmis:id>
|
||||
<cmis:localName>cmis:CreationDate</cmis:localName>
|
||||
<cmis:localName>rep-cmis:CreationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:CreationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:CreationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
@@ -138,7 +137,7 @@
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:LastModifiedBy</cmis:id>
|
||||
<cmis:localName>cmis:LastModifiedBy</cmis:localName>
|
||||
<cmis:localName>rep-cmis:LastModifiedBy</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModifiedBy</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModifiedBy</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -153,7 +152,7 @@
|
||||
</cmis:propertyStringDefinition>
|
||||
<cmis:propertyDateTimeDefinition>
|
||||
<cmis:id>cmis:LastModificationDate</cmis:id>
|
||||
<cmis:localName>cmis:LastModificationDate</cmis:localName>
|
||||
<cmis:localName>rep-cmis:LastModificationDate</cmis:localName>
|
||||
<cmis:displayName>cmis:LastModificationDate</cmis:displayName>
|
||||
<cmis:description>Description for cmis:LastModificationDate</cmis:description>
|
||||
<cmis:propertyType>datetime</cmis:propertyType>
|
||||
@@ -167,7 +166,7 @@
|
||||
</cmis:propertyDateTimeDefinition>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:ChangeToken</cmis:id>
|
||||
<cmis:localName>cmis:ChangeToken</cmis:localName>
|
||||
<cmis:localName>rep-cmis:ChangeToken</cmis:localName>
|
||||
<cmis:displayName>cmis:ChangeToken</cmis:displayName>
|
||||
<cmis:description>Description for cmis:ChangeToken</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
@@ -180,5 +179,20 @@
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
</cmis:type>
|
||||
<cmis:propertyStringDefinition>
|
||||
<cmis:id>cmis:PolicyText</cmis:id>
|
||||
<cmis:localName>rep-cmis:PolicyText</cmis:localName>
|
||||
<cmis:displayName>cmis:PolicyText</cmis:displayName>
|
||||
<cmis:description>Description for cmis:PolicyText</cmis:description>
|
||||
<cmis:propertyType>string</cmis:propertyType>
|
||||
<cmis:cardinality>single</cmis:cardinality>
|
||||
<cmis:updatability>readwrite</cmis:updatability>
|
||||
<cmis:inherited>true</cmis:inherited>
|
||||
<cmis:required>false</cmis:required>
|
||||
<cmis:queryable>true</cmis:queryable>
|
||||
<cmis:orderable>true</cmis:orderable>
|
||||
<cmis:openChoice>false</cmis:openChoice>
|
||||
<cmis:maxLength>128</cmis:maxLength>
|
||||
</cmis:propertyStringDefinition>
|
||||
</cmisra:type>
|
||||
</atom:entry>
|
||||
|
@@ -13,18 +13,18 @@
|
||||
<atom:link type="application/atom+xml;type=entry" rel="up" href="http://cmisexample.oasis-open.org/rep1/type/security-policy/parent"/>
|
||||
<atom:link type="application/atom+xml;type=feed" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/security-policy/children/flat"/>
|
||||
<atom:link type="application/cmistree+xml" rel="down" href="http://cmisexample.oasis-open.org/rep1/type/security-policy/children/tree"/>
|
||||
<atom:published>2009-07-13T22:50:04.046-07:00</atom:published>
|
||||
<atom:published>2009-07-17T09:13:33.218-07:00</atom:published>
|
||||
<atom:summary type="html">HTML summary of Type Definition security-policy</atom:summary>
|
||||
<atom:title type="text">Type Definition - security-policy</atom:title>
|
||||
<atom:updated>2009-07-13T22:50:04.046-07:00</atom:updated>
|
||||
<app:edited>2009-07-13T22:50:04.062-07:00</app:edited>
|
||||
<cmis:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypePolicyDefinitionType">
|
||||
<atom:updated>2009-07-17T09:13:33.218-07:00</atom:updated>
|
||||
<app:edited>2009-07-17T09:13:33.218-07:00</app:edited>
|
||||
<cmisra:type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypePolicyDefinitionType">
|
||||
<cmis:id>dtsecurity-policy</cmis:id>
|
||||
<cmis:localName>myrepname-security-policy</cmis:localName>
|
||||
<cmis:displayName>security-policy</cmis:displayName>
|
||||
<cmis:queryName>security-policy</cmis:queryName>
|
||||
<cmis:description>Description for type definition security-policy</cmis:description>
|
||||
<cmis:baseTypeId>cmis:relationship</cmis:baseTypeId>
|
||||
<cmis:baseTypeId>cmis:document</cmis:baseTypeId>
|
||||
<cmis:parentId>parent</cmis:parentId>
|
||||
<cmis:creatable>true</cmis:creatable>
|
||||
<cmis:fileable>false</cmis:fileable>
|
||||
@@ -33,5 +33,5 @@
|
||||
<cmis:includedInSupertypeQuery>true</cmis:includedInSupertypeQuery>
|
||||
<cmis:controllablePolicy>true</cmis:controllablePolicy>
|
||||
<cmis:controllableACL>true</cmis:controllableACL>
|
||||
</cmis:type>
|
||||
</cmisra:type>
|
||||
</atom:entry>
|
||||
|
@@ -10,7 +10,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="CMISService" class="org.alfresco.cmis.mapping.CMISServicesImpl">
|
||||
<property name="CMISSpecVersion"><value>0.61</value></property>
|
||||
<property name="CMISSpecVersion"><value>0.62</value></property>
|
||||
<property name="defaultRootPath"><value>workspace/SpacesStore/Company Home</value></property>
|
||||
<property name="dictionaryService" ref="dictionaryService" />
|
||||
<property name="CMISDictionaryService" ref="CMISDictionaryService" />
|
||||
|
Reference in New Issue
Block a user