Package com.melitronic.domain.product.client

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


    callcontext = c;
  }
 
  public String alustaData() {
   
    DmProduct dmProduct =
      DmProductFactory.instance().getClient(getCallContext());
    dmProduct.generateTestData(getCallContext());
   
    return null;
  }
View Full Code Here


      clean();
    }

  public Collection<Environment> getEnvironments() {
    if (environments == null) {
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      environments = dmProduct.findAllEnvironments(getCallContext());
    }
    return environments;
  }
View Full Code Here

    this.productDeployments = null;
    this.allTeams = null;
  }

  public List<com.melitronic.domain.entity.Product> findAllProducts() {
    DmProduct dmProduct =
      DmProductFactory.instance().getClient(getCallContext());
    return dmProduct.findAllProducts(getCallContext());
  }
View Full Code Here

  }
 
  public Collection<Team> getProductTeams() {
    if (productTeams == null) {
      if (selectedProduct != null && selectedProduct.getId() != null) {
        DmProduct dmProduct =
          DmProductFactory.instance().getClient(getCallContext());
        productTeams = dmProduct.findTeams(selectedProduct.getId(), getCallContext());
      }
      else {
        return new ArrayList<Team>();
      }
    }
View Full Code Here

    productTeams = null;
  }
 
  public Collection<Deployment> getProductDeployments() {
    if (getSelectedProduct() != null && productDeployments == null) {
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      productDeployments = dmProduct.findDeplyments(selectedProduct.getId(), getCallContext());
    }
   
    return productDeployments;
  }
View Full Code Here

    return productDeployments;
  }
 
  public Collection<ImplementationPhase> getImplementationPhases(DeploymentListItem deployment) {
    if (deployment != null && deployment.getId() != null) {
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      return dmProduct.getImplementationPhases(deployment.getId(), getCallContext());
    }
   
    return new ArrayList<ImplementationPhase>();
  }
View Full Code Here

    return new ArrayList<ImplementationPhase>();
  }
 
  public Collection<Team> getAllTeams() {
    if (allTeams == null) {
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      allTeams = dmProduct.findAllTeams(getCallContext());
    }
    return allTeams;
  }
View Full Code Here

  }
 
  public void updateProductTeams(Collection<Team> teams) {
    if (selectedProduct != null && selectedProduct.getId() != null) {
      if (hasChanges(selectedProduct.getTeam(), teams)) {
        DmProduct dmProduct =
          DmProductFactory.instance().getClient(getCallContext());
   
        dmProduct.updateProductTeams(selectedProduct, teams, getCallContext());
       
        selectedProduct.setTeam(teams);
        setSelectedProduct(selectedProduct);
        productTeams = null;
      }
View Full Code Here

    }
  }
 
  public void updateProduct() {
    if (getSelectedProduct() != null) {
      DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
      setSelectedProduct(dmProduct.store(getSelectedProduct(), getCallContext()));
    }
  }
View Full Code Here

  }
 
  public Deployment updateDeployment(DeploymentListItem depli) {
    Deployment deployment = getDeployment(depli);
     
    DmProduct dmProduct =
        DmProductFactory.instance().getClient(getCallContext());
     
    Deployment resp = dmProduct.store(deployment, getSelectedProduct(), getCallContext());
   
    productDeployments = null;
   
    return resp;
  }
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.