Liferay 7.0-ce-b4

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

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

public class WorkflowInstanceCompletedComparator
extends OrderByComparator<WorkflowInstance>

See Also:
Serialized Form

Constructor Summary
WorkflowInstanceCompletedComparator(boolean ascending, String orderByAsc, String orderByDesc, String[] orderByFields)
           
 
Method Summary
 int compare(WorkflowInstance workflowInstance1, WorkflowInstance workflowInstance2)
           
 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

WorkflowInstanceCompletedComparator

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

compare

public int compare(WorkflowInstance workflowInstance1,
                   WorkflowInstance workflowInstance2)

getOrderBy

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

getOrderByFields

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

isAscending

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

Liferay 7.0-ce-b4