Subversion Repositories bacoAlunos

Rev

Rev 1579 | Rev 1586 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1579 Rev 1580
Line 32... Line 32...
32
        1.5.0/docs/api/java/lang/String.html">String processorClassForGroup = ConfigProperties.getProperty("questionarios.processor." + classType);
32
        1.5.0/docs/api/java/lang/String.html">String processorClassForGroup = ConfigProperties.getProperty("questionarios.processor." + classType);
33
        reportFileGroup.setReportProcessorClass(processorClassForGroup);
33
        reportFileGroup.setReportProcessorClass(processorClassForGroup);
34
        AbstractDao.getCurrentSession().save(reportFileGroup);
34
        AbstractDao.getCurrentSession().save(reportFileGroup);
35
    }
35
    }
36
 
36
 
37
    public QuestionarioReportFileGroupImpl runJobGenerate(long reportGroupId, UserSession session) throws NotAuthorizedException, 1.5.0/docs/api/java/lang/ClassNotFoundException.html">ClassNotFoundException {
37
    public void updateReportGroup(long reportGroupId, 1.5.0/docs/api/java/lang/String.html">String title, 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
38
 
38
    {
39
        QuestionarioReportFileGroupImpl reportGroup = (QuestionarioReportFileGroupImpl) DaoFactory.getQuestionarioReportFileGroupDaoImpl().load(reportGroupId);
39
        QuestionarioReportFileGroupImpl reportGroup = (QuestionarioReportFileGroupImpl) DaoFactory.getQuestionarioReportFileGroupDaoImpl().load(reportGroupId);
-
 
40
        reportGroup.setTitle(title);
-
 
41
    }
40
 
42
 
-
 
43
    public QuestionarioReportFileGroupImpl runJobGenerate(long reportGroupId,1.5.0/docs/api/java/lang/String.html">String title, UserSession session) throws NotAuthorizedException, 1.5.0/docs/api/java/lang/ClassNotFoundException.html">ClassNotFoundException {
-
 
44
 
-
 
45
        QuestionarioReportFileGroupImpl reportGroup = (QuestionarioReportFileGroupImpl) DaoFactory.getQuestionarioReportFileGroupDaoImpl().load(reportGroupId);
-
 
46
        reportGroup.setTitle(title);
41
        Set<JobServiceTaskParameter> paramsJob = new HashSet<JobServiceTaskParameter>();
47
        Set<JobServiceTaskParameter> paramsJob = new HashSet<JobServiceTaskParameter>();
42
 
48
 
43
        JobServiceTaskParameterImpl paramJob = DomainObjectFactory.createJobServiceTaskParameterImpl();
49
        JobServiceTaskParameterImpl paramJob = DomainObjectFactory.createJobServiceTaskParameterImpl();
44
        paramJob.setName(ServiceJob.JOB_questionario_report_id_KEY);
50
        paramJob.setName(ServiceJob.JOB_questionario_report_id_KEY);
45
        paramJob.setDescription("ID do Report Group");
51
        paramJob.setDescription("ID do Report Group");