public class DatePropertyValueComparator extends java.lang.Object implements PropertyValueComparator
| Constructor and Description |
|---|
DatePropertyValueComparator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compare(java.io.Serializable propertyValue,
java.io.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(java.io.Serializable propertyValue,
java.io.Serializable compareValue,
ComparePropertyValueOperation operation)
PropertyValueComparatorcompare in interface PropertyValueComparatorpropertyValue - 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)
PropertyValueComparatorregisterComparator in interface PropertyValueComparatorevaluator - the compare property value evaluatorPropertyValueComparator.registerComparator(org.alfresco.repo.action.evaluator.ComparePropertyValueEvaluator)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.