Package eu.planets_project.pp.plato.model

Examples of eu.planets_project.pp.plato.model.Organisation


            FacesMessages.instance().add(FacesMessage.SEVERITY_ERROR, "The uploaded file is not a valid Freemind mindmap. Maybe it is corrupted?");

            return;
        }
       
        Organisation org = user.getOrganisation();
       
        if (org == null) {
            org = new Organisation();
            user.setOrganisation(org);
        }
       
        org.setPolicyTree(newtree);
    }
View Full Code Here


       
        org.setPolicyTree(newtree);
    }
   
    public void removePolicyTree() {
        Organisation org = user.getOrganisation();
       
        if (org != null) {
            org.setPolicyTree(null);
        }
    }
View Full Code Here

            org.setPolicyTree(null);
        }
    }
   
    public String save() {
        Organisation org = user.getOrganisation();
       
        // nothing to save
        if (org == null) {
            return "";
        }
       
        if (org.getId() == 0) {
            em.persist(org);
        }
       
        em.persist(em.merge(user));
       
View Full Code Here

TOP

Related Classes of eu.planets_project.pp.plato.model.Organisation

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.