[ https://issues.apache.org/jira/browse/OFBIZ-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux updated OFBIZ-3913: ----------------------------------- Attachment: OFBIZ-3913.patch Updated patch > Automated action triggered by event > ----------------------------------- > > Key: OFBIZ-3913 > URL: https://issues.apache.org/jira/browse/OFBIZ-3913 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Trunk > Reporter: Nicolas Malin > Assignee: Jacques Le Roux > Attachments: ASF.LICENSE.NOT.GRANTED--What I did with PDFCreator.jpg, > ExternalDevice.patch, ExternalDevice.patch, ExternalDevice.patch, > ExternalDevice.png, OFBIZ-3913.ogv, OFBIZ-3913.patch, OFBIZ-3913.patch, > OFBIZ-3913.patch, OFBIZ-3913.patch, OFBIZ-3913.patch, OFBIZ-3913.patch, > OFBIZ-3913.patch, PDFCreator.png > > > Following a thread on the dev list, related to a printer automated selection, > by an user and an event, here is a first draft. > I added a new entity, ExternalDevice, which list all devices OFBiz can reach > (and the associated command). This entity is related to an ExternalDeviceType > and each record has a status, so we know if the device is available, out of > order, in maintenance, waiting, etc... > Then I added another entity, ExternalDeviceUserAction, which defines a device > for an user, and/or an action through Enumeration. Finally, I added a service > which find the commnand to execute based on an action and/or an user. -- This message was sent by Atlassian JIRA (v6.3.4#6332)