Package eu.planets_project.pp.plato.model

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


    private void storeProjects(List<Plan> plans) {
        /*
         * store all projects
         */
        while(!plans.isEmpty()) {
            Plan plan = plans.get(0);
            em.persist(plan);
            em.flush();
           
            plans.remove(plan);
            plan = null;
View Full Code Here


    public String createProject() {

        // unlock current project, if there is one
        loadPlan.unlockProject();

        selectedPlan = new Plan();
        selectedPlan.getPlanProperties().setAuthor(user.getFullName());
        selectedPlan.getPlanProperties().setPrivateProject(true);
        selectedPlan.getPlanProperties().setOwner(user.getUsername());

        // We have to prevent the user from navigating to the step 'Load plan'
View Full Code Here

TOP

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

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.