public static Process getInstance(EntityPersistentMgr mgr, GenericValue process) {
   Process proc = new Process(mgr, process);
   if (proc.isLoaded()) {
     return proc;
   }
   return null;
 }
 public static Process getInstance(EntityPersistentMgr mgr, String processId)
     throws PersistenceException {
   Process proc = new Process(mgr, SharkContainer.getDelegator(), processId);
   if (proc.isLoaded()) {
     Debug.logInfo("Returning loaded Process", module);
     return proc;
   }
   Debug.logInfo("Returning null Process ID : " + processId, module);
   if (processId == null) Debug.logError(new Exception(), module);
   return null;
 }