Package com.melitronic.domain.product.client

Examples of com.melitronic.domain.product.client.DmProduct


      return depl.getDomainDeployment(deployment);
     
  }

  public void store(Team team) {
    DmProduct dmProduct = DmProductFactory.instance().getClient(getCallContext());
    dmProduct.store(team, getCallContext());
    allTeams = null;
  }
View Full Code Here


    this.teamMembers = null;
  }

  public Collection<Person> getAllPersons() {
    if (allPersons == null) {
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      allPersons = dmProduct.findAllPersons(getCallContext());
    }
    return allPersons;
  }
View Full Code Here

  }
 
  public void updateTeamMembers(Collection<Person> persons) {
    if (selectedTeam != null && selectedTeam.getId() != null) {
      if (hasChanges(getSelectedTeamPersons(), persons)) {
        DmProduct dmProduct =
          DmProductFactory.instance().getClient(getCallContext());
   
        dmProduct.updateTeamPersons(selectedTeam, persons, getCallContext());
       
        allTeams = null;
        teamMembers = null;
        setSelectedTeam(selectedTeam);
      }
View Full Code Here

    }
    return coll;
  }
 
  public void store(Person person) {
    DmProduct dmProduct = DmProductFactory.instance().getClient(getCallContext());
    dmProduct.store(person, getCallContext());
    allPersons = null;
  }
View Full Code Here

      return true;
    }
  }
 
  public ImplementationPhase updateImplementationPhase(ImplementationPhase implementationPhase) {
    DmProduct dmProduct = DmProductFactory.instance().getClient(getCallContext());
    ImplementationPhase ip = dmProduct.store(implementationPhase ,getSelectedDeployment().getDomainDeployment(), getSelectedProduct(), getSelectedEnvironment(), getCallContext());
   
    return ip;
  }
View Full Code Here

 
  public List<AbstractEntity> getProductsDeployments() {
     
      if ( productsDeployments == null ) {
       
        DmProduct dmProduct =
          DmProductFactory.instance().getClient(getCallContext());
       
        Collection<Deployment> coll =
          dmProduct.findDeplyments((getProduct() != null ? getProduct().getId() : null), getCallContext());

        productsDeployments = new ArrayList<AbstractEntity>();
        for (Deployment depl : coll) {
          productsDeployments.add(depl);
        }
View Full Code Here

      return productsDeployments;
     
    }
   
    public Item getItemById(Long id) {
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
     
      Collection<Deployment> coll =
        dmProduct.findDeplyments((getProduct() != null ? getProduct().getId() : null), getCallContext());

      for (Deployment depl : coll) {
        Collection<Item> items = depl.getItems();
        for (Item item : items) {
          if (item.getId() != null && item.getId().longValue() == id.longValue() && id != null) {
View Full Code Here

    public void selectedDeploymentUpdate(com.melitronic.rmapp.model.Deployment deployment) {
      Deployment depl = getDeployment(deployment);
     
      boolean isNew = depl.getId() == null;
     
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      Deployment resp = dmProduct.store(depl, getProduct(), getCallContext());
     
      // haetaan kaikki uudestaa
      productsDeployments = null;
/*
      if (isNew) {
View Full Code Here

    public Sprint selectedSprintUpdate(com.melitronic.rmapp.model.Sprint sprint, Team team, Deployment deploymet) {
      Sprint spr = getSprint(sprint);
     
      boolean isNew = spr.getId() == null;
     
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      Sprint resp = dmProduct.store(spr, team, deploymet, getCallContext());
     
      // haetaan kaikki uudestaa
      initProductTeams();
     
      return resp;
View Full Code Here

      }
     
      boolean isNew = it.getId() == null;
     
      if (depl != null) {
        DmProduct dmProduct =
          DmProductFactory.instance().getClient(getCallContext());
        Item resp = dmProduct.store(it, depl, getCallContext());
       
        // haetaan kaikki uudestaa
        productsDeployments = null;
        initProductTeams();
      }
View Full Code Here

TOP

Related Classes of com.melitronic.domain.product.client.DmProduct

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.