public ICFile getCommentAttachment(String icFileId) { try { ICFileHome fileHome = getFileHome(); return fileHome.findByPrimaryKey(icFileId); } catch (Exception e) { LOGGER.log(Level.WARNING, "Error getting ICFile: " + icFileId, e); } return null; }