Package beans.user.job.entity

Examples of beans.user.job.entity.DangerJobDetails


        Iterator list = findEntityList(DangerJob.class, "key.job", jobId).iterator();
        Set<DangerJobDetails> res = new HashSet<DangerJobDetails>();
        while (list.hasNext()) {
            DangerJob ds = (DangerJob) list.next();
            DangerJobDetails chunk = new DangerJobDetails();
            chunk.jobId = jobId;
            chunk.dangerId = ds.getKey().getDanger();
            chunk.lastExam = ds.getLastExam();
            chunk.lastExamManually = ds.isExamManually();
            res.add(chunk);
View Full Code Here


        @Override
        protected void loadDB() throws Exception {
            if (!isNewlyCreated()){
                Iterator<DangerJobDetails> it = getBean().getDangerList().iterator();
                while (it.hasNext()) {
                    DangerJobDetails djd = it.next();
                    DangerExamChunk chunk = new DangerExamChunk(djd);
                    initByDetails(chunk);
                }
            }
        }
View Full Code Here

            DirectoryDialogDefault ddd = new DirectoryDialogDefault(this, true, null, directoryDanger.getDirectoryTitle(), directoryDanger);
            ddd.setVisible(true);
            if (ddd.getDlgResult() == ModalDialog.DLG_OK) {
                Selector s = ddd.getSelectedItems();
                for (int i = 0; i < s.size(); i++) {
                    DangerJobDetails djd = new DangerJobDetails();
                    DirectoryDangerItem ddi = (DirectoryDangerItem)s.get(i);
                    djd.dangerId = ddi.getID();
                    djd.jobId = jobLocal.getID();
                    DangerExamChunk chunk = new DangerExamChunk(djd);
                    System.out.println("create DANGER CHUNK, job: " + chunk.getDetails().jobId);
View Full Code Here

TOP

Related Classes of beans.user.job.entity.DangerJobDetails

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.