Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Alfresco Tech Talk - CMIS

2,344 views

Published on

The is a short presentation on CMIS. It serves as a brief introduction to the Alfresco CMIS implementation.

Published in: Technology
  • Be the first to comment

Alfresco Tech Talk - CMIS

  1. 1. Alfresco Tech Talk Live CMIS
  2. 2. CMIS – What is it? <ul><ul><li>Content Management Interoperability Services </li></ul></ul>
  3. 3. CMIS – ATOM <ul><li>CMIS is based on the ATOM specifications. </li></ul><ul><ul><li>Syndication Format (XML) </li></ul></ul><ul><ul><ul><li>Feeds </li></ul></ul></ul><ul><ul><ul><li>Entries </li></ul></ul></ul><ul><ul><li>Publishing Protocol (REST) </li></ul></ul><ul><ul><ul><li>Services </li></ul></ul></ul><ul><ul><ul><li>Workspaces </li></ul></ul></ul><ul><ul><ul><li>Collections </li></ul></ul></ul>
  4. 4. ATOM – Entry <entry> <title>Atom-Powered Robots Run Amok</title> <link href=&quot;http://example.org/2003/12/13/atom03&quot;/> <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> <updated>2003-12-13T18:30:02Z</updated> <summary>Some text.</summary> </entry>
  5. 5. ATOM – Feed <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <feed xmlns=&quot;http://www.w3.org/2005/Atom&quot;> <title>Example Feed</title> <link href=&quot;http://example.org/&quot;/> <updated>2003-12-13T18:30:02Z</updated> <author> <name>John Doe</name> </author> <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id> <entry> <title>Atom-Powered Robots Run Amok</title> <link href=&quot;http://example.org/2003/12/13/atom03&quot;/> <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> <updated>2003-12-13T18:30:02Z</updated> <summary>Some text.</summary> </entry> </feed>
  6. 6. ATOM – Collection <collection href=&quot;http://example.org/blog/main&quot; > <atom:title>My Blog Entries</atom:title> <categories href=&quot;http://example.com/cats/forMain.cats&quot; /> </collection>
  7. 7. ATOM - Workspace <workspace> <atom:title>Main Site</atom:title> <collection href=&quot;http://example.org/blog/main&quot; > <atom:title>My Blog Entries</atom:title> <categories href=&quot;http://example.com/cats/forMain.cats&quot; /> </collection> <collection href=&quot;http://example.org/blog/pic&quot; > <atom:title>Pictures</atom:title> <accept>image/png</accept> <accept>image/jpeg</accept> <accept>image/gif</accept> </collection> </workspace>
  8. 8. ATOM - Services <?xml version=&quot;1.0&quot; encoding='utf-8'?> <service xmlns=&quot;http://www.w3.org/2007/app&quot; xmlns:atom=&quot;http://www.w3.org/2005/Atom&quot;> <workspace> <atom:title>Main Site</atom:title> <collection href=&quot;http://example.org/blog/main&quot; > <atom:title>My Blog Entries</atom:title> <categories href=&quot;http://example.com/cats/forMain.cats&quot; /> </collection> <collection href=&quot;http://example.org/blog/pic&quot; > <atom:title>Pictures</atom:title> <accept>image/png</accept> <accept>image/jpeg</accept> <accept>image/gif</accept> </collection> </workspace> </service>
  9. 9. CMIS – Repository Info <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> < service xmlns =&quot;http://www.w3.org/2007/app&quot; xmlns:atom =&quot;http://www.w3.org/2005/Atom&quot; xmlns:cmis =&quot;http://www.cmis.org/2008/05&quot; xmlns:alf =&quot;http://www.alfresco.org&quot;> < workspace cmis:repositoryRelationship=&quot;self&quot;> <atom:title>Main Repository</atom:title> <cmis:repositoryInfo> <cmis:repositoryId>9920fa2a-7a3c-4161-a108-0bd4172ff898</cmis:repositoryId> <cmis:repositoryName>Main Repository</cmis:repositoryName> <cmis:capabilities> <cmis:capabilityUnfiling>false</cmis:capabilityUnfiling> <cmis:capabilityQuery>both</cmis:capabilityQuery> </cmis:capabilities> </cmis:repositoryInfo> < collection href=&quot;http://localhost:8080/alfresco/service/api/path/workspace/SpacesStore/Company%20Home/children&quot; cmis:collectionType=&quot;root-children&quot;> <atom:title>root collection</atom:title> </collection> </workspace> </service>
  10. 10. CMIS – Get Children <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <feed xmlns=&quot;http://www.w3.org/2005/Atom&quot; xmlns:app=&quot;http://www.w3.org/2007/app&quot; xmlns:cmis=&quot;http://www.cmis.org/2008/05&quot; xmlns:alf=&quot;http://www.alfresco.org&quot; xmlns:opensearch=&quot;http://a9.com/-/spec/opensearch/1.1/&quot;> <id>urn:uuid:4c7c569d-49a5-4d95-9315-5ac38687819a-children</id> <link rel=&quot;last&quot; href=&quot;.../children?pageNo=1&amp;pageSize=0&amp;guest=&amp;format=atomfeed&quot; /> <title>Email Templates Children</title> <entry> <content type=&quot;text/plain&quot; src=&quot;.../ccd2ca82-a8fb-4fb7-9575-d28667acd032/content.notify_user_email.ftl&quot;/> <link rel=&quot;cmis-allversions&quot; href=&quot;.../ccd2ca82-a8fb-4fb7-9575-d28667acd032/versions&quot;/> <summary>Email template for notifying users from a rule or action</summary> <title>notify_user_email.ftl</title> <cmis:object> <cmis:properties> <cmis:propertyString cmis:name=&quot;ObjectTypeId&quot;><cmis:value>document</cmis:value></cmis:propertyString> <cmis:propertyInteger cmis:name=&quot;ContentStreamLength&quot;><cmis:value>553</cmis:value></cmis:propertyInteger> </cmis:properties> </cmis:object> <cmis:terminator/> <alf:icon>http://localhost:8080/alfresco/images/filetypes/ftl.gif</alf:icon> </entry> <cmis:hasMoreItems>false</cmis:hasMoreItems> <opensearch:totalResults>3</opensearch:totalResults> <opensearch:startIndex>0</opensearch:startIndex> <opensearch:itemsPerPage>0</opensearch:itemsPerPage> </feed>
  11. 11. CMIS – Model <ul><li>Object Types </li></ul><ul><ul><li>Folder </li></ul></ul><ul><ul><li>Document </li></ul></ul><ul><ul><li>Relationship </li></ul></ul><ul><ul><li>Policy </li></ul></ul><ul><li>Aspects </li></ul><ul><ul><li>Fileable </li></ul></ul><ul><ul><li>Versionable </li></ul></ul><ul><ul><li>Controllable </li></ul></ul><ul><ul><li>Queryable </li></ul></ul>
  12. 12. CMIS – Capabilities <ul><li>Filing </li></ul><ul><ul><li>Multi-Filing </li></ul></ul><ul><ul><li>Unfiling </li></ul></ul><ul><li>Versioning </li></ul><ul><ul><li>Change Token </li></ul></ul><ul><ul><li>Private Working Copy </li></ul></ul>
  13. 13. CMIS – Options <ul><li>Query </li></ul><ul><ul><li>none </li></ul></ul><ul><ul><li>metadata only </li></ul></ul><ul><ul><li>fullt-ext only </li></ul></ul><ul><ul><li>both </li></ul></ul><ul><li>Join </li></ul><ul><ul><li>none </li></ul></ul><ul><ul><li>inner </li></ul></ul><ul><ul><li>inner and outer </li></ul></ul><ul><li>Full-Text Search </li></ul><ul><ul><li>none </li></ul></ul><ul><ul><li>full-text only </li></ul></ul><ul><ul><li>full-text and structure </li></ul></ul>
  14. 14. CMIS – Services <ul><li>Repository Services </li></ul><ul><ul><li>Get Repository Info </li></ul></ul><ul><ul><li>Get Types </li></ul></ul><ul><ul><li>Get Type Definition </li></ul></ul><ul><li>Navigation Services </li></ul><ul><ul><li>Get Descendants </li></ul></ul><ul><ul><li>Get Children </li></ul></ul><ul><ul><li>Get Folder Parent </li></ul></ul><ul><ul><li>Get Object Parents </li></ul></ul><ul><ul><li>Get Checked Out Documents </li></ul></ul><ul><li>Object Services </li></ul><ul><ul><li>Create Document </li></ul></ul><ul><ul><li>Create Folder </li></ul></ul><ul><ul><li>Create Relationship </li></ul></ul><ul><ul><li>Get Allowable Actions </li></ul></ul><ul><ul><li>Get Properties </li></ul></ul><ul><ul><li>Get Content Stream </li></ul></ul><ul><ul><li>Update Properties </li></ul></ul><ul><ul><li>Move Object </li></ul></ul><ul><ul><li>Delete Object </li></ul></ul><ul><ul><li>Delete Tree </li></ul></ul><ul><ul><li>Set Content Stream </li></ul></ul><ul><ul><li>Delete Content Stream </li></ul></ul>
  15. 15. CMIS – Services (Continued) <ul><li>Multi-Filing Services </li></ul><ul><ul><li>Add Document To Folder </li></ul></ul><ul><ul><li>Remove Document From Folder </li></ul></ul><ul><li>Discovery Services </li></ul><ul><ul><li>Query </li></ul></ul><ul><li>Version Services </li></ul><ul><ul><li>Check Out </li></ul></ul><ul><ul><li>Cancel Check Out </li></ul></ul><ul><ul><li>Check In </li></ul></ul><ul><ul><li>Get Properties Of Latest Version </li></ul></ul><ul><ul><li>Get All Versions </li></ul></ul><ul><ul><li>Delete All Versions </li></ul></ul><ul><li>Relationship Services </li></ul><ul><ul><li>Get Relationships </li></ul></ul>

×