public interface DocumentCategorizationService
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
updateCategories(CoreSession session,
List<DocumentRef> docRefs)
Run all registered document categorizers on the given documents fetched
using the provided session.
|
List<DocumentModel> |
updateCategories(List<DocumentModel> documents)
Run all registered document categorizers on the given documents.
|
List<DocumentModel> updateCategories(CoreSession session, List<DocumentRef> docRefs) throws ClientException, Exception
session
- the Core session used to fetch the documentdocRefs
- the list of documents to processException
- if there is a problem while extracting the text contentClientException
List<DocumentModel> updateCategories(List<DocumentModel> documents) throws ClientException, Exception
documents
- the list of documents to processException
- if there is a problem while extracting the text contentClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.