Package de.hybris.platform.configurablebundlecockpits.productcockpit.navigationnode.browserarea.tree
Class ParentBundleTemplateComparator
java.lang.Object
de.hybris.platform.configurablebundlecockpits.productcockpit.navigationnode.browserarea.tree.ParentBundleTemplateComparator
- All Implemented Interfaces:
Serializable,Comparator<BundleTemplateModel>
public class ParentBundleTemplateComparator
extends Object
implements Comparator<BundleTemplateModel>, Serializable
Sort
BundleTemplateModels by their BundleTemplateStatusModel. Move approved bundle templates to the
top and archived bundles to the bottom.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(BundleTemplateModel template1, BundleTemplateModel template2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ParentBundleTemplateComparator
public ParentBundleTemplateComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<BundleTemplateModel>
-