With "help" dependent on content, I believe content should be moved into
the framework.
One of the main dependencies in content is from survey to order. One
option is to remove survey into it's own dedicated component. Any
thoughts on this?
The other main dependency is on party. I believe we should move the
core party stuff (Party, PartyAttribute, PartyTypeAttr, PartyGroup,
PartyType, PartyRole, RoleType) into a partycore component that is part
of the framework. Any thoughts on this?
Content also has a dependency on Person via WebSiteRole. I'm not sure
Person should become part of partycore. However, I'm not sure that
Person should be part of WebSiteRole. Any thoughts on this?
<entity entity-name="WebSiteRole"
package-name="org.ofbiz.party.party" title="WebSite Role Association
Entity">
<field name="partyId" type="id-ne"></field>
<field name="roleTypeId" type="id-ne"></field>
<field name="webSiteId" type="id-ne"></field>
<field name="fromDate" type="date-time"></field>
<field name="thruDate" type="date-time"></field>
<field name="sequenceNum" type="numeric"></field>
<prim-key field="partyId"/>
<prim-key field="roleTypeId"/>
<prim-key field="webSiteId"/>
<prim-key field="fromDate"/>
<relation type="one-nofk" rel-entity-name="Party">
<key-map field-name="partyId"/>
</relation>
<relation type="one-nofk" rel-entity-name="RoleType">
<key-map field-name="roleTypeId"/>
</relation>
<relation type="one-nofk" rel-entity-name="Person">
<key-map field-name="partyId"/>
</relation>
<relation type="one-nofk" rel-entity-name="PartyGroup">
<key-map field-name="partyId"/>
</relation>
<relation type="one" fk-name="WSRLE_PTYRLE"
rel-entity-name="PartyRole">
<key-map field-name="partyId"/>
<key-map field-name="roleTypeId"/>
</relation>
<relation type="one" fk-name="WSRLE_WSITE"
rel-entity-name="WebSite">
<key-map field-name="webSiteId"/>
</relation>
</entity>
Thanks in advance,
Chris