Add "Create new document" feature to ExternalEdit WS
----------------------------------------------------

                 Key: NXP-1958
                 URL: http://jira.nuxeo.org/browse/NXP-1958
             Project: Nuxeo Enterprise Platform 5
          Issue Type: New Feature
    Affects Versions: 5.1.3
            Reporter: Radu Darlea
            Assignee: Radu Darlea
             Fix For: 5.1.4


The JAXWS based WS ExternalEdit is able to read / write properties for 
documents. That is it is able to update the existing Nuxeo document. The 
request is for adding support for creating a document from the scratch.
The API would look like:
    /**
     * Creates a new Nuxeo document.
     * @param repo the repository where to create
     * @param path the path to store the new document
     * @param type the document's type
     * @param title the document's title
     * @return the document reference ID if succesfully created
     * @throws ClientAuthenticationException not logged in
     * @throws ItemNotFoundException the path is wrong
     * @throws ServerProcessingException somethign went wrong
     */
    String createNewDocument(String repo, String path, String type, String 
title)
            throws ClientAuthenticationException,
            ItemNotFoundException, ServerProcessingException;
}

Furthermore, the WS' client can update various properties, including the blob 
property "content", allowing various Office plugins save a new document.
The bootstrap for this actions should look like the usual one, but with fewer 
data contained.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to