java - 在 Hybris 中的 itemtype 中使用扩展

标签 java spring sap-commerce-cloud

如果我在创建新的 itemtype 时没有在 Hybris 中的 itemtype 中指定扩展,会发生什么情况?

例如:

<itemtype code="Unit
              jaloclass="de.hybris.platform.jalo.product.Unit"
              autocreate="true"
              generate="true">
        <deployment table="Units" typecode="10"/>

最佳答案

我找到了答案。 它默认扩展为 GenericItem。 所以上面的代码会自动转换为:

<itemtype code="PaymentInfo"
              extends="GenericItem"
              jaloclass="de.hybris.platform.jalo.order.payment.PaymentInfo"
              autocreate="true"
              generate="true">

关于java - 在 Hybris 中的 itemtype 中使用扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59820894/

相关文章:

java - Spring微服务: response with info from other microservices

java - 元素类型 "property"的内容必须匹配

java - 斯巴达克斯中的 SmartEdit 设置

java - 正在绘制的盒内盒的数量为 N

java - Java 的更多核心 VS 更高频率

java - 如何导入java项目(Eclipse)

java - @Value 不注入(inject)属性,保持为空

未找到 Java 配置/j_spring_security_check

search - 海布里斯 : Use same field for search and facet

java - Hybris 中的自定义产品 URL 解析器