Hi Devs, I'm upgrading office-importer code base to new architecture. For this I suggest following methods to be added to the DocumentAccessBridge:
1. createNewDocument(String documentName, String content) //This method will throw an exception if the document already exists. 2. setDocumentContent(String documentName, String newContent) //For updating an existing document. 3. setDocumentSyntaxId(String documentName, String syntaxId) //For presentation documents the syntax would be 1.0 and for others it would be 2.0 4. addAttachmentToDocument(String documentName, String AttachmentName, byte [] attachmentData) //For making attachments 5. isDocumentEditable(String documentName) //This is following isDocumentViewable() mthod. But we could also have a hasRight() mthod instead. I'm +1 for all. But please let me know if any of above methods are redundant / not required / has wrong signature. Thanks. - Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

