You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by jp...@apache.org on 2016/06/13 16:12:15 UTC

svn commit: r1748276 - in /chemistry/docs/cmis-samples/trunk/docs/samples: create-objects.md retrieving-objects.md

Author: jpotts
Date: Mon Jun 13 16:12:15 2016
New Revision: 1748276

URL: http://svn.apache.org/viewvc?rev=1748276&view=rev
Log:
Make minor grammar enhancements to create-objects and retrieving-objects.

Modified:
    chemistry/docs/cmis-samples/trunk/docs/samples/create-objects.md
    chemistry/docs/cmis-samples/trunk/docs/samples/retrieving-objects.md

Modified: chemistry/docs/cmis-samples/trunk/docs/samples/create-objects.md
URL: http://svn.apache.org/viewvc/chemistry/docs/cmis-samples/trunk/docs/samples/create-objects.md?rev=1748276&r1=1748275&r2=1748276&view=diff
==============================================================================
--- chemistry/docs/cmis-samples/trunk/docs/samples/create-objects.md (original)
+++ chemistry/docs/cmis-samples/trunk/docs/samples/create-objects.md Mon Jun 13 16:12:15 2016
@@ -1,6 +1,6 @@
 # Creating Objects
 
-To create an object a client has to provide a least the two properties **cmis:name** and **cmis:objectTypeId**.  
+To create an object a client has to provide at least the two properties **cmis:name** and **cmis:objectTypeId**.  
 **cmis:name** sets the name of the object and **cmis:objectTypeId** sets its object type.  
 Depending on the object type, more properties can be set or must be set. See also the page about [properties](properties/index.html).
 
@@ -83,7 +83,7 @@ Document newDoc = parent.createDocument(
 <span class="cmis">CMIS 1.1</span>
 
 Relationships are always unfiled objects. The ID of the source object and the ID of the target object must be provided.
-See the [page about types](types/index.html) how to discover relationship types and their properties.
+See the [page about types](types/index.html) to learn how to discover relationship types and their properties.
 
 OpenCMIS (Java)
 {: .opencmis }
@@ -123,7 +123,7 @@ IObjectId newRelId = Session.CreateRelat
 
 Policies can be filed and unfiled. The following samples show how to create a filed policy. Use the session object to create an unfiled policy.
 
-In most cases it doesn't make sense to create an policies of the type `cmis:policy` because it has no semantics. Usually, the repository provides specific policy types with or without additional properties. See the [page about types](types/index.html) how to discover policy types and their properties.
+In most cases it doesn't make sense to create policies of the type `cmis:policy` because it has no semantics. Usually, the repository provides specific policy types with or without additional properties. See the [page about types](types/index.html) to learn how to discover policy types and their properties.
 
 OpenCMIS (Java)
 {: .opencmis }
@@ -162,7 +162,7 @@ IPolicy newPolicy = parent.CreatePolicy(
 
 Items can be filed and unfiled. The following samples show how to create a filed item. Use the session object to create an unfiled item.
 
-In most cases it doesn't make sense to create an item of the type `cmis:item`. Usually, the repository provides specific item types with or without additional properties. See the [page about types](types/index.html) how to discover item types and their properties.
+In most cases it doesn't make sense to create an item of the type `cmis:item`. Usually, the repository provides specific item types with or without additional properties. See the [page about types](types/index.html) to learn how to discover item types and their properties.
 
 
 OpenCMIS (Java)
@@ -198,7 +198,7 @@ IItem newItem = parent.CreateItem(proper
 
 OpenCMIS and PortCMIS provide two ways to create objects.
 The code samples above create objects in a folder. It is also possible to create an object with the session object
-and without getting the parent folder first.
+without getting the parent folder first.
 
 OpenCMIS (Java)
 {: .opencmis }
@@ -221,4 +221,4 @@ Unfiled objects can only be created with
 
 
 *[unfiled]: An object is called "unfiled" if it doesn't reside in a folder. Folders cannot be unfiled.
-*[filed]: An object is called "filed" if it resides in one or more folders. 
\ No newline at end of file
+*[filed]: An object is called "filed" if it resides in one or more folders.

Modified: chemistry/docs/cmis-samples/trunk/docs/samples/retrieving-objects.md
URL: http://svn.apache.org/viewvc/chemistry/docs/cmis-samples/trunk/docs/samples/retrieving-objects.md?rev=1748276&r1=1748275&r2=1748276&view=diff
==============================================================================
--- chemistry/docs/cmis-samples/trunk/docs/samples/retrieving-objects.md (original)
+++ chemistry/docs/cmis-samples/trunk/docs/samples/retrieving-objects.md Mon Jun 13 16:12:15 2016
@@ -1,10 +1,10 @@
-# Retrieving Objects 
+# Retrieving Objects
 
 
 ## Getting the Root Folder
 
 All repositories have to provide a root folder. It's the entry point for [browsing](#getting-folder-children) the repository content. The root folder might be completely empty and useless for repositories that only support unfiled objects.
-    
+
 OpenCMIS (Java)
 {: .opencmis }
 ```java
@@ -20,7 +20,7 @@ IFolder rootFolder = Session.GetRootFold
 
 ## Getting Objects by ID
 
-All objects in a repository must have a unique object ID and can be retrieved by this ID. If the user has no permissions to see the object, a [objectNotFound](exceptions/index.html) exception is thrown.
+All objects in a repository must have a unique object ID and can be retrieved by this ID. If the user has no permissions to see the object, an [objectNotFound](exceptions/index.html) exception is thrown.
 
 
 OpenCMIS (Java)
@@ -53,9 +53,9 @@ if (cmisObject is IDocument) {
 
 ## Getting Objects by Path
 
- A filed object has one or more paths and can be retrieved by this path. If the user has no permissions to see the object, a [objectNotFound](exceptions/index.html) exception is thrown.
+ A filed object has one or more paths and can be retrieved by this path. If the user has no permissions to see the object, an [objectNotFound](exceptions/index.html) exception is thrown.
 
-Most repositories use the **cmis:name** property of the folders and the object to assemble the path. But it is possible that the path segments don’t match the names. 
+Most repositories use the **cmis:name** property of the folders and the object to assemble the path. But it is possible that the path segments don’t match the names.
 
 
 OpenCMIS (Java)
@@ -202,4 +202,4 @@ Session.Clear();
 
 
 *[unfiled]: An object is called "unfiled" if it doesn't reside in a folder. Folders cannot be unfiled.
-*[filed]: An object is called "filed" if it resides in one or more folders. 
\ No newline at end of file
+*[filed]: An object is called "filed" if it resides in one or more folders.