cancel
Showing results for 
Search instead for 
Did you mean: 

getContentChanges? What does it return?

nikes
Champ on-the-rise
Champ on-the-rise
Hi All,

Could any one explain what type of information getContentChanges method returns from repository with
an example?

Thanks for any info.
3 REPLIES 3

gclaussn
Champ in-the-making
Champ in-the-making
See http://docs.oasis-open.org/cmis/CMIS/v1.0/cs01/cmis-spec-v1.0.html#_Toc243905471
It returns an array of ChangeEvents. How it is exactly implemented, may differ from framework to framework (I think).

best regards, gclaussn

nikes
Champ on-the-rise
Champ on-the-rise
From the specification what I understand is, if I update properties of a document then getContentChanges will list that document in log? and I can fetch which properties have been updated with what value? Please correct me if wrong.

What type of objects/nodes can be included in change log event?  Folder? Document? Users? Business Rules?  ???
Kindly explain in more detail please?

Thanks.

gclaussn
Champ in-the-making
Champ in-the-making
In the OpenCMIS implementation it recognizes all property changes of subtypes of cmisSmiley Surprisedbject. The ChangeEvent contains an object id, the type of change (created, updated, deleted) and a list of properties, which are affected.

I hope it helps a little bit.