Class StructureNameComparator
java.lang.Object
com.liferay.portal.kernel.util.OrderByComparator<DDMStructure>
com.liferay.dynamic.data.mapping.util.comparator.StructureNameComparator
- All Implemented Interfaces:
com.liferay.petra.sql.dsl.query.sort.OrderByInfo
,Serializable
,Comparator<DDMStructure>
public class StructureNameComparator
extends com.liferay.portal.kernel.util.OrderByComparator<DDMStructure>
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStructureNameComparator
(boolean ascending) StructureNameComparator
(boolean ascending, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(DDMStructure ddmStructure1, DDMStructure ddmStructure2) String[]
boolean
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
ORDER_BY_ASC
- See Also:
-
ORDER_BY_DESC
- See Also:
-
ORDER_BY_FIELDS
-
-
Constructor Details
-
StructureNameComparator
public StructureNameComparator() -
StructureNameComparator
public StructureNameComparator(boolean ascending) -
StructureNameComparator
-
-
Method Details
-
compare
-
getOrderBy
- Overrides:
getOrderBy
in classcom.liferay.portal.kernel.util.OrderByComparator<DDMStructure>
-
getOrderByFields
- Specified by:
getOrderByFields
in interfacecom.liferay.petra.sql.dsl.query.sort.OrderByInfo
- Overrides:
getOrderByFields
in classcom.liferay.portal.kernel.util.OrderByComparator<DDMStructure>
-
isAscending
public boolean isAscending()- Overrides:
isAscending
in classcom.liferay.portal.kernel.util.OrderByComparator<DDMStructure>
-