chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r785594 [2/10] - in /websites/staging/chemistry/trunk/content: ./ images/ resources/
Date Thu, 17 Feb 2011 17:18:08 GMT
Added: websites/staging/chemistry/trunk/content/currentprojectstatus.html
==============================================================================
--- websites/staging/chemistry/trunk/content/currentprojectstatus.html (added)
+++ websites/staging/chemistry/trunk/content/currentprojectstatus.html Thu Feb 17 17:18:07 2011
@@ -0,0 +1,257 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
+    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
+    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <title>
+Apache Chemistry - CurrentProjectStatus
+    </title>
+  </head>
+<body onload="init()">
+  <table width="100%" cellpadding="0" cellspacing="0">
+    <tr width="100%">
+      <td id="cell-0-0">&nbsp;</td>
+      <td id="cell-0-1">&nbsp;</td>
+      <td id="cell-0-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-1-0">&nbsp;</td>
+      <td id="cell-1-1">
+        <div style="padding: 5px;">
+          <div id="banner">
+          <!-- Banner -->
+<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+<TR>
+<TD align="left" class="topbardiv" nowrap="">
+<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
+<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
+</A>
+</TD>
+<TD align="right" nowrap="">
+<A href="http://incubator.apache.org/" title="The Apache Software Foundation Incubator">
+<IMG border="0" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+</A>
+</TD>
+</TR>
+</TABLE>
+          <!-- Banner -->
+          </div>
+        </div>
+        <div id="top-menu">
+          <table border="0" cellpadding="1" cellspacing="0" width="100%">
+            <tr>
+              <td>
+                <div align="left">
+                <!-- Breadcrumbs -->
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/currentprojectstatus.html">CurrentProjectStatus</a>
+                <!-- Breadcrumbs -->
+                </div>
+              </td>
+              <td>
+                <div align="right">
+                <!-- Quicklinks -->
+<P><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+                <!-- Quicklinks -->
+                </div>
+              </td>
+            </tr>
+          </table>
+        </div>
+      </td>
+      <td id="cell-1-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-2-0">&nbsp;</td>
+      <td id="cell-2-1">
+        <table>
+          <tr height="100%" valign="top">
+            <td height="100%">
+              <div id="wrapper-menu-page-right">
+                <div id="wrapper-menu-page-top">
+                  <div id="wrapper-menu-page-bottom">
+                    <div id="menu-page">
+                    <!-- NavigationBar -->
+                    <H3><A name="Navigation-Overview"></A>Overview</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A></LI>
+   <LI><A href="sitemap.html" title="SiteMap">Site Map</A></LI>
+   <LI><A href="http://mail-archives.apache.org/mod_mbox/incubator-chemistry-dev/" class="external-link" rel="nofollow">Mailing List</A></LI>
+   <LI><A href="https://issues.apache.org/jira/browse/CMIS" class="external-link" rel="nofollow">Issue Tracking</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Search"></A>Search</H3>
+
+<DIV style="padding: 0px 0px 0px 20px;">
+<FORM action="http://www.google.com/search" method="get" style="font-size: 10px;">
+<INPUT name="ie" type="hidden" value="UTF-8"></INPUT>
+<INPUT name="oe" type="hidden" value="UTF-8"></INPUT>
+  <INPUT maxlength="255" name="q" size="12" type="text" value=""></INPUT>
+  <INPUT name="btnG" type="submit" value="Search"></INPUT>
+  <INPUT name="domains" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+  <INPUT name="sitesearch" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+</FORM>
+</DIV>
+
+
+<H3><A name="Navigation-CMISforJava"></A>CMIS for Java</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="opencmis.html" title="OpenCMIS">OpenCMIS</A></LI>
+   <LI><A href="opencmis-modules.html" title="OpenCMIS Modules">Overview</A></LI>
+   <LI><A href="opencmis-client-api.html" title="OpenCMIS Client API">Client API</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/javadoc/index.html" class="external-link" rel="nofollow">JavaDoc</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPython"></A>CMIS for Python</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="cmislib.html" title="cmislib">cmislib</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/cmislib-doc/" class="external-link" rel="nofollow">cmislib Documentation</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/cmislib/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPHP"></A>CMIS for PHP</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="phpclient.html" title="phpclient">CMIS PHP Client</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/phpclient/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISfor.NET"></A>CMIS for .NET</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="dotcmis.html" title="DotCMIS">DotCMIS</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Sponsorship"></A>Sponsorship</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A></LI>
+   <LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Sponsoring Apache</A></LI>
+</UL>
+
+                    <!-- NavigationBar -->
+                    </div>
+                </div>
+              </div>
+            </div>
+           </td>
+           <td height="100%">
+             <!-- Content -->
+             <div class="wiki-content"><p><a name="CurrentProjectStatus-Introduction"></a></p>
+<h1 id="introduction">Introduction</h1>
+<p><em>This page needs to be updated/reworked.  For now look to the bottom for
+latest update</em></p>
+<p>I have taken a snapshot of the source as of Dec 1 and zipped it up for
+download.
+This will enable me to start making changes</p>
+<p><a name="CurrentProjectStatus-Details"></a></p>
+<h1 id="details">Details</h1>
+<p>Am now adding CMISService which will map more closely to the Services in
+the Domain model.  This is a work in progress.  Checked in code will
+usually be able to run without totally breaking.</p>
+<p>Zipped downloads and Labeled revisions should generally run without
+breaking</p>
+<p><a name="CurrentProjectStatus-Update2010-02-15"></a></p>
+<h1 id="update_2010-02-15">Update 2010-02-15</h1>
+<p><a name="CurrentProjectStatus-Addednewupdatewithsometestcode."></a></p>
+<h2 id="added_new_update_with_some_test_code">Added new update with some test code.</h2>
+<p>Filled out quite a bit of the domain level routines including
+  * getRepositories
+  * getTypeDefinition
+  * getChildren
+  * getFolderParent
+  * getObjectParents
+  * getCheckedOutDocs
+  * getObject
+  * getObjectByPath
+  * getProperties
+  * getContentStream
+  * createDocument
+  * createFolder
+  * updateProperties
+  * moveObject
+  * deleteObject
+  * setContentStream
+  * deleteContentStream</p>
+<p>Many of these have been tested but not all -- some known issues:
+  * Not handling optional inputs (filters etc....)
+  * Some assumptions are being made regarding the form of URLs
+  * May be making some assumptions about XML format w.r.t. Name spacing
+  * Has only been tested against the Alfresco Repository</p>
+<p><a name="CurrentProjectStatus-Update2010-09-07"></a></p>
+<h1 id="update_2010-09-07">Update 2010-09-07</h1>
+<ul>
+<li>Fixed problem with handling of spaces -- no need to urlencode inputs</li>
+<li>Added new functionality<ul>
+<li>Get Type Children </li>
+<li>Get Type Descendants</li>
+<li>Get Folder Tree</li>
+<li>Get Descendants</li>
+</ul>
+</li>
+<li>Updated Documentation</li>
+</ul></div>
+             <!-- Content -->
+           </td>
+          </tr>
+        </table>
+     </td>
+     <td id="cell-2-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+     <td id="cell-3-0">&nbsp;</td>
+     <td id="cell-3-1">
+       <div id="footer">
+       <!-- Footer -->
+       <div id="site-footer">
+          
+          Apache Chemistry, Apache, the Apache feather logo, and the Apache 
+          Chemistry project logo are trademarks of The Apache Software 
+          Foundation.<br /><br />
+          Content Management Interoperability Services (CMIS) is an
+          <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
+          specification.
+          
+       </div>
+       <!-- Footer -->
+       </div>
+     </td>
+     <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-4-0">&nbsp;</td>
+      <td id="cell-4-1">&nbsp;</td>
+      <td id="cell-4-2">&nbsp;</td>
+    </tr>
+  </table>
+</body>
+</html>

Modified: websites/staging/chemistry/trunk/content/dotcmis.html
==============================================================================
--- websites/staging/chemistry/trunk/content/dotcmis.html (original)
+++ websites/staging/chemistry/trunk/content/dotcmis.html Thu Feb 17 17:18:07 2011
@@ -121,8 +121,7 @@ Apache Chemistry - DotCMIS
    <LI><A href="opencmis.html" title="OpenCMIS">OpenCMIS</A></LI>
    <LI><A href="opencmis-modules.html" title="OpenCMIS Modules">Overview</A></LI>
    <LI><A href="opencmis-client-api.html" title="OpenCMIS Client API">Client API</A></LI>
-   <LI><A href="https://svn.apache.org/repos/asf/incubator/chemistry/opencmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
-
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
    <LI><A href="http://incubator.apache.org/chemistry/javadoc/index.html" class="external-link" rel="nofollow">JavaDoc</A></LI>
 </UL>
 
@@ -132,8 +131,7 @@ Apache Chemistry - DotCMIS
 <UL class="alternate" type="square">
    <LI><A href="cmislib.html" title="cmislib">cmislib</A></LI>
    <LI><A href="http://incubator.apache.org/chemistry/cmislib-doc/" class="external-link" rel="nofollow">cmislib Documentation</A></LI>
-   <LI><A href="https://svn.apache.org/repos/asf/incubator/chemistry/cmislib/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
-
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/cmislib/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
 </UL>
 
 
@@ -141,7 +139,7 @@ Apache Chemistry - DotCMIS
 
 <UL class="alternate" type="square">
    <LI><A href="phpclient.html" title="phpclient">CMIS PHP Client</A></LI>
-   <LI><A href="https://svn.apache.org/repos/asf/incubator/chemistry/phpclient/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/phpclient/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
 </UL>
 
 
@@ -149,7 +147,7 @@ Apache Chemistry - DotCMIS
 
 <UL class="alternate" type="square">
    <LI><A href="dotcmis.html" title="DotCMIS">DotCMIS</A></LI>
-   <LI><A href="https://svn.apache.org/repos/asf/incubator/chemistry/dotcmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
 </UL>
 
 
@@ -157,7 +155,6 @@ Apache Chemistry - DotCMIS
 
 <UL class="alternate" type="square">
    <LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A></LI>
-
    <LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Sponsoring Apache</A></LI>
 </UL>
 

Added: websites/staging/chemistry/trunk/content/f2f-meeting-april-2010.html
==============================================================================
--- websites/staging/chemistry/trunk/content/f2f-meeting-april-2010.html (added)
+++ websites/staging/chemistry/trunk/content/f2f-meeting-april-2010.html Thu Feb 17 17:18:07 2011
@@ -0,0 +1,204 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
+    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
+    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <title>
+Apache Chemistry - F2F Meeting April 2010
+    </title>
+  </head>
+<body onload="init()">
+  <table width="100%" cellpadding="0" cellspacing="0">
+    <tr width="100%">
+      <td id="cell-0-0">&nbsp;</td>
+      <td id="cell-0-1">&nbsp;</td>
+      <td id="cell-0-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-1-0">&nbsp;</td>
+      <td id="cell-1-1">
+        <div style="padding: 5px;">
+          <div id="banner">
+          <!-- Banner -->
+<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+<TR>
+<TD align="left" class="topbardiv" nowrap="">
+<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
+<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
+</A>
+</TD>
+<TD align="right" nowrap="">
+<A href="http://incubator.apache.org/" title="The Apache Software Foundation Incubator">
+<IMG border="0" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+</A>
+</TD>
+</TR>
+</TABLE>
+          <!-- Banner -->
+          </div>
+        </div>
+        <div id="top-menu">
+          <table border="0" cellpadding="1" cellspacing="0" width="100%">
+            <tr>
+              <td>
+                <div align="left">
+                <!-- Breadcrumbs -->
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/f2f-meeting-april-2010.html">F2F Meeting April 2010</a>
+                <!-- Breadcrumbs -->
+                </div>
+              </td>
+              <td>
+                <div align="right">
+                <!-- Quicklinks -->
+<P><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+                <!-- Quicklinks -->
+                </div>
+              </td>
+            </tr>
+          </table>
+        </div>
+      </td>
+      <td id="cell-1-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-2-0">&nbsp;</td>
+      <td id="cell-2-1">
+        <table>
+          <tr height="100%" valign="top">
+            <td height="100%">
+              <div id="wrapper-menu-page-right">
+                <div id="wrapper-menu-page-top">
+                  <div id="wrapper-menu-page-bottom">
+                    <div id="menu-page">
+                    <!-- NavigationBar -->
+                    <H3><A name="Navigation-Overview"></A>Overview</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A></LI>
+   <LI><A href="sitemap.html" title="SiteMap">Site Map</A></LI>
+   <LI><A href="http://mail-archives.apache.org/mod_mbox/incubator-chemistry-dev/" class="external-link" rel="nofollow">Mailing List</A></LI>
+   <LI><A href="https://issues.apache.org/jira/browse/CMIS" class="external-link" rel="nofollow">Issue Tracking</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Search"></A>Search</H3>
+
+<DIV style="padding: 0px 0px 0px 20px;">
+<FORM action="http://www.google.com/search" method="get" style="font-size: 10px;">
+<INPUT name="ie" type="hidden" value="UTF-8"></INPUT>
+<INPUT name="oe" type="hidden" value="UTF-8"></INPUT>
+  <INPUT maxlength="255" name="q" size="12" type="text" value=""></INPUT>
+  <INPUT name="btnG" type="submit" value="Search"></INPUT>
+  <INPUT name="domains" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+  <INPUT name="sitesearch" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+</FORM>
+</DIV>
+
+
+<H3><A name="Navigation-CMISforJava"></A>CMIS for Java</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="opencmis.html" title="OpenCMIS">OpenCMIS</A></LI>
+   <LI><A href="opencmis-modules.html" title="OpenCMIS Modules">Overview</A></LI>
+   <LI><A href="opencmis-client-api.html" title="OpenCMIS Client API">Client API</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/javadoc/index.html" class="external-link" rel="nofollow">JavaDoc</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPython"></A>CMIS for Python</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="cmislib.html" title="cmislib">cmislib</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/cmislib-doc/" class="external-link" rel="nofollow">cmislib Documentation</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/cmislib/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPHP"></A>CMIS for PHP</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="phpclient.html" title="phpclient">CMIS PHP Client</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/phpclient/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISfor.NET"></A>CMIS for .NET</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="dotcmis.html" title="DotCMIS">DotCMIS</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Sponsorship"></A>Sponsorship</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A></LI>
+   <LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Sponsoring Apache</A></LI>
+</UL>
+
+                    <!-- NavigationBar -->
+                    </div>
+                </div>
+              </div>
+            </div>
+           </td>
+           <td height="100%">
+             <!-- Content -->
+             <div class="wiki-content"></div>
+             <!-- Content -->
+           </td>
+          </tr>
+        </table>
+     </td>
+     <td id="cell-2-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+     <td id="cell-3-0">&nbsp;</td>
+     <td id="cell-3-1">
+       <div id="footer">
+       <!-- Footer -->
+       <div id="site-footer">
+          
+          Apache Chemistry, Apache, the Apache feather logo, and the Apache 
+          Chemistry project logo are trademarks of The Apache Software 
+          Foundation.<br /><br />
+          Content Management Interoperability Services (CMIS) is an
+          <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
+          specification.
+          
+       </div>
+       <!-- Footer -->
+       </div>
+     </td>
+     <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-4-0">&nbsp;</td>
+      <td id="cell-4-1">&nbsp;</td>
+      <td id="cell-4-2">&nbsp;</td>
+    </tr>
+  </table>
+</body>
+</html>

Added: websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html
==============================================================================
--- websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html (added)
+++ websites/staging/chemistry/trunk/content/getting-started-with-dotcmis.html Thu Feb 17 17:18:07 2011
@@ -0,0 +1,455 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
+    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
+    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <title>
+Apache Chemistry - Getting started with DotCMIS
+    </title>
+  </head>
+<body onload="init()">
+  <table width="100%" cellpadding="0" cellspacing="0">
+    <tr width="100%">
+      <td id="cell-0-0">&nbsp;</td>
+      <td id="cell-0-1">&nbsp;</td>
+      <td id="cell-0-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-1-0">&nbsp;</td>
+      <td id="cell-1-1">
+        <div style="padding: 5px;">
+          <div id="banner">
+          <!-- Banner -->
+<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+<TR>
+<TD align="left" class="topbardiv" nowrap="">
+<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
+<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
+</A>
+</TD>
+<TD align="right" nowrap="">
+<A href="http://incubator.apache.org/" title="The Apache Software Foundation Incubator">
+<IMG border="0" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+</A>
+</TD>
+</TR>
+</TABLE>
+          <!-- Banner -->
+          </div>
+        </div>
+        <div id="top-menu">
+          <table border="0" cellpadding="1" cellspacing="0" width="100%">
+            <tr>
+              <td>
+                <div align="left">
+                <!-- Breadcrumbs -->
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/getting-started-with-dotcmis.html">Getting started with DotCMIS</a>
+                <!-- Breadcrumbs -->
+                </div>
+              </td>
+              <td>
+                <div align="right">
+                <!-- Quicklinks -->
+<P><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+                <!-- Quicklinks -->
+                </div>
+              </td>
+            </tr>
+          </table>
+        </div>
+      </td>
+      <td id="cell-1-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-2-0">&nbsp;</td>
+      <td id="cell-2-1">
+        <table>
+          <tr height="100%" valign="top">
+            <td height="100%">
+              <div id="wrapper-menu-page-right">
+                <div id="wrapper-menu-page-top">
+                  <div id="wrapper-menu-page-bottom">
+                    <div id="menu-page">
+                    <!-- NavigationBar -->
+                    <H3><A name="Navigation-Overview"></A>Overview</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A></LI>
+   <LI><A href="sitemap.html" title="SiteMap">Site Map</A></LI>
+   <LI><A href="http://mail-archives.apache.org/mod_mbox/incubator-chemistry-dev/" class="external-link" rel="nofollow">Mailing List</A></LI>
+   <LI><A href="https://issues.apache.org/jira/browse/CMIS" class="external-link" rel="nofollow">Issue Tracking</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Search"></A>Search</H3>
+
+<DIV style="padding: 0px 0px 0px 20px;">
+<FORM action="http://www.google.com/search" method="get" style="font-size: 10px;">
+<INPUT name="ie" type="hidden" value="UTF-8"></INPUT>
+<INPUT name="oe" type="hidden" value="UTF-8"></INPUT>
+  <INPUT maxlength="255" name="q" size="12" type="text" value=""></INPUT>
+  <INPUT name="btnG" type="submit" value="Search"></INPUT>
+  <INPUT name="domains" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+  <INPUT name="sitesearch" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+</FORM>
+</DIV>
+
+
+<H3><A name="Navigation-CMISforJava"></A>CMIS for Java</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="opencmis.html" title="OpenCMIS">OpenCMIS</A></LI>
+   <LI><A href="opencmis-modules.html" title="OpenCMIS Modules">Overview</A></LI>
+   <LI><A href="opencmis-client-api.html" title="OpenCMIS Client API">Client API</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/javadoc/index.html" class="external-link" rel="nofollow">JavaDoc</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPython"></A>CMIS for Python</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="cmislib.html" title="cmislib">cmislib</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/cmislib-doc/" class="external-link" rel="nofollow">cmislib Documentation</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/cmislib/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPHP"></A>CMIS for PHP</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="phpclient.html" title="phpclient">CMIS PHP Client</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/phpclient/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISfor.NET"></A>CMIS for .NET</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="dotcmis.html" title="DotCMIS">DotCMIS</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Sponsorship"></A>Sponsorship</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A></LI>
+   <LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Sponsoring Apache</A></LI>
+</UL>
+
+                    <!-- NavigationBar -->
+                    </div>
+                </div>
+              </div>
+            </div>
+           </td>
+           <td height="100%">
+             <!-- Content -->
+             <div class="wiki-content"><p><a name="GettingstartedwithDotCMIS-ConnectingtoaCMISAtomPubendpoint"></a></p>
+<h2 id="connecting_to_a_cmis_atompub_endpoint">Connecting to a CMIS AtomPub endpoint</h2>
+<p><a name="GettingstartedwithDotCMIS-Connectingtothefirstrepository"></a></p>
+<h3 id="connecting_to_the_first_repository">Connecting to the first repository</h3>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
+</pre></div>
+
+
+<p>= BindingType.AtomPub;
+    parameters[SessionParameter.AtomPubUrl]
+ = "http://<host>/<serviceDocumentPath>";
+    parameters[SessionParameter.User]
+ = "<username>";
+    parameters[SessionParameter.Password]
+ = "<password>";</p>
+<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span>
+</pre></div>
+
+
+<p>.CreateSession();</p>
+<p><a name="GettingstartedwithDotCMIS-Connectingtoaspecificrepository"></a></p>
+<h3 id="connecting_to_a_specific_repository">Connecting to a specific repository</h3>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
+</pre></div>
+
+
+<p>= BindingType.AtomPub;
+    parameters[SessionParameter.AtomPubUrl]
+ = "http://<host>/<serviceDocumentPath>";
+    parameters[SessionParameter.User]
+ = "<username>";
+    parameters[SessionParameter.Password]
+ = "<password>";
+    parameters[SessionParameter.RepositoryId]
+ = "<repositoryId>";</p>
+<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
+</pre></div>
+
+
+<p><a name="GettingstartedwithDotCMIS-ConnectingtoaCMISWebServicesendpoint"></a></p>
+<h2 id="connecting_to_a_cmis_web_services_endpoint">Connecting to a CMIS Web Services endpoint</h2>
+<p><a name="GettingstartedwithDotCMIS-Connectingtothefirstrepository"></a></p>
+<h3 id="connecting_to_the_first_repository_1">Connecting to the first repository</h3>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
+</pre></div>
+
+
+<p>= BindingType.WebServices;
+    parameters[SessionParameter.WebServicesRepositoryService]
+ = "http://<host>/<RepositoryServiceWSDL>";
+    parameters[SessionParameter.WebServicesAclService]
+ = "http://<host>/<AclServiceWSDL>";
+    parameters[SessionParameter.WebServicesDiscoveryService]
+ = "http://<host>/<DiscoveryServiceWSDL>";
+    parameters[SessionParameter.WebServicesMultifilingService]
+ = "http://<host>/<MultifilingServiceWSDL>";
+    parameters[SessionParameter.WebServicesNavigationService]
+ = "http://<host>/<NavigationServiceWSDL>";
+    parameters[SessionParameter.WebServicesObjectService]
+ = "http://<host>/<ObjectServiceWSDL>";
+    parameters[SessionParameter.WebServicesPolicyService]
+ = "http://<host>/<PolicyServiceWSDL>";
+    parameters[SessionParameter.WebServicesRelationshipService]
+ = "http://<host>/<RelationshipServiceWSDL>";
+    parameters[SessionParameter.WebServicesVersioningService]
+ = "http://<host>/<VersioningServiceWSDL>";
+    parameters[SessionParameter.User]
+ = "<username>";
+    parameters[SessionParameter.Password]
+ = "<password>";</p>
+<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">GetRepositories</span><span class="p">(</span><span class="n">parameters</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span>
+</pre></div>
+
+
+<p>.CreateSession();</p>
+<p><a name="GettingstartedwithDotCMIS-Connectingtoaspecificrepository"></a></p>
+<h3 id="connecting_to_a_specific_repository_1">Connecting to a specific repository</h3>
+<div class="codehilite"><pre><span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span> <span class="n">parameters</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Dictionary</span><span class="o">&lt;</span><span class="n">string</span><span class="p">,</span> <span class="n">string</span><span class="o">&gt;</span><span class="p">();</span>
+
+<span class="n">parameters</span><span class="p">[</span><span class="n">SessionParameter</span><span class="o">.</span><span class="n">BindingType</span><span class="p">]</span>
+</pre></div>
+
+
+<p>= BindingType.WebServices;
+    parameters[SessionParameter.WebServicesRepositoryService]
+ = "http://<host>/<RepositoryServiceWSDL>";
+    parameters[SessionParameter.WebServicesAclService]
+ = "http://<host>/<AclServiceWSDL>";
+    parameters[SessionParameter.WebServicesDiscoveryService]
+ = "http://<host>/<DiscoveryServiceWSDL>";
+    parameters[SessionParameter.WebServicesMultifilingService]
+ = "http://<host>/<MultifilingServiceWSDL>";
+    parameters[SessionParameter.WebServicesNavigationService]
+ = "http://<host>/<NavigationServiceWSDL>";
+    parameters[SessionParameter.WebServicesObjectService]
+ = "http://<host>/<ObjectServiceWSDL>";
+    parameters[SessionParameter.WebServicesPolicyService]
+ = "http://<host>/<PolicyServiceWSDL>";
+    parameters[SessionParameter.WebServicesRelationshipService]
+ = "http://<host>/<RelationshipServiceWSDL>";
+    parameters[SessionParameter.WebServicesVersioningService]
+ = "http://<host>/<VersioningServiceWSDL>";
+    parameters[SessionParameter.User]
+ = "<username>";
+    parameters[SessionParameter.Password]
+ = "<password>";
+    parameters[SessionParameter.RepositoryId]
+ = "<repositoryId>";</p>
+<div class="codehilite"><pre><span class="n">SessionFactory</span> <span class="n">factory</span> <span class="o">=</span> <span class="n">SessionFactory</span><span class="o">.</span><span class="n">NewInstance</span><span class="p">();</span>
+<span class="n">ISession</span> <span class="n">session</span> <span class="o">=</span> <span class="n">factory</span><span class="o">.</span><span class="n">CreateSession</span><span class="p">(</span><span class="n">parameters</span><span class="p">);</span>
+</pre></div>
+
+
+<p><a name="GettingstartedwithDotCMIS-Listingfolderchildren"></a></p>
+<h2 id="listing_folder_children">Listing folder children</h2>
+<div class="codehilite"><pre><span class="sr">//</span><span class="o">/</span> <span class="n">get</span> <span class="n">the</span> <span class="n">root</span> <span class="n">folder</span>
+<span class="n">IFolder</span> <span class="n">rootFolder</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetRootFolder</span><span class="p">();</span>
+
+<span class="sr">//</span> <span class="n">list</span> <span class="n">all</span> <span class="n">children</span>
+<span class="k">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">rootFolder</span><span class="o">.</span><span class="n">GetChildren</span><span class="p">())</span>
+<span class="p">{</span>
+    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
+<span class="p">}</span>
+
+<span class="sr">//</span> <span class="n">get</span> <span class="n">a</span> <span class="n">page</span>
+<span class="n">IItemEnumerable</span><span class="sr">&lt;ICmisObject&gt;</span> <span class="n">children</span> <span class="o">=</span> <span class="n">rootFolder</span><span class="o">.</span><span class="n">GetChildren</span><span class="p">();</span>
+<span class="n">IItemEnumerable</span><span class="sr">&lt;ICmisObject&gt;</span> <span class="n">page</span> <span class="o">=</span> <span class="n">children</span><span class="o">.</span><span class="n">SkipTo</span><span class="p">(</span><span class="mi">20</span><span class="p">)</span><span class="o">.</span><span class="n">GetPage</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span> <span class="sr">//</span>
+</pre></div>
+
+
+<p>children 20 to 30</p>
+<div class="codehilite"><pre><span class="k">foreach</span> <span class="p">(</span><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="n">in</span> <span class="n">page</span><span class="p">)</span>
+<span class="p">{</span>
+    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">cmisObject</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><a name="GettingstartedwithDotCMIS-Fetchingadocument"></a></p>
+<h2 id="fetching_a_document">Fetching a document</h2>
+<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">id</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">);</span>
+<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">id</span><span class="p">)</span> <span class="n">as</span> <span class="n">IDocument</span><span class="p">;</span>
+
+<span class="sr">//</span> <span class="n">properties</span>
+<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="o">.</span><span class="n">Name</span><span class="p">);</span>
+<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">doc</span><span class="o">.</span><span class="n">GetPropertyValue</span><span class="p">(</span><span class="s">&quot;my:property&quot;</span><span class="p">));</span>
+
+<span class="n">IProperty</span> <span class="n">myProperty</span> <span class="o">=</span> <span class="n">doc</span><span class="p">[</span><span class="s">&quot;my:property&quot;</span><span class="p">]</span>
+</pre></div>
+
+
+<p>;
+    Console.WriteLine("Id:    " + myProperty.Id);
+    Console.WriteLine("Value: " + myProperty.Value);
+    Console.WriteLine("Type:  " + myProperty.PropertyType);</p>
+<div class="codehilite"><pre><span class="sr">//</span> <span class="n">content</span>
+<span class="n">IContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="n">doc</span><span class="o">.</span><span class="n">GetContentStream</span><span class="p">();</span>
+<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Filename:   &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="o">.</span><span class="n">FileName</span><span class="p">);</span>
+<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;MIME type:  &quot;</span> <span class="o">+</span> <span class="n">contentStream</span><span class="o">.</span><span class="n">MimeType</span><span class="p">);</span>
+<span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="s">&quot;Has stream: &quot;</span> <span class="o">+</span> <span class="p">(</span><span class="n">contentStream</span><span class="o">.</span><span class="n">Stream</span> <span class="o">!=</span> <span class="n">null</span><span class="p">));</span>
+</pre></div>
+
+
+<p><a name="GettingstartedwithDotCMIS-Creatingadocument"></a></p>
+<h2 id="creating_a_document">Creating a document</h2>
+<div class="codehilite"><pre><span class="n">IFolder</span> <span class="n">folder</span> <span class="o">=</span> <span class="o">...</span>
+
+<span class="n">IDictionary</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">Dictionary</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="p">[</span><span class="n">PropertyIds</span><span class="o">.</span><span class="n">Name</span><span class="p">]</span>
+</pre></div>
+
+
+<p>= "Hello World Document";
+    properties[PropertyIds.ObjectTypeId]
+ = "cmis:document";</p>
+<div class="codehilite"><pre><span class="n">byte</span><span class="o">[]</span>
+</pre></div>
+
+
+<p>content = UTF8Encoding.UTF8.GetBytes("Hello World!");</p>
+<div class="codehilite"><pre><span class="n">ContentStream</span> <span class="n">contentStream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">ContentStream</span><span class="p">();</span>
+<span class="n">contentStream</span><span class="o">.</span><span class="n">FileName</span> <span class="o">=</span> <span class="s">&quot;hello-world.txt&quot;</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="o">.</span><span class="n">MimeType</span> <span class="o">=</span> <span class="s">&quot;text/plain&quot;</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="o">.</span><span class="n">Length</span> <span class="o">=</span> <span class="n">content</span><span class="o">.</span><span class="n">Length</span><span class="p">;</span>
+<span class="n">contentStream</span><span class="o">.</span><span class="n">Stream</span> <span class="o">=</span> <span class="k">new</span> <span class="n">MemoryStream</span><span class="p">(</span><span class="n">content</span><span class="p">);</span>
+
+<span class="n">IDocument</span> <span class="n">doc</span> <span class="o">=</span> <span class="n">folder</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">null</span><span class="p">);</span>
+</pre></div>
+
+
+<p><a name="GettingstartedwithDotCMIS-Updatingproperties"></a></p>
+<h2 id="updating_properties">Updating properties</h2>
+<div class="codehilite"><pre><span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="o">...</span>
+
+<span class="n">IDictionary</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">Dictionary</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="p">[</span><span class="s">&quot;my:string&quot;</span><span class="p">]</span>
+</pre></div>
+
+
+<p>= "a string";
+    properties["my:int"]
+ = 42;
+    properties["my:date"]
+ = DateTime.Now;</p>
+<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">cmisObject</span><span class="o">.</span><span class="n">UpdateProperties</span><span class="p">(</span><span class="n">properties</span><span class="p">);</span>
+
+<span class="k">if</span> <span class="p">(</span><span class="n">newId</span><span class="o">.</span><span class="n">Id</span> <span class="o">==</span> <span class="n">cmisObject</span><span class="o">.</span><span class="n">Id</span><span class="p">)</span> 
+<span class="p">{</span>
+    <span class="sr">//</span> <span class="n">the</span> <span class="n">repository</span> <span class="n">updated</span> <span class="n">this</span> <span class="n">object</span> <span class="o">-</span> <span class="n">refresh</span> <span class="n">the</span> <span class="n">object</span>
+    <span class="n">cmisObject</span><span class="o">.</span><span class="n">Refresh</span><span class="p">();</span>
+<span class="p">}</span>
+<span class="k">else</span>
+<span class="p">{</span>
+    <span class="sr">//</span> <span class="n">the</span> <span class="n">repository</span> <span class="n">created</span> <span class="n">a</span> <span class="k">new</span> <span class="n">version</span> <span class="o">-</span> <span class="n">fetch</span> <span class="n">the</span> <span class="k">new</span> <span class="n">version</span>
+    <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
+<span class="p">}</span>
+</pre></div>
+
+
+<p><a name="GettingstartedwithDotCMIS-Deletinganobject"></a></p>
+<h2 id="deleting_an_object">Deleting an object</h2>
+<div class="codehilite"><pre><span class="n">IObjectId</span> <span class="n">newId</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">CreateObjectId</span><span class="p">(</span><span class="s">&quot;12345678&quot;</span><span class="p">):</span>
+<span class="n">ICmisObject</span> <span class="n">cmisObject</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">GetObject</span><span class="p">(</span><span class="n">newId</span><span class="p">);</span>
+
+<span class="n">cmisObject</span><span class="o">.</span><span class="n">Delete</span><span class="p">(</span><span class="n">true</span><span class="p">);</span>
+</pre></div>
+
+
+<p><a name="GettingstartedwithDotCMIS-Performingaquery"></a></p>
+<h2 id="performing_a_query">Performing a query</h2>
+<div class="codehilite"><pre><span class="n">IItemEnumerable</span><span class="sr">&lt;IQueryResult&gt;</span> <span class="sx">qr = </span><span class="n">session</span><span class="o">.</span><span class="n">Query</span><span class="p">(</span><span class="err">&quot;</span><span class="n">SELECT</span> <span class="o">*</span> <span class="n">FROM</span>
+</pre></div>
+
+
+<p>cmis:document", false);</p>
+<div class="codehilite"><pre><span class="k">foreach</span> <span class="p">(</span><span class="n">IQueryResult</span> <span class="n">hit</span> <span class="n">in</span> <span class="n">qr</span><span class="p">)</span>
+<span class="p">{</span>
+    <span class="n">Console</span><span class="o">.</span><span class="n">WriteLine</span><span class="p">(</span><span class="n">hit</span><span class="p">[</span><span class="s">&quot;cmis:name&quot;</span><span class="p">]</span>
+</pre></div>
+
+
+<p>.FirstValue + " (" + hit["cmis:objectId"].FirstValue + ")");
+    }</p></div>
+             <!-- Content -->
+           </td>
+          </tr>
+        </table>
+     </td>
+     <td id="cell-2-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+     <td id="cell-3-0">&nbsp;</td>
+     <td id="cell-3-1">
+       <div id="footer">
+       <!-- Footer -->
+       <div id="site-footer">
+          
+          Apache Chemistry, Apache, the Apache feather logo, and the Apache 
+          Chemistry project logo are trademarks of The Apache Software 
+          Foundation.<br /><br />
+          Content Management Interoperability Services (CMIS) is an
+          <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
+          specification.
+          
+       </div>
+       <!-- Footer -->
+       </div>
+     </td>
+     <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-4-0">&nbsp;</td>
+      <td id="cell-4-1">&nbsp;</td>
+      <td id="cell-4-2">&nbsp;</td>
+    </tr>
+  </table>
+</body>
+</html>

Added: websites/staging/chemistry/trunk/content/how-to-build-a-server.html
==============================================================================
--- websites/staging/chemistry/trunk/content/how-to-build-a-server.html (added)
+++ websites/staging/chemistry/trunk/content/how-to-build-a-server.html Thu Feb 17 17:18:07 2011
@@ -0,0 +1,204 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<html>
+  <head>
+    <link type="text/css" rel="stylesheet" href="http://incubator.apache.org/chemistry/resources/site.css"></link>
+    <script src="http://incubator.apache.org/chemistry/resources/space.js" type="text/javascript"></script>
+    <meta name="keywords" content="CMIS, Content Management Interoperability Service, ECM, Enterprise Content Management, OASIS, integration standards, Chemistry, OpenCMIS"/>
+    <meta name="description" content"Apache Chemistry, CMIS Implementation" />
+    <title>
+Apache Chemistry - How To Build A Server
+    </title>
+  </head>
+<body onload="init()">
+  <table width="100%" cellpadding="0" cellspacing="0">
+    <tr width="100%">
+      <td id="cell-0-0">&nbsp;</td>
+      <td id="cell-0-1">&nbsp;</td>
+      <td id="cell-0-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-1-0">&nbsp;</td>
+      <td id="cell-1-1">
+        <div style="padding: 5px;">
+          <div id="banner">
+          <!-- Banner -->
+<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+<TR>
+<TD align="left" class="topbardiv" nowrap="">
+<A href="http://incubator.apache.org/chemistry" title="Apache Chemistry">
+<IMG border="0" src="http://incubator.apache.org/chemistry/images/chemistry_logo_small.png"/>
+</A>
+</TD>
+<TD align="right" nowrap="">
+<A href="http://incubator.apache.org/" title="The Apache Software Foundation Incubator">
+<IMG border="0" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+</A>
+</TD>
+</TR>
+</TABLE>
+          <!-- Banner -->
+          </div>
+        </div>
+        <div id="top-menu">
+          <table border="0" cellpadding="1" cellspacing="0" width="100%">
+            <tr>
+              <td>
+                <div align="left">
+                <!-- Breadcrumbs -->
+<a href="/">Home</a>&nbsp;&raquo&nbsp;<a href="/opencmis.html">OpenCMIS</a>&nbsp;&raquo&nbsp;<a href="/how-to-build-a-server.html">How To Build A Server</a>
+                <!-- Breadcrumbs -->
+                </div>
+              </td>
+              <td>
+                <div align="right">
+                <!-- Quicklinks -->
+<P><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A> <A href="sitemap.html" title="SiteMap">Site Map</A></P>
+                <!-- Quicklinks -->
+                </div>
+              </td>
+            </tr>
+          </table>
+        </div>
+      </td>
+      <td id="cell-1-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-2-0">&nbsp;</td>
+      <td id="cell-2-1">
+        <table>
+          <tr height="100%" valign="top">
+            <td height="100%">
+              <div id="wrapper-menu-page-right">
+                <div id="wrapper-menu-page-top">
+                  <div id="wrapper-menu-page-bottom">
+                    <div id="menu-page">
+                    <!-- NavigationBar -->
+                    <H3><A name="Navigation-Overview"></A>Overview</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/licenses/LICENSE-2.0.html" class="external-link" rel="nofollow">License</A></LI>
+   <LI><A href="sitemap.html" title="SiteMap">Site Map</A></LI>
+   <LI><A href="http://mail-archives.apache.org/mod_mbox/incubator-chemistry-dev/" class="external-link" rel="nofollow">Mailing List</A></LI>
+   <LI><A href="https://issues.apache.org/jira/browse/CMIS" class="external-link" rel="nofollow">Issue Tracking</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Search"></A>Search</H3>
+
+<DIV style="padding: 0px 0px 0px 20px;">
+<FORM action="http://www.google.com/search" method="get" style="font-size: 10px;">
+<INPUT name="ie" type="hidden" value="UTF-8"></INPUT>
+<INPUT name="oe" type="hidden" value="UTF-8"></INPUT>
+  <INPUT maxlength="255" name="q" size="12" type="text" value=""></INPUT>
+  <INPUT name="btnG" type="submit" value="Search"></INPUT>
+  <INPUT name="domains" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+  <INPUT name="sitesearch" type="hidden" value="incubator.apache.org/chemistry"></INPUT>
+</FORM>
+</DIV>
+
+
+<H3><A name="Navigation-CMISforJava"></A>CMIS for Java</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="opencmis.html" title="OpenCMIS">OpenCMIS</A></LI>
+   <LI><A href="opencmis-modules.html" title="OpenCMIS Modules">Overview</A></LI>
+   <LI><A href="opencmis-client-api.html" title="OpenCMIS Client API">Client API</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/javadoc/index.html" class="external-link" rel="nofollow">JavaDoc</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPython"></A>CMIS for Python</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="cmislib.html" title="cmislib">cmislib</A></LI>
+   <LI><A href="http://incubator.apache.org/chemistry/cmislib-doc/" class="external-link" rel="nofollow">cmislib Documentation</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/cmislib/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISforPHP"></A>CMIS for PHP</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="phpclient.html" title="phpclient">CMIS PHP Client</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/phpclient/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-CMISfor.NET"></A>CMIS for .NET</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="dotcmis.html" title="DotCMIS">DotCMIS</A></LI>
+   <LI><A href="https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk" class="external-link" rel="nofollow">Source Code</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Sponsorship"></A>Sponsorship</H3>
+
+<UL class="alternate" type="square">
+   <LI><A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A></LI>
+   <LI><A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Sponsoring Apache</A></LI>
+</UL>
+
+                    <!-- NavigationBar -->
+                    </div>
+                </div>
+              </div>
+            </div>
+           </td>
+           <td height="100%">
+             <!-- Content -->
+             <div class="wiki-content"></div>
+             <!-- Content -->
+           </td>
+          </tr>
+        </table>
+     </td>
+     <td id="cell-2-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+     <td id="cell-3-0">&nbsp;</td>
+     <td id="cell-3-1">
+       <div id="footer">
+       <!-- Footer -->
+       <div id="site-footer">
+          
+          Apache Chemistry, Apache, the Apache feather logo, and the Apache 
+          Chemistry project logo are trademarks of The Apache Software 
+          Foundation.<br /><br />
+          Content Management Interoperability Services (CMIS) is an
+          <a href="http://www.oasis-open.org/committees/cmis/">OASIS</a>
+          specification.
+          
+       </div>
+       <!-- Footer -->
+       </div>
+     </td>
+     <td id="cell-3-2">&nbsp;</td>
+    </tr>
+    <tr width="100%">
+      <td id="cell-4-0">&nbsp;</td>
+      <td id="cell-4-1">&nbsp;</td>
+      <td id="cell-4-2">&nbsp;</td>
+    </tr>
+  </table>
+</body>
+</html>



Mime
View raw message