|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.query.AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator
org.alfresco.repo.calendar.cannedqueries.GetCalendarEntriesCannedQuery.CalendarEntityComparator
protected static class GetCalendarEntriesCannedQuery.CalendarEntityComparator
Utility class to sort CalendarEntry
s on the basis of a Comparable property.
Comparisons of two null properties are considered 'equal' by this comparator.
Comparisons involving one null and one non-null property will return the null property as
being 'before' the non-null property.
Note that it is the responsibility of the calling code to ensure that the specified
property values actually implement Comparable themselves.
Field Summary |
---|
Fields inherited from class org.alfresco.repo.query.AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator |
---|
comparableProperty |
Constructor Summary | |
---|---|
protected |
GetCalendarEntriesCannedQuery.CalendarEntityComparator(org.alfresco.service.namespace.QName property)
|
Method Summary | |
---|---|
protected java.lang.Comparable |
getProperty(CalendarEntity entity)
|
Methods inherited from class org.alfresco.repo.query.AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator |
---|
compare |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
protected GetCalendarEntriesCannedQuery.CalendarEntityComparator(org.alfresco.service.namespace.QName property)
Method Detail |
---|
protected java.lang.Comparable getProperty(CalendarEntity entity)
getProperty
in class AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |