Package com.melitronic.domain.entity

Examples of com.melitronic.domain.entity.Team


        task.setName("Task 3.1.2 name");
        task.setEstimation(new Integer(8));
        task.setDescription("xxxxxxxx\nyyyyyyyyy");
        task.setTaskStatus(TaskStatus.NOT_STARTED);
       
            Team team = new Team();
            team.setName("Team 1");
            product.getTeam().add(team);
            team.getProduct().add(product);
            PmDeployment.instance().persist(team, em, context);
           
          Sprint sprint = new Sprint();
          sprint.setName("P1, Sprint 1");
          cal = GregorianCalendar.getInstance();
          cal.setTimeInMillis(System.currentTimeMillis() - (7*24*60*60*1000));
          sprint.setStartTime(cal);
          cal = GregorianCalendar.getInstance();
          cal.setTimeInMillis(System.currentTimeMillis() + (21*24*60*60*1000));
          sprint.setEndTime(cal);
          team.getSprint().add(sprint);
          sprint.setTeam(team);
          sprint.setDeployment(deployment);
          PmDeployment.instance().persist(sprint, em, context);
       
        ii = new ItemImplementation();
View Full Code Here


        // According JSF Converter spec
        throw new NullPointerException();
      }
      int index = value.indexOf("::");

      Team team = new Team();
      team.setName(value.substring(0,index));
      team.setId(new Long(value.substring(index + 2)));
      return team;
    }
View Full Code Here

    protected void clean() {
      allTeams = null;
      allPersons = null;
      selectedProduct = null;
      productTeams = null;
      selectedTeam = new Team();
      teamMembers = null;
      productDeployments = null;
      environments = null;
      selectedEnvironment = new Environment();
      selectedDeployment = DeploymentListItem.newDeployment();
View Full Code Here

  }

  public void setSelectedProduct(Product selectedProduct) {
    this.selectedProduct = selectedProduct;
    this.productTeams = null;
    this.selectedTeam = new Team();
    this.productDeployments = null;
    this.allTeams = null;
  }
View Full Code Here

public class PersonSelectViewCtrl extends AbstractExtendedDataTableViewCtrl {

  private static final long serialVersionUID = 2659763462406139869L;

  protected AbstractItemCollection getData() {
    Team selectedTeam =
      (Team)((PersonSelectUseCase)getUseCase()).getSelectedTeam();
   
    Collection<Person> coll = ((PersonSelectUseCase)getUseCase()).getTeamMemebers(selectedTeam);
    AbstractItemCollection resp = new AbstractItemCollection();
   
View Full Code Here

    return (ProductManagementUseCase)getUseCase();
  }
 
  private Team newTeam;
  public void selectedTeamNew() {
    newTeam = new Team();
  }
View Full Code Here

  public void setResponsiblePerson(Person responsiblePerson) {
    ((ProductDevelopmentUseCase)getUseCase()).setResponsiblePerson( responsiblePerson );
  }

  public Team getSelectedTeam() {
    Team team = ((ProductDevelopmentUseCase)getUseCase()).getSelectedTeam();
   
    if (team == null || team.getId() == null) {
      Collection<Team> teams = ((ProductDevelopmentUseCase)getUseCase()).getProductTeams();
      if (teams != null && teams.size() > 0) {
        team = teams.iterator().next();
        ((ProductDevelopmentUseCase)getUseCase()).setSelectedTeam(team);
      }
View Full Code Here

TOP

Related Classes of com.melitronic.domain.entity.Team

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.