1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| import java.util.List;
import org.zakoura.commun.view.AbstractPageBean;
import org.zakoura.ga.business.model.managers.BusinessInterface;
import com.qlogic.commons.kernel.KernelException;
import com.qlogic.commons.platform.ServiceExecutionException;
public class PersonnesBean extends AbstractPageBean {
private List articles;
public PersonnesBean() throws KernelException, ServiceExecutionException {
.....
}
if (articles == null) {
articles = new ArrayList();
BusinessInterface bi = new BusinessInterface();
articles = bi.getListeArticles();
}
}
public String testAction() {
return Constants.OUT_COME_TEST;
}
public List getArticles() {
return articles;
}
public void setArticles(List articles) {
this.articles = articles;
}
} |
Partager