chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1017523 [7/10] - in /websites/staging/chemistry/trunk/content: ./ python/ python/docs/ python/docs/_sources/ python/docs/_static/
Date Thu, 31 Aug 2017 14:30:40 GMT
Added: websites/staging/chemistry/trunk/content/python/docs/codemisc.html
==============================================================================
--- websites/staging/chemistry/trunk/content/python/docs/codemisc.html (added)
+++ websites/staging/chemistry/trunk/content/python/docs/codemisc.html Thu Aug 31 14:30:39 2017
@@ -0,0 +1,307 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    
+    <title>Miscellaneous Code &#8212; Apache Chemistry cmislib 0.6.0 documentation</title>
+    
+    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
+    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+    
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    './',
+        VERSION:     '0.6.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true,
+        SOURCELINK_SUFFIX: '.txt'
+      };
+    </script>
+    <script type="text/javascript" src="_static/jquery.js"></script>
+    <script type="text/javascript" src="_static/underscore.js"></script>
+    <script type="text/javascript" src="_static/doctools.js"></script>
+    <link rel="author" title="About these documents" href="about.html" />
+    <link rel="index" title="Index" href="genindex.html" />
+    <link rel="search" title="Search" href="search.html" />
+    <link rel="next" title="Developer Guide" href="devguide.html" />
+    <link rel="prev" title="Code" href="code.html" /> 
+  </head>
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="devguide.html" title="Developer Guide"
+             accesskey="N">next</a> |</li>
+        <li class="right" >
+          <a href="code.html" title="Code"
+             accesskey="P">previous</a> |</li>
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body" role="main">
+            
+  <div class="section" id="miscellaneous-code">
+<h1>Miscellaneous Code<a class="headerlink" href="#miscellaneous-code" title="Permalink to this headline">¶</a></h1>
+<p>This page documents modules of lesser importance.</p>
+<div class="section" id="module-cmislib.cmis_services">
+<span id="the-cmislib-cmis-services-module"></span><h2>The <a class="reference internal" href="#module-cmislib.cmis_services" title="cmislib.cmis_services"><code class="xref py py-mod docutils literal"><span class="pre">cmislib.cmis_services</span></code></a> Module<a class="headerlink" href="#module-cmislib.cmis_services" title="Permalink to this headline">¶</a></h2>
+<p>This module contains the base Binding class and other service objects.</p>
+<dl class="class">
+<dt id="cmislib.cmis_services.Binding">
+<em class="property">class </em><code class="descclassname">cmislib.cmis_services.</code><code class="descname">Binding</code><a class="headerlink" href="#cmislib.cmis_services.Binding" title="Permalink to this definition">¶</a></dt>
+<dd><p>Represents the binding used to communicate with the CMIS server.</p>
+<dl class="method">
+<dt id="cmislib.cmis_services.Binding.getRepositoryService">
+<code class="descname">getRepositoryService</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.cmis_services.Binding.getRepositoryService" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the repository service specific to this binding.</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="cmislib.cmis_services.RepositoryServiceIfc">
+<em class="property">class </em><code class="descclassname">cmislib.cmis_services.</code><code class="descname">RepositoryServiceIfc</code><a class="headerlink" href="#cmislib.cmis_services.RepositoryServiceIfc" title="Permalink to this definition">¶</a></dt>
+<dd><p>Defines the interface for the repository service.</p>
+<dl class="method">
+<dt id="cmislib.cmis_services.RepositoryServiceIfc.getRepositories">
+<code class="descname">getRepositories</code><span class="sig-paren">(</span><em>client</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.cmis_services.RepositoryServiceIfc.getRepositories" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a list of repositories for this server.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="cmislib.cmis_services.RepositoryServiceIfc.getRepositoryInfo">
+<code class="descname">getRepositoryInfo</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.cmis_services.RepositoryServiceIfc.getRepositoryInfo" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns the repository information for this server.</p>
+</dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-cmislib.exceptions">
+<span id="the-cmislib-exceptions-module"></span><h2>The <a class="reference internal" href="#module-cmislib.exceptions" title="cmislib.exceptions"><code class="xref py py-mod docutils literal"><span class="pre">cmislib.exceptions</span></code></a> Module<a class="headerlink" href="#module-cmislib.exceptions" title="Permalink to this headline">¶</a></h2>
+<p>This module contains exceptions used throughout the API.</p>
+<dl class="exception">
+<dt id="cmislib.exceptions.CmisException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">CmisException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.CmisException" title="Permalink to this definition">¶</a></dt>
+<dd><p>Common base class for all exceptions.</p>
+</dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.ConstraintException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">ConstraintException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.ConstraintException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.ContentAlreadyExistsException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">ContentAlreadyExistsException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.ContentAlreadyExistsException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.FilterNotValidException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">FilterNotValidException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.FilterNotValidException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.InvalidArgumentException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">InvalidArgumentException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.InvalidArgumentException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.NameConstraintViolationException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">NameConstraintViolationException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.NameConstraintViolationException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.NotSupportedException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">NotSupportedException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.NotSupportedException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.ObjectNotFoundException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">ObjectNotFoundException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.ObjectNotFoundException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.PermissionDeniedException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">PermissionDeniedException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.PermissionDeniedException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.RuntimeException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">RuntimeException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.RuntimeException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.StorageException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">StorageException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.StorageException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.StreamNotSupportedException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">StreamNotSupportedException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.StreamNotSupportedException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.UpdateConflictException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">UpdateConflictException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.UpdateConflictException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="exception">
+<dt id="cmislib.exceptions.VersioningException">
+<em class="property">exception </em><code class="descclassname">cmislib.exceptions.</code><code class="descname">VersioningException</code><span class="sig-paren">(</span><em>status=None</em>, <em>url=None</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.exceptions.VersioningException" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</div>
+<div class="section" id="module-cmislib.messages">
+<span id="the-cmislib-messages-module"></span><h2>The <a class="reference internal" href="#module-cmislib.messages" title="cmislib.messages"><code class="xref py py-mod docutils literal"><span class="pre">cmislib.messages</span></code></a> Module<a class="headerlink" href="#module-cmislib.messages" title="Permalink to this headline">¶</a></h2>
+<p>This module contains common strings.</p>
+</div>
+<div class="section" id="module-cmislib.util">
+<span id="the-cmislib-util-module"></span><h2>The <a class="reference internal" href="#module-cmislib.util" title="cmislib.util"><code class="xref py py-mod docutils literal"><span class="pre">cmislib.util</span></code></a> Module<a class="headerlink" href="#module-cmislib.util" title="Permalink to this headline">¶</a></h2>
+<p>This module contains handy utility functions.</p>
+<dl class="function">
+<dt id="cmislib.util.multiple_replace">
+<code class="descclassname">cmislib.util.</code><code class="descname">multiple_replace</code><span class="sig-paren">(</span><em>aDict</em>, <em>text</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.multiple_replace" title="Permalink to this definition">¶</a></dt>
+<dd><p>Replace in &#8216;text&#8217; all occurences of any key in the given
+dictionary by its corresponding value.  Returns the new string.</p>
+<p>See <a class="reference external" href="http://code.activestate.com/recipes/81330/">http://code.activestate.com/recipes/81330/</a></p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.parseBoolValue">
+<code class="descclassname">cmislib.util.</code><code class="descname">parseBoolValue</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.parseBoolValue" title="Permalink to this definition">¶</a></dt>
+<dd><p>Utility function to parse booleans and none from strings</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.parseDateTimeValue">
+<code class="descclassname">cmislib.util.</code><code class="descname">parseDateTimeValue</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.parseDateTimeValue" title="Permalink to this definition">¶</a></dt>
+<dd><p>Utility function to return a datetime from a string.</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.parsePropValue">
+<code class="descclassname">cmislib.util.</code><code class="descname">parsePropValue</code><span class="sig-paren">(</span><em>value</em>, <em>nodeName</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.parsePropValue" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a properly-typed object based on the type as specified in the
+node&#8217;s element name.</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.parsePropValueByType">
+<code class="descclassname">cmislib.util.</code><code class="descname">parsePropValueByType</code><span class="sig-paren">(</span><em>value</em>, <em>typeName</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.parsePropValueByType" title="Permalink to this definition">¶</a></dt>
+<dd><p>Returns a properly-typed object based on the type as specified in the
+node&#8217;s property definition.</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.safe_quote">
+<code class="descclassname">cmislib.util.</code><code class="descname">safe_quote</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.safe_quote" title="Permalink to this definition">¶</a></dt>
+<dd><p>Safe encoding of value taking care of unicode value
+urllib.quote doesn&#8217;t like unicode values</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.safe_urlencode">
+<code class="descclassname">cmislib.util.</code><code class="descname">safe_urlencode</code><span class="sig-paren">(</span><em>in_dict</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.safe_urlencode" title="Permalink to this definition">¶</a></dt>
+<dd><p>Safe encoding of values taking care of unicode values
+urllib.urlencode doesn&#8217;t like unicode values</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.toCMISValue">
+<code class="descclassname">cmislib.util.</code><code class="descname">toCMISValue</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.toCMISValue" title="Permalink to this definition">¶</a></dt>
+<dd><p>Utility function to convert Python values to CMIS string values</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="cmislib.util.to_utf8">
+<code class="descclassname">cmislib.util.</code><code class="descname">to_utf8</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#cmislib.util.to_utf8" title="Permalink to this definition">¶</a></dt>
+<dd><p>Safe encodng of value to utf-8 taking care of unicode values</p>
+</dd></dl>
+
+</div>
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
+        <div class="sphinxsidebarwrapper">
+  <h3><a href="index.html">Table Of Contents</a></h3>
+  <ul>
+<li><a class="reference internal" href="#">Miscellaneous Code</a><ul>
+<li><a class="reference internal" href="#module-cmislib.cmis_services">The <code class="docutils literal"><span class="pre">cmislib.cmis_services</span></code> Module</a></li>
+<li><a class="reference internal" href="#module-cmislib.exceptions">The <code class="docutils literal"><span class="pre">cmislib.exceptions</span></code> Module</a></li>
+<li><a class="reference internal" href="#module-cmislib.messages">The <code class="docutils literal"><span class="pre">cmislib.messages</span></code> Module</a></li>
+<li><a class="reference internal" href="#module-cmislib.util">The <code class="docutils literal"><span class="pre">cmislib.util</span></code> Module</a></li>
+</ul>
+</li>
+</ul>
+
+  <h4>Previous topic</h4>
+  <p class="topless"><a href="code.html"
+                        title="previous chapter">Code</a></p>
+  <h4>Next topic</h4>
+  <p class="topless"><a href="devguide.html"
+                        title="next chapter">Developer Guide</a></p>
+  <div role="note" aria-label="source link">
+    <h3>This Page</h3>
+    <ul class="this-page-menu">
+      <li><a href="_sources/codemisc.rst.txt"
+            rel="nofollow">Show Source</a></li>
+    </ul>
+   </div>
+<div id="searchbox" style="display: none" role="search">
+  <h3>Quick search</h3>
+    <form class="search" action="search.html" method="get">
+      <div><input type="text" name="q" /></div>
+      <div><input type="submit" value="Go" /></div>
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="right" >
+          <a href="devguide.html" title="Developer Guide"
+             >next</a> |</li>
+        <li class="right" >
+          <a href="code.html" title="Code"
+             >previous</a> |</li>
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
+      </ul>
+    </div>
+    <div class="footer" role="contentinfo">
+        &#169; Copyright 2017, Apache Software Foundation.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.1.
+    </div>
+  </body>
+</html>
\ No newline at end of file

Modified: websites/staging/chemistry/trunk/content/python/docs/devguide.html
==============================================================================
--- websites/staging/chemistry/trunk/content/python/docs/devguide.html (original)
+++ websites/staging/chemistry/trunk/content/python/docs/devguide.html Thu Aug 31 14:30:39 2017
@@ -1,5 +1,3 @@
-
-
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -8,30 +6,32 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Developer Guide &mdash; Apache Chemistry cmislib 0.5.1 documentation</title>
+    <title>Developer Guide &#8212; Apache Chemistry cmislib 0.6.0 documentation</title>
     
-    <link rel="stylesheet" href="_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
-        URL_ROOT:    '',
-        VERSION:     '0.5.1',
+        URL_ROOT:    './',
+        VERSION:     '0.6.0',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
-        HAS_SOURCE:  true
+        HAS_SOURCE:  true,
+        SOURCELINK_SUFFIX: '.txt'
       };
     </script>
     <script type="text/javascript" src="_static/jquery.js"></script>
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="author" title="About these documents" href="about.html" />
-    <link rel="top" title="Apache Chemistry cmislib 0.5.1 documentation" href="index.html" />
+    <link rel="index" title="Index" href="genindex.html" />
+    <link rel="search" title="Search" href="search.html" />
     <link rel="next" title="Tests" href="tests.html" />
-    <link rel="prev" title="Code" href="code.html" /> 
+    <link rel="prev" title="Miscellaneous Code" href="codemisc.html" /> 
   </head>
-  <body>
-    <div class="related">
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
       <h3>Navigation</h3>
       <ul>
         <li class="right" style="margin-right: 10px">
@@ -44,16 +44,16 @@
           <a href="tests.html" title="Tests"
              accesskey="N">next</a> |</li>
         <li class="right" >
-          <a href="code.html" title="Code"
+          <a href="codemisc.html" title="Miscellaneous Code"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">Apache Chemistry cmislib 0.5.1 documentation</a> &raquo;</li> 
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
       </ul>
     </div>  
 
     <div class="document">
       <div class="documentwrapper">
         <div class="bodywrapper">
-          <div class="body">
+          <div class="body" role="main">
             
   <div class="section" id="developer-guide">
 <h1>Developer Guide<a class="headerlink" href="#developer-guide" title="Permalink to this headline">¶</a></h1>
@@ -85,7 +85,7 @@
 </li>
 <li><dl class="first docutils">
 <dt>Docs build cleanly</dt>
-<dd><div class="first last highlight-bash"><div class="highlight"><pre><span class="nb">cd </span>src/doc/src/
+<dd><div class="first last highlight-bash"><div class="highlight"><pre><span></span><span class="nb">cd</span> src/doc/src/
 make html
 </pre></div>
 </div>
@@ -94,7 +94,7 @@ make html
 </li>
 <li><dl class="first docutils">
 <dt>pep8 runs without much complaint</dt>
-<dd><div class="first last highlight-bash"><div class="highlight"><pre>pep8 --ignore<span class="o">=</span>E501,W601 --repeat model.py
+<dd><div class="first last highlight-bash"><div class="highlight"><pre><span></span>pep8 --ignore<span class="o">=</span>E501,W601 --repeat model.py
 </pre></div>
 </div>
 </dd>
@@ -102,7 +102,7 @@ make html
 </li>
 <li><dl class="first docutils">
 <dt>pylint runs without much complaint</dt>
-<dd><div class="first last highlight-bash"><div class="highlight"><pre>pylint --disable<span class="o">=</span>C0103,R0904,R0913,C0301,W0511 cmislibtest.py
+<dd><div class="first last highlight-bash"><div class="highlight"><pre><span></span>pylint --disable<span class="o">=</span>C0103,R0904,R0913,C0301,W0511 cmislibtest.py
 </pre></div>
 </div>
 </dd>
@@ -114,7 +114,7 @@ make html
 </li>
 <li><dl class="first docutils">
 <dt>Use the release script to build the release artifacts</dt>
-<dd><div class="first last highlight-bash"><div class="highlight"><pre><span class="nb">cd </span>dist
+<dd><div class="first last highlight-bash"><div class="highlight"><pre><span></span><span class="nb">cd</span> dist
 ./release.sh -u jpotts@apache.org
 </pre></div>
 </div>
@@ -139,7 +139,7 @@ make html
 </li>
 <li><dl class="first docutils">
 <dt>Check the <a class="reference external" href="http://pycheesecake.org/">cheesecake</a> score</dt>
-<dd><div class="first last highlight-bash"><div class="highlight"><pre>python cheesecake_index --name<span class="o">=</span>cmislib
+<dd><div class="first last highlight-bash"><div class="highlight"><pre><span></span>python cheesecake_index --name<span class="o">=</span>cmislib
 </pre></div>
 </div>
 </dd>
@@ -155,7 +155,7 @@ make html
           </div>
         </div>
       </div>
-      <div class="sphinxsidebar">
+      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         <div class="sphinxsidebarwrapper">
   <h3><a href="index.html">Table Of Contents</a></h3>
   <ul>
@@ -167,34 +167,33 @@ make html
 </ul>
 
   <h4>Previous topic</h4>
-  <p class="topless"><a href="code.html"
-                        title="previous chapter">Code</a></p>
+  <p class="topless"><a href="codemisc.html"
+                        title="previous chapter">Miscellaneous Code</a></p>
   <h4>Next topic</h4>
   <p class="topless"><a href="tests.html"
                         title="next chapter">Tests</a></p>
-  <h3>This Page</h3>
-  <ul class="this-page-menu">
-    <li><a href="_sources/devguide.txt"
-           rel="nofollow">Show Source</a></li>
-  </ul>
-<div id="searchbox" style="display: none">
+  <div role="note" aria-label="source link">
+    <h3>This Page</h3>
+    <ul class="this-page-menu">
+      <li><a href="_sources/devguide.rst.txt"
+            rel="nofollow">Show Source</a></li>
+    </ul>
+   </div>
+<div id="searchbox" style="display: none" role="search">
   <h3>Quick search</h3>
     <form class="search" action="search.html" method="get">
-      <input type="text" name="q" />
-      <input type="submit" value="Go" />
+      <div><input type="text" name="q" /></div>
+      <div><input type="submit" value="Go" /></div>
       <input type="hidden" name="check_keywords" value="yes" />
       <input type="hidden" name="area" value="default" />
     </form>
-    <p class="searchtip" style="font-size: 90%">
-    Enter search terms or a module, class or function name.
-    </p>
 </div>
 <script type="text/javascript">$('#searchbox').show(0);</script>
         </div>
       </div>
       <div class="clearer"></div>
     </div>
-    <div class="related">
+    <div class="related" role="navigation" aria-label="related navigation">
       <h3>Navigation</h3>
       <ul>
         <li class="right" style="margin-right: 10px">
@@ -207,14 +206,14 @@ make html
           <a href="tests.html" title="Tests"
              >next</a> |</li>
         <li class="right" >
-          <a href="code.html" title="Code"
+          <a href="codemisc.html" title="Miscellaneous Code"
              >previous</a> |</li>
-        <li><a href="index.html">Apache Chemistry cmislib 0.5.1 documentation</a> &raquo;</li> 
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
       </ul>
     </div>
-    <div class="footer">
-        &copy; Copyright 2013, Apache Software Foundation.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+    <div class="footer" role="contentinfo">
+        &#169; Copyright 2017, Apache Software Foundation.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.1.
     </div>
   </body>
 </html>
\ No newline at end of file

Modified: websites/staging/chemistry/trunk/content/python/docs/docs.html
==============================================================================
--- websites/staging/chemistry/trunk/content/python/docs/docs.html (original)
+++ websites/staging/chemistry/trunk/content/python/docs/docs.html Thu Aug 31 14:30:39 2017
@@ -1,5 +1,3 @@
-
-
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -8,30 +6,31 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Documentation &mdash; Apache Chemistry cmislib 0.5.1 documentation</title>
+    <title>Documentation &#8212; Apache Chemistry cmislib 0.6.0 documentation</title>
     
-    <link rel="stylesheet" href="_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
-        URL_ROOT:    '',
-        VERSION:     '0.5.1',
+        URL_ROOT:    './',
+        VERSION:     '0.6.0',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
-        HAS_SOURCE:  true
+        HAS_SOURCE:  true,
+        SOURCELINK_SUFFIX: '.txt'
       };
     </script>
     <script type="text/javascript" src="_static/jquery.js"></script>
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="author" title="About these documents" href="about.html" />
-    <link rel="top" title="Apache Chemistry cmislib 0.5.1 documentation" href="index.html" />
-    <link rel="next" title="Sample Data" href="sample-data.html" />
+    <link rel="index" title="Index" href="genindex.html" />
+    <link rel="search" title="Search" href="search.html" />
     <link rel="prev" title="Tests" href="tests.html" /> 
   </head>
-  <body>
-    <div class="related">
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
       <h3>Navigation</h3>
       <ul>
         <li class="right" style="margin-right: 10px">
@@ -41,34 +40,34 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
         <li class="right" >
-          <a href="sample-data.html" title="Sample Data"
-             accesskey="N">next</a> |</li>
-        <li class="right" >
           <a href="tests.html" title="Tests"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">Apache Chemistry cmislib 0.5.1 documentation</a> &raquo;</li> 
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
       </ul>
     </div>  
 
     <div class="document">
       <div class="documentwrapper">
         <div class="bodywrapper">
-          <div class="body">
+          <div class="body" role="main">
             
   <div class="section" id="documentation">
 <h1>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h1>
 <p>This documentation was generated with <a class="reference external" href="http://sphinx.pocoo.org/">Sphinx</a>. To install Sphinx on Mac OS X using Macports:</p>
 <p>MAC OS X:</p>
-<div class="highlight-python"><pre>sudo port install py26-sphinx</pre>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">port</span> <span class="n">install</span> <span class="n">py26</span><span class="o">-</span><span class="n">sphinx</span>
+</pre></div>
 </div>
 <p>Once you&#8217;ve got Sphinx installed, if you need to regenerate the documentation:</p>
-<div class="highlight-python"><pre>cd /path/to/cmislib/src/doc/src
-Run either:
-    sphinx-build -b html -d ../build/.doctrees . ../build
-    make html</pre>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">cd</span> <span class="o">/</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">cmislib</span><span class="o">/</span><span class="n">src</span><span class="o">/</span><span class="n">doc</span><span class="o">/</span><span class="n">src</span>
+<span class="n">Run</span> <span class="n">either</span><span class="p">:</span>
+        <span class="n">sphinx</span><span class="o">-</span><span class="n">build</span> <span class="o">-</span><span class="n">b</span> <span class="n">html</span> <span class="o">-</span><span class="n">d</span> <span class="o">../</span><span class="n">build</span><span class="o">/.</span><span class="n">doctrees</span> <span class="o">.</span> <span class="o">../</span><span class="n">build</span>
+<span class="n">make</span> <span class="n">html</span>
+</pre></div>
 </div>
 <p>The generated HTML will be placed in doc/build:</p>
-<div class="highlight-python"><pre>firefox file:///path/to/cmislib/src/doc/build/index.html</pre>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">firefox</span> <span class="n">file</span><span class="p">:</span><span class="o">///</span><span class="n">path</span><span class="o">/</span><span class="n">to</span><span class="o">/</span><span class="n">cmislib</span><span class="o">/</span><span class="n">src</span><span class="o">/</span><span class="n">doc</span><span class="o">/</span><span class="n">build</span><span class="o">/</span><span class="n">index</span><span class="o">.</span><span class="n">html</span>
+</pre></div>
 </div>
 </div>
 
@@ -76,37 +75,33 @@ Run either:
           </div>
         </div>
       </div>
-      <div class="sphinxsidebar">
+      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         <div class="sphinxsidebarwrapper">
   <h4>Previous topic</h4>
   <p class="topless"><a href="tests.html"
                         title="previous chapter">Tests</a></p>
-  <h4>Next topic</h4>
-  <p class="topless"><a href="sample-data.html"
-                        title="next chapter">Sample Data</a></p>
-  <h3>This Page</h3>
-  <ul class="this-page-menu">
-    <li><a href="_sources/docs.txt"
-           rel="nofollow">Show Source</a></li>
-  </ul>
-<div id="searchbox" style="display: none">
+  <div role="note" aria-label="source link">
+    <h3>This Page</h3>
+    <ul class="this-page-menu">
+      <li><a href="_sources/docs.rst.txt"
+            rel="nofollow">Show Source</a></li>
+    </ul>
+   </div>
+<div id="searchbox" style="display: none" role="search">
   <h3>Quick search</h3>
     <form class="search" action="search.html" method="get">
-      <input type="text" name="q" />
-      <input type="submit" value="Go" />
+      <div><input type="text" name="q" /></div>
+      <div><input type="submit" value="Go" /></div>
       <input type="hidden" name="check_keywords" value="yes" />
       <input type="hidden" name="area" value="default" />
     </form>
-    <p class="searchtip" style="font-size: 90%">
-    Enter search terms or a module, class or function name.
-    </p>
 </div>
 <script type="text/javascript">$('#searchbox').show(0);</script>
         </div>
       </div>
       <div class="clearer"></div>
     </div>
-    <div class="related">
+    <div class="related" role="navigation" aria-label="related navigation">
       <h3>Navigation</h3>
       <ul>
         <li class="right" style="margin-right: 10px">
@@ -116,17 +111,14 @@ Run either:
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
         <li class="right" >
-          <a href="sample-data.html" title="Sample Data"
-             >next</a> |</li>
-        <li class="right" >
           <a href="tests.html" title="Tests"
              >previous</a> |</li>
-        <li><a href="index.html">Apache Chemistry cmislib 0.5.1 documentation</a> &raquo;</li> 
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
       </ul>
     </div>
-    <div class="footer">
-        &copy; Copyright 2013, Apache Software Foundation.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+    <div class="footer" role="contentinfo">
+        &#169; Copyright 2017, Apache Software Foundation.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.1.
     </div>
   </body>
 </html>
\ No newline at end of file

Modified: websites/staging/chemistry/trunk/content/python/docs/examples.html
==============================================================================
--- websites/staging/chemistry/trunk/content/python/docs/examples.html (original)
+++ websites/staging/chemistry/trunk/content/python/docs/examples.html Thu Aug 31 14:30:39 2017
@@ -1,5 +1,3 @@
-
-
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
@@ -8,30 +6,32 @@
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     
-    <title>Examples &mdash; Apache Chemistry cmislib 0.5.1 documentation</title>
+    <title>Examples &#8212; Apache Chemistry cmislib 0.6.0 documentation</title>
     
-    <link rel="stylesheet" href="_static/default.css" type="text/css" />
+    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
     
     <script type="text/javascript">
       var DOCUMENTATION_OPTIONS = {
-        URL_ROOT:    '',
-        VERSION:     '0.5.1',
+        URL_ROOT:    './',
+        VERSION:     '0.6.0',
         COLLAPSE_INDEX: false,
         FILE_SUFFIX: '.html',
-        HAS_SOURCE:  true
+        HAS_SOURCE:  true,
+        SOURCELINK_SUFFIX: '.txt'
       };
     </script>
     <script type="text/javascript" src="_static/jquery.js"></script>
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="author" title="About these documents" href="about.html" />
-    <link rel="top" title="Apache Chemistry cmislib 0.5.1 documentation" href="index.html" />
-    <link rel="next" title="Code" href="code.html" />
+    <link rel="index" title="Index" href="genindex.html" />
+    <link rel="search" title="Search" href="search.html" />
+    <link rel="next" title="Bindings" href="bindings.html" />
     <link rel="prev" title="Installation" href="install.html" /> 
   </head>
-  <body>
-    <div class="related">
+  <body role="document">
+    <div class="related" role="navigation" aria-label="related navigation">
       <h3>Navigation</h3>
       <ul>
         <li class="right" style="margin-right: 10px">
@@ -41,24 +41,24 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
         <li class="right" >
-          <a href="code.html" title="Code"
+          <a href="bindings.html" title="Bindings"
              accesskey="N">next</a> |</li>
         <li class="right" >
           <a href="install.html" title="Installation"
              accesskey="P">previous</a> |</li>
-        <li><a href="index.html">Apache Chemistry cmislib 0.5.1 documentation</a> &raquo;</li> 
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
       </ul>
     </div>  
 
     <div class="document">
       <div class="documentwrapper">
         <div class="bodywrapper">
-          <div class="body">
+          <div class="body" role="main">
             
   <div class="section" id="examples">
 <span id="id1"></span><h1>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h1>
 <p>There&#8217;s nothing in cmislib that is specific to any particular vendor. Once you give it your CMIS provider&#8217;s service URL and some credentials, it figures out where to go from there.</p>
-<p>Let&#8217;s look at some examples using Alfresco&#8217;s public CMIS repository.</p>
+<p>Let&#8217;s look at some examples using a local install of Alfresco Community Edition.</p>
 <div class="section" id="get-a-repository-object">
 <h2>Get a Repository object<a class="headerlink" href="#get-a-repository-object" title="Permalink to this headline">¶</a></h2>
 <blockquote>
@@ -66,38 +66,41 @@
 <li><p class="first">From the command-line, start the Python shell by typing <cite>python</cite> then hit enter.</p>
 </li>
 <li><p class="first">Import the CmisClient:</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">cmislib</span> <span class="kn">import</span> <span class="n">CmisClient</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">from</span> <span class="nn">cmislib</span> <span class="k">import</span> <span class="n">CmisClient</span>
 </pre></div>
 </div>
 </li>
 <li><p class="first">Point the CmisClient at the repository&#8217;s service URL</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">client</span> <span class="o">=</span> <span class="n">CmisClient</span><span class="p">(</span><span class="s">&#39;http://cmis.alfresco.com/cmisatom&#39;</span><span class="p">,</span> <span class="s">&#39;admin&#39;</span><span class="p">,</span> <span class="s">&#39;admin&#39;</span><span class="p">)</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">client</span> <span class="o">=</span> <span class="n">CmisClient</span><span class="p">(</span><span class="s1">&#39;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom&#39;</span><span class="p">,</span> <span class="s1">&#39;admin&#39;</span><span class="p">,</span> <span class="s1">&#39;admin&#39;</span><span class="p">)</span>
 </pre></div>
 </div>
 </li>
 <li><p class="first">Get the default repository for the service</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">repo</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="n">defaultRepository</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">repo</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="n">defaultRepository</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="n">repo</span><span class="o">.</span><span class="n">id</span>
-<span class="go">u&#39;83beb297-a6fa-4ac5-844b-98c871c0eea9&#39;</span>
+<span class="go">u&#39;-default-&#39;</span>
 </pre></div>
 </div>
 </li>
 <li><p class="first">Get the repository&#8217;s properties. This for-loop spits out everything cmislib knows about the repo.</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">repo</span><span class="o">.</span><span class="n">name</span>
-<span class="go">u&#39;Main Repository&#39;</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">repo</span><span class="o">.</span><span class="n">name</span>
+<span class="go">u&#39;&#39;</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="n">info</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">info</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="k">for</span> <span class="n">k</span><span class="p">,</span><span class="n">v</span> <span class="ow">in</span> <span class="n">info</span><span class="o">.</span><span class="n">items</span><span class="p">():</span>
 <span class="go">    ...     print &quot;%s:%s&quot; % (k,v)</span>
 <span class="go">    ...</span>
-<span class="go">    cmisSpecificationTitle:Version 1.0 Committee Draft 04</span>
-<span class="go">    cmisVersionSupported:1.0</span>
+<span class="go">    cmisVersionSupported:1.1</span>
+<span class="go">    principalAnonymous:guest</span>
+<span class="go">    principalAnyone:GROUP_EVERYONE</span>
 <span class="go">    repositoryDescription:None</span>
-<span class="go">    productVersion:3.2.0 (r2 2440)</span>
-<span class="go">    rootFolderId:workspace://SpacesStore/aa1ecedf-9551-49c5-831a-0502bb43f348</span>
-<span class="go">    repositoryId:83beb297-a6fa-4ac5-844b-98c871c0eea9</span>
-<span class="go">    repositoryName:Main Repository</span>
+<span class="go">    changesOnType:cmis:folder</span>
+<span class="go">    changesIncomplete:true</span>
+<span class="go">    productVersion:5.2.0 (r133656-b12)</span>
+<span class="go">    rootFolderId:000f9013-af35-430e-912f-67328f106279</span>
+<span class="go">    repositoryId:-default-</span>
+<span class="go">    repositoryName:None</span>
 <span class="go">    vendorName:Alfresco</span>
-<span class="go">    productName:Alfresco Repository (Community)</span>
+<span class="go">    productName:Alfresco Community</span>
 </pre></div>
 </div>
 </li>
@@ -110,31 +113,31 @@
 <blockquote>
 <div><ol class="arabic">
 <li><p class="first">Create a new folder in the root. You should name yours something unique.</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">root</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">rootFolder</span>
-<span class="gp">&gt;&gt;&gt; </span><span class="n">someFolder</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="n">createFolder</span><span class="p">(</span><span class="s">&#39;someFolder&#39;</span><span class="p">)</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">root</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">rootFolder</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">someFolder</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="n">createFolder</span><span class="p">(</span><span class="s1">&#39;someFolder&#39;</span><span class="p">)</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="n">someFolder</span><span class="o">.</span><span class="n">id</span>
-<span class="go">u&#39;workspace://SpacesStore/91f344ef-84e7-43d8-b379-959c0be7e8fc&#39;</span>
+<span class="go">u&#39;92133bfd-8b69-4e97-9af2-761a09f29e01&#39;</span>
 </pre></div>
 </div>
 </li>
 <li><p class="first">Then, you can create some content:</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">someFile</span> <span class="o">=</span> <span class="nb">open</span><span class="p">(</span><span class="s">&#39;test.txt&#39;</span><span class="p">,</span> <span class="s">&#39;r&#39;</span><span class="p">)</span>
-<span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span> <span class="o">=</span> <span class="n">someFolder</span><span class="o">.</span><span class="n">createDocument</span><span class="p">(</span><span class="s">&#39;Test Document&#39;</span><span class="p">,</span> <span class="n">contentFile</span><span class="o">=</span><span class="n">someFile</span><span class="p">)</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">someFile</span> <span class="o">=</span> <span class="nb">open</span><span class="p">(</span><span class="s1">&#39;test.txt&#39;</span><span class="p">,</span> <span class="s1">&#39;r&#39;</span><span class="p">)</span>
+<span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span> <span class="o">=</span> <span class="n">someFolder</span><span class="o">.</span><span class="n">createDocument</span><span class="p">(</span><span class="s1">&#39;Test Document&#39;</span><span class="p">,</span> <span class="n">contentFile</span><span class="o">=</span><span class="n">someFile</span><span class="p">)</span>
 </pre></div>
 </div>
 </li>
 <li><p class="first">And, if you want, you can dump the properties of the newly-created document (this is a partial list):</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">props</span> <span class="o">=</span> <span class="n">someDoc</span><span class="o">.</span><span class="n">properties</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">props</span> <span class="o">=</span> <span class="n">someDoc</span><span class="o">.</span><span class="n">properties</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="k">for</span> <span class="n">k</span><span class="p">,</span><span class="n">v</span> <span class="ow">in</span> <span class="n">props</span><span class="o">.</span><span class="n">items</span><span class="p">():</span>
-<span class="gp">... </span>    <span class="k">print</span> <span class="s">&#39;</span><span class="si">%s</span><span class="s">:</span><span class="si">%s</span><span class="s">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">k</span><span class="p">,</span><span class="n">v</span><span class="p">)</span>
+<span class="gp">... </span>    <span class="nb">print</span> <span class="s1">&#39;</span><span class="si">%s</span><span class="s1">:</span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">k</span><span class="p">,</span><span class="n">v</span><span class="p">)</span>
 <span class="gp">...</span>
 <span class="go">cmis:contentStreamMimeType:text/plain</span>
-<span class="go">cmis:creationDate:2009-12-18T10:59:26.667-06:00</span>
+<span class="go">cmis:creationDate:2016-12-29 14:53:47.430000-06:00</span>
 <span class="go">cmis:baseTypeId:cmis:document</span>
 <span class="go">cmis:isLatestMajorVersion:false</span>
 <span class="go">cmis:isImmutable:false</span>
 <span class="go">cmis:isMajorVersion:false</span>
-<span class="go">cmis:objectId:workspace://SpacesStore/2cf36ad5-92b0-4731-94a4-9f3fef25b479</span>
+<span class="go">cmis:objectId:c4bc9d00-5bf0-404d-8f0a-a6260f6d21ae;1.0</span>
 </pre></div>
 </div>
 </li>
@@ -152,13 +155,9 @@
 </ul>
 <ol class="last arabic">
 <li><p class="first">Let&#8217;s find the doc we just created with a full-text search.</p>
-<div class="admonition note">
-<p class="first admonition-title">Note</p>
-<p class="last">Note that I&#8217;m currently seeing a problem with Alfresco in which the CMIS service returns one less result than what&#8217;s really there):</p>
-</div>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">results</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">query</span><span class="p">(</span><span class="s">&quot;select * from cmis:document where contains(&#39;test&#39;)&quot;</span><span class="p">)</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">results</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">query</span><span class="p">(</span><span class="s2">&quot;select * from cmis:document where contains(&#39;test&#39;)&quot;</span><span class="p">)</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="k">for</span> <span class="n">result</span> <span class="ow">in</span> <span class="n">results</span><span class="p">:</span>
-<span class="gp">... </span>    <span class="k">print</span> <span class="n">result</span><span class="o">.</span><span class="n">name</span>
+<span class="gp">... </span>    <span class="nb">print</span> <span class="n">result</span><span class="o">.</span><span class="n">name</span>
 <span class="gp">...</span>
 <span class="go">Test Document2</span>
 <span class="go">example test script.js</span>
@@ -166,23 +165,23 @@
 </div>
 </li>
 <li><p class="first">Alternatively, you can also get objects by their path, like this:</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">getObjectByPath</span><span class="p">(</span><span class="s">&#39;/someFolder/Test Document&#39;</span><span class="p">)</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">getObjectByPath</span><span class="p">(</span><span class="s1">&#39;/someFolder/Test Document&#39;</span><span class="p">)</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span><span class="o">.</span><span class="n">id</span>
-<span class="go">u&#39;workspace://SpacesStore/2cf36ad5-92b0-4731-94a4-9f3fef25b479&#39;</span>
+<span class="go">&#39;c4bc9d00-5bf0-404d-8f0a-a6260f6d21ae;1.0&#39;</span>
 </pre></div>
 </div>
 </li>
 <li><p class="first">Or their object ID, like this:</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">getObject</span><span class="p">(</span><span class="s">&#39;workspace://SpacesStore/2cf36ad5-92b0-4731-94a4-9f3fef25b479&#39;</span><span class="p">)</span>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span> <span class="o">=</span> <span class="n">repo</span><span class="o">.</span><span class="n">getObject</span><span class="p">(</span><span class="s1">&#39;c4bc9d00-5bf0-404d-8f0a-a6260f6d21ae;1.0&#39;</span><span class="p">)</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="n">someDoc</span><span class="o">.</span><span class="n">name</span>
 <span class="go">u&#39;Test Document&#39;</span>
 </pre></div>
 </div>
 </li>
-<li><p class="first">Folder objects have getChildren() and getDescendants() methods that will return a list of <tt class="xref py py-class docutils literal"><span class="pre">CmisObject</span></tt> objects:</p>
-<div class="highlight-python"><div class="highlight"><pre><span class="gp">&gt;&gt;&gt; </span><span class="n">children</span><span class="o">=</span> <span class="n">someFolder</span><span class="o">.</span><span class="n">getChildren</span><span class="p">()</span>
+<li><p class="first">Folder objects have getChildren() and getDescendants() methods that will return a list of <code class="xref py py-class docutils literal"><span class="pre">CmisObject</span></code> objects:</p>
+<div class="highlight-default"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">children</span> <span class="o">=</span> <span class="n">someFolder</span><span class="o">.</span><span class="n">getChildren</span><span class="p">()</span>
 <span class="gp">&gt;&gt;&gt; </span><span class="k">for</span> <span class="n">child</span> <span class="ow">in</span> <span class="n">children</span><span class="p">:</span>
-<span class="gp">... </span>    <span class="k">print</span> <span class="n">child</span><span class="o">.</span><span class="n">name</span>
+<span class="gp">... </span>    <span class="nb">print</span> <span class="n">child</span><span class="o">.</span><span class="n">name</span>
 <span class="gp">...</span>
 <span class="go">Test Document</span>
 <span class="go">Test Document2</span>
@@ -199,7 +198,7 @@
           </div>
         </div>
       </div>
-      <div class="sphinxsidebar">
+      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
         <div class="sphinxsidebarwrapper">
   <h3><a href="index.html">Table Of Contents</a></h3>
   <ul>
@@ -215,31 +214,30 @@
   <p class="topless"><a href="install.html"
                         title="previous chapter">Installation</a></p>
   <h4>Next topic</h4>
-  <p class="topless"><a href="code.html"
-                        title="next chapter">Code</a></p>
-  <h3>This Page</h3>
-  <ul class="this-page-menu">
-    <li><a href="_sources/examples.txt"
-           rel="nofollow">Show Source</a></li>
-  </ul>
-<div id="searchbox" style="display: none">
+  <p class="topless"><a href="bindings.html"
+                        title="next chapter">Bindings</a></p>
+  <div role="note" aria-label="source link">
+    <h3>This Page</h3>
+    <ul class="this-page-menu">
+      <li><a href="_sources/examples.rst.txt"
+            rel="nofollow">Show Source</a></li>
+    </ul>
+   </div>
+<div id="searchbox" style="display: none" role="search">
   <h3>Quick search</h3>
     <form class="search" action="search.html" method="get">
-      <input type="text" name="q" />
-      <input type="submit" value="Go" />
+      <div><input type="text" name="q" /></div>
+      <div><input type="submit" value="Go" /></div>
       <input type="hidden" name="check_keywords" value="yes" />
       <input type="hidden" name="area" value="default" />
     </form>
-    <p class="searchtip" style="font-size: 90%">
-    Enter search terms or a module, class or function name.
-    </p>
 </div>
 <script type="text/javascript">$('#searchbox').show(0);</script>
         </div>
       </div>
       <div class="clearer"></div>
     </div>
-    <div class="related">
+    <div class="related" role="navigation" aria-label="related navigation">
       <h3>Navigation</h3>
       <ul>
         <li class="right" style="margin-right: 10px">
@@ -249,17 +247,17 @@
           <a href="py-modindex.html" title="Python Module Index"
              >modules</a> |</li>
         <li class="right" >
-          <a href="code.html" title="Code"
+          <a href="bindings.html" title="Bindings"
              >next</a> |</li>
         <li class="right" >
           <a href="install.html" title="Installation"
              >previous</a> |</li>
-        <li><a href="index.html">Apache Chemistry cmislib 0.5.1 documentation</a> &raquo;</li> 
+        <li class="nav-item nav-item-0"><a href="index.html">Apache Chemistry cmislib 0.6.0 documentation</a> &#187;</li> 
       </ul>
     </div>
-    <div class="footer">
-        &copy; Copyright 2013, Apache Software Foundation.
-      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+    <div class="footer" role="contentinfo">
+        &#169; Copyright 2017, Apache Software Foundation.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.1.
     </div>
   </body>
 </html>
\ No newline at end of file



Mime
View raw message