public class DatePropertyValueComparator extends Object implements PropertyValueComparator
Constructor and Description |
---|
DatePropertyValueComparator() |
Modifier and Type | Method and Description |
---|---|
boolean |
compare(Serializable propertyValue,
Serializable compareValue,
ComparePropertyValueOperation operation)
Compares the value of a property with the compare value, using the operator passed.
|
void |
registerComparator(ComparePropertyValueEvaluator evaluator)
Callback method to register this comparator with the evaluator.
|
public boolean compare(Serializable propertyValue, Serializable compareValue, ComparePropertyValueOperation operation)
PropertyValueComparator
compare
in interface PropertyValueComparator
propertyValue
- the property valuecompareValue
- the compare valueoperation
- the operation used to compare the two valuesPropertyValueComparator.compare(java.io.Serializable, java.io.Serializable, org.alfresco.repo.action.evaluator.compare.ComparePropertyValueOperation)
public void registerComparator(ComparePropertyValueEvaluator evaluator)
PropertyValueComparator
registerComparator
in interface PropertyValueComparator
evaluator
- the compare property value evaluatorPropertyValueComparator.registerComparator(org.alfresco.repo.action.evaluator.ComparePropertyValueEvaluator)
Copyright © 2005–2017 Alfresco Software. All rights reserved.