[jira] [Created] (OFBIZ-7828) Entity and Service definition

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-7828) Entity and Service definition

Nicolas Malin (Jira)
Rishi Solanki created OFBIZ-7828:
------------------------------------

             Summary: Entity and Service definition
                 Key: OFBIZ-7828
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7828
             Project: OFBiz
          Issue Type: Improvement
          Components: ALL COMPONENTS
    Affects Versions: Trunk
            Reporter: Rishi Solanki
            Priority: Minor


As per discussion on dev list on email thread-: "Entity and Service definition" Here is the parent task for the same.

TODO's from same thread, review entities/services on following parameters;

1) Many entity definitions having relationships with view-entities, like OrderHeader entity maintain relationship with OrderHeaderNoteView and OrderItemAndShipGroupAssoc. We should remove it, maintain the relationship at view-entities level if required. Also change the code where this relation is in use.
2) Many entities having service implementation exists but they can be simply convert into entity-auto, that means can use the power OFBiz provides.
3) As mentioned initially many entities do not have CRUD services exists, we should implement or use entity-auto for them wherever applicable. Also remove direct use of delegator for them.
4) Many entities having from date and thru date, Or status Or Enumeration to manage the historical data, but services actually remove those entity data. We should change the service implementation to maintain the historical data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)