|Constructor and Description|
Convenient constructor to filter on a lifecycle state.
|Modifier and Type||Method and Description|
Filters data models objects.
public LifeCycleFilter(List<String> accepted, List<String> excluded)
To be accepted, the document must have its lifecycle state in the
required list and the
list must not contain its lifecycle state.
accepted- the list of accepted lifecycle states
excluded- the list of excluded lifecycle states
public LifeCycleFilter(String lifeCycle, boolean isRequired)
lifeCycle- the lifecycle to filter on
trueaccepted documents must have this lifecycle state, if
falseaccepted documents must not have this lifecycle state.
Copyright © 2019 Nuxeo. All rights reserved.