Liferay 6.2-ce-ga5

com.liferay.portal.kernel.workflow.comparator
Class WorkflowDefinitionNameComparator

java.lang.Object
  extended by com.liferay.portal.kernel.util.OrderByComparator
      extended by com.liferay.portal.kernel.workflow.comparator.WorkflowDefinitionNameComparator
All Implemented Interfaces:
Serializable, Comparator

public class WorkflowDefinitionNameComparator
extends OrderByComparator

See Also:
Serialized Form

Constructor Summary
WorkflowDefinitionNameComparator(boolean ascending, String orderByAsc, String orderByDesc, String[] orderByFields)
           
 
Method Summary
 int compare(Object obj1, Object obj2)
           
 String getOrderBy()
           
 String[] getOrderByFields()
           
 boolean isAscending()
           
 
Methods inherited from class com.liferay.portal.kernel.util.OrderByComparator
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

WorkflowDefinitionNameComparator

public WorkflowDefinitionNameComparator(boolean ascending,
                                        String orderByAsc,
                                        String orderByDesc,
                                        String[] orderByFields)
Method Detail

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

Liferay 6.2-ce-ga5