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;
}