Package net.sf.pmr.agilePlanning.service

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


       
        // Afficher le nombre d'iteration
        int numberOfIteration = 0;
        IterationService iterationService = AgilePlanningObjectFactory.getIterationService();
        if (myWorkspaceForm.getProjectId() > 0) {
            numberOfIteration = iterationService.findByProjectPersistanceId(myWorkspaceForm.getProjectId()).size();
        }
        request.setAttribute("basicProject.numberOfIteration", Integer.valueOf(numberOfIteration));
       
        // Afficher le nombre de release
        int numberOfRelease = 0;
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

        // get the  service
        IterationService iterationService = AgilePlanningObjectFactory.getIterationService();

        // list the stories for the current project
        Set<Iteration> iterations = iterationService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue());
       
        // mise dans la request de la liste des view.
        request.setAttribute("iterationList", this.buildIterationViewsFromIterations(iterations));
   
        // populate summary
View Full Code Here

        StoryService storyService = AgilePlanningObjectFactory.getStoryService();
        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("numberOfStory", new Integer(storyService
                .findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue()).size()));
       
        // number of iteration
        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

        // get the  service
        IterationService iterationService = AgilePlanningObjectFactory.getIterationService();

        // list the stories for the current project
        Set<Iteration> iterations = iterationService.findByProjectPersistanceId(((Integer) request.getSession().getAttribute("basicProject.persistanceId")).intValue());
       
        // mise dans la request de la liste des view.
        request.setAttribute("iterationList", this.buildIterationViewsFromIterations(iterations));
   
        // populate summary
View Full Code Here

        StoryService storyService = AgilePlanningObjectFactory.getStoryService();
        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.