Package net.sf.pmr.agilePlanning.service

Examples of net.sf.pmr.agilePlanning.service.ReleaseService.findByProjectPersistanceId()


       
        // Afficher le nombre de release
        int numberOfRelease = 0;
        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
        if (myWorkspaceForm.getProjectId() > 0) {
           numberOfRelease = releaseService.findByProjectPersistanceId(myWorkspaceForm.getProjectId()).size();
        }
        request.setAttribute("basicProject.numberOfRelease", Integer.valueOf(numberOfRelease));               

  }
 
View Full Code Here


        // get the  service
        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
       
        // list the releases for the current project
        Set<Release> releases = releaseService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue());
       
        Set<ReleaseView> releasesView = new HashSet<ReleaseView>();

        // copy the properties from the release to the view
        for (Release release : releases) {
View Full Code Here

           
        }
       
        // populate the release list box
        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
        Set<Release> releases = releaseService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue());
        // Ajout d'un ligne vide
        Release release = new ReleaseImpl();
        release.setProject(null);
        release.setDate(null);
        release.setNumber("-");
View Full Code Here

        IterationService iterationService = AgilePlanningObjectFactory.getIterationService();
        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
       
        request.setAttribute("numberOfStory", new Integer(storyService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
        request.setAttribute("numberOfIteration", new Integer(iterationService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
        request.setAttribute("numberOfRelease", new Integer(releaseService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
       
    }

   
    /**
 
View Full Code Here

        request.setAttribute("numberOfIteration", new Integer(
            iterationService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
       
        // number of release
        request.setAttribute("numberOfRelease", new Integer(
            releaseService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));

    }

}
View Full Code Here

        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
       
       
        request.setAttribute("numberOfStory", new Integer(storyService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
        request.setAttribute("numberOfIteration", new Integer(iterationService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
        request.setAttribute("numberOfRelease", new Integer(releaseService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
       
    }
   
   
   
View Full Code Here

           
        }
       
        // populate the release list box
        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
        Set<Release> releases = releaseService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue());
        // Ajout d'un ligne vide
        Release release = new ReleaseImpl();
        release.setProject(null);
        release.setDate(null);
        release.setNumber("-");
View Full Code Here

        IterationService iterationService = AgilePlanningObjectFactory.getIterationService();
        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
       
        request.setAttribute("numberOfStory", new Integer(storyService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
        request.setAttribute("numberOfIteration", new Integer(iterationService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
        request.setAttribute("numberOfRelease", new Integer(releaseService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
       
    }

   
    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.