public class DataProcessor extends Object implements IDataProcessor
Modifier and Type | Class and Description |
---|---|
static class |
DataProcessor.ProcessorStatus |
Constructor and Description |
---|
DataProcessor(IContentFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
analyze(CoreSession session) |
void |
analyze(CoreSession session,
DocumentModel doc,
int timeout) |
Collection<DocumentSummary> |
getAllDocuments()
Ranked so that appear like a tree.
|
int |
getDocumentTreeMaxDepth()
The maximum doc tree depth
|
int |
getDocumentTreeMinDepth()
The minimum doc tree depth, 0 if analysis was run on repository root, >0
if the analysis was run on a child document of repository root.
|
String |
getInformation()
Some text information related to the status
|
int |
getNumberOfDocuments() |
Set<String> |
getPermissions() |
DataProcessor.ProcessorStatus |
getStatus()
A status concerning data analysis
|
Set<String> |
getUserAndGroups() |
void |
init() |
void |
log() |
public DataProcessor(IContentFilter filter)
public void analyze(CoreSession session) throws ClientException
analyze
in interface IDataProcessor
ClientException
public void analyze(CoreSession session, DocumentModel doc, int timeout) throws ClientException
analyze
in interface IDataProcessor
ClientException
public void init()
public Collection<DocumentSummary> getAllDocuments()
getAllDocuments
in interface IDataProcessor
public Set<String> getUserAndGroups()
getUserAndGroups
in interface IDataProcessor
public Set<String> getPermissions()
getPermissions
in interface IDataProcessor
public int getDocumentTreeMaxDepth()
IDataProcessor
getDocumentTreeMaxDepth
in interface IDataProcessor
public int getDocumentTreeMinDepth()
IDataProcessor
getDocumentTreeMinDepth
in interface IDataProcessor
public int getNumberOfDocuments()
getNumberOfDocuments
in interface IDataProcessor
public DataProcessor.ProcessorStatus getStatus()
IDataProcessor
getStatus
in interface IDataProcessor
public String getInformation()
IDataProcessor
getInformation
in interface IDataProcessor
public void log()
Copyright © 2013 Nuxeo SA. All Rights Reserved.