Package org.nuxeo.ecm.core.api.impl
Class CompoundFilter
- java.lang.Object
-
- org.nuxeo.ecm.core.api.impl.CompoundFilter
-
- All Implemented Interfaces:
Filter
public class CompoundFilter extends Object implements Filter
A filter based on a list of others filters. To accept a document, all the registered filters must accept it.- Author:
- Thomas Roger
-
-
Constructor Summary
Constructors Constructor Description CompoundFilter(List<Filter> filters)
Generic constructor.CompoundFilter(Filter... filters)
Generic constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(DocumentModel docModel)
Filters data models objects.
-
-
-
Method Detail
-
accept
public boolean accept(DocumentModel docModel)
Description copied from interface:Filter
Filters data models objects.
-
-