public void create() {
   persist(
       PersistAction.CREATE,
       ResourceBundle.getBundle("/Bundle").getString("CmpRfTiporequisicionCreated"));
   if (!JsfUtil.isValidationFailed()) {
     items = null; // Invalidate list of items to trigger re-query.
   }
 }
 public void destroy() {
   persist(
       PersistAction.DELETE,
       ResourceBundle.getBundle("/Bundle").getString("CmpRfTiporequisicionDeleted"));
   if (!JsfUtil.isValidationFailed()) {
     selected = null; // Remove selection
     items = null; // Invalidate list of items to trigger re-query.
   }
 }