public ReportCategoryFrm searchDataByPrimaryKey() throws QueryException { ReportCategoryFrm frm = (ReportCategoryFrm) searchDAO.searchDTOByPrimaryKey(); try { if (frm != null) { produceWebComponent(frm); } } catch (WebException ex) { ex.printLog(); throw new QueryException(ex); } return frm; }