Package de.danet.an.workflow.api

Examples of de.danet.an.workflow.api.ProcessDirectory.removeProcess()


  ProcessDirectory pd = workflowService().processDirectory();
  Collection processes = pd.processes();
  for (Iterator it=processes.iterator(); it.hasNext();) {
      try {
    Process process = (Process)(it.next());
    pd.removeProcess(process);
      } catch (Exception e) {
    // process not in database anymore, so it is not running anymore
      }
  }
    }
View Full Code Here


     * @param process a <code>SmartWfProcess</code> value
     * @exception Exception if an error occurs
     */
    protected void removeProcess(SmartWfProcess process) throws Exception {
  ProcessDirectory pd = workflowService().processDirectory();
  pd.removeProcess((Process)process.getWfProcess());
    }

    /**
     * Describe <code>smart</code> method here.
     *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.