Package edu.bellevue.its.migration.entities

Examples of edu.bellevue.its.migration.entities.Generalinfo


            Session session = AppGlobals.getInstance().hibernateSession;
            List generalinfoList = session.createCriteria(Generalinfo.class).add(Restrictions.eq("securityRequired","Y")).list();

            for (Object o : generalinfoList)
            {
                Generalinfo currGenInfo = (Generalinfo)o;
                Request r = currGenInfo.getRequests().toArray(new Request[0])[0];
                requests.add(r);
            }
        }
    }
View Full Code Here


    public EditRequestFrame() {
        initComponents();
       
        currentRequest = new Request();
       
        currentRequest.setGeneralinfo(new Generalinfo());
        currentRequest.setPeerreview(new Peerreview());
        currentRequest.setSecurityoverview(new Securityoverview());
        currentRequest.setTechoverview(new Techoverview());
        currentRequest.setUser(AppGlobals.getInstance().loggedInUser);
       
View Full Code Here

            {
                txtPeerReview.setText("Needs Review");
            }
        }
       
        Generalinfo gi = currentRequest.getGeneralinfo();
       
        if (gi != null)
        {
            if (gi.getRequestedDate() == null)
            {
                txtGeneralInfo.setText("Incomplete");
            } else
            {
                txtGeneralInfo.setText("Completed");
            }
            if (gi.getSecurityRequired()!= null && gi.getSecurityRequired().equals("Y"))
            {
                btnSecurityOverview.setEnabled(true);
                Securityoverview so = currentRequest.getSecurityoverview();
               
                if (so != null)
                {
                    boolean approved = (so.getSecurityApprover() > 0);
                    if (approved)
                    {
                        txtSecurityOverview.setText("Approved");
                    } else
                    {
                        txtSecurityOverview.setText("Needs Approval");
                    }
                }
               
            } else
            {
                btnSecurityOverview.setEnabled(false);
                txtSecurityOverview.setText("Not Required");
            }

            if (gi.getTechReviewReq() != null && gi.getTechReviewReq().equals("Y"))
            {
                txtTechOverview.setText("Review Required");
            } else
            {
                txtTechOverview.setText("No Review Required");
View Full Code Here

            Session session = AppGlobals.getInstance().hibernateSession;
            List generalinfoList = session.createCriteria(Generalinfo.class).add(Restrictions.eq("securityRequired","Y")).list();

            for (Object o : generalinfoList)
            {
                Generalinfo currGenInfo = (Generalinfo)o;
                Request r = currGenInfo.getRequests().toArray(new Request[0])[0];
                requests.add(r);
            }
        }
    }
View Full Code Here

TOP

Related Classes of edu.bellevue.its.migration.entities.Generalinfo

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.