Rev 1814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1814 | Rev 1830 | ||
---|---|---|---|
Line 1921... | Line 1921... | ||
1921 | <chain name="Admins"/> |
1921 | <chain name="Admins"/> |
1922 | </filterChains> |
1922 | </filterChains> |
1923 | </service> |
1923 | </service> |
1924 | 1924 | ||
1925 | <!--Repository--> |
1925 | <!--Repository--> |
- | 1926 | ||
1926 | <service> |
1927 | <service> |
1927 | <name>StoreRepositoryFile</name> |
1928 | <name>StoreRepositoryFile</name> |
1928 | <implementationClass>pt.estgp.estgweb.services.data.RepositoryService</implementationClass> |
1929 | <implementationClass>pt.estgp.estgweb.services.data.RepositoryService</implementationClass> |
1929 | <description>Load student units</description> |
1930 | <description>Load student units</description> |
1930 | <isTransactional>false</isTransactional> |
1931 | <isTransactional>false</isTransactional> |
Line 1980... | Line 1981... | ||
1980 | <chain name="Session"/> |
1981 | <chain name="Session"/> |
1981 | <chain name="ResourceAccessControlVersion"/> |
1982 | <chain name="ResourceAccessControlVersion"/> |
1982 | </filterChains> |
1983 | </filterChains> |
1983 | </service> |
1984 | </service> |
1984 | 1985 | ||
- | 1986 | <!-- Repository Utils - Transactional Services --> |
|
- | 1987 | <service> |
|
- | 1988 | <name>StoreRepositoryFileFromFileUpload</name> |
|
- | 1989 | <implementationClass>pt.estgp.estgweb.services.data.RepositoryService</implementationClass> |
|
- | 1990 | <description>Load student units</description> |
|
- | 1991 | <isTransactional>true</isTransactional> |
|
- | 1992 | <defaultMethod>storeRepositoryFileFromFileUpload</defaultMethod> |
|
- | 1993 | <filterChains> |
|
- | 1994 | <chain name="Logger"/> |
|
- | 1995 | <chain name="Session"/> |
|
- | 1996 | <chain name="AuthenticatedUsers"/> |
|
- | 1997 | </filterChains> |
|
- | 1998 | </service> |
|
- | 1999 | <service> |
|
- | 2000 | <!--O identificador do file deve vir identificado com identifier--> |
|
- | 2001 | <name>ReplaceRepositoryFileFromFileUpload</name> |
|
- | 2002 | <implementationClass>pt.estgp.estgweb.services.data.RepositoryService</implementationClass> |
|
- | 2003 | <description>Load student units</description> |
|
- | 2004 | <isTransactional>true</isTransactional> |
|
- | 2005 | <defaultMethod>replaceRepositoryFileFromFileUpload</defaultMethod> |
|
- | 2006 | <filterChains> |
|
- | 2007 | <chain name="Logger"/> |
|
- | 2008 | <chain name="Session"/> |
|
- | 2009 | <chain name="AuthenticatedUsers"/> |
|
- | 2010 | <chain name="ResourceAccessControlEdit"/> |
|
- | 2011 | </filterChains> |
|
- | 2012 | </service> |
|
- | 2013 | ||
1985 | 2014 | ||
1986 | 2015 | ||
1987 | 2016 | ||
1988 | 2017 | ||
1989 | 2018 | ||
Line 3423... | Line 3452... | ||
3423 | </filterChains> |
3452 | </filterChains> |
3424 | </service> |
3453 | </service> |
3425 | 3454 | ||
3426 | 3455 | ||
3427 | 3456 | ||
- | 3457 | ||
3428 | <!--REPOSITORY DOCUMENTS--> |
3458 | <!--REPOSITORY DOCUMENTS--> |
3429 | 3459 | ||
3430 | 3460 | ||
3431 | <service> |
3461 | <service> |
3432 | <name>SaveRepositoryDocument</name> |
3462 | <name>SaveRepositoryDocument</name> |
Line 3854... | Line 3884... | ||
3854 | 3884 | ||
3855 | </filterChains> |
3885 | </filterChains> |
3856 | </service> |
3886 | </service> |
3857 | 3887 | ||
3858 | 3888 | ||
- | 3889 | ||
- | 3890 | ||
- | 3891 | <!--/****************************************************************************/ |
|
- | 3892 | /* COURSE REPORTS |
|
- | 3893 | /****************************************************************************/--> |
|
- | 3894 | ||
- | 3895 | ||
- | 3896 | ||
- | 3897 | <service> |
|
- | 3898 | <name>CreateDtpStatsTable4Course</name> |
|
- | 3899 | <implementationClass>pt.estgp.estgweb.services.courses.CourseReportServices</implementationClass> |
|
- | 3900 | <description> |
|
- | 3901 | @code codigo do curso |
|
- | 3902 | @year codigo do ano |
|
- | 3903 | Cria uma tabela em JSON da classe UnitsDtpTable |
|
- | 3904 | devolve a string |
|
- | 3905 | ||
- | 3906 | Usa o servico LoadCourseUnitDtpStats para recorrer a tabelas já existentes no BACO |
|
- | 3907 | </description> |
|
- | 3908 | <isTransactional>true</isTransactional> |
|
- | 3909 | <defaultMethod>createDtpStatsTable4Course</defaultMethod> |
|
- | 3910 | <filterChains> |
|
- | 3911 | <chain name="Logger"/> |
|
- | 3912 | </filterChains> |
|
- | 3913 | </service> |
|
- | 3914 | ||
- | 3915 | <service> |
|
- | 3916 | <name>CourseReportLoadUnitsCreateLearningResultsTable4Course</name> |
|
- | 3917 | <implementationClass>pt.estgp.estgweb.services.courses.CourseReportServices</implementationClass> |
|
- | 3918 | <description> |
|
- | 3919 | @code codigo do curso |
|
- | 3920 | @year codigo do ano |
|
- | 3921 | Cria uma tabela em JSON da classe UnitsLearningResultsTable |
|
- | 3922 | e preenche as seccoes das unidades no documento |
|
- | 3923 | devolve a string |
|
- | 3924 | ||
- | 3925 | Usa o servico LoadCourseEvaluationSections para recorrer a tabelas já existentes no BACO |
|
- | 3926 | </description> |
|
- | 3927 | <isTransactional>true</isTransactional> |
|
- | 3928 | <defaultMethod>loadUnitsAndCreateLearningResultsTables4Course</defaultMethod> |
|
- | 3929 | <filterChains> |
|
- | 3930 | <chain name="Logger"/> |
|
- | 3931 | </filterChains> |
|
- | 3932 | </service> |
|
- | 3933 | ||
- | 3934 | <!-- |
|
- | 3935 | PRECISO DE UM IMPORTAR NOVAMENTE TABELA DE RESULTADOS DE APRENDIZAGEM |
|
- | 3936 | Ha de ser um subservico do de cima que tem usar |
|
- | 3937 | o servico LoadCourseEvaluationSections novamente |
|
- | 3938 | ||
- | 3939 | PRECISO DE UM SERVICO PARA GERAR OS GRAFICOS DE APRENDIZAGEM |
|
- | 3940 | --> |
|
- | 3941 | ||
- | 3942 | <!--/****************************************************************************/ |
|
- | 3943 | /* SERVICOS WS-API TODO Seguranca em falta |
|
- | 3944 | /****************************************************************************/--> |
|
- | 3945 | ||
- | 3946 | <service> |
|
- | 3947 | <name>LoadCourseEvaluationSections</name> |
|
- | 3948 | <implementationClass>pt.estgp.estgweb.services.courses.CourseReportServices</implementationClass> |
|
- | 3949 | <description> |
|
- | 3950 | @code codigo do curso |
|
- | 3951 | @year codigo do ano |
|
- | 3952 | Carrega todas as unidades em classes CourseUnitSection onde consta informação do professor, codigo, ano, semestre |
|
- | 3953 | e consta ainda o CourseUnitEvaluation |
|
- | 3954 | devolve um json object com um elemento evaluation contendo um JSONArray como string |
|
- | 3955 | O conteudo do array são |
|
- | 3956 | classes CourseUnitSection está pronta a serializar em JSON implementa a JSONView |
|
- | 3957 | </description> |
|
- | 3958 | <isTransactional>true</isTransactional> |
|
- | 3959 | <defaultMethod>loadCourseEvaluationSections</defaultMethod> |
|
- | 3960 | <filterChains> |
|
- | 3961 | <chain name="Logger"/> |
|
- | 3962 | </filterChains> |
|
- | 3963 | </service> |
|
- | 3964 | ||
- | 3965 | <service> |
|
- | 3966 | <name>QuestionariosReportLoadReportUnidadesSalasJson</name> |
|
- | 3967 | <implementationClass>pt.estgp.estgweb.services.questionarios.QuestionariosReportsService</implementationClass> |
|
- | 3968 | <description> |
|
- | 3969 | Devolve uma tabela de Resumo das Respostas aos questionários pedagógicos |
|
- | 3970 | dado um periodo: S1, S2 em formato JSON que pode ser lido com o |
|
- | 3971 | deserializa da classe |
|
- | 3972 | pt.estgp.estgweb.services.questionarios.pedagogico.reportprocessors.utils.DataTable |
|
- | 3973 | </description> |
|
- | 3974 | <isTransactional>true</isTransactional> |
|
- | 3975 | <defaultMethod>loadReportUnidadesSalasJson</defaultMethod> |
|
- | 3976 | <filterChains> |
|
- | 3977 | <chain name="Logger"/> |
|
- | 3978 | </filterChains> |
|
- | 3979 | </service> |
|
- | 3980 | ||
- | 3981 | <service> |
|
- | 3982 | <name>LoadCourseUnitDtpStats</name> |
|
- | 3983 | <implementationClass>pt.estgp.estgweb.services.courses.CourseReportServices</implementationClass> |
|
- | 3984 | <description> |
|
- | 3985 | @code codigo do curso |
|
- | 3986 | @year codigo do ano |
|
- | 3987 | Carrega todas as estatisticas unidades em classes CourseUnitDtpStat onde consta informação do codigo, nome, semestre e um booleano por cada propriedade da unidade |
|
- | 3988 | devolve um json object com um elemento evaluation contendo um JSONArray como string |
|
- | 3989 | O conteudo do array são |
|
- | 3990 | classes CourseUnitDtpStat está pronta a serializar em JSON implementa a JSONView |
|
- | 3991 | </description> |
|
- | 3992 | <isTransactional>true</isTransactional> |
|
- | 3993 | <defaultMethod>loadCourseUnitDtpStats</defaultMethod> |
|
- | 3994 | <filterChains> |
|
- | 3995 | <chain name="Logger"/> |
|
- | 3996 | </filterChains> |
|
- | 3997 | </service> |
|
- | 3998 | ||
- | 3999 | ||
- | 4000 | ||
3859 | </serviceDefinitions> |
4001 | </serviceDefinitions> |
3860 | 4002 |