Class ClassificationHelper

java.lang.Object
de.hybris.platform.catalog.jalo.classification.ClassificationHelper

public class ClassificationHelper extends Object
Provides some static helper for classification import.
  • Constructor Details

    • ClassificationHelper

      public ClassificationHelper()
  • Method Details

    • getLayer

      public static int getLayer(String classificationNumber)
      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

      public static String getSuperCategoryCode(String classificationNumber, int layer)
      Return the code of the super category for the given eclass- or unspsc classification Number and the layer.
      Parameters:
      classificationNumber - the classification number
      layer - the layer
      Returns:
      code of the super category