[
https://issues.apache.org/jira/browse/OFBIZ-6945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231617#comment-15231617
]
Jacques Le Roux commented on OFBIZ-6945:
----------------------------------------
Why not creating services rather than Worker class and worker methods?
> Worker class and worker methods for facility component
> ------------------------------------------------------
>
> Key: OFBIZ-6945
> URL: https://issues.apache.org/jira/browse/OFBIZ-6945
> Project: OFBiz
> Issue Type: Improvement
> Reporter: Mohammad Kathawala
> Priority: Minor
>
> There isn't any worker class containing worker methods for facility component
> in OFBIZ.
> Various generic worker methods can be implemented like:
> - 'differenceInShipCost' which will calculate the difference in estimated
> shipping cost (quoted during checkout process) and actual shipping cost
> (received when packing is complete and we have actual package weight) of any
> shipment.
> - 'isPicklistPacked' which will determine whether any picklist is packed or
> not.
> - 'getShipmentBoxTypes' for getting all the box types available for
> particular shipment method of a particular carrier party.
> And there can be many more.
> The worker class for facility will have all such kinds of worker methods.
> I propose to add this class and I can contribute some initial worker methods
> . I can also use these methods at applicable places. If community members
> agree then, I will start implementing these methods .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)