public class BackgroundTaskNameComparator extends OrderByComparator<BackgroundTask>
Modifier and Type | Field and Description |
---|---|
static String |
ORDER_BY_ASC |
static String |
ORDER_BY_DESC |
static String[] |
ORDER_BY_FIELDS |
Constructor and Description |
---|
BackgroundTaskNameComparator() |
BackgroundTaskNameComparator(boolean ascending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(BackgroundTask backgroundTask1,
BackgroundTask backgroundTask2) |
String |
getOrderBy() |
String[] |
getOrderByFields() |
boolean |
isAscending() |
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
public static final String ORDER_BY_ASC
public static final String ORDER_BY_DESC
public static final String[] ORDER_BY_FIELDS
public BackgroundTaskNameComparator()
public BackgroundTaskNameComparator(boolean ascending)
public int compare(BackgroundTask backgroundTask1, BackgroundTask backgroundTask2)
public String getOrderBy()
getOrderBy
in class OrderByComparator<BackgroundTask>
public String[] getOrderByFields()
getOrderByFields
in interface com.liferay.petra.sql.dsl.query.sort.OrderByInfo
getOrderByFields
in class OrderByComparator<BackgroundTask>
public boolean isAscending()
isAscending
in class OrderByComparator<BackgroundTask>