Package beans.directory.district.entity

Examples of beans.directory.district.entity.District


    @Override
    public void updateDistricts(HashSet<String> districtList) {
        HashSet<String> set = loadDirectory(District.class);
        for (String title : districtList) {
            if (!set.contains(title)) {
                District entity = new District();
                entity.setTitle(title);
                manager.persist(entity);
                set.add(entity.getTitle());
            }
        }
    }
View Full Code Here


        return UserRightsSet.WRITE_CLINIC_ADMIN_DIRECTORY;
    }

    @Override
    protected void set(District entity, DistrictDetails details) throws ClipsServerException {
        District district = entity;
        DistrictDetails d = details;
        district.setTitle(d.title);
        district.setLpu(findEntity(Lpu.class, details.lpu));
    }
View Full Code Here

TOP

Related Classes of beans.directory.district.entity.District

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.