public class ItemAnalyzer extends Object
Constructor and Description |
---|
ItemAnalyzer(DocumentService documentService,
SettingsService settingsService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ItemAnalyzeResult |
analyzeItem(ResultProperties props)
Analyze the item.
|
ItemAnalyzeResult |
analyzeItem(ResultProperties props,
DocumentId docId)
Analyze the item.
|
ItemAnalyzeResult |
analyzeItems(List<ResultProperties> items)
Analyzes the items.
|
public ItemAnalyzer(DocumentService documentService, SettingsService settingsService)
documentService
- document servicesettingsService
- settings servicepublic ItemAnalyzeResult analyzeItem(ResultProperties props) throws SystemException, AuthenticationException, DocumentIdentificationException
props
- PropertiesDocumentIdentificationException
- document identification exceptionAuthenticationException
- authentication exceptionSystemException
- system exceptionpublic ItemAnalyzeResult analyzeItem(ResultProperties props, DocumentId docId) throws SystemException, AuthenticationException, DocumentIdentificationException
docId
attribute can be used if props
does not
contain a DocumentId with all required information or if the access rights of another
document need to be checked (e.g. for workflow items).props
- PropertiesdocId
- Document idDocumentIdentificationException
- document identification exceptionAuthenticationException
- authentication exceptionSystemException
- system exceptionpublic ItemAnalyzeResult analyzeItems(List<ResultProperties> items) throws DocumentIdentificationException, SystemException, AuthenticationException
items
- itemsDocumentIdentificationException
- document identification exceptionSystemException
- system exceptionAuthenticationException
- authentication exceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.