Class ComposedTypeSorter
java.lang.Object
de.hybris.platform.catalog.job.sort.impl.ComposedTypeSorter
- All Implemented Interfaces:
Sorter<ComposedTypeModel>
Implementation of the sorter using
RequirementSolver.solve(Collection) for determining order. TODO write unit
test-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTypeService(TypeService typeService) sort(Collection<ComposedTypeModel> originalComposedTypeSet)
-
Constructor Details
-
ComposedTypeSorter
public ComposedTypeSorter()
-
-
Method Details
-
setTypeService
-
sort
- Specified by:
sortin interfaceSorter<ComposedTypeModel>- Parameters:
originalComposedTypeSet- unsorted set of composed types from the catalog manager- Returns:
- a list of the same composed types, an element of this list depends on another element of the same list with a lower index (or not)
-