Package com.day.cq.reporting
Interface Sorting
public interface Sorting
This interface defines the sorting of a column.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDefines available sorting directions. -
Method Summary
Modifier and TypeMethodDescriptionReturns the sorting direction if the column is currently sorted.booleanisSorted()Returns if the column is currently sorted.
-
Method Details
-
isSorted
boolean isSorted()Returns if the column is currently sorted.- Returns:
trueif the column is currently sorted
-
getDirection
Sorting.Direction getDirection()Returns the sorting direction if the column is currently sorted.- Returns:
- The sorting direction;
nullif the column is currently unsorted
-