|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.core.api.impl.LifeCycleFilter
public class LifeCycleFilter
A filter based on the document's life cycle.
| Constructor Summary | |
|---|---|
LifeCycleFilter(List<String> accepted,
List<String> excluded)
Generic constructor. |
|
LifeCycleFilter(String lifeCycle,
boolean isRequired)
Convenient constructor to filter on a lifecycle state. |
|
| Method Summary | |
|---|---|
boolean |
accept(DocumentModel docModel)
Filters data models objects. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LifeCycleFilter(List<String> accepted,
List<String> excluded)
To be accepted, the document must have its lifecycle state in the required list and the excluded list must not contain its
lifecycle state.
accepted - the list of accepted lifecycle statesexcluded - the list of excluded lifecycle states
public LifeCycleFilter(String lifeCycle,
boolean isRequired)
lifeCycle - the lifecycle to filter onisRequired - if true accepted documents must have this
lifecycle state, if false accepted documents must not
have this lifecycle state.| Method Detail |
|---|
public boolean accept(DocumentModel docModel)
Filter
accept in interface Filter
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||