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:
java.io.Serializable
,java.util.Comparator<BundleTemplateModel>
public class ParentBundleTemplateComparator extends java.lang.Object implements java.util.Comparator<BundleTemplateModel>, java.io.Serializable
SortBundleTemplateModel
s by theirBundleTemplateStatusModel
. Move approved bundle templates to the top and archived bundles to the bottom.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParentBundleTemplateComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(BundleTemplateModel template1, BundleTemplateModel template2)
-
-
-
Method Detail
-
compare
public int compare(BundleTemplateModel template1, BundleTemplateModel template2)
- Specified by:
compare
in interfacejava.util.Comparator<BundleTemplateModel>
-
-