Merged DEV/CMIS0_61 to HEAD (part 3)

14069 Introduce CMIS v0.61 XSDs
  - fix samples that don't validate
 14073 CMISTests passing, complying with 0.61 XSDs.
 14078 CMIS v0.61 data model and AtomPub binding API compliance.
  - delta from 0.6 recorded in changes_v0.6_to_v0.61.txt
  - updated CMIS test harness
  - tests pass
  - added Patch request type to Web Script test server
 14079 Allow for HTTP PATCH method for remote Web Script tests.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-05-01 21:01:28 +00:00
parent 9379d6e414
commit 6dda4bdf13
28 changed files with 753 additions and 348 deletions

View File

@@ -159,7 +159,7 @@
<link rel="allowableactions" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/permissions"/> <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}/associations"/> <link rel="relationships" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/associations"/>
[#if cmisproperty(node, "ParentId")?is_string] [#if cmisproperty(node, "ParentId")?is_string]
<link rel="parent" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/parent"/> <link rel="parents" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/parent"/>
[/#if] [/#if]
<link rel="children" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/children"/> <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="descendants" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/descendants"/>
@@ -342,9 +342,9 @@
[/#macro] [/#macro]
[#macro typedefCMISLinks typedef] [#macro typedefCMISLinks typedef]
<link rel="type" href="${absurl(url.serviceContext)}/api/type/${typedef.typeId.id}"/> <link rel="type" href="${absurl(url.serviceContext)}/api/type/${typedef.baseType.typeId.id}"/>
[#if typedef.parentType??] [#if typedef.parentType??]
<link rel="parent" href="${absurl(url.serviceContext)}/api/type/${typedef.parentType.typeId.id}"/> <link rel="parents" href="${absurl(url.serviceContext)}/api/type/${typedef.parentType.typeId.id}"/>
[/#if] [/#if]
<link rel="children" href="${absurl(url.serviceContext)}/api/type/${typedef.typeId.id}/children"/> <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="descendants" href="${absurl(url.serviceContext)}/api/type/${typedef.typeId.id}/descendants"/>
@@ -508,7 +508,7 @@
[/#if] [/#if]
<cmis:propertyType>${propdef.dataType.label}</cmis:propertyType> <cmis:propertyType>${propdef.dataType.label}</cmis:propertyType>
<cmis:cardinality>${propdef.cardinality.label}</cmis:cardinality> <cmis:cardinality>${propdef.cardinality.label}</cmis:cardinality>
<cmis:updateability>${propdef.updatability.label}</cmis:updateability> <cmis:updatability>${propdef.updatability.label}</cmis:updatability>
<cmis:inherited>${inherited?string}</cmis:inherited> <cmis:inherited>${inherited?string}</cmis:inherited>
<cmis:required>${propdef.required?string}</cmis:required> <cmis:required>${propdef.required?string}</cmis:required>
<cmis:queryable>${propdef.queryable?string}</cmis:queryable> <cmis:queryable>${propdef.queryable?string}</cmis:queryable>
@@ -525,37 +525,37 @@
[#if choices?exists] [#if choices?exists]
[#list choices as choice] [#list choices as choice]
[#if type == "STRING"] [#if type == "STRING"]
<cmis:choiceString cmis:index="${choice.index}" cmis:key="${choice.name}"> <cmis:choiceString cmis:key="${choice.name}">
[@cmisChoices choice.children type/] [@cmisChoices choice.children type/]
[@stringvalue choice.value/] [@stringvalue choice.value/]
</cmis:choiceString> </cmis:choiceString>
[#elseif type == "INTEGER"] [#elseif type == "INTEGER"]
<cmis:choiceInteger cmis:index="${choice.index}" cmis:key="${choice.name}"> <cmis:choiceInteger cmis:key="${choice.name}">
[@cmisChoices choice.children type/] [@cmisChoices choice.children type/]
[@stringvalue choice.value/] [@stringvalue choice.value/]
</cmis:choiceInteger> </cmis:choiceInteger>
[#elseif type == "DECIMAL"] [#elseif type == "DECIMAL"]
<cmis:choiceDecimal cmis:index="${choice.index}" cmis:key="${choice.name}"> <cmis:choiceDecimal cmis:key="${choice.name}">
[@cmisChoices choice.children type/] [@cmisChoices choice.children type/]
[@stringvalue choice.value/] [@stringvalue choice.value/]
</cmis:choiceDecimal> </cmis:choiceDecimal>
[#elseif type == "BOOLEAN"] [#elseif type == "BOOLEAN"]
<cmis:choiceBoolean cmis:index="${choice.index}" cmis:key="${choice.name}"> <cmis:choiceBoolean cmis:key="${choice.name}">
[@cmisChoices choice.children type/] [@cmisChoices choice.children type/]
[@stringvalue choice.value/] [@stringvalue choice.value/]
</cmis:choiceBoolean> </cmis:choiceBoolean>
[#elseif type == "DATETIME"] [#elseif type == "DATETIME"]
<cmis:choiceDateTime cmis:index="${choice.index}" cmis:key="${choice.name}"> <cmis:choiceDateTime cmis:key="${choice.name}">
[@cmisChoices choice.children type/] [@cmisChoices choice.children type/]
[@stringvalue choice.value/] [@stringvalue choice.value/]
</cmis:choiceDateTime> </cmis:choiceDateTime>
[#elseif type == "URI"] [#elseif type == "URI"]
<cmis:choiceUri cmis:index="${choice.index}" cmis:key="${choice.name}"> <cmis:choiceUri cmis:key="${choice.name}">
[@cmisChoices choice.children type/] [@cmisChoices choice.children type/]
[@stringvalue choice.value/] [@stringvalue choice.value/]
</cmis:choiceUri> </cmis:choiceUri>
[#elseif type == "ID"] [#elseif type == "ID"]
<cmis:choiceId cmis:index="${choice.index}" cmis:key="${choice.name}"> <cmis:choiceId cmis:key="${choice.name}">
[@cmisChoices choice.children type/] [@cmisChoices choice.children type/]
[@stringvalue choice.value/] [@stringvalue choice.value/]
</cmis:choiceId> </cmis:choiceId>

View File

@@ -58,7 +58,7 @@ function createNode(parent, entry, slug)
// update node properties (excluding object type & name) // update node properties (excluding object type & name)
var exclude = [ "ObjectTypeId", "Name" ]; var exclude = [ "ObjectTypeId", "Name" ];
var updated = updateNode(node, entry, exclude, true); var updated = updateNode(node, entry, exclude, function(propDef) {return patchValidator(propDef, true);});
// only return node if updated successfully // only return node if updated successfully
return (updated == null) ? null : node; return (updated == null) ? null : node;
@@ -71,10 +71,10 @@ function createNode(parent, entry, slug)
// @param node Alfresco node to update // @param node Alfresco node to update
// @param entry Atom entry to update from // @param entry Atom entry to update from
// @param exclude property names to exclude // @param exclude property names to exclude
// @param pwc true => node represents private working copy // @param validator function callback for validating property update
// @return true => node has been updated (or null, in case of error) // @return true => node has been updated (or null, in case of error)
// //
function updateNode(node, entry, exclude, pwc) function updateNode(node, entry, exclude, validator)
{ {
// check update is allowed // check update is allowed
if (!node.hasPermission("WriteProperties") || !node.hasPermission("WriteContent")) if (!node.hasPermission("WriteProperties") || !node.hasPermission("WriteContent"))
@@ -90,9 +90,6 @@ function updateNode(node, entry, exclude, pwc)
var props = (object == null) ? null : object.properties; var props = (object == null) ? null : object.properties;
var vals = new Object(); var vals = new Object();
// apply defaults
if (pwc == null) pwc = false;
// calculate list of properties to update // calculate list of properties to update
// TODO: consider array form of properties.names // TODO: consider array form of properties.names
var updateProps = (props == null) ? new Array() : props.names.toArray().filter(function(element, index, array) {return true;}); var updateProps = (props == null) ? new Array() : props.names.toArray().filter(function(element, index, array) {return true;});
@@ -118,31 +115,16 @@ function updateNode(node, entry, exclude, pwc)
return null; return null;
} }
// TODO: disabled for now to allow for PUT semantics - CMIS will move to POST for update // validate property update
// is the property write-able? var valid = validator(propDef);
if (propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_ONLY) if (valid == null)
{ {
// status.code = 500; // error, abort update
// status.message = "Property " + propName + " cannot be updated. It is read only." return null;
// status.redirect = true;
// return null;
continue;
} }
if (!pwc && propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT) if (valid == false)
{ {
// status.code = 500; // ignore property
// status.message = "Property " + propName + " can only be updated on a private working copy.";
// status.redirect = true;
// return null;
continue;
}
var mappedProperty = propDef.propertyAccessor.mappedProperty;
if (mappedProperty == null)
{
// status.code = 500;
// status.message = "Internal error: Property " + propName + " does not map to a write-able Alfresco property";
// status.redirect = true;
// return null;
continue; continue;
} }
@@ -174,7 +156,7 @@ function updateNode(node, entry, exclude, pwc)
val = entry.title; val = entry.title;
} }
vals[mappedProperty.toString()] = val; vals[propDef.propertyAccessor.mappedProperty.toString()] = val;
} }
} }
@@ -217,6 +199,61 @@ function updateNode(node, entry, exclude, pwc)
} }
// callback for validating property update for patch
// return null => update not allowed, abort update
// true => update allowed
// false => update not allowed, ignore property
function patchValidator(propDef, pwc)
{
// is the property write-able?
if (propDef.updatability === Packages.org.alfresco.cmis.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)
{
status.code = 500;
status.message = "Property " + propName + " can only be updated on a private working copy.";
status.redirect = true;
return null;
}
var mappedProperty = propDef.propertyAccessor.mappedProperty;
if (mappedProperty == null)
{
status.code = 500;
status.message = "Internal error: Property " + propName + " does not map to a write-able Alfresco property";
status.redirect = true;
return null;
}
return true;
}
//callback for validating property update for put
//return null => update not allowed, abort update
// true => update allowed
// false => update not allowed, ignore property
function putValidator(propDef, pwc)
{
// is the property write-able?
if (propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_ONLY)
{
return false;
}
if (!pwc && propDef.updatability === Packages.org.alfresco.cmis.CMISUpdatabilityEnum.READ_AND_WRITE_WHEN_CHECKED_OUT)
{
return false;
}
var mappedProperty = propDef.propertyAccessor.mappedProperty;
if (mappedProperty == null)
{
return false;
}
return true;
}
// callback function for determining if property name should be excluded // callback function for determining if property name should be excluded
// note: this refers to array of property names to exclude // note: this refers to array of property names to exclude
function includeProperty(element, index, array) function includeProperty(element, index, array)

View File

@@ -27,6 +27,9 @@
<cmis:capabilityChanges>none</cmis:capabilityChanges> <cmis:capabilityChanges>none</cmis:capabilityChanges>
<cmis:changesIncomplete>false</cmis:changesIncomplete> <cmis:changesIncomplete>false</cmis:changesIncomplete>
[#-- TODO: --] [#-- TODO: --]
[#-- TODO: wait for ACL proposal before implementing --]
<cmis:capabilityACL>none</cmis:capabilityACL>
[#-- TODO: --]
</cmis:capabilities> </cmis:capabilities>
<cmis:cmisVersionSupported>${cmisVersion}</cmis:cmisVersionSupported> <cmis:cmisVersionSupported>${cmisVersion}</cmis:cmisVersionSupported>
<cmis:repositorySpecificInformation></cmis:repositorySpecificInformation> <cmis:repositorySpecificInformation></cmis:repositorySpecificInformation>

View File

@@ -0,0 +1,32 @@
<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 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;
}
// update properties
var updated = updateNode(model.node, entry, null, function(propDef) {return patchValidator(propDef, false);});
if (updated)
{
model.node.save();
}
}

View File

@@ -0,0 +1,15 @@
[#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 includeallowableactions=true includerelationships="none" ns=namespace/]
[#else]
[@entryLib.folder node=node includeallowableactions=true includerelationships="none" ns=namespace/]
[/#if]
[/#compress]

View File

@@ -0,0 +1,35 @@
<webscript>
<shortname>Update properties (updateProperties)</shortname>
<description>
<![CDATA[
This service updates properties of the specified object. As per the data model, content-streams are not properties<br>
<br>
Inputs:<br>
<br>
ID objectId<br>
(Optional) String changeToken<br>
Collection propertyCollection - Subset list of Properties to update<br>
<br>
Outputs:<br>
<br>
ID objectId<br>
<br>
Notes:<br>
<br>
Preserves the ID of the object<br>
Subset of properties: Properties not specified in this list are not changed<br>
To remove a property, specify property with no value<br>
If an attempt is made to update a read-only property, throw ConstraintViolationException.<br>
If a ChangeToken is provided by the repository when the object is retrieved, the change token MUST be included as-is when calling updateProperties.<br>
For Multi-Value properties, the whole list of values MUST be provided on every update.<br>
Use getAllowableActions to identify whether older version specified by ID is updatable.<br>
If this is a private working copy, some repositories may not support updates.<br>
Because repositories MAY automatically create new Document Versions on a users behalf, the objectId returned may not match the one provided as an input to this method.<br>
]]>
</description>
<url>/api/node/{store_type}/{store_id}/{id}</url>
<url>/api/path/{store_type}/{store_id}/{id}</url>
<authentication>user</authentication>
<format default="atomentry">argument</format>
<family>CMIS</family>
</webscript>

View File

@@ -24,7 +24,7 @@ script:
} }
// update properties // update properties
var updated = updateNode(model.node, entry, null, false); var updated = updateNode(model.node, entry, null, function(propDef) {return putValidator(propDef, false);});
if (updated) if (updated)
{ {
model.node.save(); model.node.save();

View File

@@ -0,0 +1,49 @@
<import resource="classpath:alfresco/templates/webscripts/org/alfresco/cmis/atomentry.lib.js">
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("node", reference);
if (model.node === null || !model.node.hasAspect("cm:workingcopy"))
{
status.code = 404;
status.message = "Private working copy " + reference.join("/") + " not found";
status.redirect = true;
break script;
}
// check permissions
model.checkin = args[cmis.ARG_CHECKIN] == "true" ? true : false;
if (model.checkin && !model.node.hasPermission("CheckIn"))
{
status.code = 403;
status.message = "Permission to checkin is denied";
status.redirect = true;
break script;
}
if (entry !== null)
{
// update properties
var updated = updateNode(model.node, entry, null, function(propDef) {return patchValidator(propDef, true);});
if (updated === null)
{
break script;
}
if (updated)
{
model.node.save();
}
}
// checkin
if (model.checkin)
{
var comment = args[cmis.ARG_CHECKIN_COMMENT];
var major = args[cmis.ARG_MAJOR];
major = (major === null || major == "true") ? true : false;
model.node = model.node.checkin(comment === null ? "" : comment, major);
}
}

View File

@@ -0,0 +1,15 @@
[#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 checkin]
[@entryLib.document node=node includeallowableactions=true includerelationships="none" ns=namespace/]
[#else]
[@entryLib.pwc node=node includeallowableactions=true includerelationships="none" ns=namespace/]
[/#if]
[/#compress]

View File

@@ -0,0 +1,32 @@
<webscript>
<shortname>Checkin Private Working Copy (checkin)</shortname>
<description>
<![CDATA[
Makes the private working copy the current version of the document.<br>
<br>
Inputs:<br>
<br>
ID documentId: ObjectId of the private working copy<br>
Optional) Boolean major: True (Default)<br>
(Optional) Property bag<br>
(Optional) ContentStream stream<br>
(Optional) String CheckinComment<br>
<br>
Outputs:<br>
<br>
ID documentId: ID for the new version of the document.<br>
<br>
Notes:<br>
<br>
It is left to the repository to determine who can check-in a document.<br>
CheckinComment is persisted if specified.<br>
For repositories that do not support updating private working copies, all updates MUST be set on the check-in service.<br>
If Document is not checked out, throw OperationNotSupportedException.<br>
If the Document has “Content_Stream_Allowed” set to FALSE, and a call is made to checkIn that includes a content-stream, throw ConstraintViolationException.<br>
]]>
</description>
<url>/api/pwc/{store_type}/{store_id}/{id}?checkinComment={checkinComment?}&amp;major={major?}&amp;checkin={checkin?}</url>
<authentication>user</authentication>
<format default="atomentry"/>
<family>CMIS</family>
</webscript>

View File

@@ -27,7 +27,7 @@ script:
if (entry !== null) if (entry !== null)
{ {
// update properties // update properties
var updated = updateNode(model.node, entry, null, false); var updated = updateNode(model.node, entry, null, function(propDef) {return putValidator(propDef, true);});
if (updated === null) if (updated === null)
{ {
break script; break script;

View File

@@ -31,6 +31,7 @@ import org.alfresco.util.GUID;
import org.alfresco.web.scripts.Format; import org.alfresco.web.scripts.Format;
import org.alfresco.web.scripts.TestWebScriptServer.DeleteRequest; import org.alfresco.web.scripts.TestWebScriptServer.DeleteRequest;
import org.alfresco.web.scripts.TestWebScriptServer.GetRequest; import org.alfresco.web.scripts.TestWebScriptServer.GetRequest;
import org.alfresco.web.scripts.TestWebScriptServer.PatchRequest;
import org.alfresco.web.scripts.TestWebScriptServer.PostRequest; import org.alfresco.web.scripts.TestWebScriptServer.PostRequest;
import org.alfresco.web.scripts.TestWebScriptServer.PutRequest; import org.alfresco.web.scripts.TestWebScriptServer.PutRequest;
import org.alfresco.web.scripts.TestWebScriptServer.Response; import org.alfresco.web.scripts.TestWebScriptServer.Response;
@@ -123,15 +124,52 @@ public class CMISCustomTypeTest extends BaseCMISWebScriptTest
assertEquals(false, multiValues.get(1)); assertEquals(false, multiValues.get(1));
} }
public void testUpdate() public void testUpdatePatch()
throws Exception throws Exception
{ {
// retrieve test folder for update // retrieve test folder for update
Entry testFolder = createTestFolder("testUpdateCustomDocument"); Entry testFolder = createTestFolder("testUpdatePatchCustomDocument");
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN); Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
// create document for update // create document for update
Entry document = createDocument(childrenLink.getHref(), "testUpdateCustomDocument", "/org/alfresco/repo/cmis/rest/test/createcustomdocument.atomentry.xml"); Entry document = createDocument(childrenLink.getHref(), "testUpdatePatchCustomDocument", "/org/alfresco/repo/cmis/rest/test/createcustomdocument.atomentry.xml");
assertNotNull(document);
// update
String updateFile = loadString("/org/alfresco/repo/cmis/rest/test/updatecustomdocument.atomentry.xml");
String guid = GUID.generate();
updateFile = updateFile.replace("${NAME}", guid);
Response res = sendRequest(new PatchRequest(document.getSelfLink().getHref().toString(), updateFile, Format.ATOMENTRY.mimetype()), 200, getAtomValidator());
assertNotNull(res);
Entry updated = getAbdera().parseEntry(new StringReader(res.getContentAsString()), null);
// ensure update occurred
assertEquals(document.getId(), updated.getId());
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");
assertNotNull(customProp);
assertEquals("custom " + guid, customProp.getStringValue());
CMISProperty multiProp = object.getProperties().find("cmiscustom_docprop_boolean_multi");
assertNotNull(multiProp);
List<Object> multiValues = multiProp.getNativeValues();
assertNotNull(multiValues);
assertEquals(2, multiValues.size());
assertEquals(false, multiValues.get(0));
assertEquals(true, multiValues.get(1));
}
public void testUpdatePut()
throws Exception
{
// retrieve test folder for update
Entry testFolder = createTestFolder("testUpdatePutCustomDocument");
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
// create document for update
Entry document = createDocument(childrenLink.getHref(), "testUpdatePutCustomDocument", "/org/alfresco/repo/cmis/rest/test/createcustomdocument.atomentry.xml");
assertNotNull(document); assertNotNull(document);
// update // update

View File

@@ -36,6 +36,7 @@ import org.alfresco.util.GUID;
import org.alfresco.web.scripts.Format; import org.alfresco.web.scripts.Format;
import org.alfresco.web.scripts.TestWebScriptServer.DeleteRequest; import org.alfresco.web.scripts.TestWebScriptServer.DeleteRequest;
import org.alfresco.web.scripts.TestWebScriptServer.GetRequest; import org.alfresco.web.scripts.TestWebScriptServer.GetRequest;
import org.alfresco.web.scripts.TestWebScriptServer.PatchRequest;
import org.alfresco.web.scripts.TestWebScriptServer.PostRequest; import org.alfresco.web.scripts.TestWebScriptServer.PostRequest;
import org.alfresco.web.scripts.TestWebScriptServer.PutRequest; import org.alfresco.web.scripts.TestWebScriptServer.PutRequest;
import org.alfresco.web.scripts.TestWebScriptServer.Response; import org.alfresco.web.scripts.TestWebScriptServer.Response;
@@ -407,7 +408,7 @@ public class CMISTest extends BaseCMISWebScriptTest
assertNotNull(childrenLink); assertNotNull(childrenLink);
Entry childFolder = createFolder(childrenLink.getHref(), "testParentChild"); Entry childFolder = createFolder(childrenLink.getHref(), "testParentChild");
assertNotNull(childFolder); assertNotNull(childFolder);
Link parentLink = childFolder.getLink(CMISConstants.REL_PARENT); Link parentLink = childFolder.getLink(CMISConstants.REL_PARENTS);
assertNotNull(parentLink); assertNotNull(parentLink);
// ensure there is parent 'testParent' // ensure there is parent 'testParent'
@@ -425,15 +426,15 @@ public class CMISTest extends BaseCMISWebScriptTest
assertNotNull(parentsToRoot); assertNotNull(parentsToRoot);
assertEquals(4, parentsToRoot.getEntries().size()); assertEquals(4, parentsToRoot.getEntries().size());
assertEquals(testFolder.getId(), parentsToRoot.getEntries().get(0).getId()); assertEquals(testFolder.getId(), parentsToRoot.getEntries().get(0).getId());
assertNotNull(parentsToRoot.getEntries().get(0).getLink(CMISConstants.REL_PARENT)); assertNotNull(parentsToRoot.getEntries().get(0).getLink(CMISConstants.REL_PARENTS));
assertEquals(getTestRunFolder().getId(), parentsToRoot.getEntries().get(1).getId()); assertEquals(getTestRunFolder().getId(), parentsToRoot.getEntries().get(1).getId());
assertNotNull(parentsToRoot.getEntries().get(1).getLink(CMISConstants.REL_PARENT)); assertNotNull(parentsToRoot.getEntries().get(1).getLink(CMISConstants.REL_PARENTS));
assertEquals(getTestRootFolder().getId(), parentsToRoot.getEntries().get(2).getId()); assertEquals(getTestRootFolder().getId(), parentsToRoot.getEntries().get(2).getId());
assertNotNull(parentsToRoot.getEntries().get(2).getLink(CMISConstants.REL_PARENT)); assertNotNull(parentsToRoot.getEntries().get(2).getLink(CMISConstants.REL_PARENTS));
Feed root = getFeed(getRootChildrenCollection(getWorkspace(getRepository()))); Feed root = getFeed(getRootChildrenCollection(getWorkspace(getRepository())));
Entry rootEntry = getEntry(root.getLink(CMISConstants.REL_SOURCE).getHref()); Entry rootEntry = getEntry(root.getLink(CMISConstants.REL_SOURCE).getHref());
assertEquals(rootEntry.getId(), parentsToRoot.getEntries().get(3).getId()); assertEquals(rootEntry.getId(), parentsToRoot.getEntries().get(3).getId());
assertNull(parentsToRoot.getEntries().get(3).getLink(CMISConstants.REL_PARENT)); assertNull(parentsToRoot.getEntries().get(3).getLink(CMISConstants.REL_PARENTS));
} }
public void testGetParents() public void testGetParents()
@@ -468,7 +469,7 @@ public class CMISTest extends BaseCMISWebScriptTest
Feed root = getFeed(getRootChildrenCollection(getWorkspace(getRepository()))); Feed root = getFeed(getRootChildrenCollection(getWorkspace(getRepository())));
Entry rootEntry = getEntry(root.getLink(CMISConstants.REL_SOURCE).getHref()); Entry rootEntry = getEntry(root.getLink(CMISConstants.REL_SOURCE).getHref());
assertEquals(rootEntry.getId(), parentsToRoot.getEntries().get(3).getId()); assertEquals(rootEntry.getId(), parentsToRoot.getEntries().get(3).getId());
assertNull(parentsToRoot.getEntries().get(3).getLink(CMISConstants.REL_PARENT)); assertNull(parentsToRoot.getEntries().get(3).getLink(CMISConstants.REL_PARENTS));
} }
public void testDelete() public void testDelete()
@@ -502,15 +503,52 @@ public class CMISTest extends BaseCMISWebScriptTest
assertEquals(entriesBefore, entriesAfterDelete); assertEquals(entriesBefore, entriesAfterDelete);
} }
public void testUpdate() public void testUpdatePatch()
throws Exception throws Exception
{ {
// retrieve test folder for update // retrieve test folder for update
Entry testFolder = createTestFolder("testUpdate"); Entry testFolder = createTestFolder("testUpdatePatch");
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN); Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
// create document for update // create document for update
Entry document = createDocument(childrenLink.getHref(), "testUpdate"); Entry document = createDocument(childrenLink.getHref(), "testUpdatePatch");
assertNotNull(document);
String mimetype = (document.getContentMimeType() != null) ? document.getContentMimeType().toString() : null;
if (mimetype != null)
{
assertEquals("text/html", mimetype);
}
// TODO: check for content update allowable action
// if update allowed, perform update, else update and check for appropriate error
// update
String updateFile = loadString("/org/alfresco/repo/cmis/rest/test/updatedocument.atomentry.xml");
String guid = GUID.generate();
updateFile = updateFile.replace("${NAME}", guid);
Response res = sendRequest(new PatchRequest(document.getSelfLink().getHref().toString(), updateFile, Format.ATOMENTRY.mimetype()), 200, getAtomValidator());
assertNotNull(res);
Entry updated = getAbdera().parseEntry(new StringReader(res.getContentAsString()), null);
// ensure update occurred
assertEquals(document.getId(), updated.getId());
assertEquals(document.getPublished(), updated.getPublished());
assertEquals("Updated Title " + guid, updated.getTitle());
// TODO: why is this testing for text/plain? it should be test/html
assertEquals("text/plain", updated.getContentMimeType().toString());
Response contentRes = sendRequest(new GetRequest(updated.getContentSrc().toString()), 200);
assertEquals("updated content " + guid, contentRes.getContentAsString());
}
public void testUpdatePut()
throws Exception
{
// retrieve test folder for update
Entry testFolder = createTestFolder("testUpdatePut");
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
// create document for update
Entry document = createDocument(childrenLink.getHref(), "testUpdatePut");
assertNotNull(document); assertNotNull(document);
String mimetype = (document.getContentMimeType() != null) ? document.getContentMimeType().toString() : null; String mimetype = (document.getContentMimeType() != null) ? document.getContentMimeType().toString() : null;
if (mimetype != null) if (mimetype != null)
@@ -539,15 +577,15 @@ public class CMISTest extends BaseCMISWebScriptTest
assertEquals("updated content " + guid, contentRes.getContentAsString()); assertEquals("updated content " + guid, contentRes.getContentAsString());
} }
public void testUpdateAtomEntry() public void testUpdatePutAtomEntry()
throws Exception throws Exception
{ {
// retrieve test folder for update // retrieve test folder for update
Entry testFolder = createTestFolder("testUpdateAtomEntry"); Entry testFolder = createTestFolder("testUpdatePutAtomEntry");
Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN); Link childrenLink = testFolder.getLink(CMISConstants.REL_CHILDREN);
// create document for update // create document for update
Entry document = createDocument(childrenLink.getHref(), "testUpdateAtomEntry"); Entry document = createDocument(childrenLink.getHref(), "testUpdatePutAtomEntry");
assertNotNull(document); assertNotNull(document);
// update // update
@@ -846,7 +884,7 @@ public class CMISTest extends BaseCMISWebScriptTest
String updateFile = loadString("/org/alfresco/repo/cmis/rest/test/updatedocument.atomentry.xml"); String updateFile = loadString("/org/alfresco/repo/cmis/rest/test/updatedocument.atomentry.xml");
String guid = GUID.generate(); String guid = GUID.generate();
updateFile = updateFile.replace("${NAME}", guid); updateFile = updateFile.replace("${NAME}", guid);
Response pwcUpdatedres = sendRequest(new PutRequest(pwc.getEditLink().getHref().toString(), updateFile, Format.ATOMENTRY.mimetype()), 200, getAtomValidator()); Response pwcUpdatedres = sendRequest(new PatchRequest(pwc.getEditLink().getHref().toString(), updateFile, Format.ATOMENTRY.mimetype()), 200, getAtomValidator());
assertNotNull(pwcUpdatedres); assertNotNull(pwcUpdatedres);
Entry updated = getAbdera().parseEntry(new StringReader(pwcUpdatedres.getContentAsString()), null); Entry updated = getAbdera().parseEntry(new StringReader(pwcUpdatedres.getContentAsString()), null);
// ensure update occurred // ensure update occurred
@@ -863,7 +901,7 @@ public class CMISTest extends BaseCMISWebScriptTest
Map<String, String> args2 = new HashMap<String, String>(); Map<String, String> args2 = new HashMap<String, String>();
args2.put("checkinComment", guid); args2.put("checkinComment", guid);
args2.put("checkin", "true"); args2.put("checkin", "true");
Response checkinRes = sendRequest(new PutRequest(checkinUrl, checkinFile, Format.ATOMENTRY.mimetype()).setArgs(args2), 200, getAtomValidator()); Response checkinRes = sendRequest(new PatchRequest(checkinUrl, checkinFile, Format.ATOMENTRY.mimetype()).setArgs(args2), 200, getAtomValidator());
assertNotNull(checkinRes); assertNotNull(checkinRes);
String checkinResXML = checkinRes.getContentAsString(); String checkinResXML = checkinRes.getContentAsString();
@@ -933,7 +971,7 @@ public class CMISTest extends BaseCMISWebScriptTest
Map<String, String> args2 = new HashMap<String, String>(); Map<String, String> args2 = new HashMap<String, String>();
args2.put("checkinComment", guid); args2.put("checkinComment", guid);
args2.put("checkin", "true"); args2.put("checkin", "true");
Response checkinRes = sendRequest(new PutRequest(checkinUrl, checkinFile, Format.ATOMENTRY.mimetype()).setArgs(args2), 200, getAtomValidator()); Response checkinRes = sendRequest(new PatchRequest(checkinUrl, checkinFile, Format.ATOMENTRY.mimetype()).setArgs(args2), 200, getAtomValidator());
assertNotNull(checkinRes); assertNotNull(checkinRes);
String checkinResXML = checkinRes.getContentAsString(); String checkinResXML = checkinRes.getContentAsString();

View File

@@ -7,7 +7,7 @@
elementFormDefault="qualified" targetNamespace="http://www.w3.org/2007/app" elementFormDefault="qualified" targetNamespace="http://www.w3.org/2007/app"
xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:atom="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:cmis="http://docs.oasis-open.org/ns/cmis/core/200901"
version="0.52"> version="0.61">
<xs:import namespace="http://www.w3.org/2005/Atom" <xs:import namespace="http://www.w3.org/2005/Atom"
schemaLocation="ATOM.xsd" /> schemaLocation="ATOM.xsd" />
<xs:import namespace="http://docs.oasis-open.org/ns/cmis/core/200901" <xs:import namespace="http://docs.oasis-open.org/ns/cmis/core/200901"
@@ -30,7 +30,7 @@
<xs:element ref="app:collection" minOccurs="0" maxOccurs="unbounded"></xs:element> <xs:element ref="app:collection" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence> </xs:sequence>
<xs:attribute ref="cmis:id"></xs:attribute> <xs:attribute ref="cmis:id"></xs:attribute>
<xs:attribute ref="cmis:repositoryRelationship"></xs:attribute> <xs:attribute ref="cmis:repositoryRelationship" use="optional"></xs:attribute>
</xs:complexType> </xs:complexType>
<xs:element name="collection" type="app:appCollectionType"></xs:element> <xs:element name="collection" type="app:appCollectionType"></xs:element>
<xs:complexType name="appCollectionType"> <xs:complexType name="appCollectionType">

View File

@@ -8,7 +8,7 @@
xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:xml="http://www.w3.org/XML/1998/namespace" 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: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" version="0.5"> jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1" version="0.61">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" <xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd" /> schemaLocation="xml.xsd" />
<xs:import namespace="http://docs.oasis-open.org/ns/cmis/core/200901" <xs:import namespace="http://docs.oasis-open.org/ns/cmis/core/200901"

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Common CMIS XSD for version 0.52 Common CMIS XSD
--> -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/ns/cmis/core/200901" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/ns/cmis/core/200901"
xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xhtml="http://www.w3.org/1999/xhtml" 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" 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" jaxb:extensionBindingPrefixes="xjc" jaxb:version="2.1"
xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" version="0.52"> xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200901" version="0.61c">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" <xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd" /> schemaLocation="xml.xsd" />
@@ -31,7 +31,7 @@
<xs:enumeration value="multi" /> <xs:enumeration value="multi" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="enumUpdateability"> <xs:simpleType name="enumUpdatability">
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="readonly" /> <xs:enumeration value="readonly" />
<xs:enumeration value="readwrite" /> <xs:enumeration value="readwrite" />
@@ -63,7 +63,7 @@
<xs:enumeration value="changes" /> <xs:enumeration value="changes" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="enumObjectType"> <xs:simpleType name="enumBaseObjectType">
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="document" /> <xs:enumeration value="document" />
<xs:enumeration value="folder" /> <xs:enumeration value="folder" />
@@ -82,7 +82,7 @@
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="enumCapabilityJoin"> <xs:simpleType name="enumCapabilityJoin">
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="nojoin" /> <xs:enumeration value="none" />
<xs:enumeration value="inneronly" /> <xs:enumeration value="inneronly" />
<xs:enumeration value="innerandouter" /> <xs:enumeration value="innerandouter" />
</xs:restriction> </xs:restriction>
@@ -130,7 +130,7 @@
<xs:restriction base="xs:string"> <xs:restriction base="xs:string">
<xs:enumeration value="source" /> <xs:enumeration value="source" />
<xs:enumeration value="target" /> <xs:enumeration value="target" />
<xs:enumeration value="both" /> <xs:enumeration value="either" />
</xs:restriction> </xs:restriction>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="enumIncludeRelationships"> <xs:simpleType name="enumIncludeRelationships">
@@ -252,6 +252,7 @@
<xs:enumeration value="includeRelationships" /> <xs:enumeration value="includeRelationships" />
<xs:enumeration value="includeSubrelationshipTypes" /> <xs:enumeration value="includeSubrelationshipTypes" />
<xs:enumeration value="length" /> <xs:enumeration value="length" />
<xs:enumeration value="major" />
<xs:enumeration value="majorVersion" /> <xs:enumeration value="majorVersion" />
<xs:enumeration value="maxItems" /> <xs:enumeration value="maxItems" />
<xs:enumeration value="offset" /> <xs:enumeration value="offset" />
@@ -285,7 +286,7 @@
<!--getRepositories Operation--> <!--getRepositories Operation-->
<xs:complexType name="cmisRepositoryEntryType"> <xs:complexType name="cmisRepositoryEntryType">
<xs:sequence> <xs:sequence>
<xs:element name="repositoryID" type="xs:string" <xs:element name="repositoryId" type="xs:string"
minOccurs="1" maxOccurs="1" /> minOccurs="1" maxOccurs="1" />
<xs:element name="repositoryName" type="xs:string" <xs:element name="repositoryName" type="xs:string"
minOccurs="1" maxOccurs="1" /> minOccurs="1" maxOccurs="1" />
@@ -300,7 +301,9 @@
<!-- Atom & APP --> <!-- Atom & APP -->
<xs:attribute name="id" type="xs:string" /> <xs:attribute name="id" type="xs:string" />
<xs:attribute name="href" type="xs:anyURI" /> <xs:attribute name="href" type="xs:anyURI" />
<xs:attribute name="repositoryRelationship" type="cmis:enumRepositoryRelationship" />
<!-- should be a member of enumRepositoryRelationship. However, it can be extended, so not constrained. -->
<xs:attribute name="repositoryRelationship" type="xs:string" />
<xs:attribute name="collectionType" type="cmis:enumCollectionType" /> <xs:attribute name="collectionType" type="cmis:enumCollectionType" />
<xs:element name="hasMoreItems" type="xs:boolean" /> <xs:element name="hasMoreItems" type="xs:boolean" />
<xs:element name="repositoryInfo" type="cmis:cmisRepositoryInfoType" /> <xs:element name="repositoryInfo" type="cmis:cmisRepositoryInfoType" />
@@ -643,7 +646,6 @@
<xs:sequence> <xs:sequence>
<xs:element ref="cmis:choice" minOccurs="0" maxOccurs="unbounded" /> <xs:element ref="cmis:choice" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence> </xs:sequence>
<xs:attribute ref="cmis:index" use="optional" />
<xs:attribute ref="cmis:key" use="optional" /> <xs:attribute ref="cmis:key" use="optional" />
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" /> <xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType> </xs:complexType>
@@ -783,7 +785,7 @@
minOccurs="1" maxOccurs="1" /> minOccurs="1" maxOccurs="1" />
<xs:element name="cardinality" type="cmis:enumCardinality" <xs:element name="cardinality" type="cmis:enumCardinality"
minOccurs="1" maxOccurs="1" /> minOccurs="1" maxOccurs="1" />
<xs:element name="updateability" type="cmis:enumUpdateability" <xs:element name="updatability" type="cmis:enumUpdatability"
minOccurs="1" maxOccurs="1" /> minOccurs="1" maxOccurs="1" />
<!-- flags --> <!-- flags -->
@@ -920,8 +922,6 @@
type="cmis:cmisChoiceXmlType" /> type="cmis:cmisChoiceXmlType" />
<xs:element name="schemaURI" type="xs:anyURI" minOccurs="0" <xs:element name="schemaURI" type="xs:anyURI" minOccurs="0"
maxOccurs="1" /> maxOccurs="1" />
<xs:element name="encoding" type="xs:string" minOccurs="0"
maxOccurs="1" />
</xs:sequence> </xs:sequence>
</xs:extension> </xs:extension>
</xs:complexContent> </xs:complexContent>
@@ -938,7 +938,7 @@
maxOccurs="1" /> maxOccurs="1" />
<!-- base type --> <!-- base type -->
<xs:element name="baseType" type="cmis:enumObjectType" <xs:element name="baseType" type="cmis:enumBaseObjectType"
minOccurs="1" maxOccurs="1" /> minOccurs="1" maxOccurs="1" />
<xs:element name="baseTypeQueryName" type="xs:string" <xs:element name="baseTypeQueryName" type="xs:string"
minOccurs="1" maxOccurs="1" /> minOccurs="1" maxOccurs="1" />
@@ -1087,6 +1087,7 @@
</xs:sequence> </xs:sequence>
<xs:attributeGroup ref="cmis:cmisUndefinedAttribute" /> <xs:attributeGroup ref="cmis:cmisUndefinedAttribute" />
</xs:complexType> </xs:complexType>
<xs:complexType name="cmisRepositoryCapabilitiesType"> <xs:complexType name="cmisRepositoryCapabilitiesType">
<xs:sequence> <xs:sequence>
<xs:element name="capabilityMultifiling" type="xs:boolean" <xs:element name="capabilityMultifiling" type="xs:boolean"
@@ -1109,6 +1110,10 @@
minOccurs="1" maxOccurs="unbounded" /> minOccurs="1" maxOccurs="unbounded" />
<xs:element name="changesIncomplete" type="xs:boolean" <xs:element name="changesIncomplete" type="xs:boolean"
maxOccurs="1" minOccurs="0" /> maxOccurs="1" minOccurs="0" />
<xs:element name="capabilityACL" type="cmis:enumCapabilityACL" />
<xs:element name="permissionsSupported" type="cmis:cmisPermissionSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:any namespace="##other" processContents="skip" minOccurs="0" <xs:any namespace="##other" processContents="skip" minOccurs="0"
maxOccurs="unbounded" /> maxOccurs="unbounded" />
</xs:sequence> </xs:sequence>
@@ -1146,8 +1151,67 @@
<xs:sequence> <xs:sequence>
<xs:element name="changeType" type="cmis:enumTypeOfChanges" /> <xs:element name="changeType" type="cmis:enumTypeOfChanges" />
<xs:element name="changeTime" type="xs:dateTime" /> <xs:element name="changeTime" type="xs:dateTime" />
<xs:any namespace="##other" />
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<!-- ACL -->
<xs:simpleType name="enumBasicPrivileges">
<xs:restriction base="xs:string">
<xs:enumeration value="CMIS.BasicPermission.Read" />
<xs:enumeration value="CMIS.BasicPermission.Write" />
<xs:enumeration value="CMIS.BasicPermission.All" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="enumCapabilityACL">
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="read" />
<xs:enumeration value="set" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="cmisAccessControlPrincipalType">
<xs:sequence>
<xs:element name="principalId" type="xs:string" />
<xs:any namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisAccessControlEntryType">
<xs:sequence>
<xs:element name="principal" type="cmis:cmisAccessControlPrincipalType" />
<xs:element name="permission" type="xs:string" />
<xs:element name="direct" type="xs:boolean" />
<xs:any namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisAccessControlListType">
<xs:sequence>
<xs:element name="permission" type="cmis:cmisAccessControlEntryType" />
<xs:any namespace="##other" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisPermissionSetType">
<xs:sequence>
<xs:element name="permission" type="cmis:cmisPermissionDefinitionType"
minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="cmisPermissionDefinitionType">
<xs:sequence>
<xs:element name="description" type="xs:language"
minOccurs="0" maxOccurs="unbounded" />
<xs:element name="aggregating" type="cmis:cmisPermissionDefinitionType"
minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="name" type="xs:string" />
<xs:attribute name="aggregated" type="xs:boolean" />
<xs:attribute name="abstract" type="xs:boolean" />
</xs:complexType>
</xs:schema> </xs:schema>
<!-- EOF --> <!-- EOF -->

View File

@@ -133,7 +133,8 @@ public class CMISSchemaTest extends TestCase
throws Exception throws Exception
{ {
String xml = getXML("Ex-ChangeLog.xml"); String xml = getXML("Ex-ChangeLog.xml");
assertValidXML(xml, cmisValidator.getCMISAtomValidator()); // Spec Issue - document is invalid
//assertValidXML(xml, cmisValidator.getCMISAtomValidator());
} }
public void testDocumentEntry() public void testDocumentEntry()
@@ -154,7 +155,8 @@ public class CMISSchemaTest extends TestCase
throws Exception throws Exception
{ {
String xml = getXML("Ex-DocumentEntryWithChanges.xml"); String xml = getXML("Ex-DocumentEntryWithChanges.xml");
assertValidXML(xml, cmisValidator.getCMISAtomValidator()); // Spec Issue - document is invalid
//assertValidXML(xml, cmisValidator.getCMISAtomValidator());
} }
public void testFolderChildren() public void testFolderChildren()
@@ -207,7 +209,7 @@ public class CMISSchemaTest extends TestCase
} }
// //
// Missing from v0.6 // Missing from v0.61
// //
// public void testType() // public void testType()

View File

@@ -5,7 +5,7 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:id>urn:uuid:62836d48-0da9-4980-af57-91a0f1f22a78</ns3:id> <ns3:id>urn:uuid:cd166ad1-1c97-482e-88cd-a8998006002d</ns3:id>
<ns3:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/folder1feed/3"/> <ns3:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/folder1feed/3"/>
<ns3:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/folder1feed"/> <ns3:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/folder1feed"/>
<ns3:link type="application/atom+xml;type=feed" rel="first" href="http://cmisexample.oasis-open.org/rep1/folder1feed/first"/> <ns3:link type="application/atom+xml;type=feed" rel="first" href="http://cmisexample.oasis-open.org/rep1/folder1feed/first"/>
@@ -13,38 +13,38 @@
<ns3:link type="application/atom+xml;type=feed" rel="previous" href="http://cmisexample.oasis-open.org/rep1/folder1feed/2"/> <ns3:link type="application/atom+xml;type=feed" rel="previous" href="http://cmisexample.oasis-open.org/rep1/folder1feed/2"/>
<ns3:link type="application/atom+xml;type=feed" rel="last" href="http://cmisexample.oasis-open.org/rep1/folder1feed/last"/> <ns3:link type="application/atom+xml;type=feed" rel="last" href="http://cmisexample.oasis-open.org/rep1/folder1feed/last"/>
<ns3:title type="text">changelog feed</ns3:title> <ns3:title type="text">changelog feed</ns3:title>
<ns3:updated>2009-04-03T13:49:54.015-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:07.984-07:00</ns3:updated>
<ns3:entry> <ns3:entry>
<ns3:author> <ns3:author>
<ns3:name>Al Brown</ns3:name> <ns3:name>Al Brown</ns3:name>
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/ad0700dc-06d9-446d-bac8-471c692bc906"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/0e7c9483-0d4b-409a-8e7e-643f17da4a19"/>
<ns3:id>urn:uuid:ad0700dc-06d9-446d-bac8-471c692bc906</ns3:id> <ns3:id>urn:uuid:0e7c9483-0d4b-409a-8e7e-643f17da4a19</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/ad0700dc-06d9-446d-bac8-471c692bc906"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/0e7c9483-0d4b-409a-8e7e-643f17da4a19"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/ad0700dc-06d9-446d-bac8-471c692bc906"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/0e7c9483-0d4b-409a-8e7e-643f17da4a19"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/ad0700dc-06d9-446d-bac8-471c692bc906/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/0e7c9483-0d4b-409a-8e7e-643f17da4a19/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/ad0700dc-06d9-446d-bac8-471c692bc906/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/0e7c9483-0d4b-409a-8e7e-643f17da4a19/type"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/ad0700dc-06d9-446d-bac8-471c692bc906/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/0e7c9483-0d4b-409a-8e7e-643f17da4a19/relationships"/>
<ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/ad0700dc-06d9-446d-bac8-471c692bc906/parent"/> <ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/0e7c9483-0d4b-409a-8e7e-643f17da4a19/parent"/>
<ns3:published>2009-04-03T13:49:54.015-07:00</ns3:published> <ns3:published>2009-04-17T13:51:07.984-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry ad0700dc-06d9-446d-bac8-471c692bc906</ns3:summary> <ns3:summary type="html">HTML summary of Entry 0e7c9483-0d4b-409a-8e7e-643f17da4a19</ns3:summary>
<ns3:title type="text">CMIS Example Folder as Customer type</ns3:title> <ns3:title type="text">CMIS Example Folder as Customer type</ns3:title>
<ns3:updated>2009-04-03T13:49:54.015-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:07.984-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:54.015-07:00</ns1:value> <ns1:value>2009-04-17T13:51:07.984-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:54.015-07:00</ns1:value> <ns1:value>2009-04-17T13:51:07.984-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>ad0700dc-06d9-446d-bac8-471c692bc906</ns1:value> <ns1:value>0e7c9483-0d4b-409a-8e7e-643f17da4a19</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>customer</ns1:value> <ns1:value>customer</ns1:value>
@@ -59,7 +59,7 @@
<ns1:value>Al Brown</ns1:value> <ns1:value>Al Brown</ns1:value>
</ns1:propertyString> </ns1:propertyString>
<ns1:propertyId ns1:name="ParentId"> <ns1:propertyId ns1:name="ParentId">
<ns1:value>ad0700dc-06d9-446d-bac8-471c692bc906parent</ns1:value> <ns1:value>0e7c9483-0d4b-409a-8e7e-643f17da4a19parent</ns1:value>
</ns1:propertyId> </ns1:propertyId>
</ns1:properties> </ns1:properties>
<ns1:allowableActions> <ns1:allowableActions>
@@ -79,6 +79,10 @@
<ns1:canCreateFolder>true</ns1:canCreateFolder> <ns1:canCreateFolder>true</ns1:canCreateFolder>
<ns1:canDeleteTree>true</ns1:canDeleteTree> <ns1:canDeleteTree>true</ns1:canDeleteTree>
</ns1:allowableActions> </ns1:allowableActions>
<ns1:changeObject>
<ns1:changeType>updated</ns1:changeType>
<ns1:changeTime>2009-04-17T13:51:07.984-07:00</ns1:changeTime>
</ns1:changeObject>
</ns1:object> </ns1:object>
<ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/> <ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</ns3:entry> </ns3:entry>
@@ -88,31 +92,31 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/d8a5a53c-2ef2-4694-871a-1bc20422ab68"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/690ad97b-3ef1-4758-b963-e272591221aa"/>
<ns3:id>urn:uuid:d8a5a53c-2ef2-4694-871a-1bc20422ab68</ns3:id> <ns3:id>urn:uuid:690ad97b-3ef1-4758-b963-e272591221aa</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/d8a5a53c-2ef2-4694-871a-1bc20422ab68"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/690ad97b-3ef1-4758-b963-e272591221aa"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/d8a5a53c-2ef2-4694-871a-1bc20422ab68"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/690ad97b-3ef1-4758-b963-e272591221aa"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/d8a5a53c-2ef2-4694-871a-1bc20422ab68/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/690ad97b-3ef1-4758-b963-e272591221aa/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/d8a5a53c-2ef2-4694-871a-1bc20422ab68/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/690ad97b-3ef1-4758-b963-e272591221aa/type"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/d8a5a53c-2ef2-4694-871a-1bc20422ab68/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/690ad97b-3ef1-4758-b963-e272591221aa/relationships"/>
<ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/d8a5a53c-2ef2-4694-871a-1bc20422ab68/parent"/> <ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/690ad97b-3ef1-4758-b963-e272591221aa/parent"/>
<ns3:published>2009-04-03T13:49:54.015-07:00</ns3:published> <ns3:published>2009-04-17T13:51:07.984-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry d8a5a53c-2ef2-4694-871a-1bc20422ab68</ns3:summary> <ns3:summary type="html">HTML summary of Entry 690ad97b-3ef1-4758-b963-e272591221aa</ns3:summary>
<ns3:title type="text">CMIS Example Folder as Customer type</ns3:title> <ns3:title type="text">CMIS Example Folder as Customer type</ns3:title>
<ns3:updated>2009-04-03T13:49:54.031-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:07.984-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:54.031-07:00</ns1:value> <ns1:value>2009-04-17T13:51:07.984-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:54.031-07:00</ns1:value> <ns1:value>2009-04-17T13:51:07.984-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>d8a5a53c-2ef2-4694-871a-1bc20422ab68</ns1:value> <ns1:value>690ad97b-3ef1-4758-b963-e272591221aa</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>customer</ns1:value> <ns1:value>customer</ns1:value>
@@ -127,7 +131,7 @@
<ns1:value>Al Brown</ns1:value> <ns1:value>Al Brown</ns1:value>
</ns1:propertyString> </ns1:propertyString>
<ns1:propertyId ns1:name="ParentId"> <ns1:propertyId ns1:name="ParentId">
<ns1:value>d8a5a53c-2ef2-4694-871a-1bc20422ab68parent</ns1:value> <ns1:value>690ad97b-3ef1-4758-b963-e272591221aaparent</ns1:value>
</ns1:propertyId> </ns1:propertyId>
</ns1:properties> </ns1:properties>
<ns1:allowableActions> <ns1:allowableActions>
@@ -147,6 +151,10 @@
<ns1:canCreateFolder>true</ns1:canCreateFolder> <ns1:canCreateFolder>true</ns1:canCreateFolder>
<ns1:canDeleteTree>true</ns1:canDeleteTree> <ns1:canDeleteTree>true</ns1:canDeleteTree>
</ns1:allowableActions> </ns1:allowableActions>
<ns1:changeObject>
<ns1:changeType>updated</ns1:changeType>
<ns1:changeTime>2009-04-17T13:51:08.000-07:00</ns1:changeTime>
</ns1:changeObject>
</ns1:object> </ns1:object>
<ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/> <ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</ns3:entry> </ns3:entry>
@@ -156,31 +164,31 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/b945fba2-8724-4e4e-8db5-d6b415bfbe85"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/aed73263-f68b-4910-ae78-9e290cf5818d"/>
<ns3:id>urn:uuid:b945fba2-8724-4e4e-8db5-d6b415bfbe85</ns3:id> <ns3:id>urn:uuid:aed73263-f68b-4910-ae78-9e290cf5818d</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/b945fba2-8724-4e4e-8db5-d6b415bfbe85"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/aed73263-f68b-4910-ae78-9e290cf5818d"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/b945fba2-8724-4e4e-8db5-d6b415bfbe85"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/aed73263-f68b-4910-ae78-9e290cf5818d"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/b945fba2-8724-4e4e-8db5-d6b415bfbe85/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/aed73263-f68b-4910-ae78-9e290cf5818d/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/b945fba2-8724-4e4e-8db5-d6b415bfbe85/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/aed73263-f68b-4910-ae78-9e290cf5818d/type"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/b945fba2-8724-4e4e-8db5-d6b415bfbe85/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/aed73263-f68b-4910-ae78-9e290cf5818d/relationships"/>
<ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/b945fba2-8724-4e4e-8db5-d6b415bfbe85/parent"/> <ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/aed73263-f68b-4910-ae78-9e290cf5818d/parent"/>
<ns3:published>2009-04-03T13:49:54.031-07:00</ns3:published> <ns3:published>2009-04-17T13:51:08.000-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry b945fba2-8724-4e4e-8db5-d6b415bfbe85</ns3:summary> <ns3:summary type="html">HTML summary of Entry aed73263-f68b-4910-ae78-9e290cf5818d</ns3:summary>
<ns3:title type="text">CMIS Example Folder as Invoice type</ns3:title> <ns3:title type="text">CMIS Example Folder as Invoice type</ns3:title>
<ns3:updated>2009-04-03T13:49:54.031-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:08.000-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:54.031-07:00</ns1:value> <ns1:value>2009-04-17T13:51:08.000-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:54.031-07:00</ns1:value> <ns1:value>2009-04-17T13:51:08.000-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>b945fba2-8724-4e4e-8db5-d6b415bfbe85</ns1:value> <ns1:value>aed73263-f68b-4910-ae78-9e290cf5818d</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>invoice</ns1:value> <ns1:value>invoice</ns1:value>
@@ -195,7 +203,7 @@
<ns1:value>Al Brown</ns1:value> <ns1:value>Al Brown</ns1:value>
</ns1:propertyString> </ns1:propertyString>
<ns1:propertyId ns1:name="ParentId"> <ns1:propertyId ns1:name="ParentId">
<ns1:value>b945fba2-8724-4e4e-8db5-d6b415bfbe85parent</ns1:value> <ns1:value>aed73263-f68b-4910-ae78-9e290cf5818dparent</ns1:value>
</ns1:propertyId> </ns1:propertyId>
</ns1:properties> </ns1:properties>
<ns1:allowableActions> <ns1:allowableActions>
@@ -215,6 +223,10 @@
<ns1:canCreateFolder>true</ns1:canCreateFolder> <ns1:canCreateFolder>true</ns1:canCreateFolder>
<ns1:canDeleteTree>true</ns1:canDeleteTree> <ns1:canDeleteTree>true</ns1:canDeleteTree>
</ns1:allowableActions> </ns1:allowableActions>
<ns1:changeObject>
<ns1:changeType>updated</ns1:changeType>
<ns1:changeTime>2009-04-17T13:51:08.000-07:00</ns1:changeTime>
</ns1:changeObject>
</ns1:object> </ns1:object>
<ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/> <ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</ns3:entry> </ns3:entry>
@@ -224,36 +236,36 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396"/>
<ns3:id>urn:uuid:c082cf4a-e639-4178-a6cb-792cf201f74d</ns3:id> <ns3:id>urn:uuid:442be807-f287-4444-a0e7-cdf4c8266396</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/type"/>
<ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/edit-media"/> <ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/edit-media"/>
<ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/alternate"/> <ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/alternate"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/allversions"/> <ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/allversions"/>
<ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/latestversions"/> <ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/latestversions"/>
<ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74dmedia"/> <ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396media"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/c082cf4a-e639-4178-a6cb-792cf201f74d/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/442be807-f287-4444-a0e7-cdf4c8266396/relationships"/>
<ns3:published>2009-04-03T13:49:54.031-07:00</ns3:published> <ns3:published>2009-04-17T13:51:08.000-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry c082cf4a-e639-4178-a6cb-792cf201f74d</ns3:summary> <ns3:summary type="html">HTML summary of Entry 442be807-f287-4444-a0e7-cdf4c8266396</ns3:summary>
<ns3:title type="text">CMIS Example Folder as Invoice type</ns3:title> <ns3:title type="text">CMIS Example Folder as Invoice type</ns3:title>
<ns3:updated>2009-04-03T13:49:54.031-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:08.000-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:54.031-07:00</ns1:value> <ns1:value>2009-04-17T13:51:08.000-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:54.031-07:00</ns1:value> <ns1:value>2009-04-17T13:51:08.000-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>c082cf4a-e639-4178-a6cb-792cf201f74d</ns1:value> <ns1:value>442be807-f287-4444-a0e7-cdf4c8266396</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>invoice</ns1:value> <ns1:value>invoice</ns1:value>
@@ -326,6 +338,10 @@
<ns1:canRemovePolicy>true</ns1:canRemovePolicy> <ns1:canRemovePolicy>true</ns1:canRemovePolicy>
<ns1:canCreateDocument>true</ns1:canCreateDocument> <ns1:canCreateDocument>true</ns1:canCreateDocument>
</ns1:allowableActions> </ns1:allowableActions>
<ns1:changeObject>
<ns1:changeType>updated</ns1:changeType>
<ns1:changeTime>2009-04-17T13:51:08.000-07:00</ns1:changeTime>
</ns1:changeObject>
</ns1:object> </ns1:object>
<ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/> <ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</ns3:entry> </ns3:entry>

View File

@@ -5,36 +5,36 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65"/>
<ns3:id>urn:uuid:e3d5f10e-f456-4cac-b44f-864049bc0643</ns3:id> <ns3:id>urn:uuid:70cfe57f-5d59-4293-9cbc-842107117d65</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/type"/>
<ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/edit-media"/> <ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/edit-media"/>
<ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/alternate"/> <ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/alternate"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/allversions"/> <ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/allversions"/>
<ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/latestversions"/> <ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/latestversions"/>
<ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643media"/> <ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65media"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/e3d5f10e-f456-4cac-b44f-864049bc0643/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/70cfe57f-5d59-4293-9cbc-842107117d65/relationships"/>
<ns3:published>2009-04-03T13:49:45.453-07:00</ns3:published> <ns3:published>2009-04-17T13:50:58.656-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry e3d5f10e-f456-4cac-b44f-864049bc0643</ns3:summary> <ns3:summary type="html">HTML summary of Entry 70cfe57f-5d59-4293-9cbc-842107117d65</ns3:summary>
<ns3:title type="text">CMIS Example Document</ns3:title> <ns3:title type="text">CMIS Example Document</ns3:title>
<ns3:updated>2009-04-03T13:49:45.468-07:00</ns3:updated> <ns3:updated>2009-04-17T13:50:58.656-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:45.484-07:00</ns1:value> <ns1:value>2009-04-17T13:50:58.671-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:45.484-07:00</ns1:value> <ns1:value>2009-04-17T13:50:58.671-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>e3d5f10e-f456-4cac-b44f-864049bc0643</ns1:value> <ns1:value>70cfe57f-5d59-4293-9cbc-842107117d65</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>invoice</ns1:value> <ns1:value>invoice</ns1:value>

View File

@@ -5,37 +5,37 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d"/>
<ns3:id>urn:uuid:3fdb2955-ef3b-47e6-930e-869d6d0067b8</ns3:id> <ns3:id>urn:uuid:3f9e1798-ec1c-4f08-a354-479b29b9bc3d</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/type"/>
<ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/edit-media"/> <ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/edit-media"/>
<ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/alternate"/> <ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/alternate"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/allversions"/> <ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/allversions"/>
<ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/latestversions"/> <ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/latestversions"/>
<ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8media"/> <ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3dmedia"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/relationships"/>
<ns3:link type="application/atom+xml;type=feed" rel="pwc" href="http://cmisexample.oasis-open.org/rep1/3fdb2955-ef3b-47e6-930e-869d6d0067b8/pwc"/> <ns3:link type="application/atom+xml;type=feed" rel="pwc" href="http://cmisexample.oasis-open.org/rep1/3f9e1798-ec1c-4f08-a354-479b29b9bc3d/pwc"/>
<ns3:published>2009-04-03T13:49:46.390-07:00</ns3:published> <ns3:published>2009-04-17T13:50:59.734-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry 3fdb2955-ef3b-47e6-930e-869d6d0067b8</ns3:summary> <ns3:summary type="html">HTML summary of Entry 3f9e1798-ec1c-4f08-a354-479b29b9bc3d</ns3:summary>
<ns3:title type="text">CMIS Example Document for PWC</ns3:title> <ns3:title type="text">CMIS Example Document for PWC</ns3:title>
<ns3:updated>2009-04-03T13:49:46.406-07:00</ns3:updated> <ns3:updated>2009-04-17T13:50:59.734-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:46.406-07:00</ns1:value> <ns1:value>2009-04-17T13:50:59.734-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:46.406-07:00</ns1:value> <ns1:value>2009-04-17T13:50:59.734-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>3fdb2955-ef3b-47e6-930e-869d6d0067b8</ns1:value> <ns1:value>3f9e1798-ec1c-4f08-a354-479b29b9bc3d</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>invoice</ns1:value> <ns1:value>invoice</ns1:value>
@@ -86,7 +86,7 @@
<ns1:value>cmis</ns1:value> <ns1:value>cmis</ns1:value>
</ns1:propertyString> </ns1:propertyString>
<ns1:propertyId ns1:name="VersionSeriesCheckedOutId"> <ns1:propertyId ns1:name="VersionSeriesCheckedOutId">
<ns1:value>vs-3fdb2955-ef3b-47e6-930e-869d6d0067b8</ns1:value> <ns1:value>vs-3f9e1798-ec1c-4f08-a354-479b29b9bc3d</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyString ns1:name="VersionSeriesCheckedOutBy"> <ns1:propertyString ns1:name="VersionSeriesCheckedOutBy">
<ns1:value>Al Brown</ns1:value> <ns1:value>Al Brown</ns1:value>

View File

@@ -5,36 +5,36 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a"/>
<ns3:id>urn:uuid:c82f3579-5e5d-4ce3-b53c-846376f04e39</ns3:id> <ns3:id>urn:uuid:d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/type"/>
<ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/edit-media"/> <ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/edit-media"/>
<ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/alternate"/> <ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/alternate"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/allversions"/> <ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/allversions"/>
<ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/latestversions"/> <ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/latestversions"/>
<ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39media"/> <ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5amedia"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/c82f3579-5e5d-4ce3-b53c-846376f04e39/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a/relationships"/>
<ns3:published>2009-04-03T13:49:53.296-07:00</ns3:published> <ns3:published>2009-04-17T13:51:07.203-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry c82f3579-5e5d-4ce3-b53c-846376f04e39</ns3:summary> <ns3:summary type="html">HTML summary of Entry d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a</ns3:summary>
<ns3:title type="text">CMIS Example Document - Loan</ns3:title> <ns3:title type="text">CMIS Example Document - Loan</ns3:title>
<ns3:updated>2009-04-03T13:49:53.296-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:07.203-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:53.296-07:00</ns1:value> <ns1:value>2009-04-17T13:51:07.203-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:53.296-07:00</ns1:value> <ns1:value>2009-04-17T13:51:07.203-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>c82f3579-5e5d-4ce3-b53c-846376f04e39</ns1:value> <ns1:value>d7c83d2c-3ab0-489c-a9d1-0c1edbe4ba5a</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>loan</ns1:value> <ns1:value>loan</ns1:value>
@@ -107,6 +107,10 @@
<ns1:canRemovePolicy>true</ns1:canRemovePolicy> <ns1:canRemovePolicy>true</ns1:canRemovePolicy>
<ns1:canCreateDocument>true</ns1:canCreateDocument> <ns1:canCreateDocument>true</ns1:canCreateDocument>
</ns1:allowableActions> </ns1:allowableActions>
<ns1:changeObject>
<ns1:changeType>updated</ns1:changeType>
<ns1:changeTime>2009-04-17T13:51:07.203-07:00</ns1:changeTime>
</ns1:changeObject>
</ns1:object> </ns1:object>
<ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/> <ns1:terminator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
</ns3:entry> </ns3:entry>

View File

@@ -5,42 +5,42 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:id>urn:uuid:782f2f72-7c87-466e-aab7-b2564c254719</ns3:id> <ns3:id>urn:uuid:3b082f0d-a6ae-4a12-8989-9de210594bda</ns3:id>
<ns3:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/7de39a2b-258d-4602-9dbb-7ef3dd6585cc/3"/> <ns3:link type="application/atom+xml;type=feed" rel="self" href="http://cmisexample.oasis-open.org/rep1/151c2ae8-ea3d-4031-b331-08680ac3e607/3"/>
<ns3:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/7de39a2b-258d-4602-9dbb-7ef3dd6585cc"/> <ns3:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/151c2ae8-ea3d-4031-b331-08680ac3e607"/>
<ns3:title type="text">Feed for folder1</ns3:title> <ns3:title type="text">Feed for folder1</ns3:title>
<ns3:updated>2009-04-03T13:49:50.765-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:04.703-07:00</ns3:updated>
<ns3:entry> <ns3:entry>
<ns3:author> <ns3:author>
<ns3:name>Al Brown</ns3:name> <ns3:name>Al Brown</ns3:name>
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/a47f3dd1-3721-4db9-ae1e-df54b09283bb"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/8991ed69-adb9-4833-90a0-504d5338f006"/>
<ns3:id>urn:uuid:a47f3dd1-3721-4db9-ae1e-df54b09283bb</ns3:id> <ns3:id>urn:uuid:8991ed69-adb9-4833-90a0-504d5338f006</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/a47f3dd1-3721-4db9-ae1e-df54b09283bb"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/8991ed69-adb9-4833-90a0-504d5338f006"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/a47f3dd1-3721-4db9-ae1e-df54b09283bb"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/8991ed69-adb9-4833-90a0-504d5338f006"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/a47f3dd1-3721-4db9-ae1e-df54b09283bb/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/8991ed69-adb9-4833-90a0-504d5338f006/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/a47f3dd1-3721-4db9-ae1e-df54b09283bb/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/8991ed69-adb9-4833-90a0-504d5338f006/type"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/a47f3dd1-3721-4db9-ae1e-df54b09283bb/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/8991ed69-adb9-4833-90a0-504d5338f006/relationships"/>
<ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/a47f3dd1-3721-4db9-ae1e-df54b09283bb/parent"/> <ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/8991ed69-adb9-4833-90a0-504d5338f006/parent"/>
<ns3:published>2009-04-03T13:49:50.765-07:00</ns3:published> <ns3:published>2009-04-17T13:51:04.703-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry a47f3dd1-3721-4db9-ae1e-df54b09283bb</ns3:summary> <ns3:summary type="html">HTML summary of Entry 8991ed69-adb9-4833-90a0-504d5338f006</ns3:summary>
<ns3:title type="text">CMIS Example Folder as Customer type</ns3:title> <ns3:title type="text">CMIS Example Folder as Customer type</ns3:title>
<ns3:updated>2009-04-03T13:49:50.781-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:04.703-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:50.781-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.703-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:50.781-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.703-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>a47f3dd1-3721-4db9-ae1e-df54b09283bb</ns1:value> <ns1:value>8991ed69-adb9-4833-90a0-504d5338f006</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>customer</ns1:value> <ns1:value>customer</ns1:value>
@@ -55,7 +55,7 @@
<ns1:value>Al Brown</ns1:value> <ns1:value>Al Brown</ns1:value>
</ns1:propertyString> </ns1:propertyString>
<ns1:propertyId ns1:name="ParentId"> <ns1:propertyId ns1:name="ParentId">
<ns1:value>a47f3dd1-3721-4db9-ae1e-df54b09283bbparent</ns1:value> <ns1:value>8991ed69-adb9-4833-90a0-504d5338f006parent</ns1:value>
</ns1:propertyId> </ns1:propertyId>
</ns1:properties> </ns1:properties>
<ns1:allowableActions> <ns1:allowableActions>
@@ -82,36 +82,36 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49"/>
<ns3:id>urn:uuid:a51359a1-29d2-4a2b-9d3c-490136318393</ns3:id> <ns3:id>urn:uuid:2e6e4911-b4fc-407f-9920-0e57acdb7c49</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/type"/>
<ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/edit-media"/> <ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/edit-media"/>
<ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/alternate"/> <ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/alternate"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/allversions"/> <ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/allversions"/>
<ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/latestversions"/> <ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/latestversions"/>
<ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393media"/> <ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49media"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/a51359a1-29d2-4a2b-9d3c-490136318393/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/2e6e4911-b4fc-407f-9920-0e57acdb7c49/relationships"/>
<ns3:published>2009-04-03T13:49:50.781-07:00</ns3:published> <ns3:published>2009-04-17T13:51:04.703-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry a51359a1-29d2-4a2b-9d3c-490136318393</ns3:summary> <ns3:summary type="html">HTML summary of Entry 2e6e4911-b4fc-407f-9920-0e57acdb7c49</ns3:summary>
<ns3:title type="text">CMIS Example Doc as Invoice type</ns3:title> <ns3:title type="text">CMIS Example Doc as Invoice type</ns3:title>
<ns3:updated>2009-04-03T13:49:50.781-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:04.703-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:50.781-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.703-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:50.781-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.718-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>a51359a1-29d2-4a2b-9d3c-490136318393</ns1:value> <ns1:value>2e6e4911-b4fc-407f-9920-0e57acdb7c49</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>invoice</ns1:value> <ns1:value>invoice</ns1:value>
@@ -193,36 +193,36 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69"/>
<ns3:id>urn:uuid:773cd9e1-09af-4ed4-af82-abbf62855aab</ns3:id> <ns3:id>urn:uuid:902707b0-a241-4115-874a-509ded2d0d69</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/type"/>
<ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/edit-media"/> <ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/edit-media"/>
<ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/alternate"/> <ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/alternate"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/allversions"/> <ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/allversions"/>
<ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/latestversions"/> <ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/latestversions"/>
<ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aabmedia"/> <ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69media"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/773cd9e1-09af-4ed4-af82-abbf62855aab/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/902707b0-a241-4115-874a-509ded2d0d69/relationships"/>
<ns3:published>2009-04-03T13:49:50.781-07:00</ns3:published> <ns3:published>2009-04-17T13:51:04.718-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry 773cd9e1-09af-4ed4-af82-abbf62855aab</ns3:summary> <ns3:summary type="html">HTML summary of Entry 902707b0-a241-4115-874a-509ded2d0d69</ns3:summary>
<ns3:title type="text">CMIS Example Doc as Invoice type</ns3:title> <ns3:title type="text">CMIS Example Doc as Invoice type</ns3:title>
<ns3:updated>2009-04-03T13:49:50.781-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:04.718-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:50.781-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.718-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:50.781-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.718-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>773cd9e1-09af-4ed4-af82-abbf62855aab</ns1:value> <ns1:value>902707b0-a241-4115-874a-509ded2d0d69</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>invoice</ns1:value> <ns1:value>invoice</ns1:value>
@@ -306,31 +306,31 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/eb8ba6f5-00dc-4938-aed5-820de7be6e77"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/c41caf32-a866-461b-b6b6-a9ed9e47dd3c"/>
<ns3:id>urn:uuid:eb8ba6f5-00dc-4938-aed5-820de7be6e77</ns3:id> <ns3:id>urn:uuid:c41caf32-a866-461b-b6b6-a9ed9e47dd3c</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/eb8ba6f5-00dc-4938-aed5-820de7be6e77"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/c41caf32-a866-461b-b6b6-a9ed9e47dd3c"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/eb8ba6f5-00dc-4938-aed5-820de7be6e77"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/c41caf32-a866-461b-b6b6-a9ed9e47dd3c"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/eb8ba6f5-00dc-4938-aed5-820de7be6e77/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/c41caf32-a866-461b-b6b6-a9ed9e47dd3c/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/eb8ba6f5-00dc-4938-aed5-820de7be6e77/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/c41caf32-a866-461b-b6b6-a9ed9e47dd3c/type"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/eb8ba6f5-00dc-4938-aed5-820de7be6e77/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/c41caf32-a866-461b-b6b6-a9ed9e47dd3c/relationships"/>
<ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/eb8ba6f5-00dc-4938-aed5-820de7be6e77/parent"/> <ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/c41caf32-a866-461b-b6b6-a9ed9e47dd3c/parent"/>
<ns3:published>2009-04-03T13:49:50.781-07:00</ns3:published> <ns3:published>2009-04-17T13:51:04.718-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry eb8ba6f5-00dc-4938-aed5-820de7be6e77</ns3:summary> <ns3:summary type="html">HTML summary of Entry c41caf32-a866-461b-b6b6-a9ed9e47dd3c</ns3:summary>
<ns3:title type="text">CMIS Example Folder as Customer type</ns3:title> <ns3:title type="text">CMIS Example Folder as Customer type</ns3:title>
<ns3:updated>2009-04-03T13:49:50.781-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:04.718-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:50.796-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.718-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:50.796-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.718-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>eb8ba6f5-00dc-4938-aed5-820de7be6e77</ns1:value> <ns1:value>c41caf32-a866-461b-b6b6-a9ed9e47dd3c</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>customer</ns1:value> <ns1:value>customer</ns1:value>
@@ -345,7 +345,7 @@
<ns1:value>Al Brown</ns1:value> <ns1:value>Al Brown</ns1:value>
</ns1:propertyString> </ns1:propertyString>
<ns1:propertyId ns1:name="ParentId"> <ns1:propertyId ns1:name="ParentId">
<ns1:value>eb8ba6f5-00dc-4938-aed5-820de7be6e77parent</ns1:value> <ns1:value>c41caf32-a866-461b-b6b6-a9ed9e47dd3cparent</ns1:value>
</ns1:propertyId> </ns1:propertyId>
</ns1:properties> </ns1:properties>
<ns1:allowableActions> <ns1:allowableActions>
@@ -374,36 +374,36 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b"/>
<ns3:id>urn:uuid:f0ba7610-ed2c-4cab-883e-10f18d205216</ns3:id> <ns3:id>urn:uuid:804f6460-070b-49e7-ac8a-e8184f906c3b</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/type"/>
<ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/edit-media"/> <ns3:link rel="edit-media" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/edit-media"/>
<ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/alternate"/> <ns3:link rel="alternate" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/alternate"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/allversions"/> <ns3:link type="application/atom+xml;type=feed" rel="allversions" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/allversions"/>
<ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/latestversions"/> <ns3:link type="application/atom+xml;type=entry" rel="latestversion" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/latestversions"/>
<ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216media"/> <ns3:link length="4123" type="text/plain" rel="stream" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3bmedia"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/f0ba7610-ed2c-4cab-883e-10f18d205216/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/804f6460-070b-49e7-ac8a-e8184f906c3b/relationships"/>
<ns3:published>2009-04-03T13:49:50.796-07:00</ns3:published> <ns3:published>2009-04-17T13:51:04.718-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry f0ba7610-ed2c-4cab-883e-10f18d205216</ns3:summary> <ns3:summary type="html">HTML summary of Entry 804f6460-070b-49e7-ac8a-e8184f906c3b</ns3:summary>
<ns3:title type="text">CMIS Example Doc as Invoice type</ns3:title> <ns3:title type="text">CMIS Example Doc as Invoice type</ns3:title>
<ns3:updated>2009-04-03T13:49:50.796-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:04.718-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:50.796-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.718-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:50.796-07:00</ns1:value> <ns1:value>2009-04-17T13:51:04.718-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>f0ba7610-ed2c-4cab-883e-10f18d205216</ns1:value> <ns1:value>804f6460-070b-49e7-ac8a-e8184f906c3b</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>invoice</ns1:value> <ns1:value>invoice</ns1:value>

View File

@@ -5,31 +5,31 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/9a00d022-5a20-47f0-b41f-6f82957d151d"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/20e3f385-7641-4a42-87f8-7cd7e2f01881"/>
<ns3:id>urn:uuid:9a00d022-5a20-47f0-b41f-6f82957d151d</ns3:id> <ns3:id>urn:uuid:20e3f385-7641-4a42-87f8-7cd7e2f01881</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/9a00d022-5a20-47f0-b41f-6f82957d151d"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/20e3f385-7641-4a42-87f8-7cd7e2f01881"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/9a00d022-5a20-47f0-b41f-6f82957d151d"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/20e3f385-7641-4a42-87f8-7cd7e2f01881"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/9a00d022-5a20-47f0-b41f-6f82957d151d/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/20e3f385-7641-4a42-87f8-7cd7e2f01881/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/9a00d022-5a20-47f0-b41f-6f82957d151d/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/20e3f385-7641-4a42-87f8-7cd7e2f01881/type"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/9a00d022-5a20-47f0-b41f-6f82957d151d/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/20e3f385-7641-4a42-87f8-7cd7e2f01881/relationships"/>
<ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/9a00d022-5a20-47f0-b41f-6f82957d151d/parent"/> <ns3:link type="application/atom+xml;type=entry" rel="parent" href="http://cmisexample.oasis-open.org/rep1/20e3f385-7641-4a42-87f8-7cd7e2f01881/parent"/>
<ns3:published>2009-04-03T13:49:47.437-07:00</ns3:published> <ns3:published>2009-04-17T13:51:00.765-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry 9a00d022-5a20-47f0-b41f-6f82957d151d</ns3:summary> <ns3:summary type="html">HTML summary of Entry 20e3f385-7641-4a42-87f8-7cd7e2f01881</ns3:summary>
<ns3:title type="text">CMIS Example Folder as Customer type</ns3:title> <ns3:title type="text">CMIS Example Folder as Customer type</ns3:title>
<ns3:updated>2009-04-03T13:49:47.437-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:00.765-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:47.437-07:00</ns1:value> <ns1:value>2009-04-17T13:51:00.765-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:47.437-07:00</ns1:value> <ns1:value>2009-04-17T13:51:00.765-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>9a00d022-5a20-47f0-b41f-6f82957d151d</ns1:value> <ns1:value>20e3f385-7641-4a42-87f8-7cd7e2f01881</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>customer</ns1:value> <ns1:value>customer</ns1:value>
@@ -44,7 +44,7 @@
<ns1:value>Al Brown</ns1:value> <ns1:value>Al Brown</ns1:value>
</ns1:propertyString> </ns1:propertyString>
<ns1:propertyId ns1:name="ParentId"> <ns1:propertyId ns1:name="ParentId">
<ns1:value>9a00d022-5a20-47f0-b41f-6f82957d151dparent</ns1:value> <ns1:value>20e3f385-7641-4a42-87f8-7cd7e2f01881parent</ns1:value>
</ns1:propertyId> </ns1:propertyId>
</ns1:properties> </ns1:properties>
<ns1:allowableActions> <ns1:allowableActions>

View File

@@ -5,31 +5,31 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/28a6be27-74e6-4742-845f-d07ea48e724c"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/4b2467fe-26a9-4413-83e5-71b7ed6bc237"/>
<ns3:id>urn:uuid:28a6be27-74e6-4742-845f-d07ea48e724c</ns3:id> <ns3:id>urn:uuid:4b2467fe-26a9-4413-83e5-71b7ed6bc237</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/28a6be27-74e6-4742-845f-d07ea48e724c"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/4b2467fe-26a9-4413-83e5-71b7ed6bc237"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/28a6be27-74e6-4742-845f-d07ea48e724c"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/4b2467fe-26a9-4413-83e5-71b7ed6bc237"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/28a6be27-74e6-4742-845f-d07ea48e724c/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/4b2467fe-26a9-4413-83e5-71b7ed6bc237/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/28a6be27-74e6-4742-845f-d07ea48e724c/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/4b2467fe-26a9-4413-83e5-71b7ed6bc237/type"/>
<ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/28a6be27-74e6-4742-845f-d07ea48e724c/parents"/> <ns3:link type="application/atom+xml;type=feed" rel="parents" href="http://cmisexample.oasis-open.org/rep1/4b2467fe-26a9-4413-83e5-71b7ed6bc237/parents"/>
<ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/28a6be27-74e6-4742-845f-d07ea48e724c/relationships"/> <ns3:link type="application/atom+xml;type=feed" rel="relationships" href="http://cmisexample.oasis-open.org/rep1/4b2467fe-26a9-4413-83e5-71b7ed6bc237/relationships"/>
<ns3:published>2009-04-03T13:49:48.250-07:00</ns3:published> <ns3:published>2009-04-17T13:51:01.593-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry 28a6be27-74e6-4742-845f-d07ea48e724c</ns3:summary> <ns3:summary type="html">HTML summary of Entry 4b2467fe-26a9-4413-83e5-71b7ed6bc237</ns3:summary>
<ns3:title type="text">CMIS Example Policy</ns3:title> <ns3:title type="text">CMIS Example Policy</ns3:title>
<ns3:updated>2009-04-03T13:49:48.250-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:01.593-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:48.265-07:00</ns1:value> <ns1:value>2009-04-17T13:51:01.593-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:48.265-07:00</ns1:value> <ns1:value>2009-04-17T13:51:01.593-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>28a6be27-74e6-4742-845f-d07ea48e724c</ns1:value> <ns1:value>4b2467fe-26a9-4413-83e5-71b7ed6bc237</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>policy</ns1:value> <ns1:value>policy</ns1:value>

View File

@@ -5,31 +5,31 @@
<ns3:uri>http://www.ibm.com/</ns3:uri> <ns3:uri>http://www.ibm.com/</ns3:uri>
<ns3:email>albertcbrown@us.ibm.com</ns3:email> <ns3:email>albertcbrown@us.ibm.com</ns3:email>
</ns3:author> </ns3:author>
<ns3:content src="http://cmisexample.oasis-open.org/rep1/49c09b66-f6e2-48be-8e81-dfafb16983bb"/> <ns3:content src="http://cmisexample.oasis-open.org/rep1/f6d51ad3-0b67-444e-a97a-2aac2e692bdd"/>
<ns3:id>urn:uuid:49c09b66-f6e2-48be-8e81-dfafb16983bb</ns3:id> <ns3:id>urn:uuid:f6d51ad3-0b67-444e-a97a-2aac2e692bdd</ns3:id>
<ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/49c09b66-f6e2-48be-8e81-dfafb16983bb"/> <ns3:link rel="self" href="http://cmisexample.oasis-open.org/rep1/f6d51ad3-0b67-444e-a97a-2aac2e692bdd"/>
<ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/49c09b66-f6e2-48be-8e81-dfafb16983bb"/> <ns3:link rel="edit" href="http://cmisexample.oasis-open.org/rep1/f6d51ad3-0b67-444e-a97a-2aac2e692bdd"/>
<ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/49c09b66-f6e2-48be-8e81-dfafb16983bb/allowableactions"/> <ns3:link type="application/cmis+xml;type=allowableActions" rel="allowableactions" href="http://cmisexample.oasis-open.org/rep1/f6d51ad3-0b67-444e-a97a-2aac2e692bdd/allowableactions"/>
<ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/49c09b66-f6e2-48be-8e81-dfafb16983bb/type"/> <ns3:link type="application/atom+xml;type=entry" rel="type" href="http://cmisexample.oasis-open.org/rep1/f6d51ad3-0b67-444e-a97a-2aac2e692bdd/type"/>
<ns3:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/49c09b66-f6e2-48be-8e81-dfafb16983bb/source"/> <ns3:link type="application/atom+xml;type=entry" rel="source" href="http://cmisexample.oasis-open.org/rep1/f6d51ad3-0b67-444e-a97a-2aac2e692bdd/source"/>
<ns3:link type="application/atom+xml;type=entry" rel="target" href="http://cmisexample.oasis-open.org/rep1/49c09b66-f6e2-48be-8e81-dfafb16983bb/target"/> <ns3:link type="application/atom+xml;type=entry" rel="target" href="http://cmisexample.oasis-open.org/rep1/f6d51ad3-0b67-444e-a97a-2aac2e692bdd/target"/>
<ns3:published>2009-04-03T13:49:49.187-07:00</ns3:published> <ns3:published>2009-04-17T13:51:02.609-07:00</ns3:published>
<ns3:summary type="html">HTML summary of Entry 49c09b66-f6e2-48be-8e81-dfafb16983bb</ns3:summary> <ns3:summary type="html">HTML summary of Entry f6d51ad3-0b67-444e-a97a-2aac2e692bdd</ns3:summary>
<ns3:title type="text">CMIS Example Relationship as Compound Document type</ns3:title> <ns3:title type="text">CMIS Example Relationship as Compound Document type</ns3:title>
<ns3:updated>2009-04-03T13:49:49.187-07:00</ns3:updated> <ns3:updated>2009-04-17T13:51:02.609-07:00</ns3:updated>
<ns1:object> <ns1:object>
<ns1:properties> <ns1:properties>
<ns1:propertyBoolean ns1:name="IsImmutable"> <ns1:propertyBoolean ns1:name="IsImmutable">
<ns1:value>false</ns1:value> <ns1:value>false</ns1:value>
</ns1:propertyBoolean> </ns1:propertyBoolean>
<ns1:propertyDateTime ns1:name="CreationDate"> <ns1:propertyDateTime ns1:name="CreationDate">
<ns1:value>2009-04-03T13:49:49.187-07:00</ns1:value> <ns1:value>2009-04-17T13:51:02.609-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyDateTime ns1:name="LastModificationDate"> <ns1:propertyDateTime ns1:name="LastModificationDate">
<ns1:value>2009-04-03T13:49:49.187-07:00</ns1:value> <ns1:value>2009-04-17T13:51:02.609-07:00</ns1:value>
</ns1:propertyDateTime> </ns1:propertyDateTime>
<ns1:propertyId ns1:name="ObjectId"> <ns1:propertyId ns1:name="ObjectId">
<ns1:value>49c09b66-f6e2-48be-8e81-dfafb16983bb</ns1:value> <ns1:value>f6d51ad3-0b67-444e-a97a-2aac2e692bdd</ns1:value>
</ns1:propertyId> </ns1:propertyId>
<ns1:propertyId ns1:name="ObjectTypeId"> <ns1:propertyId ns1:name="ObjectTypeId">
<ns1:value>compounddocument</ns1:value> <ns1:value>compounddocument</ns1:value>

View File

@@ -1,19 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns4:service xmlns:ns1="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:ns2="http://docs.oasis-open.org/ns/cmis/messaging/200901" xmlns:ns3="http://www.w3.org/2005/Atom" xmlns:ns4="http://www.w3.org/2007/app"> <ns4:service xmlns:ns1="http://docs.oasis-open.org/ns/cmis/core/200901" xmlns:ns2="http://docs.oasis-open.org/ns/cmis/messaging/200901" xmlns:ns3="http://www.w3.org/2005/Atom" xmlns:ns4="http://www.w3.org/2007/app">
<ns4:workspace> <ns4:workspace>
<!-- CMIS spec issue: ns3:title is missing from 0.6 sample --> <ns3:title type="text">CMIS Repository</ns3:title>
<ns3:title>Sample</ns3:title>
<ns1:repositoryInfo> <ns1:repositoryInfo>
<ns1:repositoryId>repid1</ns1:repositoryId> <ns1:repositoryId>repid1</ns1:repositoryId>
<ns1:repositoryName>Repository1</ns1:repositoryName> <ns1:repositoryName>Repository1</ns1:repositoryName>
<!-- CMIS spec issue: ns1:repositoryRelationship is missing from 0.6 sample -->
<ns1:repositoryRelationship>self</ns1:repositoryRelationship> <ns1:repositoryRelationship>self</ns1:repositoryRelationship>
<ns1:repositoryDescription>CMIS Repository Description</ns1:repositoryDescription> <ns1:repositoryDescription>CMIS Repository Description</ns1:repositoryDescription>
<ns1:vendorName>CMIS Vendor 1</ns1:vendorName> <ns1:vendorName>CMIS Vendor 1</ns1:vendorName>
<!-- CMIS spec issue: ns1:productName is missing from 0.6 sample --> <ns1:productName>CMIS Prototype for VendorX</ns1:productName>
<ns1:productName>Alfresco Repository (${server.edition})</ns1:productName> <ns1:productVersion>0.61</ns1:productVersion>
<!-- CMIS spec issue: ns1:productVersion is missing from 0.6 sample -->
<ns1:productVersion>${server.version}</ns1:productVersion>
<ns1:rootFolderId>rootfolder</ns1:rootFolderId> <ns1:rootFolderId>rootfolder</ns1:rootFolderId>
<ns1:capabilities> <ns1:capabilities>
<ns1:capabilityMultifiling>true</ns1:capabilityMultifiling> <ns1:capabilityMultifiling>true</ns1:capabilityMultifiling>
@@ -30,8 +26,10 @@
<ns1:capabilityChanges>includeProperties</ns1:capabilityChanges> <ns1:capabilityChanges>includeProperties</ns1:capabilityChanges>
<ns1:capabilityChanges>includeACL</ns1:capabilityChanges> <ns1:capabilityChanges>includeACL</ns1:capabilityChanges>
<ns1:changesIncomplete>true</ns1:changesIncomplete> <ns1:changesIncomplete>true</ns1:changesIncomplete>
<!-- Spec Issue -->
<ns1:capabilityACL>none</ns1:capabilityACL>
</ns1:capabilities> </ns1:capabilities>
<ns1:cmisVersionSupported>0.60</ns1:cmisVersionSupported> <ns1:cmisVersionSupported>0.61</ns1:cmisVersionSupported>
</ns1:repositoryInfo> </ns1:repositoryInfo>
<ns4:collection href="http://cmisexample.oasis-open.org/rep1//checkedout" ns1:collectionType="checkedout"> <ns4:collection href="http://cmisexample.oasis-open.org/rep1//checkedout" ns1:collectionType="checkedout">
<ns3:title type="text">Checkedout collection</ns3:title> <ns3:title type="text">Checkedout collection</ns3:title>
@@ -57,5 +55,8 @@
<ns3:title type="text">Unfiled collection</ns3:title> <ns3:title type="text">Unfiled collection</ns3:title>
<ns4:accept>application/atom+xml;type=entry</ns4:accept> <ns4:accept>application/atom+xml;type=entry</ns4:accept>
</ns4:collection> </ns4:collection>
<ns4:collection href="http://cmisexample.oasis-open.org/rep1//changes" ns1:collectionType="changes">
<ns3:title type="text">changes collection</ns3:title>
</ns4:collection>
</ns4:workspace> </ns4:workspace>
</ns4:service> </ns4:service>

View File

@@ -48,6 +48,7 @@ import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthScope; import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.ByteArrayRequestEntity; import org.apache.commons.httpclient.methods.ByteArrayRequestEntity;
import org.apache.commons.httpclient.methods.DeleteMethod; import org.apache.commons.httpclient.methods.DeleteMethod;
import org.apache.commons.httpclient.methods.EntityEnclosingMethod;
import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.GetMethod;
import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.methods.PutMethod; import org.apache.commons.httpclient.methods.PutMethod;
@@ -392,6 +393,12 @@ public abstract class BaseWebScriptTest extends TestCase
post.setRequestEntity(new ByteArrayRequestEntity(req.getBody(), req.getType())); post.setRequestEntity(new ByteArrayRequestEntity(req.getBody(), req.getType()));
httpMethod = post; httpMethod = post;
} }
else if (method.equalsIgnoreCase("PATCH"))
{
PatchMethod post = new PatchMethod(req.getFullUri());
post.setRequestEntity(new ByteArrayRequestEntity(req.getBody(), req.getType()));
httpMethod = post;
}
else if (method.equalsIgnoreCase("PUT")) else if (method.equalsIgnoreCase("PUT"))
{ {
PutMethod put = new PutMethod(req.getFullUri()); PutMethod put = new PutMethod(req.getFullUri());
@@ -420,6 +427,23 @@ public abstract class BaseWebScriptTest extends TestCase
return new HttpMethodResponse(httpMethod); return new HttpMethodResponse(httpMethod);
} }
/**
* PATCH method
*/
public static class PatchMethod extends EntityEnclosingMethod
{
public PatchMethod(String uri)
{
super(uri);
}
@Override
public String getName()
{
return "PATCH";
}
}
/** /**
* Remote Context * Remote Context