Liferay 7.0-ce-b4

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

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

public class WorkflowTaskCompletionDateComparator
extends OrderByComparator<WorkflowTask>

See Also:
Serialized Form

Constructor Summary
WorkflowTaskCompletionDateComparator(boolean ascending, String orderByAsc, String orderByDesc, String[] orderByFields)
           
 
Method Summary
 int compare(WorkflowTask workflowTask1, WorkflowTask workflowTask2)
           
 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

WorkflowTaskCompletionDateComparator

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

compare

public int compare(WorkflowTask workflowTask1,
                   WorkflowTask workflowTask2)

getOrderBy

public String getOrderBy()
Overrides:
getOrderBy in class OrderByComparator<WorkflowTask>

getOrderByFields

public String[] getOrderByFields()
Overrides:
getOrderByFields in class OrderByComparator<WorkflowTask>

isAscending

public boolean isAscending()
Overrides:
isAscending in class OrderByComparator<WorkflowTask>

Liferay 7.0-ce-b4