org.nuxeo.ecm.core.api.tree
Class DefaultDocumentTreeFilter
java.lang.Object
org.nuxeo.ecm.core.api.tree.DefaultDocumentTreeFilter
- All Implemented Interfaces:
- java.io.Serializable, Filter, DocumentTreeFilter
public class DefaultDocumentTreeFilter
- extends java.lang.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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.util.List<java.lang.String> getIncludedFacets()
- Specified by:
getIncludedFacets
in interface DocumentTreeFilter
setIncludedFacets
public void setIncludedFacets(java.util.List<java.lang.String> includedFacets)
- Specified by:
setIncludedFacets
in interface DocumentTreeFilter
getExcludedFacets
public java.util.List<java.lang.String> getExcludedFacets()
- Specified by:
getExcludedFacets
in interface DocumentTreeFilter
setExcludedFacets
public void setExcludedFacets(java.util.List<java.lang.String> excludedFacets)
- Specified by:
setExcludedFacets
in interface DocumentTreeFilter
getExcludedTypes
public java.util.List<java.lang.String> getExcludedTypes()
- Specified by:
getExcludedTypes
in interface DocumentTreeFilter
setExcludedTypes
public void setExcludedTypes(java.util.List<java.lang.String> excludedTypes)
- Specified by:
setExcludedTypes
in interface DocumentTreeFilter
Copyright © 2010 Nuxeo SAS. All Rights Reserved.