Skip to Content
author's profile photo Former Member
Former Member

Is GenericItem default parent of each Item in Hybris?

I have just started reading Hybris and read somehwherethat GenricItem is by default parent of each item in Hybris. But on hybris wiki I found type hierarchy diagram which is

alt text

Above diagram clearly denotes that parent Item is either object or ExtensibleItem, then why GenericItem is considered default parent Item of each item type.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 04:19 PM

    Hi Dear Naved

    1. If you do not extend any type, the default is "genericItem"

    2. About the deployment property is the same. The topmost deployment is GenericItem, which is therefore the default deployment. This means if a type has no explicit specification of deployment, that type's instances are deployed in the same table as GenericItem. more details can be found here : Specifying a Deployment for hybris Platform Types

    3. For the hierarchy diagram, "it is just an example and is subject to change". The original word is "The following diagram gives you an overview on a part of the type hierarchy defined by an out-of-the-box hybris Commerce Suite. We provide it only as a general example that doesn't show details, and is subject to change", please refer to Items and Types

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.