chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r866588 [6/7] - in /websites/staging/chemistry/trunk/content: ./ dotnet/ internal/ java/0.6.0/maven/apidocs/ java/developing/ java/developing/repositories/ java/examples/ java/how-to/ php/
Date Thu, 20 Jun 2013 10:26:44 GMT
Modified: websites/staging/chemistry/trunk/content/java/developing/repositories/dev-repositories-inmemory.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/developing/repositories/dev-repositories-inmemory.html (original)
+++ websites/staging/chemistry/trunk/content/java/developing/repositories/dev-repositories-inmemory.html Thu Jun 20 10:26:44 2013
@@ -197,8 +197,7 @@ Apache Chemistry - OpenCMIS InMemory Rep
 that holds content and metadata in memory. Therefore, all data stored in
 the repository is lost after each restart. This implementation has two mainpurposes:</p>
 <ol>
-<li>Provide a fast backend for testing purposes without any additional dependencies or configuration.  <br />
-</li>
+<li>Provide a fast backend for testing purposes without any additional dependencies or configuration.    </li>
 <li>Provide a sample implementation for the server interface of OpenCMIS.</li>
 </ol>
 <h2 id="status">Status</h2>
@@ -206,24 +205,19 @@ the repository is lost after each restar
 designed for extensibility. Expect any interface to change at any time.
 The following features are implemented:</p>
 <ul>
-<li>Type System and Repository Service <br />
-</li>
-<li>Navigation  <br />
-</li>
+<li>Type System and Repository Service   </li>
+<li>Navigation    </li>
 <li>Object Service</li>
 <li>Query (no joins, text search only on plain text documents)</li>
 <li>Versioning</li>
 <li>ACLs</li>
 <li>Unfiling</li>
-<li>Renditions (fixed icons for folders and Office documents, thumbnails for JPEG inages) <br />
-</li>
+<li>Renditions (fixed icons for folders and Office documents, thumbnails for JPEG inages)   </li>
 </ul>
 <p>Not supported are currently:</p>
 <ul>
-<li>Relationships <br />
-</li>
-<li>Policies<br />
-</li>
+<li>Relationships   </li>
+<li>Policies  </li>
 <li>Change Tokens (a hard coded value in getContentChanges is returned)</li>
 </ul>
 <h2 id="build-and-deploy-the-repository">Build and Deploy the Repository</h2>

Modified: websites/staging/chemistry/trunk/content/java/examples/example-create-update.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/examples/example-create-update.html (original)
+++ websites/staging/chemistry/trunk/content/java/examples/example-create-update.html Thu Jun 20 10:26:44 2013
@@ -194,59 +194,59 @@ Apache Chemistry - Creating and updating
              <div class="wiki-content"><h1 id="creating-and-updating-cmis-objects">Creating and updating CMIS objects</h1>
 <h2 id="creating-a-folder">Creating a folder</h2>
 <p>This example creates a folder under the root folder.</p>
-<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">root</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">getRootFolder</span><span class="p">();</span>
+<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">root</span> <span class="p">=</span> <span class="n">session</span><span class="p">.</span><span class="n">getRootFolder</span><span class="p">();</span>
 
-<span class="sr">//</span> <span class="n">properties</span>
-<span class="sr">//</span> <span class="p">(</span><span class="n">minimal</span> <span class="n">set:</span> <span class="n">name</span> <span class="ow">and</span> <span class="n">object</span> <span class="n">type</span> <span class="n">id</span><span class="p">)</span>
-<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
-<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">OBJECT_TYPE_ID</span><span class="p">,</span> <span class="s">&quot;cmis:folder&quot;</span><span class="p">);</span>
-<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">NAME</span><span class="p">,</span> <span class="s">&quot;a new folder&quot;</span><span class="p">);</span>
+<span class="o">//</span> <span class="k">properties</span>
+<span class="o">//</span> <span class="p">(</span><span class="n">minimal</span> <span class="n">set</span><span class="p">:</span> <span class="n">name</span> <span class="n">and</span> <span class="n">object</span> <span class="n">type</span> <span class="n">id</span><span class="p">)</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="k">properties</span> <span class="p">=</span> <span class="n">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="k">properties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">OBJECT_TYPE_ID</span><span class="p">,</span> &quot;<span class="n">cmis</span><span class="p">:</span><span class="n">folder</span>&quot;<span class="p">);</span>
+<span class="k">properties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">NAME</span><span class="p">,</span> &quot;<span class="n">a</span> <span class="n">new</span> <span class="n">folder</span>&quot;<span class="p">);</span>
 
-<span class="sr">//</span> <span class="n">create</span> <span class="n">the</span> <span class="n">folder</span>
-<span class="n">Folder</span> <span class="n">newFolder</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="n">properties</span><span class="p">);</span>
+<span class="o">//</span> <span class="n">create</span> <span class="n">the</span> <span class="n">folder</span>
+<span class="n">Folder</span> <span class="n">newFolder</span> <span class="p">=</span> <span class="n">root</span><span class="p">.</span><span class="n">createFolder</span><span class="p">(</span><span class="k">properties</span><span class="p">);</span>
 </pre></div>
 
 
 <h2 id="creating-a-document">Creating a document</h2>
 <p>This example creates a document in the folder <code>parent</code>.</p>
-<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">parent</span> <span class="o">=</span> <span class="o">....</span>
+<div class="codehilite"><pre><span class="n">Folder</span> <span class="n">parent</span> <span class="p">=</span> <span class="p">....</span>
 
-<span class="n">String</span> <span class="n">name</span> <span class="o">=</span> <span class="s">&quot;myNewDocument.txt&quot;</span><span class="p">;</span>
+<span class="n">String</span> <span class="n">name</span> <span class="p">=</span> &quot;<span class="n">myNewDocument</span><span class="p">.</span><span class="n">txt</span>&quot;<span class="p">;</span>
 
-<span class="sr">//</span> <span class="n">properties</span> 
-<span class="sr">//</span> <span class="p">(</span><span class="n">minimal</span> <span class="n">set:</span> <span class="n">name</span> <span class="ow">and</span> <span class="n">object</span> <span class="n">type</span> <span class="n">id</span><span class="p">)</span>
-<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="n">properties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
-<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">OBJECT_TYPE_ID</span><span class="p">,</span> <span class="s">&quot;cmis:document&quot;</span><span class="p">);</span>
-<span class="n">properties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">NAME</span><span class="p">,</span> <span class="n">name</span><span class="p">);</span>
-
-<span class="sr">//</span> <span class="n">content</span>
-<span class="n">byte</span><span class="o">[]</span> <span class="n">content</span> <span class="o">=</span> <span class="s">&quot;Hello World!&quot;</span><span class="o">.</span><span class="n">getBytes</span><span class="p">();</span>
-<span class="n">InputStream</span> <span class="n">stream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">ByteArrayInputStream</span><span class="p">(</span><span class="n">content</span><span class="p">);</span>
-<span class="n">ContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">ContentStreamImpl</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">BigInteger</span><span class="o">.</span><span class="n">valueOf</span><span class="p">(</span><span class="n">content</span><span class="o">.</span><span class="nb">length</span><span class="p">),</span> <span class="s">&quot;text/plain&quot;</span><span class="p">,</span> <span class="n">stream</span><span class="p">);</span>
+<span class="o">//</span> <span class="k">properties</span> 
+<span class="o">//</span> <span class="p">(</span><span class="n">minimal</span> <span class="n">set</span><span class="p">:</span> <span class="n">name</span> <span class="n">and</span> <span class="n">object</span> <span class="n">type</span> <span class="n">id</span><span class="p">)</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="k">properties</span> <span class="p">=</span> <span class="n">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="k">properties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">OBJECT_TYPE_ID</span><span class="p">,</span> &quot;<span class="n">cmis</span><span class="p">:</span><span class="n">document</span>&quot;<span class="p">);</span>
+<span class="k">properties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span><span class="n">PropertyIds</span><span class="p">.</span><span class="n">NAME</span><span class="p">,</span> <span class="n">name</span><span class="p">);</span>
+
+<span class="o">//</span> <span class="n">content</span>
+<span class="n">byte</span><span class="p">[]</span> <span class="n">content</span> <span class="p">=</span> &quot;<span class="n">Hello</span> <span class="n">World</span>!&quot;<span class="p">.</span><span class="n">getBytes</span><span class="p">();</span>
+<span class="n">InputStream</span> <span class="n">stream</span> <span class="p">=</span> <span class="n">new</span> <span class="n">ByteArrayInputStream</span><span class="p">(</span><span class="n">content</span><span class="p">);</span>
+<span class="n">ContentStream</span> <span class="n">contentStream</span> <span class="p">=</span> <span class="n">new</span> <span class="n">ContentStreamImpl</span><span class="p">(</span><span class="n">name</span><span class="p">,</span> <span class="n">BigInteger</span><span class="p">.</span><span class="n">valueOf</span><span class="p">(</span><span class="n">content</span><span class="p">.</span><span class="nb">length</span><span class="p">),</span> &quot;<span class="n">text</span><span class="o">/</span><span class="n">plain</span>&quot;<span class="p">,</span> <span class="n">stream</span><span class="p">);</span>
 
-<span class="sr">//</span> <span class="n">create</span> <span class="n">a</span> <span class="n">major</span> <span class="n">version</span>
-<span class="n">Document</span> <span class="n">newDoc</span> <span class="o">=</span> <span class="n">parent</span><span class="o">.</span><span class="n">createDocument</span><span class="p">(</span><span class="n">properties</span><span class="p">,</span> <span class="n">contentStream</span><span class="p">,</span> <span class="n">VersioningState</span><span class="o">.</span><span class="n">MAJOR</span><span class="p">);</span>
+<span class="o">//</span> <span class="n">create</span> <span class="n">a</span> <span class="n">major</span> <span class="n">version</span>
+<span class="n">Document</span> <span class="n">newDoc</span> <span class="p">=</span> <span class="n">parent</span><span class="p">.</span><span class="n">createDocument</span><span class="p">(</span><span class="k">properties</span><span class="p">,</span> <span class="n">contentStream</span><span class="p">,</span> <span class="n">VersioningState</span><span class="p">.</span><span class="n">MAJOR</span><span class="p">);</span>
 </pre></div>
 
 
 <h2 id="updating-properties">Updating properties</h2>
 <p>This example updates five properties of a CMIS object</p>
-<div class="codehilite"><pre><span class="n">CmisObject</span> <span class="n">cmisobject</span> <span class="o">=</span> <span class="o">....</span>
+<div class="codehilite"><pre><span class="n">CmisObject</span> <span class="n">cmisobject</span> <span class="p">=</span> <span class="p">....</span>
 
-<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="n">updateProperties</span> <span class="o">=</span> <span class="k">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span> <span class="n">updateProperties</span> <span class="p">=</span> <span class="n">new</span> <span class="n">HashMap</span><span class="o">&lt;</span><span class="n">String</span><span class="p">,</span> <span class="n">Object</span><span class="o">&gt;</span><span class="p">();</span>
 
-<span class="n">updateProperties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;my:property&quot;</span><span class="p">,</span> <span class="s">&quot;new value&quot;</span><span class="p">);</span> <span class="sr">//</span> <span class="n">single</span><span class="o">-</span><span class="n">value</span> <span class="n">property</span>
-<span class="n">updateProperties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;my:int.property&quot;</span><span class="p">,</span> <span class="mi">42</span><span class="p">);</span>
-<span class="n">updateProperties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;my:date.property&quot;</span><span class="p">,</span> <span class="k">new</span> <span class="n">GregorianCalendar</span><span class="p">());</span>
-<span class="n">updateProperties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;my:bool.property&quot;</span><span class="p">,</span> <span class="n">true</span><span class="p">);</span>
-
-<span class="n">List</span><span class="sr">&lt;String&gt;</span> <span class="n">shoppingList</span> <span class="o">=</span> <span class="k">new</span> <span class="n">ArrayList</span><span class="sr">&lt;String&gt;</span><span class="p">();</span>
-<span class="n">shoppingList</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&quot;milk&quot;</span><span class="p">);</span>
-<span class="n">shoppingList</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&quot;bread&quot;</span><span class="p">);</span>
-<span class="n">shoppingList</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&quot;cheese&quot;</span><span class="p">);</span>
-<span class="n">updateProperties</span><span class="o">.</span><span class="n">put</span><span class="p">(</span><span class="s">&quot;my:shopping.list&quot;</span><span class="p">,</span> <span class="n">shoppingList</span><span class="p">);</span> <span class="sr">//</span> <span class="n">multi</span><span class="o">-</span><span class="n">value</span> <span class="n">property</span>
+<span class="n">updateProperties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span>&quot;<span class="n">my</span><span class="p">:</span><span class="n">property</span>&quot;<span class="p">,</span> &quot;<span class="n">new</span> <span class="n">value</span>&quot;<span class="p">);</span> <span class="o">//</span> <span class="n">single</span><span class="o">-</span><span class="n">value</span> <span class="n">property</span>
+<span class="n">updateProperties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span>&quot;<span class="n">my</span><span class="p">:</span><span class="n">int</span><span class="p">.</span><span class="n">property</span>&quot;<span class="p">,</span> 42<span class="p">);</span>
+<span class="n">updateProperties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span>&quot;<span class="n">my</span><span class="p">:</span><span class="n">date</span><span class="p">.</span><span class="n">property</span>&quot;<span class="p">,</span> <span class="n">new</span> <span class="n">GregorianCalendar</span><span class="p">());</span>
+<span class="n">updateProperties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span>&quot;<span class="n">my</span><span class="p">:</span><span class="n">bool</span><span class="p">.</span><span class="n">property</span>&quot;<span class="p">,</span> <span class="n">true</span><span class="p">);</span>
+
+<span class="n">List</span><span class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> <span class="n">shoppingList</span> <span class="p">=</span> <span class="n">new</span> <span class="n">ArrayList</span><span class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span><span class="p">();</span>
+<span class="n">shoppingList</span><span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span class="n">milk</span>&quot;<span class="p">);</span>
+<span class="n">shoppingList</span><span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span class="n">bread</span>&quot;<span class="p">);</span>
+<span class="n">shoppingList</span><span class="p">.</span><span class="n">add</span><span class="p">(</span>&quot;<span class="n">cheese</span>&quot;<span class="p">);</span>
+<span class="n">updateProperties</span><span class="p">.</span><span class="n">put</span><span class="p">(</span>&quot;<span class="n">my</span><span class="p">:</span><span class="n">shopping</span><span class="p">.</span><span class="n">list</span>&quot;<span class="p">,</span> <span class="n">shoppingList</span><span class="p">);</span> <span class="o">//</span> <span class="n">multi</span><span class="o">-</span><span class="n">value</span> <span class="n">property</span>
 
-<span class="n">cmisobject</span><span class="o">.</span><span class="n">updateProperties</span><span class="p">(</span><span class="n">updateProperties</span><span class="p">);</span>
+<span class="n">cmisobject</span><span class="p">.</span><span class="n">updateProperties</span><span class="p">(</span><span class="n">updateProperties</span><span class="p">);</span>
 </pre></div></div>
              <!-- Content -->
            </td>

Modified: websites/staging/chemistry/trunk/content/java/how-to/how-to-build.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/how-to/how-to-build.html (original)
+++ websites/staging/chemistry/trunk/content/java/how-to/how-to-build.html Thu Jun 20 10:26:44 2013
@@ -200,7 +200,7 @@ If you want to build the latest and grea
 <li>And finally run:</li>
 </ul>
 <p>&nbsp;</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">clean</span> <span class="n">install</span> <span class="o">-</span><span class="n">Dmaven</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">skip</span><span class="o">=</span><span class="n">true</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">clean</span> <span class="n">install</span> <span class="o">-</span><span class="n">Dmaven</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">skip</span><span class="p">=</span><span class="n">true</span>
 </pre></div>
 
 

Modified: websites/staging/chemistry/trunk/content/java/how-to/how-to-create-server.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/how-to/how-to-create-server.html (original)
+++ websites/staging/chemistry/trunk/content/java/how-to/how-to-create-server.html Thu Jun 20 10:26:44 2013
@@ -257,8 +257,8 @@ install</code>). See <a href="how-to-bui
  for detailed instructions how to do this.</p>
 <p>You can create your initial setup using maven itself (adjust package name,
 version number and so on according to your needs):</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">archetype:generate</span> <span class="o">-</span><span class="n">DgroupId</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="n">mycmis</span> <span class="o">-</span><span class="n">DartifactId</span><span class="o">=</span> <span class="n">mycmissrv</span> <span class="o">\</span>
-<span class="o">-</span><span class="n">DpackageName</span><span class="o">=</span><span class="nb">local</span><span class="o">.</span><span class="n">mycmis</span> <span class="o">-</span><span class="n">Dversion</span><span class="o">=</span><span class="mf">0.1</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">archetype</span><span class="p">:</span><span class="n">generate</span> <span class="o">-</span><span class="n">DgroupId</span><span class="p">=</span><span class="n">org</span><span class="p">.</span><span class="n">mycmis</span> <span class="o">-</span><span class="n">DartifactId</span><span class="p">=</span> <span class="n">mycmissrv</span> <span class="o">\</span>
+<span class="o">-</span><span class="n">DpackageName</span><span class="p">=</span><span class="n">local</span><span class="p">.</span><span class="n">mycmis</span> <span class="o">-</span><span class="n">Dversion</span><span class="p">=</span>0<span class="p">.</span>1
 </pre></div>
 
 
@@ -555,7 +555,7 @@ uses the method with one parameter.</p>
 <p>When your services are implemented (or parts of them) you can try to run
 the server in a servlet container like Tomcat. If you have used maven to
 setup your project you can run</p>
-<div class="codehilite"><pre><span class="n">mvn</span> <span class="nb">package</span>
+<div class="codehilite"><pre><span class="n">mvn</span> <span class="n">package</span>
 </pre></div>
 
 
@@ -616,13 +616,15 @@ have to configure the class of your serv
 add additional properties in this file. These configuration parameters are
 then passed to the <code>init()</code> method of your <code>ServiceFactory</code> as key
 value pairs in a hashmap.</p>
-<p><DIV class="codeHeader">repository.properties</DIV></p>
+<DIV class="codeHeader">repository.properties</DIV>
+
 <div class="codehilite"><pre><span class="na">class</span><span class="o">=</span><span class="s">local.mycmis.ServiceFactory</span>
 <span class="na">myparam</span><span class="o">=</span><span class="s">my-configuration-value</span>
 </pre></div>
 
 
-<p><DIV class="codeHeader">local.mycmis.ServiceFactory.java</DIV></p>
+<DIV class="codeHeader">local.mycmis.ServiceFactory.java</DIV>
+
 <div class="codehilite"><pre><span class="c1">// ...</span>
 <span class="nd">@Override</span>
 <span class="kd">public</span> <span class="kt">void</span> <span class="nf">init</span><span class="o">(</span><span class="n">Map</span><span class="o">&lt;</span><span class="n">String</span><span class="o">,</span> <span class="n">String</span><span class="o">&gt;</span> <span class="n">parameters</span><span class="o">)</span> <span class="o">{</span>
@@ -643,29 +645,29 @@ on the capabilities returned in your get
 can run them using junit:</p>
 <p>Examples:</p>
 <p>Test class:</p>
-<div class="codehilite"><pre><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">chemistry</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">bindings</span><span class="o">.</span><span class="n">atompub</span><span class="o">.</span><span class="n">SimpleReadOnlyTests</span>
+<div class="codehilite"><pre><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">chemistry</span><span class="p">.</span><span class="n">opencmis</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">bindings</span><span class="p">.</span><span class="n">atompub</span><span class="p">.</span><span class="n">SimpleReadOnlyTests</span>
 </pre></div>
 
 
 <p>Test Parameters (passed as JVM args):</p>
-<div class="codehilite"><pre><span class="o">-</span><span class="n">Dopencmis</span><span class="o">.</span><span class="n">test</span><span class="o">=</span><span class="n">true</span>
-<span class="o">-</span><span class="n">Dopencmis</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">username</span><span class="o">=</span><span class="n">myuser</span>
-<span class="o">-</span><span class="n">Dopencmis</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">password</span><span class="o">=</span><span class="n">mypasswd</span>
-<span class="o">-</span><span class="n">Dopencmis</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">repository</span><span class="o">=</span><span class="n">my_repository_id</span><span class="o">&amp;</span><span class="n">nbsp</span><span class="p">;</span>
-<span class="o">-</span><span class="n">Dopencmis</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">atompub</span><span class="o">.</span><span class="n">url</span><span class="o">=</span><span class="p">[</span><span class="n">http:</span><span class="sr">//</span><span class="n">localhost:8080</span><span class="sr">/opencmis/</span><span class="n">atom</span><span class="p">]</span>
+<div class="codehilite"><pre><span class="o">-</span><span class="n">Dopencmis</span><span class="p">.</span><span class="n">test</span><span class="p">=</span><span class="n">true</span>
+<span class="o">-</span><span class="n">Dopencmis</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">username</span><span class="p">=</span><span class="n">myuser</span>
+<span class="o">-</span><span class="n">Dopencmis</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">password</span><span class="p">=</span><span class="n">mypasswd</span>
+<span class="o">-</span><span class="n">Dopencmis</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">repository</span><span class="p">=</span><span class="n">my_repository_id</span><span class="o">&amp;</span><span class="n">nbsp</span><span class="p">;</span>
+<span class="o">-</span><span class="n">Dopencmis</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">atompub</span><span class="p">.</span><span class="n">url</span><span class="p">=[</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">localhost</span><span class="p">:</span>8080<span class="o">/</span><span class="n">opencmis</span><span class="o">/</span><span class="n">atom</span><span class="p">]</span>
 </pre></div>
 
 
 <p>The following test classes exist:</p>
-<div class="codehilite"><pre><span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">bindings</span><span class="o">.</span><span class="n">atompub</span><span class="o">.</span><span class="n">SimpleReadOnlyTests</span>
-<span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">bindings</span><span class="o">.</span><span class="n">atompub</span><span class="o">.</span><span class="n">SimpleReadWriteTests</span>
-<span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">bindings</span><span class="o">.</span><span class="n">webservices</span><span class="o">.</span><span class="n">SimpleReadOnlyTests</span>
-<span class="n">org</span><span class="o">.</span><span class="n">apache</span><span class="o">.</span><span class="n">opencmis</span><span class="o">.</span><span class="n">client</span><span class="o">.</span><span class="n">bindings</span><span class="o">.</span><span class="n">webservices</span><span class="o">.</span><span class="n">SimpleReadWriteTests</span>
+<div class="codehilite"><pre><span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">opencmis</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">bindings</span><span class="p">.</span><span class="n">atompub</span><span class="p">.</span><span class="n">SimpleReadOnlyTests</span>
+<span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">opencmis</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">bindings</span><span class="p">.</span><span class="n">atompub</span><span class="p">.</span><span class="n">SimpleReadWriteTests</span>
+<span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">opencmis</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">bindings</span><span class="p">.</span><span class="n">webservices</span><span class="p">.</span><span class="n">SimpleReadOnlyTests</span>
+<span class="n">org</span><span class="p">.</span><span class="n">apache</span><span class="p">.</span><span class="n">opencmis</span><span class="p">.</span><span class="n">client</span><span class="p">.</span><span class="n">bindings</span><span class="p">.</span><span class="n">webservices</span><span class="p">.</span><span class="n">SimpleReadWriteTests</span>
 </pre></div>
 
 
 <p>For web services you need an additional parameter for the service endpoint:</p>
-<div class="codehilite"><pre><span class="o">-</span><span class="n">Dopencmis</span><span class="o">.</span><span class="n">test</span><span class="o">.</span><span class="n">webservices</span><span class="o">.</span><span class="n">url</span><span class="o">=</span><span class="p">[</span><span class="n">http:</span><span class="sr">//</span><span class="n">localhost:8080</span><span class="sr">/opencmis/s</span><span class="n">ervices</span><span class="o">/</span><span class="p">]</span>
+<div class="codehilite"><pre><span class="o">-</span><span class="n">Dopencmis</span><span class="p">.</span><span class="n">test</span><span class="p">.</span><span class="n">webservices</span><span class="p">.</span><span class="n">url</span><span class="p">=[</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">localhost</span><span class="p">:</span>8080<span class="o">/</span><span class="n">opencmis</span><span class="o">/</span><span class="n">services</span><span class="o">/</span><span class="p">]</span>
 </pre></div>
 
 

Modified: websites/staging/chemistry/trunk/content/java/how-to/how-to-process-query.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/how-to/how-to-process-query.html (original)
+++ websites/staging/chemistry/trunk/content/java/how-to/how-to-process-query.html Thu Jun 20 10:26:44 2013
@@ -330,7 +330,7 @@ yourself.):</p>
 type definitions that are referenced in the where clause. The <code>QueryObject</code>
 provides the necessary information for resolving the references. For
 example the statement</p>
-<div class="codehilite"><pre><span class="sb">`... WHERE x &lt; 123`</span>
+<div class="codehilite"><pre>`<span class="p">...</span> <span class="n">WHERE</span> <span class="n">x</span> <span class="o">&lt;</span> 123`
 </pre></div>
 
 

Modified: websites/staging/chemistry/trunk/content/java/how-to/how-to-tune-perfomance.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/how-to/how-to-tune-perfomance.html (original)
+++ websites/staging/chemistry/trunk/content/java/how-to/how-to-tune-perfomance.html Thu Jun 20 10:26:44 2013
@@ -203,8 +203,7 @@ process it. By default, OpenCMIS fetches
 and especially the property filter, can result in a significant performance improvement.</p>
 <h2 id="understanding-the-client-side-cache">Understanding the client side cache</h2>
 <p>Client side caching is turned on by default. That is, <code>getObject()</code> will first look into the session cache if the object already exists there. 
-If this is the case, it returns the object without talking to the repository. So it might return stale objects.<br />
-</p>
+If this is the case, it returns the object without talking to the repository. So it might return stale objects.  </p>
 <p>There are multiple ways to deal with that:</p>
 <ul>
 <li>Refresh the object data that is returned from <code>getObject()</code>:</li>

Modified: websites/staging/chemistry/trunk/content/java/how-to/index.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/how-to/index.html (original)
+++ websites/staging/chemistry/trunk/content/java/how-to/index.html Thu Jun 20 10:26:44 2013
@@ -199,17 +199,14 @@ Apache Chemistry - OpenCMIS HowTos
 </ul>
 <h2 id="client-howtos">Client HowTos</h2>
 <ul>
-<li><a href="how-to-connect.html">Connect to a repository</a>          <br />
-</li>
+<li><a href="how-to-connect.html">Connect to a repository</a>            </li>
 <li><a href="how-to-tune-perfomance.html">Tune performance</a></li>
 </ul>
 <h2 id="server-howtos">Server HowTos</h2>
 <ul>
-<li><a href="how-to-add-extension.html">Add CMIS Extensions</a>    <br />
-</li>
+<li><a href="how-to-add-extension.html">Add CMIS Extensions</a>      </li>
 <li><a href="how-to-create-server.html">Create a Server</a></li>
-<li><a href="how-to-integrate-spring.html">Integrate with Spring</a> <br />
-</li>
+<li><a href="how-to-integrate-spring.html">Integrate with Spring</a>   </li>
 <li><a href="how-to-process-query.html">Process a Query</a></li>
 </ul></div>
              <!-- Content -->

Modified: websites/staging/chemistry/trunk/content/php/phpclient.html
==============================================================================
--- websites/staging/chemistry/trunk/content/php/phpclient.html (original)
+++ websites/staging/chemistry/trunk/content/php/phpclient.html Thu Jun 20 10:26:44 2013
@@ -196,7 +196,7 @@ Apache Chemistry - phpclient
 Apache Chemistry CMIS PHP Client is a <a href="http://docs.oasis-open.org/cmis/CMIS/v1.0/cmis-spec-v1.0.html">CMIS</a> client library for PHP.</p>
 <p>This code is available at: <a href="https://svn.apache.org/repos/asf/chemistry/phpclient/">https://svn.apache.org/repos/asf/chemistry/phpclient/</a>.</p>
 <p>To Run this example execute the following:</p>
-<div class="codehilite"><pre><span class="n">php</span> <span class="o">-</span><span class="n">f</span> <span class="n">cmis_ls</span><span class="o">.</span><span class="n">php</span> <span class="sr">&lt;rest-endpoint&gt;</span> <span class="sr">&lt;username&gt;</span> <span class="sr">&lt;password&gt;</span> <span class="sr">&lt;folderpath&gt;</span> <span class="p">[</span><span class="n">debug</span> <span class="n">option</span> <span class="mi">1</span><span class="p">](</span><span class="mi">2</span><span class="o">.</span><span class="n">html</span><span class="p">)</span>
+<div class="codehilite"><pre><span class="n">php</span> <span class="o">-</span><span class="n">f</span> <span class="n">cmis_ls</span><span class="p">.</span><span class="n">php</span> <span class="o">&lt;</span><span class="n">rest</span><span class="o">-</span><span class="n">endpoint</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">username</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">password</span><span class="o">&gt;</span> <span class="o">&lt;</span><span class="n">folderpath</span><span class="o">&gt;</span> <span class="p">[</span><span class="n">debug</span> <span class="n">option</span> 1<span class="p">](</span>2<span class="p">.</span><span class="n">html</span><span class="p">)</span>
 </pre></div>
 
 
@@ -213,8 +213,8 @@ will also be displayed</li>
 <li>Your version of php must support DOMDocument and curl</li>
 </ul>
 <p>Example Runs:</p>
-<div class="codehilite"><pre><span class="n">php</span> <span class="o">-</span><span class="n">f</span> <span class="n">cmis_ls</span><span class="o">.</span><span class="n">php</span> <span class="n">http:</span><span class="sr">//cmis</span><span class="o">.</span><span class="n">alfresco</span><span class="o">.</span><span class="n">com</span><span class="sr">/service/</span><span class="n">api</span><span class="sr">/cmis admin admin /</span>
-<span class="n">php</span> <span class="o">-</span><span class="n">f</span> <span class="n">cmis_ls</span><span class="o">.</span><span class="n">php</span> <span class="n">http:</span><span class="sr">//cmis</span><span class="o">.</span><span class="n">alfresco</span><span class="o">.</span><span class="n">com</span><span class="sr">/service/</span><span class="n">api</span><span class="sr">/cmis admin admin /</span><span class="n">Data</span><span class="o">+</span><span class="n">Dictionary</span> <span class="mi">1</span>
+<div class="codehilite"><pre><span class="n">php</span> <span class="o">-</span><span class="n">f</span> <span class="n">cmis_ls</span><span class="p">.</span><span class="n">php</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">cmis</span><span class="p">.</span><span class="n">alfresco</span><span class="p">.</span><span class="n">com</span><span class="o">/</span><span class="n">service</span><span class="o">/</span><span class="n">api</span><span class="o">/</span><span class="n">cmis</span> <span class="n">admin</span> <span class="n">admin</span> <span class="o">/</span>
+<span class="n">php</span> <span class="o">-</span><span class="n">f</span> <span class="n">cmis_ls</span><span class="p">.</span><span class="n">php</span> <span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">cmis</span><span class="p">.</span><span class="n">alfresco</span><span class="p">.</span><span class="n">com</span><span class="o">/</span><span class="n">service</span><span class="o">/</span><span class="n">api</span><span class="o">/</span><span class="n">cmis</span> <span class="n">admin</span> <span class="n">admin</span> <span class="o">/</span><span class="n">Data</span><span class="o">+</span><span class="n">Dictionary</span> 1
 </pre></div>
 
 



Mime
View raw message