Package org.uengine.util.dao

Examples of org.uengine.util.dao.DAO2ArrayListAdapter


    final ProcessDefinitionDAO pd;
    try {
      pd = (ProcessDefinitionDAO)ConnectiveDAO.createDAOImpl(tc, "select * from bpm_procdef where isdeleted = 0", ProcessDefinitionDAO.class);
      pd.select();
     
      ArrayList proxyList = new DAO2ArrayListAdapter(pd);
     
      return proxyList;

    } catch (Exception e) {
      throw new FinderException(e.getMessage());
View Full Code Here


    try {
      pd = (ProcessDefinitionVersionDAO)ConnectiveDAO.createDAOImpl(tc, "select * from bpm_procdefver where defid=?defid order by defverid", ProcessDefinitionVersionDAO.class);
      pd.setDefId(id);
      pd.select();
     
      ArrayList proxyList = new DAO2ArrayListAdapter(pd);
     
      return proxyList;

    } catch (Exception e) {
      throw new FinderException(e.getMessage());
View Full Code Here

      pd = (ProcessDefinitionVersionDAO)ConnectiveDAO.createDAOImpl(tc, "select * from bpm_procdefver where defid=?defid and ver = ?ver", ProcessDefinitionVersionDAO.class);
      pd.setDefId(id);
      pd.setVer(version);
      pd.select();
     
      ArrayList proxyList = new DAO2ArrayListAdapter(pd);
     
      pd.getImplementationObject().setTableName("BPM_PROCDEFVER");
      pd.getImplementationObject().setKeyField("DEFVERID");
      tc.addTransactionListener(new TransactionListener(){

View Full Code Here

TOP

Related Classes of org.uengine.util.dao.DAO2ArrayListAdapter

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.