Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-1958

Add "Create new document" feature to ExternalEdit WS

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3
    • Fix Version/s: 5.1.3.1
    • Component/s: None

      Description

      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.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                rdarlea Radu Darlea
                Reporter:
                rdarlea Radu Darlea
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 3 hours Original Estimate - 1 day, 3 hours
                  1d 3h
                  Remaining:
                  Time Spent - 2 days, 2 hours, 30 minutes Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - 2 days, 2 hours, 30 minutes Remaining Estimate - 2 hours
                  2d 2h 30m