Rev 1574 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1574 | Rev 1579 | ||
---|---|---|---|
Line 364... | Line 364... | ||
364 | JobScheduleService.getInstance().scheduleNow(emailJob,"Message Email (" + source + ":id " + id + ") from " + userSession.getUsername() + " as " + personFrom + " - subject:" + subject ,userSession); |
364 | JobScheduleService.getInstance().scheduleNow(emailJob,"Message Email (" + source + ":id " + id + ") from " + userSession.getUsername() + " as " + personFrom + " - subject:" + subject ,userSession); |
365 | } |
365 | } |
366 | } |
366 | } |
367 | 367 | ||
368 | 368 | ||
369 | /*** |
- | |
370 | * REPORTS ****************************** |
- | |
371 | */ |
- | |
372 | 369 | ||
373 | public void saveReportGroup(1.5.0/docs/api/java/lang/String.html">String title,1.5.0/docs/api/java/lang/String.html">String classType, UserSession userSession) throws 1.5.0/docs/api/java/lang/ClassNotFoundException.html">ClassNotFoundException, 1.5.0/docs/api/java/lang/IllegalAccessException.html">IllegalAccessException, 1.5.0/docs/api/java/lang/InstantiationException.html">InstantiationException |
- | |
374 | { |
- | |
375 | QuestionarioReportFileGroup reportFileGroup = (QuestionarioReportFileGroup) 1.5.0/docs/api/java/lang/Class.html">Class.forName(classType).newInstance(); |
- | |
376 | reportFileGroup.setTitle(title); |
- | |
377 | 1.5.0/docs/api/java/lang/String.html">String processorClassForGroup = ConfigProperties.getProperty("questionarios.processor." + classType); |
- | |
378 | reportFileGroup.setReportProcessorClass(processorClassForGroup); |
- | |
379 | AbstractDao.getCurrentSession().save(reportFileGroup); |
- | |
380 | } |
- | |
381 | 370 | ||
382 | } |
371 | } |