}
}
public String getProductionVersionIdAtThatTime(String defId, Date thatTime) throws RemoteException {
ProcessDefinitionDAOType procDefDF = ProcessDefinitionDAOType.getInstance(null);
ProductionDefinitionDAO productionDefDAO;
try {
productionDefDAO = procDefDF.getProductionDefinitionAtThatTime(Long.parseLong(defId), thatTime);
} catch (Exception e) {
e.printStackTrace();
throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
}
return productionDefDAO.getDefVerId().toString();
}