Combining your other email and this one, I am slightly confused about what you 
are trying to do. I cannot tell whether you are attempting to retrieve 
instances of folder objects or type definitions. The key to my confusion is 
your use of "Document Class" which sometimes sounds like an instance of a 
folder named "Document Class" and other times sounds like the name of a custom 
type you've created.

Are you trying to retrieve instances of objects that are stored in the 
repository? If that is what you are trying to do, there are several methods 
available to you, including getChildren(), which is a method on Folder, or 
getObjectByPath(), which is a method on Session, just to name two examples.

If you are not talking about object instances but instead are talking about 
type definitions, you might be interested in the getTypeDefinition() method on 
Session.

There are many good and helpful examples here:
http://chemistry.apache.org/java/examples/index.html

The full JavaDocs can be found here:
http://chemistry.apache.org/java/0.6.0/maven/apidocs/

Take a look at these examples and see if they help. If you continue to have 
problems, you'll need to provide source code and error messages.

Jeff

On Mar 27, 2012, at 3:35 AM, learning coding wrote:

> Hi ,
> 
> I am new to CMIS.
> 
> In Content Engine ,under the Object Store ,I have 4 repository.
> 
> In repository I have many  Folder like Choice List,   Document Class,
> ROOT folder, Storage Policy etc..
> I know how to getRootFolder() and manipulate the Root folder using open
> cmis jar files .
> 
> But i need to access the Document class.
> How to get the Document Class.
> In side the Documen Class i have customized sub type of Document Class like
> Emails,
> 
> Thanks

Reply via email to