Package org.uengine.util.dao

Examples of org.uengine.util.dao.IDAO.select()


            IDAO.class
        );
       
        roleUser.set("empCode", getReferenceRole().getMapping(instance).getEndpoint());
        roleUser.set("roleCode", getRoleId());
        roleUser.select();
      } else {
        roleUser = GenericDAO.createDAOImpl(
            DefaultConnectionFactory.create(),
            "select empCode from roleUserTable where roleCode = ?roleCode",
            IDAO.class
View Full Code Here


            "select empCode from roleUserTable where roleCode = ?roleCode",
            IDAO.class
        );
       
        roleUser.set("roleCode", getRoleId());
        roleUser.select();
      }
    } else {
      if ( getGroupId() != null ){
        roleUser = GenericDAO.createDAOImpl(
            DefaultConnectionFactory.create(),
View Full Code Here

            "select EMPCODE from EMPTABLE where ISDELETED='0' and PARTCODE =  ?PARTCODE ",
            IDAO.class
        );
       
        roleUser.set("PARTCODE", getGroupId());
        roleUser.select();
      } else if ( getReferenceRole() != null && getReferenceRole().getMapping(instance) != null ) {
        roleUser = GenericDAO.createDAOImpl(
            DefaultConnectionFactory.create(),
            "select E.EMPCODE from EMPTABLE E, (select PARTCODE, EMPCODE from EMPTABLE where EMPCODE= ?empCode) T where E.ISDELETED='0' and E.PARTCODE =  T.PARTCODE",
            IDAO.class
View Full Code Here

            "select E.EMPCODE from EMPTABLE E, (select PARTCODE, EMPCODE from EMPTABLE where EMPCODE= ?empCode) T where E.ISDELETED='0' and E.PARTCODE =  T.PARTCODE",
            IDAO.class
        );
       
        roleUser.set("empCode", getReferenceRole().getMapping(instance).getEndpoint());
        roleUser.select();
      } else {
       
      }
    }
   
View Full Code Here

        sql.toString(),
        IDAO.class
    );
   
    user.set("EMPCODE", getEndpoint());
    user.select();
   
    if (user.next()){
      String  PASSWORD   = user.getString("PASSWORD")==null?"RIP":user.getString("PASSWORD");
      String  EMPNAME    = user.getString("EMPNAME")==null?"":user.getString("EMPNAME");
      String  JIKNAME    = user.getString("JIKNAME")==null?"":user.getString("JIKNAME");
View Full Code Here

    try {
      IDAO commentDAO = ConnectiveDAO.createDAOImpl(instance.getProcessTransactionContext().getConnectionFactory(),                            
        "select * from doc_comments where instance_id=?instanceId order by id",  
        IDAO.class);                      
      commentDAO.set("instanceId",instance.getInstanceId());
      commentDAO.select();
     
      int cnt = 0;
      while(commentDAO.next()){
        HashMap dmap = new HashMap();
        String apprStat = "SIGN_"+commentDAO.getString("OPT_TYPE").toUpperCase();
View Full Code Here

    try {
      IDAO commentDAO = ConnectiveDAO.createDAOImpl(instance.getProcessTransactionContext().getConnectionFactory(),                            
        "select * from doc_comments where instance_id=?instanceId order by id",  
        IDAO.class);                      
      commentDAO.set("instanceId",instance.getInstanceId());
      commentDAO.select();
     
      int cnt = 0;
      while(commentDAO.next()){
        HashMap dmap = new HashMap();
        String apprStat = "SIGN_"+commentDAO.getString("OPT_TYPE").toUpperCase();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.