Package org.uengine.persistence.processdefinition

Examples of org.uengine.persistence.processdefinition.ProductionDefinitionDAO


    }
  }
 
  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();
  }
View Full Code Here


  }
 
  public String getFirstProductionVersionId(String defId) throws RemoteException {
    try{
      ProcessDefinitionDAOType procDefDF = ProcessDefinitionDAOType.getInstance(getTransactionContext());
      ProductionDefinitionDAO productionDefDAO = procDefDF.getFirstProductionDefinition(Long.parseLong(defId));
      return productionDefDAO.getDefVerId().toString();
    } catch (Exception e) {
      e.printStackTrace();
      throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
    }
   
View Full Code Here

TOP

Related Classes of org.uengine.persistence.processdefinition.ProductionDefinitionDAO

Copyright © 2018 www.massapicom. 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.