public interface ModerationFilter
Modifier and Type | Method and Description |
---|---|
ConstraintGroup |
getFilterConstraint(java.util.Map<java.lang.String,java.lang.String[]> predicates)
A custom ModerationFilter must implement getFilter method and return a valid ConstraintGroup.
|
java.lang.String |
getSupportedPredicate()
Predicate Name 'namespace:string'.
|
ConstraintGroup getFilterConstraint(java.util.Map<java.lang.String,java.lang.String[]> predicates)
predicates
- Complete map of all the search predicates.
Usually, A Custom Moderation Filter is only interested in its own predicate and respective values
but having a complete map would help to develop a search filter based on some logical inference using other predicates available.java.lang.String getSupportedPredicate()
Copyright © 2010 - 2020 Adobe. All Rights Reserved