Examples of findByPersistanceId()


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

      // 3. Enfin, on appel le service de suppression
        ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
       
        // TODO : recupérer la persistanveVersion dans la request !!!
       
        Release release = releaseService.findByPersistanceId(Integer.parseInt(request.getParameter("releasePersistanceId")));
       
        long persistanceVersion = release.getPersistanceVersion();
       
       
        // ajout
View Full Code Here

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

        // get the service
      ReleaseService releaseService = AgilePlanningObjectFactory.getReleaseService();
     
        // list the stories for the release
      Release release = releaseService.findByPersistanceId(Integer.parseInt((String) request.getParameter("releasePersistanceId")));
     
      // build the set of storyViews
      Set<StoryView> storyViews = this.buildStoryViewsFromStories(release.getStories());
     
        // put the storyViews in the request
View Full Code Here

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

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);
       
       
        int numberOfTask = Integer.valueOf(story.getTasks().size());
        int numberOfTaskInProgress = 0;
        int numberOfTaskCompleted = 0;
View Full Code Here

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

        // 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

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

        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

Examples of net.sf.pmr.core.service.ProjectService.findByPersistanceId()

     */
    private void populateListBox(final HttpServletRequest request) {
       
        // get the list of developper for the project to populate the listBox
        ProjectService projectService = CoreObjectFactory.getProjectService();
        Project basicProject = projectService.findByPersistanceId(((Integer) request.getSession()
                                                                                              .getAttribute("basicProject.persistanceId")).intValue());
        Set<User> members = basicProject.getMembers();
        // ajout d'une ligne vide
        User user = new UserImpl();
        user.setCompany(null);
View Full Code Here

Examples of net.sf.pmr.core.service.ProjectService.findByPersistanceId()

    // find the basicProject, if a project is needed
    if (StringUtils.isNotEmpty((String) request
        .getParameter("persistanceId"))) {

      return projectService
          .findByPersistanceId(Integer.parseInt(request.getParameter(
              "persistanceId").toString()));

    } else {
      // else return null
View Full Code Here

Examples of net.sf.pmr.core.service.UserService.findByPersistanceId()

    UserService userService = CoreObjectFactory.getUserService();
   
    // find the user ... if needed
        if (StringUtils.isNotEmpty( (String) request.getParameter("persistanceId"))) {

            User user = userService.findByPersistanceId(Integer.parseInt(request.getParameter("persistanceId").toString()));
           
            // Populate the form
            UserForm userForm = (UserForm) form;
           
            userForm.setFirstName(user.getFirstName());
View Full Code Here

Examples of net.sf.pmr.toDo.service.ToDoService.findByPersistanceId()

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

            ToDo toDo = toDoService.findByPersistanceId(Integer.parseInt((String) request.getParameter("persistanceId")));

            // populate the form
            ToDoForm toDoForm = (ToDoForm) form;

            toDoForm.setDate(toDo.getDate());
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.