protected static class AbstractBlogPostsCannedQueryFactory.BlogEntityComparator extends AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator<BlogEntity>
BlogPostInfos 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.comparableProperty| Constructor and Description |
|---|
AbstractBlogPostsCannedQueryFactory.BlogEntityComparator(org.alfresco.service.namespace.QName comparableProperty) |
| Modifier and Type | Method and Description |
|---|---|
protected Comparable |
getProperty(BlogEntity entity) |
compareclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic AbstractBlogPostsCannedQueryFactory.BlogEntityComparator(org.alfresco.service.namespace.QName comparableProperty)
protected Comparable getProperty(BlogEntity entity)
getProperty in class AbstractQNameAwareCannedQueryFactory.PropertyBasedComparator<BlogEntity>Copyright © 2005–2014 Alfresco Software. All rights reserved.