Package realcix20.classes.basic

Examples of realcix20.classes.basic.Cell


            super(clsId);
    }
   
    public void deleteAllRelateItems(Row row) {       
        String b = null;
        Cell cell = ObjectUtil.findNewCell(row, "B", "B");
        b = (String)cell.getColumnValue();
        String ruser = null;
        cell = ObjectUtil.findNewCell(row, "B", "RUSER");
        ruser = (String)cell.getColumnValue();
        String rmonth = null;
        cell = ObjectUtil.findNewCell(row, "B", "RMONTH");
        rmonth = (String)cell.getColumnValue();
        DAO dao = DAO.getInstance();
        dao.update(Resources.DELETE_ALL_BI_SQL);
        dao.setObject(1, b);
        dao.setObject(2, ruser);
        dao.setObject(3, rmonth);
View Full Code Here


    }
   
    public boolean isThisTypeUsed(Row row) {       
        boolean result = false;
        String taxt = null;
        Cell cell = ObjectUtil.findNewCell(row, "TAXT", "TAXT");
        taxt = (String)cell.getColumnValue();
        DAO dao = DAO.getInstance();
        dao.query(Resources.SELECT_TAX_BY_TAXT_SQL);
        dao.setString(1, taxt);
        ResultSet rs = dao.executeQuery();
        try {
View Full Code Here

        double para26 = 0.0;
        double para27 = 0.0;
        double para28 = 0.0;
        double para29 = 0.0;
        double para30 = 0.0;
        Cell cell = ObjectUtil.findNewCell(row, "TAXT", "FORMULA");
        formula = (String)cell.getColumnValue();
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA1");
        para1 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA2");
        para2 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA3");
        para3 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA4");
        para4 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA5");
        para5 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA6");
        para6 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA7");
        para7 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA8");
        para8 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA9");
        para9 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA10");
        para10 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA11");
        para11 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA12");
        para12 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA13");
        para13 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA14");
        para14 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA15");
        para15 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA16");
        para16 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA17");
        para17 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA18");
        para18 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA19");
        para19 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA20");
        para20 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA21");
        para21 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA22");
        para22 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA23");
        para23 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA24");
        para24 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA25");
        para25= getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA26");
        para26 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA27");
        para27 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA28");
        para28 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA29");
        para29 = getDouble(cell.getColumnValue());
        cell = ObjectUtil.findNewCell(row, "TAXT", "PARA30");
        para30 = getDouble(cell.getColumnValue());
        StringTokenizer st = new StringTokenizer(formula,"[]");           
        int n = 0;
        if (formula.indexOf("[") == 0)
            n = 1;
        Vector paras = new Vector();
View Full Code Here

       
    }
   
    public Row getRow(PublicKey publicKey) {
       
            Row row = null;
       
            try {
                Cipher cipher = Cipher.getInstance("RSA");
                cipher.init(Cipher.UNWRAP_MODE, publicKey);
                Key key = cipher.unwrap(getCixKey().wrappedKey, "DES", Cipher.SECRET_KEY);
View Full Code Here

        }
        //Users GUI Theme       
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {                       
                if (GlobalValueManager.getValue("firsttime").equals("TRUE")) {                   
                    new LicenseView();
                } else {
                    Resources.LANGUAGE = GlobalValueManager.getApplicationLang();
                    new LoginFrame();
                }
            }
View Full Code Here

       
        try {
            KeyPairGenerator keyGen = KeyPairGenerator.getInstance(KEY_GENERATE_ALGORITHM);
            keyGen.initialize(1024);
            KeyPair key = keyGen.generateKeyPair();
            DAO dao = DAO.getInstance();
            dao.update(Resources.GENERATE_KEY_SQL);
            dao.setObject(1, (Object)key.getPublic());
            dao.setObject(2, (Object)key.getPrivate());
            dao.executeUpdate();
        } catch (Exception e) {
            e.printStackTrace();
        }              
       
    }
View Full Code Here

       
    }
   
    public static void updateKeyPair(PublicKey publicKey, PrivateKey privateKey) {
       
        DAO dao = DAO.getInstance();
        dao.update(Resources.GENERATE_KEY_SQL);
        dao.setObject(1, (Object)publicKey);
        dao.setObject(2, (Object)privateKey);
        dao.executeUpdate();
       
    }      
View Full Code Here

   
    public static PublicKey getPublicKey() {    
       
        PublicKey key = null;
       
        DAO dao = DAO.getInstance();
        dao.query(Resources.SELECT_PUB_AND_PRI_KEY_SQL);
        ResultSet rs = dao.executeQuery();
        try {
           
            if (rs.next())
                key = (PublicKey)rs.getObject("PUBKEY");
           
View Full Code Here

   
    public static PrivateKey getPrivateKey() {
               
        PrivateKey key = null;
       
        DAO dao = DAO.getInstance();
        dao.query(Resources.SELECT_PUB_AND_PRI_KEY_SQL);
        ResultSet rs = dao.executeQuery();
        try {
           
            if (rs.next())
                key = (PrivateKey)rs.getObject("PRIKEY");
           
View Full Code Here

        }

        public void setCurrentUser(Row currentUser) {
           
                //will be modified
                DAO dao = DAO.getInstance();
                dao.update(Resources.UPDATE_GLOBALVAR_TABLE_SQL);
                Cell userCell = ObjectUtil.findNewCell(currentUser, "LOGINENTRY", "RUSER");               
                dao.setObject(1, userCell.getColumnValue());
                dao.setObject(2, "loginuser");
                dao.executeUpdate();

                this.currentUser = currentUser;
        }
View Full Code Here

TOP

Related Classes of realcix20.classes.basic.Cell

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.