Class MerchandiseHierarchyLineItemPopulator

    • Constructor Detail

      • MerchandiseHierarchyLineItemPopulator

        public MerchandiseHierarchyLineItemPopulator()
    • Method Detail

      • determineBaseMaterialGroupCandidates

        protected java.util.List<CategoryModel> determineBaseMaterialGroupCandidates​(ProductModel product)
      • isErpMerchCat

        protected boolean isErpMerchCat​(CategoryModel cat)
      • isSureErpMerchCat

        protected boolean isSureErpMerchCat​(CategoryModel cat)
        Parameters:
        cat -
        Returns:
        true if category is a base merchandise category for sure. Does not consider the case that it has no parents. In that case the category might be a base MC or a characteristics profile! Then later on additional logic is needed.
      • getMerchGroupCatalogId

        public java.lang.String getMerchGroupCatalogId()
      • setMerchGroupCatalogId

        public void setMerchGroupCatalogId​(java.lang.String merchGroupCatalogId)
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setOrder

        public void setOrder​(int order)
      • getHierarchyId

        public java.lang.String getHierarchyId()
        Returns:
        the hierarchyId
      • setHierarchyId

        public void setHierarchyId​(java.lang.String hierarchyId)
        Parameters:
        hierarchyId - the hierarchyId to set