org.nuxeo.ecm.core.api.tree
Class DefaultDocumentTreeFilter
java.lang.Object
org.nuxeo.ecm.core.api.tree.DefaultDocumentTreeFilter
- All Implemented Interfaces:
- Serializable, Filter, DocumentTreeFilter
public class DefaultDocumentTreeFilter
- extends Object
- implements DocumentTreeFilter
Default filter for tree elements.
Filters using facets and types criteria. Also filters documents that are in
the "deleted" life cycle state.
- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
DefaultDocumentTreeFilter
public DefaultDocumentTreeFilter()
accept
public boolean accept(DocumentModel document)
- Description copied from interface:
Filter
- Filters data models objects.
- Specified by:
accept
in interface Filter
- Returns:
- true if accepting the object false otherwise
getIncludedFacets
public List<String> getIncludedFacets()
- Specified by:
getIncludedFacets
in interface DocumentTreeFilter
setIncludedFacets
public void setIncludedFacets(List<String> includedFacets)
- Specified by:
setIncludedFacets
in interface DocumentTreeFilter
getExcludedFacets
public List<String> getExcludedFacets()
- Specified by:
getExcludedFacets
in interface DocumentTreeFilter
setExcludedFacets
public void setExcludedFacets(List<String> excludedFacets)
- Specified by:
setExcludedFacets
in interface DocumentTreeFilter
getExcludedTypes
public List<String> getExcludedTypes()
- Specified by:
getExcludedTypes
in interface DocumentTreeFilter
setExcludedTypes
public void setExcludedTypes(List<String> excludedTypes)
- Specified by:
setExcludedTypes
in interface DocumentTreeFilter
Copyright © 2011 Nuxeo SAS. All Rights Reserved.