[ 
https://jira.nuxeo.org/browse/NXP-5272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=76546#action_76546
 ] 

Thomas Roger commented on NXP-5272:
-----------------------------------

The class used to decide if a document should be imported or not must extend 
ImportingDocumentFilter and registered to the GenericMultiThreadedImporter 
object.

More than one filter can be registered, the document is not imported if at 
least one of them returns false.

Those filters are used in GenericThreadedImportTask in the 
doCreateFolderishNode() and doCreateLeafNode() methods.

Changeset:
http://hg.nuxeo.org/addons/nuxeo-platform-importer/rev/e57fd31d9d60

> Make it possible to filter documents to be imported
> ---------------------------------------------------
>
>                 Key: NXP-5272
>                 URL: https://jira.nuxeo.org/browse/NXP-5272
>             Project: Nuxeo Enterprise Platform
>          Issue Type: New Feature
>          Components: Importer
>            Reporter: Thomas Roger
>            Assignee: Thomas Roger
>             Fix For: 5.3.2
>
>
> Currently, all the documents in the specified folder will be imported in 
> Nuxeo.
> We want to be able to chose if a file or folder should be imported or not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://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