Package beans.doctor.direction

Examples of beans.doctor.direction.Direction


        };
        List list = findEntityList(Direction.class, fields);
        List<DirectionDetails> res = new ArrayList<DirectionDetails>();
        Iterator i = list.iterator();
        while(i.hasNext()) {
            Direction j = (Direction) i.next();
            res.add(j.getDetails((RightChecker) this));
        }
        return res;
    }
View Full Code Here


       
        List list = findEntityList(Direction.class, f, "AND a.id not in (select b.direction.id from CommitteeDirection b )");
        List<DirectionDetails> res = new ArrayList<DirectionDetails>();
        Iterator i = list.iterator();
        while(i.hasNext()) {
            Direction j = (Direction) i.next();
            res.add(j.getDetails((RightChecker) this));
        }
        return res;
    }
View Full Code Here

    private void replaceCommitteeReason(DirectoryEntity entityWhat, DirectoryEntity entityWith) {
        //Direction
        List entityList = findEntityList(Direction.class, "committeeReason", entityWhat);
        for (int i = 0; i < entityList.size(); i++) {
            Direction d = (Direction) entityList.get(i);
            d.setCommitteeReason((CommitteeReason) entityWith);
            manager.merge(d);
        }
        removeEntity(entityWhat);
        manager.flush();
    }
View Full Code Here

TOP

Related Classes of beans.doctor.direction.Direction

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.