Class ClassificationHelper
java.lang.Object
de.hybris.platform.catalog.jalo.classification.ClassificationHelper
Provides some static helper for classification import.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intReturn the number of an eclass layer for the given classification number.static StringgetSuperCategoryCode(String classificationNumber, int layer) Return the code of the super category for the given eclass- or unspsc classification Number and the layer.
-
Constructor Details
-
ClassificationHelper
public ClassificationHelper()
-
-
Method Details
-
getLayer
Return the number of an eclass layer for the given classification number.- Parameters:
classificationNumber- the classification number- Returns:
- the number of the eclass layer
-
getSuperCategoryCode
Return the code of the super category for the given eclass- or unspsc classification Number and the layer.- Parameters:
classificationNumber- the classification numberlayer- the layer- Returns:
- code of the super category
-