public Group getSelected() {
   if (current == null) {
     current = ejbFacade.newGroupInstance();
     selectedItemIndex = -1;
   }
   return current;
 }
 public PageNavigation prepareCreate() {
   current = ejbFacade.newGroupInstance();
   selectedItemIndex = -1;
   return PageNavigation.CREATE;
 }
 public SelectItem[] getItemsAvailableSelectOne() {
   return JsfUtil.getSelectItems(ejbFacade.getAll(), true);
 }
 public SelectItem[] getItemsAvailableSelectMany() {
   return JsfUtil.getSelectItems(ejbFacade.getAll(), false);
 }