user1837371
user1837371

Reputation: 11

Copying Documents using openCMIS

I am using Mule to access an Alfresco Server. We are using OpenCMIS via the CMIS Connector. I want to make a copy of a document in one folder and add it to another folder. Or just copy the entire folder. I need the copies to be independent of the originals, so that if the copies are static copies of the originals.

I suspect that in order to make copies I am going to have to go through the entire folder and copy not just the objects but also their relationships also.

Upvotes: 0

Views: 1629

Answers (1)

Florian Müller
Florian Müller

Reputation: 3235

Document objects have a copy() method that lets you create an independent copy in a different folder. There is no copy method for folder hierarchies, though.

Upvotes: 2

Related Questions