[
http://jira.nuxeo.org/browse/NXP-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29552
]
Dragos Mihalache commented on NXP-1708:
---------------------------------------
The new signature is :
public void ExportdocumentZip(List<DocumentModel>resource, String urlExport)
throws Exception
> 2 - public void ImportDocumentZip1(DocumentModel resource, String
> urlExport) throws Exception;
>
> Import a Zip archive (the one exported by first test:) below resource
> DocumentModel.
> The existing documents must be overwritten.
Instead of overwritten, I would prefer "a new version".
"existing" here merely means " same title and same path" (forget about the type
:-))
if document doesn't exist he is created.
The relations between the documents that were exported have to be recreated.
Also, this is new comparing to first Thierry Mail :
An audit Event listener to log as an exemple a custom metada. in the audit
entrance at import AND export time. come to me if it is not clear;
> IO tests
> --------
>
> Key: NXP-1708
> URL: http://jira.nuxeo.org/browse/NXP-1708
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Task
> Reporter: Dragos Mihalache
> Assignee: Dragos Mihalache
>
> These tests should be remote since they use the service from Apogee/RCP.
> The tests should be done againts a 5.1 version as this is the version
> they are using.
> Here is the list of tests they asked for :
> 1 - public void ExportDocumentZip(DocumentModel resource, String
> urlExport) throws Exception;
> Export the document tree and incomming/outgoing relations in a zip file
> located at urlExport.
> > >
> 2 - public void ImportDocumentZip1(DocumentModel resource, String
> urlExport) throws Exception;
> Import a Zip archive (the one exported by first test:) below resource
> DocumentModel.
> The existing documents must be overwritten.
> The client does not describe what "existing document means".
> You can probabbly just consider that a document with the same type, the
> same path and the same title is a candidate for overwritting.
> 3 - same as 2 but without overwrite : this tests should generate
> duplicated data
> In 2 and 3 : the relation should be recreated only is existing target
> documents exists ...
--
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