public class DefaultDocumentTreeFilter extends Object implements DocumentTreeFilter
Filters using facets and types criteria. Also filters documents that are in the "deleted" life cycle state.
Modifier and Type | Field and Description |
---|---|
protected List<String> |
excludedFacets |
protected List<String> |
excludedTypes |
protected List<String> |
includedFacets |
Constructor and Description |
---|
DefaultDocumentTreeFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(DocumentModel document)
Filters data models objects.
|
List<String> |
getExcludedFacets() |
List<String> |
getExcludedTypes() |
List<String> |
getIncludedFacets() |
void |
setExcludedFacets(List<String> excludedFacets) |
void |
setExcludedTypes(List<String> excludedTypes) |
void |
setIncludedFacets(List<String> includedFacets) |
protected List<String> includedFacets
protected List<String> excludedFacets
protected List<String> excludedTypes
public DefaultDocumentTreeFilter()
public boolean accept(DocumentModel document)
Filter
public List<String> getIncludedFacets()
getIncludedFacets
in interface DocumentTreeFilter
public void setIncludedFacets(List<String> includedFacets)
setIncludedFacets
in interface DocumentTreeFilter
public List<String> getExcludedFacets()
getExcludedFacets
in interface DocumentTreeFilter
public void setExcludedFacets(List<String> excludedFacets)
setExcludedFacets
in interface DocumentTreeFilter
public List<String> getExcludedTypes()
getExcludedTypes
in interface DocumentTreeFilter
public void setExcludedTypes(List<String> excludedTypes)
setExcludedTypes
in interface DocumentTreeFilter
Copyright © 2018 Nuxeo. All rights reserved.