[
http://jira.nuxeo.org/browse/NXP-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32576#action_32576
]
Radu Darlea commented on NXP-1958:
----------------------------------
Basically the WS part is implemented. The task remains open for the subtask of
creating the bootstrap file. The final API:
/**
* Creates a new empty Nuxeo document. Later it can be enriched.
* @param repo the repository where to create
* @param path the path to store the new document (the parent)
* @param type the Nuxeo document's type (File, Note, Folder, etc.)
* @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
* @throws ItemAlreadyExistingException the document already exists
* @throws OperationNotAuthorizedException principal has no rights to add a
document
*/
String createNewDocument(String repo, String path, String type, String
title)
throws ClientAuthenticationException, ItemNotFoundException,
ServerProcessingException, ItemAlreadyExistingException,
OperationNotAuthorizedException;
> 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
>
> Time Spent: 5 hours, 30 minutes
> Remaining Estimate: 0 minutes
>
> 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