コード例 #1
0
 public Group getSelected() {
   if (current == null) {
     current = ejbFacade.newGroupInstance();
     selectedItemIndex = -1;
   }
   return current;
 }
コード例 #2
0
 public PageNavigation prepareCreate() {
   current = ejbFacade.newGroupInstance();
   selectedItemIndex = -1;
   return PageNavigation.CREATE;
 }
コード例 #3
0
 public SelectItem[] getItemsAvailableSelectOne() {
   return JsfUtil.getSelectItems(ejbFacade.getAll(), true);
 }
コード例 #4
0
 public SelectItem[] getItemsAvailableSelectMany() {
   return JsfUtil.getSelectItems(ejbFacade.getAll(), false);
 }