예제 #1
0
 public SelectItem[] getItemsAvailableSelectOne() {
   return JsfUtil.getSelectItems(ejbFacade.findAll(), true);
 }
예제 #2
0
 public Barrel getBarrel(int id) {
   return ejbFacade.find(id);
 }
예제 #3
0
 public SelectItem[] getItemsAvailableSelectMany() {
   return JsfUtil.getSelectItems(ejbFacade.findAll(), false);
 }