Thursday 11 April 2019

openCMIS: Item object


In addition to Folder and Document types openCMIS provides new type called Item. Items are light weight as compared to documents, for example they may not have content streams associated with them. You can assume Item is a collection of properties, but do not have any content associated with them. if you would like to store some configuration information, then create an Item object and store it.

Can I create sub types to Item type?
Yes

Can an Item object have content associated with it?
No

Is Item objects have content stream associated with them?
No

Is Item objects versionable?
No

Is all repositories support Item objects?
No, you can check whether a repository support item objects or not, by using ‘getTypeChildren’ method. If this method return item type, then repository support the item objects, else not.

Can I manipulate Item object using query?
Yes, if the item objects are marked as queryable by repository, then you can manipulate them using queries.

Is Items are filed?
Items can be filed (or) unfile. Use Session object to create unfiled items. Use Folder object to create filed items.

What is filed item?
An item called filed, if it resides in one or more folders.

What is unfiled item?
An item called unfiled, if it does not reside in any folder.



Previous                                                 Next                                                 Home

No comments:

Post a Comment