Package net.sf.pmr.agilePlanning.service

Examples of net.sf.pmr.agilePlanning.service.StoryService.findByPersistanceId()


            persistanceId = Integer.parseInt(request.getParameter("storyPersistanceId"));
        } else if (StringUtils.isNotEmpty((String)request.getAttribute("storyPersistanceId"))) {
            persistanceId = Integer.parseInt((String)request.getAttribute("storyPersistanceId"));
        }
       
        Story story = storyService.findByPersistanceId(persistanceId);

        // put the tasks in the request
        request.setAttribute("taskList", story.getTasks());

        // populate summary
View Full Code Here


            persistanceId = Integer.parseInt(request.getParameter("storyPersistanceId"));
        } else if (StringUtils.isNotEmpty((String)request.getAttribute("storyPersistanceId"))) {
            persistanceId = Integer.parseInt((String)request.getAttribute("storyPersistanceId"));
        }

        Story story = storyService.findByPersistanceId(persistanceId);
       
       
        int numberOfTask = Integer.valueOf(story.getTasks().size());
        int numberOfTaskInProgress = 0;
        int numberOfTaskCompleted = 0;
View Full Code Here

        // find the Story... if needed
        if (StringUtils.isNotEmpty((String) request
                .getParameter("persistanceId"))) {

            Story story = storyService.findByPersistanceId(Integer
                    .parseInt((String) request.getParameter("persistanceId")));

            // populate the form
            StoryForm storyForm = (StoryForm) form;
View Full Code Here

        StoryService storyService = AgilePlanningObjectFactory.getStoryService();

        request.setAttribute("numberOfCharge", Integer.valueOf(storyService.findTaskByPersistanceId(taskPersistanceId).getCharges().size()) );
        request.setAttribute("storyPersistanceId", storyPersistanceId);
        request.setAttribute("taskPersistanceId", taskPersistanceId);
        request.setAttribute("story.shortDescription", storyService.findByPersistanceId(storyPersistanceId).getShortDescription());
        request.setAttribute("task.shortDescription", storyService.findTaskByPersistanceId(taskPersistanceId).getShortDescription());
       

    }
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.