:) no problem. I check to clean code

Le 14/10/2011 17:38, Jacques Le Roux (Commented) (JIRA) a écrit :
     [ 
https://issues.apache.org/jira/browse/OFBIZ-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127634#comment-13127634
 ]

Jacques Le Roux commented on OFBIZ-3913:
----------------------------------------

Ha, also if you could replace begins by contains...

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: SVN trunk
            Reporter: Nicolas Malin
            Assignee: Jacques Le Roux
         Attachments: ExternalDevice.patch, ExternalDevice.patch, 
ExternalDevice.patch, ExternalDevice.png, OFBIZ-3913.patch


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply via email to