Creating copies of a Document/Folder -------------------------------------
Key: CMIS-54 URL: https://issues.apache.org/jira/browse/CMIS-54 Project: Chemistry Issue Type: New Feature Components: api Reporter: Daniel Lichtenberger I'm implementing a Milton-based WebDAV adapter on top of Chemistry. One common operation that I haven't been able to map to Chemistry APIs is the copying of documents (files). In theory, I could create a new document and set all the values and content streams of the old one, but in our case (http://www.flexive.org) the repository doesn't expose all relevant data via Chemistry. However, copying documents is a trivial operation when performed using native repository methods (and it's probably faster too). For now, I created an extension that allows me to perform the copy operation: {code}public interface CopyDocumentExtension { CMISObject copy(Connection conn, ObjectId id); }{code} I think this method would be useful on all Chemistry documents (e.g. CMISObject or Document), similar to the "move" method that is also available for all objects. A "copyTo" method that accepts a target folder ID would also be nice. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.