Package net.caece.pri.hibernate

Examples of net.caece.pri.hibernate.DataAuth


        while (selectedOrgsItr.hasNext()) {
            Treeitem treeItem = (Treeitem) selectedOrgsItr.next();
            SimpleTreeNode node = (SimpleTreeNode) treeItem.getValue();
            OrgForm orgForm = (OrgForm) node.getData();

            DataAuth dataAuth = new DataAuth();
            dataAuth.setOrg(orgForm);
            dataAuth.setAuth(authForm);
            dataAuth.setOperateBy(operateBy);
           
            daDao.create(dataAuth);
        }

        refreshDataAuth(authForm);
View Full Code Here


            Treeitem treeItem = (Treeitem) selectedDataAuthItr.next();
            SimpleTreeNode node = (SimpleTreeNode) treeItem.getValue();

            DataAuthForm daForm = (DataAuthForm) node.getData();

            DataAuth da = new DataAuth();

            da.setDataAuthId(daForm.getDataAuthId());
            da.setOperateAt(daForm.getOperateAt());
            da.setOperateBy(operateBy);

            daDao.update(da);
            daDao.delete(da);
        }
View Full Code Here

            Org form = (Org) allOrgItr.next();

            Iterator dataAuthItr = dataAuthObjList.iterator();
            boolean addIn = true;
            while (dataAuthItr.hasNext()) {
                DataAuth var = (DataAuth) dataAuthItr.next();
                if (form.getOrgId().toString().equals(var.getOrgId().toString())) {
                    addIn = false;
                    break;
                }
            }
            if (addIn) {
View Full Code Here

TOP

Related Classes of net.caece.pri.hibernate.DataAuth

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.