예제 #1
0
 /**
  * Saves a filterCategoryBean in the database
  *
  * @param filterCategoryBean
  * @return
  */
 @Override
 public Integer save(TReportCategoryBean reportCategoryBean) {
   TReportCategory filterCategory;
   try {
     filterCategory = BaseTReportCategory.createTReportCategory(reportCategoryBean);
     filterCategory.save();
     return filterCategory.getObjectID();
   } catch (Exception e) {
     LOGGER.error("Saving of a filterCategory failed with " + e.getMessage());
     return null;
   }
 }