Examples of selectList()


Examples of org.apache.ibatis.session.SqlSession.selectList()

    }

    private void initFlagList() {
        SqlSession sess = IBatisFactory.getInstance().getSqlSession();
        activeFlagList = sess.selectList("Fun.getActiveFlag");
        bootFlagList = sess.selectList("Fun.getBootFlag");
        sess = null;

        Combobox activeFlagCb = (Combobox) getFellow("ActiveFlag");
        Iterator activeFlagIt = activeFlagList.iterator();
        while (activeFlagIt.hasNext()) {
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

        }
    }

    private void initFunFormList() {
        SqlSession sess = IBatisFactory.getInstance().getSqlSession();
        funList = sess.selectList("Fun.getAll");
        sess = null;

        // show the function
        Tree objTree = (Tree) getFellow("objTree");
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

    // ck
    public void refreshObjEntities() {
        objTree = (Tree) getFellow("objTree");

        SqlSession sess = IBatisFactory.getInstance().getSqlSession();
        objList = sess.selectList("Fun.getAll");
        sess = null;

        treeModel = new SimpleTreeModel(prepareRootNode(objList));

        objTree.setModel(treeModel);
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

    private void initAuthListbox() {
        Listbox authListbox = (Listbox) getFellow("auth");

        SqlSession sess = IBatisFactory.getInstance().getSqlSession();
        List authList = sess.selectList("Auth.getAll");
        sess = null;

        ListModel authModel = new ListModelList(authList, true);
        authListbox.setModel(authModel);
        authListbox.setItemRenderer(authListRenderer);
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

        roleNameLabel.setValue(dutyInfo.getAuthName());

        SqlSession session = IBatisFactory.getInstance().getSqlSession();

        if (funFormList == null) {
            funFormList = session.selectList("Login.getFunAuth", new Integer(dutyInfo.getTypeId()));
        }

        logger.debug("funFormList size: " + funFormList.size() + " has saved to session");

        // show the function
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

    public void refreshObjEntities() {
        objTree = (Tree) getFellow("objTree");

        SqlSession sess = IBatisFactory.getInstance().getSqlSession();
        objList = sess.selectList("Org.getAll");
        sess = null;

        logger.debug("record list size:" + objList.size());

        treeModel = new SimpleTreeModel(
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

            this.getDesktop().getSession().setAttribute("userInfo", userInfo);
        }

        // get User's dutyInfo
        session = IBatisFactory.getInstance().getSqlSession();
        List dutyInfoList = session.selectList("Login.searchDutyInfo", userInfo.getUserId());

        if (dutyInfoList == null || dutyInfoList.size() ==0) {
            logger.info("There is no available dutyInfo ");
            try {
                Messagebox.show("該使用者無可用的 " + "" + " 權限身份", "錯誤的資料", Messagebox.RETRY, Messagebox.ERROR);
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

    }

    private void initProvider() {
        Combobox providerCB = (Combobox) getFellow("provider");
        SqlSession sess = IBatisFactory.getInstance().getSqlSession();
        List keyValueList = sess.selectList("Org.getAllCompany");
        sess = null;

        Iterator it = keyValueList.iterator();
        while (it.hasNext()) {
            Org o = (Org) it.next();
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

    }

    private void initOrgIdCB() {
        Combobox orgIdCB = (Combobox) getFellow("orgId");
        SqlSession sess = IBatisFactory.getInstance().getSqlSession();
        List keyValueList = sess.selectList("Org.getName_Id");
        sess = null;
        logger.debug("org CB size:" + keyValueList.size());

        Iterator it = keyValueList.iterator();
View Full Code Here

Examples of org.apache.ibatis.session.SqlSession.selectList()

    }

    private void initParaCatalogueCB() {
    Combobox paraCatalogueCB = (Combobox) getFellow("paraCatalogue");
    SqlSession sess = IBatisFactory.getInstance().getSqlSession();
    List keyValueList = sess.selectList("Para.getParaCatalogue");
    sess = null;

    logger.debug("para CB size:" + keyValueList.size());

    Iterator it = keyValueList.iterator();
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.