com.liferay.portlet.journal.util.comparator
Class ArticleTitleComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator
com.liferay.portlet.journal.util.comparator.ArticleTitleComparator
- All Implemented Interfaces:
- Serializable, Comparator
public class ArticleTitleComparator
- extends OrderByComparator
- See Also:
- Serialized Form
ORDER_BY_ASC
public static String ORDER_BY_ASC
ORDER_BY_DESC
public static String ORDER_BY_DESC
ORDER_BY_FIELDS
public static String[] ORDER_BY_FIELDS
ArticleTitleComparator
public ArticleTitleComparator()
ArticleTitleComparator
public ArticleTitleComparator(boolean ascending)
compare
public int compare(Object obj1,
Object obj2)
- Specified by:
compare
in interface Comparator
- Specified by:
compare
in class OrderByComparator
getOrderBy
public String getOrderBy()
- Overrides:
getOrderBy
in class OrderByComparator
getOrderByFields
public String[] getOrderByFields()
- Overrides:
getOrderByFields
in class OrderByComparator
isAscending
public boolean isAscending()
- Overrides:
isAscending
in class OrderByComparator