public interface OCEventFilter
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ContentResult cResult,
java.util.HashMap<java.lang.String,java.lang.Object> additionalEventParams,
java.lang.String ticket)
Method to evaluate a filter, must return a boolean.
|
boolean |
evaluate(OpenContentObject openContentObject,
java.util.HashMap<java.lang.String,java.lang.Object> additionalEventParams,
java.lang.String ticket) |
boolean |
getInvert()
Whether or not we are looking for the opposite of the result returned from
evaluate(ContentResult, HashMap, String) |
void |
setInvert(boolean invert) |
boolean evaluate(ContentResult cResult, java.util.HashMap<java.lang.String,java.lang.Object> additionalEventParams, java.lang.String ticket)
cResult
- A nice wrapper object to contain document propertiesadditionalEventParams
- Additional properties (not on the object) that the filter can use to evaluate againstticket
- boolean evaluate(OpenContentObject openContentObject, java.util.HashMap<java.lang.String,java.lang.Object> additionalEventParams, java.lang.String ticket)
boolean getInvert()
evaluate(ContentResult, HashMap, String)
void setInvert(boolean invert)