Package net.sourceforge.jivalo.fw.webapp.ui

Examples of net.sourceforge.jivalo.fw.webapp.ui.AbstractItemCollection


 
  protected AbstractItemCollection getData() {
   
    Collection<com.melitronic.domain.entity.Team> teams = getUC().getProductTeams();
   
    AbstractItemCollection resp = new AbstractItemCollection();
   
    for (com.melitronic.domain.entity.Team p : teams) {
      resp.add(new Team(p));
    }
   
    return resp;
  }
View Full Code Here


  protected AbstractItemCollection getData() {
    Team selectedTeam =
      (Team)((PersonSelectUseCase)getUseCase()).getSelectedTeam();
   
    Collection<Person> coll = ((PersonSelectUseCase)getUseCase()).getTeamMemebers(selectedTeam);
    AbstractItemCollection resp = new AbstractItemCollection();
   
    resp.add(Person.getDummyPerson());
    for (Person p : coll) {
      resp.add(p);
    }
   
    return resp;
  }
View Full Code Here

 
  protected AbstractItemCollection getData() {
   
    if (getUC().getSelectedProduct() == null) {
      addErrorMessage("Product not selected");
      return new AbstractItemCollection();
    }

    if (getUC().getSelectedDeployment() == null) {
      addErrorMessage("Deployment not selected");
      return new AbstractItemCollection();
    }

    Collection<com.melitronic.domain.entity.ImplementationPhase> ImplementationPhases = getUC().getImplementationPhases(getUC().getSelectedDeployment());
   
    AbstractItemCollection resp = new AbstractItemCollection();
   
    for (com.melitronic.domain.entity.ImplementationPhase d : ImplementationPhases) {
      resp.add(new ImplementationPhase(d));
    }
   
    return resp;
  }
View Full Code Here

  protected AbstractItemCollection getData() {
   
    Collection<com.melitronic.domain.entity.Team> teams = getUC().getProductTeams();
   
    AbstractItemCollection resp = new AbstractItemCollection();
   
    for (com.melitronic.domain.entity.Team t : teams) {
      resp.add(new Team(t));
    }
   
    return resp;
  }
View Full Code Here

  protected AbstractItemCollection getData() {
   
    if (getUC().getSelectedProduct() == null) {
      addErrorMessage("Product not selected");
      return new AbstractItemCollection();
    }

    Collection<com.melitronic.domain.entity.Deployment> deployments = getUC().getProductDeployments();
   
    AbstractItemCollection resp = new AbstractItemCollection();
   
    for (com.melitronic.domain.entity.Deployment d : deployments) {
      resp.add(new DeploymentListItem(d));
    }
   
    return resp;
  }
View Full Code Here

 
  protected AbstractItemCollection getData() {
   
    List<com.melitronic.domain.entity.Product> products = getUC().findAllProducts();
   
    AbstractItemCollection resp = new AbstractItemCollection();
   
    for (com.melitronic.domain.entity.Product p : products) {
      resp.add(new Product(p));
    }
   
    return resp;
  }
View Full Code Here

    Collection<com.melitronic.domain.entity.Action> coll =
      getUseCase() instanceof IssueManagementUseCase ?
          ((IssueManagementUseCase)getUseCase()).getSelectedIssuesActions() :
          ((ProductDevelopmentUseCase)getUseCase()).getSelectedIssuesActions();
   
    AbstractItemCollection resp = new AbstractItemCollection();
   
    for (com.melitronic.domain.entity.Action a : coll) {
      resp.add(new Action(a));
    }
   
    return resp;
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.jivalo.fw.webapp.ui.AbstractItemCollection

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.