Class ProcessInfoUtil

java.lang.Object
org.compiere.process.ProcessInfoUtil

public class ProcessInfoUtil extends Object
Process Info related Utilities methods
Version:
$Id: ProcessInfoUtil.java,v 1.2 2006/07/30 00:54:44 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • ProcessInfoUtil

      public ProcessInfoUtil()
  • Method Details

    • setSummaryFromDB

      public static void setSummaryFromDB(ProcessInfo pi)
      Query AD_PInstance for result.
      Fill Summary and success field in ProcessInfo.
      Parameters:
      pi - process info
    • setLogFromDB

      public static void setLogFromDB(ProcessInfo pi)
      Set Log of Process from Database (if pi.getLogs is empty)
      Parameters:
      pi - process info
    • saveLogToDB

      public static void saveLogToDB(ProcessInfo pi)
      Save process info logs to DB (AD_PInstance_Log)
      Parameters:
      pi - process info
    • setParameterFromDB

      public static void setParameterFromDB(ProcessInfo pi)
      Read process parameters from DB (AD_PInstance_Para)
      Parameters:
      pi - Process Info