chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naresh Bhatia <naresh.archfi...@gmail.com>
Subject Understanding the CMIS spec
Date Tue, 31 May 2011 20:01:56 GMT
I am trying to understand the CMIS spec by looking at the Atom output from
Alfresco. From the spec it looks like most CMIS attributes are represented
as Object properties. However when I look at the Atom output, there are
similar attributes floating outside of properties. For example (highly
simplified output):

<entry>

    <author>
        <name>nbhatia</name>
    </author>

    <id>urn:uuid:5c92e5a7-8563-4a15-8b92-bb4d8ae55ae0</id>

    <title>cmis-article.pdf</title>

    <summary>Examples using CMIS, Abdera, &amp; Chemistry</summary>

    <published>2011-05-25T17:15:36.740Z</published>

    <updated>2011-05-25T17:15:40.045Z</updated>

    <cmisra:object>
        <cmis:properties>
            <cmis:propertyString propertyDefinitionId="cmis:createdBy">
                <cmis:value>nbhatia</cmis:value>
            </cmis:propertyString>

            <cmis:propertyId propertyDefinitionId="cmis:objectId">

<cmis:value>workspace://SpacesStore/5c92e5a7-8563-4a15-8b92-bb4d8ae55ae0</cmis:value>
            </cmis:propertyId>

            <cmis:propertyString propertyDefinitionId="cmis:name">
                <cmis:value>cmis-article.pdf</cmis:value>
            </cmis:propertyString>

            <cmis:propertyDateTime propertyDefinitionId="cmis:creationDate">
                <cmis:value>2011-05-25T17:15:36.740Z</cmis:value>
            </cmis:propertyDateTime>

            <cmis:propertyDateTime
propertyDefinitionId="cmis:lastModificationDate">
                <cmis:value>2011-05-25T17:15:40.045Z</cmis:value>
            </cmis:propertyDateTime>
        </cmis:properties>
    </cmisra:object>

</entry>


   - Are the attributes at the top (author, id, title, summary, published,
   updated) accessible via CMIS?
   - Why are the values of <id> and CMIS property objectId different?
   - Is the <summary> value accessible via CMIS? It does not seem to be a
   CMIS object property.


Thanks.
Naresh Bhatia

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message