Class WProcessCtl

  • All Implemented Interfaces:
    Runnable

    public class WProcessCtl
    extends AbstractProcessCtl
    Ported from org.compiere.apps.ProcessCtl
    Author:
    hengsin
    • Constructor Detail

      • WProcessCtl

        public WProcessCtl​(IProcessUI aProcessUI,
                           int WindowNo,
                           ProcessInfo pi,
                           Trx trx)
        Parameters:
        aProcessUI -
        WindowNo -
        pi -
        trx -
    • Method Detail

      • process

        public static void process​(int WindowNo,
                                   ProcessInfo pi,
                                   Trx trx)
      • process

        public static void process​(int WindowNo,
                                   ProcessInfo pi,
                                   Trx trx,
                                   org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event> listener)
        Process Control - Get Instance ID - Get Parameters - execute (lock - start process - unlock) Creates a ProcessCtl instance, which calls lockUI and unlockUI if parent is a ASyncProcess
        Parameters:
        WindowNo - window no
        pi - ProcessInfo process info
        trx - Transaction
      • process

        public static void process​(IProcessUI aProcessUI,
                                   int WindowNo,
                                   IProcessParameter parameter,
                                   ProcessInfo pi,
                                   Trx trx)
        Async Process - Do it all. - Get Instance ID - Get Parameters - execute (lock - start process - unlock) Creates a ProcessCtl instance, which calls lockUI and unlockUI if parent is a ASyncProcess
        Called from ProcessDialog.actionPerformed
        Parameters:
        aProcessUI - ASyncProcess and Container
        WindowNo - window no
        parameter - Process Parameter Panel
        pi - ProcessInfo process info
        trx - Transaction