Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1618 → Rev 1623

/branches/v3/impl/conf/language/MessageResources.properties
53,6 → 53,7
# -- other --
errors.cancel=Operation cancelled.
errors.detail={0}
errors.widget.example.msg.com.nome=Exemplo de Mensagem do Widget Ajax Json para o nome {0}
errors.widget.example.msg=Exemplo de Mensagem do Widget Ajax Json
errors.widget.example.msg2=Exemplo de Segunda Mensagem do Widget Ajax Json
errors.widget.example.error=Exemplo de Mensagem de Erro do Widget Ajax Json
/branches/v3/impl/conf/WEB-INF/tlds/jomm.tld
95,7 → 95,6
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
MessageConfigPropertiesTag
<tag>
<name>messageConfigKey</name>
<tagclass>jomm.web.tags.MessageConfigPropertiesTag</tagclass>
/branches/v3/impl/conf/WEB-INF/tags/vfs/aclcontrol.tag
New file
0,0 → 1,386
<%@ tag import="pt.estgp.estgweb.domain.PageContentImpl" %>
<%@ tag import="pt.estgp.estgweb.web.filters.UserRoleProxy" %>
<%@ tag import="java.util.List" %>
<%@tag description="Tag Control ACL Permissions" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %>
<%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %>
<%@attribute name="json" type="java.lang.String" required="true" %>
<%@attribute name="inputId" type="java.lang.String" required="true" %>
 
<div id="aclModule" ng-app="aclModule" ng-controller="aclModuleController">
TEXT AREA DENTRO DO MODULO
<textarea class="form-control" id="inputJsonAclInside" rows="5" style="width: 100%">
{{${json}}}
</textarea>
 
<script>
//DECLARACAO DA APLICACAO LOCAL EM ANGULAR
var aclModule = angular.module('aclModule', []);
GLOBAL_BacoAngularAppDependencies.push('aclModule');
aclModule.controller('aclModuleController', function($scope) {
 
$scope.newAcl = {
"id" : "",
"operation" : "",
"type" : "",
"access" : ""
};
 
$scope.jsonAcl = ${JSON_ACL_INPUT};
 
//variavel para a pesquisa de users
$scope.findUser = [];
 
$scope.removeAllUsers = function()
{
$scope.findUser = [];
}
 
$scope.sendInputClose = function()
{
 
$("#${inputId}").val(JSON.stringify($scope.jsonAcl));
}
 
/*
$scope.removeFileFromModel = function(tmpName)
{
for(var i in $scope.uploadedFiles)
{
if($scope.uploadedFiles[i].tmpName == tmpName)
{
$scope.uploadedFiles.splice(i,1);
}
}
}*/
 
$scope.removeRow = function(index)
{
$scope.jsonAcl.splice(index,1);
}
 
$scope.translateId = function(index)
{
obj = $scope.jsonAcl[index];
if(obj.type == "ROLE")
{
<%
List<String> roles = UserRoleProxy.getUserRoles();
request.setAttribute("roles",roles);
%>
<logic:iterate id="r" name="roles">
if(obj.id == "${r}")
{
return "<bean:message key="user.role.${r}"/>";
}
</logic:iterate>
 
}
else if(obj.type=="USER")
{
widgetCallWithActionParameters(
'<%=request.getContextPath()%>/user/json/model.do',
'getUserForUsername',
{
q : obj.id
}
,
$("#aclModule"),
function(response)
{
$("#trans" + index).html(response.name);
});
 
return "Aguarde...";
}
 
}
$scope.setUsername = function(user)
{
$scope.newAcl.id = user.username;
$scope.findUser = [];
$("#nomeDoUserEscolhido").html(user.name);
}
$scope.addRow = function()
{
var id = "";
if($scope.newAcl.type == "ROLE")
{
id = $("#sss option:selected").val();
}
else if($scope.newAcl.type == "USER")
{
id = $scope.newAcl.id;
}
$scope.jsonAcl.push(
{
"id" : id,
"operation" : $scope.newAcl.operation,
"type" : $scope.newAcl.type,
"access" : $scope.newAcl.access
}
);
 
}
});
 
 
</script>
 
<script language="javascript">
 
$(document).ready(function(){
//$( "#personsResults").css({ left: $("#queryTd").position().left, top: $("#queryTd").position().top + 30}).show();
});
 
 
function searchPersons()
{
 
widgetCallWithActionParameters(
'<%=request.getContextPath()%>/user/json/model.do',
'findUser',
{
q : $('#queryTd').val()
}
,
$("#aclModule"),
function(response)
{
angular.element($("#aclModule")).scope().findUser = response.results;
angular.element($("#aclModule")).scope().$apply();
setTimeout(function() { evaluateTableSortersInside("#personsResults"); }, 500);
 
//evaluateTableSortersInside("#personsResults");
},
function(response)
{
alert("Accao Falhou mas as resposta foi esta: " + JSON.stringify(response));
});
 
}
 
</script>
<div class="web-messages"></div>
 
 
 
 
<input type="text" id="id" ng-model="newAcl.id"/>
 
<div ng-show="newAcl.type=='USER'">
<div class="form-group">
<label class="col-md-2">Utilizador Escolhido</label>
</div>
<div class="col-md-6" id="nomeDoUserEscolhido">
 
</div>
</div>
 
<style>
table.tableAclInputs td {
background-color: linen;
padding: 12px 12px 12px 12px;
}
table.tableAclInputs {
width: 100%;
}​
</style>
<table class="tableAclInputs">
<tr>
<th>
Tipo Permissão
</th>
<th ng-show="newAcl.type=='USER'">
Utilizador
</th>
</tr>
<tr>
<td>
<select ng-model="newAcl.type">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Type type: PageContentImpl.Acl.Type.values())
{
request.setAttribute("type",type);
%>
<option value="${type}"><bean:message key="acl.type.${type}"/></option>
<%
}
%>
</select>
</td>
<td ng-show="newAcl.type=='USER'">
<div class="input-group">
<input type="text" id="queryTd" class="form-control" placeholder="Pesquisar...">
<span class="input-group-btn">
<button class="btn btn-secondary" type="button" onclick="searchPersons();return false;"><span class="glyphicon glyphicon-search"/></button>
</span>
</div>
<div ng-show="findUser.length > 0" class="clearfix" id="personsResults" style="position: absolute; background-color: gray;border: 1px solid gray;z-index: 1000;">
 
<div class="clearfix" style="padding:0">
<table class="tablesorter-blue" style="margin:0">
<thead>
<tr>
<th>Nome</th>
<th>Tipo</th>
<th>Código</th>
<th><button ng-click="removeAllUsers()" type="button" class="btn btn-danger btn-xs pull-right clearfix"><span class="glyphicon glyphicon-remove"/></button></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="f in findUser">
<td>{{f.name}}</td>
<td ng-if="f.type == 'student'">
Estudante
</td>
<td ng-if="f.type == 'teacher'">
Professor
</td>
<td ng-if="f.type != 'teacher' && f.type != 'student'">
User
</td>
<td>{{f.sigesCode}}</td>
<td>
<button type="button" class="btn btn-success btn-xs" ng-click="setUsername(f)">
<span class="glyphicon glyphicon-plus"/>
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</td>
 
</tr>
 
</table>
 
 
 
 
 
 
<div ng-show="newAcl.type=='ROLE'">
<div class="form-group">
<label class="col-md-2">Papel Institucional</label>
</div>
<div class="col-md-6">
<select id="sss">
 
<logic:iterate id="r" name="roles">
<option value="${r}"><bean:message key="user.role.${r}"/></option>
</logic:iterate>
</select>
</div>
</div>
 
OPERACAO:
<select ng-model="newAcl.operation">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Operation op: PageContentImpl.Acl.Operation.values())
{
request.setAttribute("op",op);
%>
<option value="${op}"><bean:message key="acl.operation.${op}"/></option>
<%
}
%>
</select>
 
 
Acesso:
<select ng-model="newAcl.access">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Access access: PageContentImpl.Acl.Access.values())
{
request.setAttribute("access",access);
%>
<option value="${access}"><bean:message key="acl.access.${access}"/></option>
<%
}
%>
</select>
 
<input type="button" value="Add" class="btn btn-primary" ng-click="addRow()"/>
 
 
<table class="tablesorter-blue">
<thead>
<tr>
<th>INDEX</th>
<th>ID</th>
<th>Operação</th>
<th>Tipo</th>
<th>Acesso</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="acl in jsonAcl track by $index">
<td>
{{ $index }}
</td>
<td id="{{'trans' + $index}}">
{{ translateId($index) }}
</td>
<td>
<select class="chosenOff" ng-model="acl.operation">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Operation op: PageContentImpl.Acl.Operation.values())
{
request.setAttribute("op",op);
%>
<option value="${op}"><bean:message key="acl.operation.${op}"/></option>
<%
}
%>
</select>
</td>
<td>
<select class="chosenOff" ng-model="acl.type">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Type type: PageContentImpl.Acl.Type.values())
{
request.setAttribute("type",type);
%>
<option value="${type}"><bean:message key="acl.type.${type}"/></option>
<%
}
%>
</select>
</td>
<td>
<select class="chosenOff" ng-model="acl.access">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Access access: PageContentImpl.Acl.Access.values())
{
request.setAttribute("access",access);
%>
<option value="${access}"><bean:message key="acl.access.${access}"/></option>
<%
}
%>
</select>
</td>
<td>
<input type="button" value="Remove" class="btn btn-primary" ng-click="removeRow($index)"/>
</td>
</tr>
</tbody>
</table>
<button class="btn btn-success" ng-click="sendInputClose()">Confirmar</button>
</div>
 
/branches/v3/impl/conf/app.properties
879,7 → 879,7
#questionario.instituition.6=
 
 
questionario.intro.text=<div><div style="text-align: center;"><font size="4">COMISSÃO PEDAGÓGICA</font></div><div style="text-align: center;">{0}</div><div style="text-align: center;"><font size="4">QUESTIONÁRIO DE AVALIAÇÃO UNIDADES CURRICULARES NAS ESCOLAS SUPERIORES DO IPP (ESTUDANTES)</font></div></div><div><br></div><div>ATENÇÃO:&nbsp;</div><div><ul><li><span style="line-height: 1.42857;">Os/As estudantes que respondam a uma unidade curricular de Estágio, Projeto, Ensino Clínico ou Prática de Ensino Supervisionada, consoante o curso que frequentam, deverão apenas responder aos blocos iniciais e no final deverá optar pelo 4 ou 5 deste questionário.&nbsp;</span></li><li><span style="line-height: 1.42857;">A resposta a outras Unidades Curriculares faz-se respondendo às questões dos blocos 1, 2 e 3.</span></li></ul></div>
questionario.intro.text=<div><div style="text-align: center;"><font size="4">COMISSÃO PEDAGÓGICA</font></div><div style="text-align: center;">Janeiro 2017</div><div style="text-align: center;"><font size="4">QUESTIONÁRIO DE AVALIAÇÃO UNIDADES CURRICULARES NAS ESCOLAS SUPERIORES DO IPP (ESTUDANTES)</font></div></div><div><br></div><div><div><br></div><div>ATENÇÃO:&nbsp;</div><div><ul><li>Os/As estudantes que respondam a uma unidade curricular de Estágio, Projeto, Ensino Clínico ou Prática de Ensino Supervisionada, consoante o curso que frequentam, deverão apenas responder aos blocos 1 e 4 ou 1 e 5 deste questionário.<br></li><li>A resposta a outras Unidades Curriculares faz-se respondendo às questões dos blocos 1, 2, 3.<br></li></ul></div></div>
questionario.group1.title=Unidade Curricular
questionario.group2.title=Docente(s)
questionario.group3.title=Instalações/Equipamentos/Outros Recursos
913,6 → 913,12
questionario.p4.group=1
questionario.p5.group=1
 
questionario.p1.seccao=Unidade Curricular
questionario.p2.seccao=Unidade Curricular
questionario.p3.seccao=Unidade Curricular
questionario.p4.seccao=Unidade Curricular
questionario.p5.seccao=Unidade Curricular
 
questionario.p1=Os conteúdos desta Unidade Curricular são importantes para o curso que frequenta.
questionario.p2=O programa previsto na ficha da Unidade Curricular foi cumprido.
questionario.p3=Os recursos/materiais disponibilizados foram úteis.
927,6 → 933,14
questionario.p11.group=2
questionario.p12.group=2
 
questionario.p6.seccao=Docente(s)
questionario.p7.seccao=Docente(s)
questionario.p8.seccao=Docente(s)
questionario.p9.seccao=Docente(s)
questionario.p10.seccao=Docente(s)
questionario.p11.seccao=Docente(s)
questionario.p12.seccao=Docente(s)
 
questionario.p6.subgroup=7
questionario.p7.subgroup=6
questionario.p8.subgroup=7
958,6 → 972,12
questionario.p16.group=3
questionario.p17.group=3
 
questionario.p13.seccao=Instalações/Equipamentos/Outros Recursos
questionario.p14.seccao=Instalações/Equipamentos/Outros Recursos
questionario.p15.seccao=Instalações/Equipamentos/Outros Recursos
questionario.p16.seccao=Instalações/Equipamentos/Outros Recursos
questionario.p17.seccao=Instalações/Equipamentos/Outros Recursos
 
questionario.p13=As salas ou laboratórios onde decorreu a Unidade Curricular possuem mobiliário adequado.
questionario.p14=As dimensões das salas ou laboratórios onde decorreu a Unidade Curricular são adequadas ao número de estudantes.
questionario.p15=O equipamento das salas ou laboratórios onde decorreu a Unidade Curricular é adequado.
970,6 → 990,12
questionario.p21.group=4
questionario.p22.group=4
 
questionario.p18.seccao=Estágio/Projeto
questionario.p19.seccao=Estágio/Projeto
questionario.p20.seccao=Estágio/Projeto
questionario.p21.seccao=Estágio/Projeto
questionario.p22.seccao=Estágio/Projeto
 
questionario.p18=O tema foi adequado à área de formação.
questionario.p19=O plano de trabalho aprovado foi cumprido.
questionario.p20=O acompanhamento do orientador externo foi adequado.
982,6 → 1008,12
questionario.p26.group=5
questionario.p27.group=5
 
questionario.p23.seccao=Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada
questionario.p24.seccao=Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada
questionario.p25.seccao=Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada
questionario.p26.seccao=Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada
questionario.p27.seccao=Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada
 
questionario.p23=O contexto onde decorreu a prática permitiu a construção e o desenvolvimento de saberes profissionais adequados à futura profissão.
questionario.p24=O contexto onde decorreu a Prática foi propiciador do trabalho em equipa
questionario.p25=O acompanhamento do orientador externo foi adequado.
990,6 → 1022,7
 
questionario.e1=Número de horas semanais que em média dedica a esta unidade curricular (incluindo consulta de informação e instruções colocadas na plataforma, estudo e realização de trabalhos individuais ou em grupo)
questionario.e1.group=1
questionario.e1.seccao=Unidade Curricular
 
 
pt.estgp.estgweb.domain.IAnswersProcessor.1=pt.estgp.estgweb.services.questionarios.PedagogicoAlunosProcessor
/branches/v3/impl/src/java/jomm/web/tags/NotEqualBeansTag.java
91,7 → 91,24
 
 
public int doStartTag() throws JspException {
return EVAL_BODY_TAG;
// Look up the requested bean (if necessary)
Object bean = null;
 
// Look up the requested property value
Object value1 =
RequestUtils.lookup(pageContext, name1, property1, null);
Object value2 =
RequestUtils.lookup(pageContext, name2, property2, null);
 
 
if (value1 == null || value2 == null)
return SKIP_BODY;
 
if(!value1.equals(value2))
{
return EVAL_BODY_TAG;
}
return SKIP_BODY;
}
public int doEndTag() throws JspException {
 
106,7 → 123,7
if (value1 == null || value2 == null)
throw new JspException("pubperiodic:Error bean 1 or bean 2 are null");
return SKIP_BODY;
if(!value1.equals(value2) && bodyContent != null)
{
/branches/v3/impl/src/java/pt/estgp/estgweb/services/sigesimports/ImportCourseService.java
461,7 → 461,7
for(TipologiasTurma.TipologiaTurma tipologiaTurma : d.getTipologiasTdocTurma().getTipologias())
{
CourseUnitImpl.Tipologia tipoSum = new CourseUnitImpl.Tipologia();
tipoSum.setOcorrencias(1);
tipoSum.setOcorrencias(null);
tipoSum.setDsTipologia("Aulas");
tipoSum.setCdTurma(tipologiaTurma.getCdTurma());
tipoSum.setCdDocente("" + tipologiaTurma.getCdDocente());
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/AnswersAlunosProcessor.java
183,10 → 183,13
}
}
 
//TODO TIPOLOGIAS ASSOCIACAO README
//CASO ALGUM TENHA FALHADO VAMOS ENTAO ADICIONA-LOS AS TURMAS TODAS
//OU NAO TENHA VINDO TIPOLOGIA PARA ELE
//todo ESTE PROBLEMA DEVE SER RESOLVIDO COM A ADICAO DE TIPOLOGIAS SIMPLES PARA AS ASSOCIACOES
//todo T_DOC_TURMA Mudar no DisciplinaDao na importação de cursos
//NOVO 2017 vai ser resolvido adicionando então as tipologias simples nas tipologias T_DOC_TURMA
// uma vez que o metodo obtainTipologias Simples ja comtemla a adição dessas tipologias t_doc_turma
Map<String,Teacher> professoresEsperados = new HashMap<String, Teacher>();
for(Teacher t: cuImpl.getTeachers())
{
/branches/v3/impl/src/java/pt/estgp/estgweb/services/questionarios/pedagogico/UpdateCoursesAndUnitsJobService.java
659,6 → 659,10
try
{
CourseUnitImpl.Tipologias tipologias = ((CourseUnitImpl)cu).getTipologiasClass();
//OBTEM-SE TODAS E DEPOIS QUANDO SE GERAREM AS RESPOSTAS VAO-SE OBTER ENTAO SIMPLES OU COMPLEXAS
if(cu.getCode().equals("100595"))
System.out.println();
 
ArrayList<CourseUnitImpl.Tipologia> mergedTipologias = tipologias.obtainMergeTipologias();
unidadeAfeta.setTipologias(mergedTipologias.size());
unidadeAfeta.setTipologiasJson(CourseUnitImpl.Tipologias.serializeMergedList(mergedTipologias));
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/QuestionarioImpl.java
153,10 → 153,14
{
 
try {
String seccao = ConfigProperties.getProperty("questionario.p" + i + ".seccao");
String group = ConfigProperties.getProperty("questionario.p" + i + ".group");
Method m = this.getClass().getMethod("setP" + i + "Group",String.class);
m.invoke(this,group);
 
Method mS = this.getClass().getMethod("setP" + i + "Section",String.class);
mS.invoke(this,seccao);
 
if(ConfigProperties.containsProperty("questionario.p" + i + ".subgroup"))
{
String subGroup = ConfigProperties.getProperty("questionario.p" + i + ".subgroup");
185,10 → 189,14
{
 
try {
String seccao = ConfigProperties.getProperty("questionario.e" + i + ".seccao");
String group = ConfigProperties.getProperty("questionario.e" + i + ".group");
Method m = this.getClass().getMethod("setE" + i + "Group",String.class);
m.invoke(this,group);
 
Method mS = this.getClass().getMethod("setE" + i + "Section",String.class);
mS.invoke(this,seccao);
 
if(ConfigProperties.containsProperty("questionario.e" + i + ".subgroup"))
{
String subGroup = ConfigProperties.getProperty("questionario.e" + i + ".subgroup");
/branches/v3/impl/src/java/pt/estgp/estgweb/domain/CourseUnitImpl.java
963,7 → 963,10
 
 
/**
* Junta todas as tipologias obtidas dos sumarios, horario(ref+trab) + extra
* Junta todas as tipologias obtidas dos
* sumarios, horario(ref+trab) + extra + tdoc turma
* As restantes listas são as marcadas e as usadas q
* que apenas estarão disponiveis quando houver gestão de marcação de tipologias
* e coloca todas numa lista de unicas
* Marca-as com isHorario, isSumario, isExtra
* @return
975,6 → 978,10
if(getTipologiasSumarios() != null)
merge.addAll(getTipologiasSumarios());
 
 
/**
* OBTER TODAS DAS LISTAS SUMARIOS HORARIOS EXTRA E TDOC TURMA
*/
if(getTipologiasHorarioReferencia() != null)
for(Tipologia tipo: getTipologiasHorarioReferencia())
{
991,6 → 998,22
merge.add(tipo);
}
}
//novo
if(getTipologiasTdocTurma() != null)
for(Tipologia tipo: getTipologiasTdocTurma())
{
if(!merge.contains(tipo))
{
merge.add(tipo);
}
}
 
/**
* FIM DE OBTER TODAS DAS LISTAS SUMARIOS HORARIOS EXTRA E TDOC TURMA
*/
 
 
 
for(Tipologia tipo: merge)
{
tipo.setMarkWarning(false);
1004,6 → 1027,11
{
tipo.extra = true;
}
//NOVO
if(getTipologiasTdocTurma() != null && getTipologiasTdocTurma().contains(tipo))
{
tipo.tdocturma = true;
}
}
 
if(getTipologiasMarcadas() != null)
1068,23 → 1096,7
if(docenteTurmas.size() == 0)
{
//NAO Há sumários vamos associar todos os docentes a todas as turmas
if(courseUnit.getTurmas() != null && courseUnit.getTeachers() != null)
{
for(CourseUnitTurma turma: courseUnit.getTurmas())
{
for(Teacher t : courseUnit.getTeachers())
{
Tipologia simples = new Tipologia();
simples.setMarkWarning(true);
//simples.setUse(true);
simples.setCdDocente(""+t.getSigesCode());
simples.setCdTurma(turma.getTurma());
simples.setCdTipologia(Globals.BACO_TIPOLOGIA_SIMPLES_VIRTUAL_CODE);
simples.setDsTipologia(Globals.BACO_TIPOLOGIA_SIMPLES_DS);
merge.add(simples);
}
}
}
getTipologiasSimplesParaEstesTeachersParaTodasAsTurmas(courseUnit,new HashSet<Teacher>(courseUnit.getTeachers()), merge);
}
else
{
1095,10 → 1107,55
merge.add(tipologia);
}
}
//NOVO
//FRAGMENTO PARA OS QUE FALTAM APENAS POR SEGURANÇA JA DEVIAM TER VINDO DO T_DOC_TURMA
//DO SINC
//NO LOCAL ONDE AS TIPOLOGIAS SAO INCIALIZADAS NO IMPORT
//ISTO E MAU PORQUE SE HOUVER TURMAS OS DOCENTES SAO ASSOCIADOS
//A TODAS E SO DEVERIAM SER ASSOCIADOS AS QUE ESTAO ASSOCAIDOS NO SIGES
//POR ISSO E QUE ISTO SO SE RESOLVE NO DisciplinaDao durante a Sincronizacao
//para saber as relacoes TDOC TURMA
Map<String,Teacher> professoresEsperados = new HashMap<String, Teacher>();
for(Teacher t: courseUnit.getTeachers())
{
professoresEsperados.put(t.getSigesCode() + "", t);
}
 
for(CourseUnitImpl.Tipologia tMerge: merge)
{
professoresEsperados.remove(tMerge.getCdDocente());
}
getTipologiasSimplesParaEstesTeachersParaTodasAsTurmas(courseUnit,professoresEsperados.values(), merge);
//FRAGMENTO EM FALTA PARA INTRODUZIR PROFS SEM SUMARIO
 
 
 
}
 
 
return merge;
}
 
private void getTipologiasSimplesParaEstesTeachersParaTodasAsTurmas(CourseUnit courseUnit,Collection<Teacher> teachers, ArrayList<Tipologia> merge) {
if(courseUnit.getTurmas() != null && courseUnit.getTeachers() != null)
{
for(CourseUnitTurma turma: courseUnit.getTurmas())
{
for(Teacher t : teachers)
{
Tipologia simples = new Tipologia();
simples.setMarkWarning(true);
//simples.setUse(true);
simples.setCdDocente(""+t.getSigesCode());
simples.setCdTurma(turma.getTurma());
simples.setCdTipologia(Globals.BACO_TIPOLOGIA_SIMPLES_VIRTUAL_CODE);
simples.setDsTipologia(Globals.BACO_TIPOLOGIA_SIMPLES_DS);
merge.add(simples);
}
}
}
}
 
/**
* Cria uma tipologia Simples para cada par Docente-Turma nesta cadeira olhando para
* todas as tipologias existentes, uma vez que o Baco não guarda associações entre
1116,6 → 1173,7
turmasDocente = new HashMap<String,Tipologia>();
docenteTurmas.put(tipo.getCdDocente(),turmasDocente);
Tipologia simples = turmasDocente.get(tipo.getCdTurma());
//Se nao tiver entrado o sumario vai entrar aqui como TDOC Turma com 0 ocorrencias
if(simples==null)
{
simples = new Tipologia();
1128,10 → 1186,12
{
simples.setOcorrencias(tipo.getOcorrencias());
}
turmasDocente.put(tipo.getCdTurma(),simples);
turmasDocente.put(tipo.getCdTurma(), simples);
if(tipo.isTdocturma())
simples.setTdocturma(true);
}
//se for tDocturma e ja tiver entrado como sumário nao entra aqui sequer
//Nunca entra primeiro como TDOC Turma se já entrou como sumário
else if(tipo.hasOcorrencias())
{
if(simples.getOcorrencias() == null)
/branches/v3/impl/src/java/pt/estgp/estgweb/web/controllers/widgetmodel/ModelWidgetController.java
40,14 → 40,32
 
AbstractDao.getCurrentSession().beginTransaction();
 
result.put("results",usersArray);
//result.put("results",usersArray);
List<User> users = DaoFactory.getUserDaoImpl().findUsers(query);
getUsersInJson(usersArray, users);
AbstractDao.getCurrentSession().getTransaction().commit();
return result;
}
 
public JSONObject getUserForUsername(ActionForm form,HttpServletRequest request, HttpServletResponse response) throws JSONException {
 
WidgetModelForm frm = (WidgetModelForm) form;
String username = frm.getQ();
 
JSONObject result;
 
AbstractDao.getCurrentSession().beginTransaction();
 
//
User user = DaoFactory.getUserDaoImpl().loadByUsername(username);
result = getJsonUser(user);
AbstractDao.getCurrentSession().getTransaction().commit();
return result;
}
 
 
 
 
public JSONObject findUserRoles(ActionForm form,HttpServletRequest request, HttpServletResponse response) throws JSONException {
 
WidgetModelForm frm = (WidgetModelForm) form;
72,27 → 90,32
private void getUsersInJson(JSONArray usersArray, List<User> users) throws JSONException {
for(User u: users)
{
JSONObject user = new JSONObject();
user.put("id",u.getId());
user.put("username",u.getUsername());
user.put("name",u.getName());
if(u instanceof SigesUser)
{
user.put("sigesCode",((SigesUser)u).getSigesCode());
}
if(u instanceof Teacher)
{
user.put("type","teacher");
}
if(u instanceof Student)
{
user.put("type","student");
}
JSONObject user = getJsonUser(u);
usersArray.put(user);
}
}
 
private JSONObject getJsonUser(User u) throws JSONException {
JSONObject user = new JSONObject();
user.put("id",u.getId());
user.put("username",u.getUsername());
user.put("name",u.getName());
if(u instanceof SigesUser)
{
user.put("sigesCode",((SigesUser)u).getSigesCode());
}
if(u instanceof Teacher)
{
user.put("type","teacher");
}
if(u instanceof Student)
{
user.put("type","student");
}
return user;
}
 
 
/**
* q json object:
* {
/branches/v3/impl/src/java/pt/estgp/estgweb/web/controllers/examples/jsonwidget/WidgetExampleController.java
102,12 → 102,15
*/
public JSONObject serviceClean(ActionForm form,HttpServletRequest request, HttpServletResponse response) throws JSONException
{
JsonWidgetExampleForm frm = (JsonWidgetExampleForm) form;
JSONObject obj = new JSONObject();
obj.put("dataExample","Isto e um exemplo sem erros");
obj.put("dataExample","Isto e um exemplo sem erros nome:" + frm.getNome());
 
//As mensagens e os erros adicionam-se como nos outros controllers usando as keys dos ficheiros de mensagens
addMessage(request,"errors.widget.example.msg");
addMessage(request,"errors.widget.example.msg2");
addMessage(request,"errors.widget.example.msg.com.nome", frm.getNome());
 
return obj;
}
 
/branches/v3/impl/src/updates/version/updateDimensoesPaeQuestionarios
56,3 → 56,41
update olap_star_quest set discrimitator = "OlapStarFactQuestionarioImpl";
update olap_star_quest_answer set discrimitator = "OlapStarFactQuestionarioAnswerImpl";
update olap_star_quest_answer_esforco set discrimitator = "OlapStarFactQuestionarioAnswerEsforcoImpl";
 
 
 
######PERGUNTAS SECCOES FAZER UPDATE A BD E DEPOIS CORRER ISTO
 
update questionario set p1Section = "Unidade Curricular";
update questionario set p2Section = "Unidade Curricular";
update questionario set p3Section = "Unidade Curricular";
update questionario set p4Section = "Unidade Curricular";
update questionario set p5Section = "Unidade Curricular";
 
update questionario set p6Section = "Docente(s)";
update questionario set p7Section = "Docente(s)";
update questionario set p8Section = "Docente(s)";
update questionario set p9Section = "Docente(s)";
update questionario set p10Section = "Docente(s)";
update questionario set p11Section = "Docente(s)";
update questionario set p12Section = "Docente(s)";
 
update questionario set p13Section = "Instalações/Equipamentos/Outros Recursos";
update questionario set p14Section = "Instalações/Equipamentos/Outros Recursos";
update questionario set p15Section = "Instalações/Equipamentos/Outros Recursos";
update questionario set p16Section = "Instalações/Equipamentos/Outros Recursos";
update questionario set p17Section = "Instalações/Equipamentos/Outros Recursos";
 
update questionario set p18Section = "Estágio/Projeto";
update questionario set p19Section = "Estágio/Projeto";
update questionario set p20Section = "Estágio/Projeto";
update questionario set p21Section = "Estágio/Projeto";
update questionario set p22Section = "Estágio/Projeto";
 
update questionario set p23Section = "Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada";
update questionario set p24Section = "Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada";
update questionario set p25Section = "Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada";
update questionario set p26Section = "Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada";
update questionario set p27Section = "Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada";
 
update questionario set e1Section = "Unidade Curricular";
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Questionarios.hbm.xml
122,6 → 122,7
<property name="p38Group" type="string"/>
<property name="p39Group" type="string"/>
<property name="p40Group" type="string"/>
 
<property name="t1Group" type="string"/>
<property name="t2Group" type="string"/>
<property name="t3Group" type="string"/>
144,6 → 145,194
<property name="e9Group" type="string"/>
<property name="e10Group" type="string"/>
 
 
 
<property name="p1Section" type="string">
<column name="p1Section" sql-type="TEXT"/>
</property>
<property name="p2Section" type="string">
<column name="p2Section" sql-type="TEXT"/>
</property>
<property name="p3Section" type="string">
<column name="p3Section" sql-type="TEXT"/>
</property>
<property name="p4Section" type="string">
<column name="p4Section" sql-type="TEXT"/>
</property>
<property name="p5Section" type="string">
<column name="p5Section" sql-type="TEXT"/>
</property>
<property name="p6Section" type="string">
<column name="p6Section" sql-type="TEXT"/>
</property>
<property name="p7Section" type="string">
<column name="p7Section" sql-type="TEXT"/>
</property>
<property name="p8Section" type="string">
<column name="p8Section" sql-type="TEXT"/>
</property>
<property name="p9Section" type="string">
<column name="p9Section" sql-type="TEXT"/>
</property>
<property name="p10Section" type="string">
<column name="p10Section" sql-type="TEXT"/>
</property>
<property name="p11Section" type="string">
<column name="p11Section" sql-type="TEXT"/>
</property>
<property name="p12Section" type="string">
<column name="p12Section" sql-type="TEXT"/>
</property>
<property name="p13Section" type="string">
<column name="p13Section" sql-type="TEXT"/>
</property>
<property name="p14Section" type="string">
<column name="p14Section" sql-type="TEXT"/>
</property>
<property name="p15Section" type="string">
<column name="p15Section" sql-type="TEXT"/>
</property>
<property name="p16Section" type="string">
<column name="p16Section" sql-type="TEXT"/>
</property>
<property name="p17Section" type="string">
<column name="p17Section" sql-type="TEXT"/>
</property>
<property name="p18Section" type="string">
<column name="p18Section" sql-type="TEXT"/>
</property>
<property name="p19Section" type="string">
<column name="p19Section" sql-type="TEXT"/>
</property>
<property name="p20Section" type="string">
<column name="p20Section" sql-type="TEXT"/>
</property>
<property name="p21Section" type="string">
<column name="p21Section" sql-type="TEXT"/>
</property>
<property name="p22Section" type="string">
<column name="p22Section" sql-type="TEXT"/>
</property>
<property name="p23Section" type="string">
<column name="p23Section" sql-type="TEXT"/>
</property>
<property name="p24Section" type="string">
<column name="p24Section" sql-type="TEXT"/>
</property>
<property name="p25Section" type="string">
<column name="p25Section" sql-type="TEXT"/>
</property>
<property name="p26Section" type="string">
<column name="p26Section" sql-type="TEXT"/>
</property>
<property name="p27Section" type="string">
<column name="p27Section" sql-type="TEXT"/>
</property>
<property name="p28Section" type="string">
<column name="p28Section" sql-type="TEXT"/>
</property>
<property name="p29Section" type="string">
<column name="p29Section" sql-type="TEXT"/>
</property>
<property name="p30Section" type="string">
<column name="p30Section" sql-type="TEXT"/>
</property>
<property name="p31Section" type="string">
<column name="p31Section" sql-type="TEXT"/>
</property>
<property name="p32Section" type="string">
<column name="p32Section" sql-type="TEXT"/>
</property>
<property name="p33Section" type="string">
<column name="p33Section" sql-type="TEXT"/>
</property>
<property name="p34Section" type="string">
<column name="p34Section" sql-type="TEXT"/>
</property>
<property name="p35Section" type="string">
<column name="p35Section" sql-type="TEXT"/>
</property>
<property name="p36Section" type="string">
<column name="p36Section" sql-type="TEXT"/>
</property>
<property name="p37Section" type="string">
<column name="p37Section" sql-type="TEXT"/>
</property>
<property name="p38Section" type="string">
<column name="p38Section" sql-type="TEXT"/>
</property>
<property name="p39Section" type="string">
<column name="p39Section" sql-type="TEXT"/>
</property>
<property name="p40Section" type="string">
<column name="p40Section" sql-type="TEXT"/>
</property>
 
 
<property name="t1Section" type="string">
<column name="t1Section" sql-type="TEXT"/>
</property>
<property name="t2Section" type="string">
<column name="t2Section" sql-type="TEXT"/>
</property>
<property name="t3Section" type="string">
<column name="t3Section" sql-type="TEXT"/>
</property>
<property name="t4Section" type="string">
<column name="t4Section" sql-type="TEXT"/>
</property>
<property name="t5Section" type="string">
<column name="t5Section" sql-type="TEXT"/>
</property>
<property name="t6Section" type="string">
<column name="t6Section" sql-type="TEXT"/>
</property>
<property name="t7Section" type="string">
<column name="t7Section" sql-type="TEXT"/>
</property>
<property name="t8Section" type="string">
<column name="t8Section" sql-type="TEXT"/>
</property>
<property name="t9Section" type="string">
<column name="t9Section" sql-type="TEXT"/>
</property>
<property name="t10Section" type="string">
<column name="t10Section" sql-type="TEXT"/>
</property>
 
<property name="e1Section" type="string">
<column name="e1Section" sql-type="TEXT"/>
</property>
<property name="e2Section" type="string">
<column name="e2Section" sql-type="TEXT"/>
</property>
<property name="e3Section" type="string">
<column name="e3Section" sql-type="TEXT"/>
</property>
<property name="e4Section" type="string">
<column name="e4Section" sql-type="TEXT"/>
</property>
<property name="e5Section" type="string">
<column name="e5Section" sql-type="TEXT"/>
</property>
<property name="e6Section" type="string">
<column name="e6Section" sql-type="TEXT"/>
</property>
<property name="e7Section" type="string">
<column name="e7Section" sql-type="TEXT"/>
</property>
<property name="e8Section" type="string">
<column name="e8Section" sql-type="TEXT"/>
</property>
<property name="e9Section" type="string">
<column name="e9Section" sql-type="TEXT"/>
</property>
<property name="e10Section" type="string">
<column name="e10Section" sql-type="TEXT"/>
</property>
 
 
 
<property name="p1SubGroup" type="string"/>
<property name="p2SubGroup" type="string"/>
<property name="p3SubGroup" type="string"/>
/branches/v3/impl/src/web/examples/acls/aclUseExample.jsp
15,6 → 15,8
<%@ page import="pt.estgp.estgweb.services.pageContent.PageContentService" %>
<%@ page import="pt.estgp.estgweb.web.filters.UserRoleProxy" %>
<%@ page import="java.util.List" %>
<%@ page import="jomm.utils.BytesUtils" %>
<%@taglib prefix="vfs" tagdir="/WEB-INF/tags/vfs" %>
<%--
Created by IntelliJ IDEA.
User: jorgemachado
28,6 → 30,7
 
 
<%
BytesUtils.generateKey();
 
PageSection psAnonimousDenyAuthenticatedRead = new PageSectionImpl();
psAnonimousDenyAuthenticatedRead.setAccessPolicyClass(PageContentAccessPolicyAcl.class.getName());
67,306 → 70,12
%>
</p>
 
<div id="aclModule" ng-app="aclModule" ng-controller="aclModuleController">
TEXT AREA DENTRO DO MODULO
<textarea class="form-control" id="inputJsonAclInside" rows="5" style="width: 100%">
{{jsonAcl}}
</textarea>
<vfs:aclcontrol json="${jsonAcl}" inputId="inputJsonAcl"/>
 
<script>
//DECLARACAO DA APLICACAO LOCAL EM ANGULAR
var aclModule = angular.module('aclModule', []);
GLOBAL_BacoAngularAppDependencies.push('aclModule');
aclModule.controller('aclModuleController', function($scope) {
 
$scope.newAcl = {
"id" : "",
"operation" : "",
"type" : "",
"access" : ""
};
 
$scope.jsonAcl = ${JSON_ACL_INPUT};
</div>
 
//variavel para a pesquisa de users
$scope.findUser = [];
 
$scope.removeAllUsers = function()
{
$scope.findUser = [];
}
 
/*
$scope.removeFileFromModel = function(tmpName)
{
for(var i in $scope.uploadedFiles)
{
if($scope.uploadedFiles[i].tmpName == tmpName)
{
$scope.uploadedFiles.splice(i,1);
}
}
}*/
 
$scope.removeRow = function(index)
{
$scope.jsonAcl.splice(index,1);
}
 
$scope.addRow = function()
{
$scope.jsonAcl.push(
{
"id" : $scope.newAcl.id,
"operation" : $scope.newAcl.operation,
"type" : $scope.newAcl.type,
"access" : $scope.newAcl.access
}
);
}
});
</script>
 
<script language="javascript">
 
$(document).ready(function(){
//$( "#personsResults").css({ left: $("#queryTd").position().left, top: $("#queryTd").position().top + 30}).show();
});
 
 
function searchPersons()
{
 
widgetCallWithActionParameters(
'<%=request.getContextPath()%>/user/json/model.do',
'findUser',
{
q : $('#queryTd').val()
}
,
$("#aclModule"),
function(response)
{
angular.element($("#aclModule")).scope().findUser = response.results;
angular.element($("#aclModule")).scope().$apply();
setTimeout(function() { evaluateTableSortersInside("#personsResults"); }, 500);
 
//evaluateTableSortersInside("#personsResults");
},
function(response)
{
alert("Accao Falhou mas as resposta foi esta: " + JSON.stringify(response));
});
 
}
 
</script>
<div class="web-messages"></div>
 
 
 
 
<input type="text" id="id" ng-model="newAcl.id">
 
<style>
table.tableAclInputs td {
background-color: linen;
padding: 12px 12px 12px 12px;
}
table.tableAclInputs {
width: 100%;
}​
</style>
<table class="tableAclInputs">
<tr>
<th>
Tipo Permissão
</th>
<th ng-show="newAcl.type=='USER'">
Utilizador
</th>
</tr>
<tr>
<td>
<select ng-model="newAcl.type">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Type type: PageContentImpl.Acl.Type.values())
{
request.setAttribute("type",type);
%>
<option value="${type}"><bean:message key="acl.type.${type}"/></option>
<%
}
%>
</select>
</td>
<td ng-show="newAcl.type=='USER'">
<div class="input-group">
<input type="text" id="queryTd" class="form-control" placeholder="Pesquisar...">
<span class="input-group-btn">
<button class="btn btn-secondary" type="button" onclick="searchPersons();return false;"><span class="glyphicon glyphicon-search"/></button>
</span>
</div>
<div ng-show="findUser.length > 0" class="clearfix" id="personsResults" style="position: absolute; background-color: gray;border: 1px solid gray;z-index: 1000;">
 
<div class="clearfix" style="padding:0">
<table class="tablesorter-blue" style="margin:0">
<thead>
<tr>
<th>Nome</th>
<th>Tipo</th>
<th>Código</th>
<th><button ng-click="removeAllUsers()" type="button" class="btn btn-danger btn-xs pull-right clearfix"><span class="glyphicon glyphicon-remove"/></button></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="f in findUser">
<td>{{f.name}}</td>
<td ng-if="f.type == 'student'">
Estudante
</td>
<td ng-if="f.type == 'teacher'">
Professor
</td>
<td ng-if="f.type != 'teacher' && f.type != 'student'">
User
</td>
<td>{{f.sigesCode}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</td>
 
</tr>
 
</table>
 
 
 
 
 
 
<div ng-show="newAcl.type=='ROLE'">
<div class="form-group">
<label class="col-md-2">Papel Institucional</label>
</div>
<div class="col-md-6">
<select id="sss">
<%
List<String> roles = UserRoleProxy.getUserRoles();
request.setAttribute("roles",roles);
%>
<logic:iterate id="r" name="roles">
<option value="${r}"><bean:message key="user.role.${r}"/></option>
</logic:iterate>
</select>
</div>
</div>
 
OPERACAO:
<select ng-model="newAcl.operation">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Operation op: PageContentImpl.Acl.Operation.values())
{
request.setAttribute("op",op);
%>
<option value="${op}"><bean:message key="acl.operation.${op}"/></option>
<%
}
%>
</select>
 
 
Acesso:
<select ng-model="newAcl.access">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Access access: PageContentImpl.Acl.Access.values())
{
request.setAttribute("access",access);
%>
<option value="${access}"><bean:message key="acl.access.${access}"/></option>
<%
}
%>
</select>
 
<input type="button" value="Add" class="btn btn-primary" ng-click="addRow()"/>
 
 
<table class="tablesorter-blue">
<thead>
<tr>
<th>INDEX</th>
<th>ID</th>
<th>Operação</th>
<th>Tipo</th>
<th>Acesso</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="acl in jsonAcl track by $index">
<td>
{{ $index }}
</td>
<td>
{{ acl.id }}
</td>
<td>
<select class="chosenOff" ng-model="acl.operation">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Operation op: PageContentImpl.Acl.Operation.values())
{
request.setAttribute("op",op);
%>
<option value="${op}"><bean:message key="acl.operation.${op}"/></option>
<%
}
%>
</select>
</td>
<td>
<select class="chosenOff" ng-model="acl.type">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Type type: PageContentImpl.Acl.Type.values())
{
request.setAttribute("type",type);
%>
<option value="${type}"><bean:message key="acl.type.${type}"/></option>
<%
}
%>
</select>
</td>
<td>
<select class="chosenOff" ng-model="acl.access">
<option value="">Escolha</option>
<%
for(PageContentImpl.Acl.Access access: PageContentImpl.Acl.Access.values())
{
request.setAttribute("access",access);
%>
<option value="${access}"><bean:message key="acl.access.${access}"/></option>
<%
}
%>
</select>
</td>
<td>
<input type="button" value="Remove" class="btn btn-primary" ng-click="removeRow($index)"/>
</td>
</tr>
</tbody>
</table>
</div>
 
</div>
 
 
/branches/v3/impl/src/web/examples/jsonwidget/jsonWidgetExample.jsp
5,6 → 5,7
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
<div class="container-fluid">
 
<h1>Teste aos Controladores de Widgets de Exemplo</h1>
18,7 → 19,7
 
<h2>Ficheiro de Configuração de exemplo para novos Controladores de Widgets</h2>
<ul>
<li>conf/WEB-INF/struts/examples/struts-example/jsonwidget.xml</li>
<li>conf/WEB-INF/struts/examples/struts-example/struts-jsonwidget.xml</li>
</ul>
 
<h2>Controladores e form de Exemplo</h2>
66,7 → 67,7
 
<div class="web-messages"><div class="alert alert-info">Exemplo Div para mensagens WEB mas nao é afectado pelo form</div> </div>
<p>Form de Struts com Auto preenchimento de Campos mas invoca um Widget Controller</p>
<html:form styleClass="form-horizontal" action="/widgetWithValidationExample" onsubmit="return false;">
<html:form styleId="formTeste" styleClass="form-horizontal" action="/widgetWithValidationExample" onsubmit="return false;">
<div class="web-messages">Aqui vão aparecer as mensagens de Erro ou de Feedback do Widget</div>
<div class="form-group">
<label class="col-md-2">Nome</label>
85,6 → 86,14
alert("Accao de resposta terminada: " + response.dataExample);
});
}
function widgetCallCleanComJquery()
{
widgetCall('serviceClean',$("#formTeste"),
function(response)
{
alert("Accao de resposta terminada: " + response.dataExample);
});
}
function widgetCallWithErrors(form)
{
widgetCall('serviceWithErrors',form,
139,8 → 148,16
<button class="btn btn-danger" type="button" onclick="widgetCallExceptionTest(this.form)">Submeter Simulacao Servico Com Excepção</button>
<button class="btn btn-success" type="button" onclick="widgetChamadaSimples(this.form)">Submeter Simulacao Servico SIMPLES OK/FAIL TUDO OK</button>
<button class="btn btn-warning" type="button" onclick="widgetChamadaFalha(this.form)">Submeter Simulacao Servico SIMPLES OK/FAIL FALHA</button>
 
<t:confirm msg="Tem a certeza?" btnClass="btn btn-success" targetFunction="widgetCallCleanComJquery()" icon="glyphicon glyphicon-plus"/>
</div>
</html:form>
 
 
<t:printRoleGroup role="admin" transactional="false" useModals="true" useWellTitle="true"/>
 
 
 
 
 
</div>
/branches/v3/impl/src/web/user/questionarios/questionarioNewEdit.jsp
354,7 → 354,27
 
 
<hr/>
 
 
<div class="form-group">
<div class="col-sm-1">
Número
</div>
<div class="col-sm-2">
Secção
</div>
<div class="col-sm-5">
Pergunta
</div>
<div class="col-sm-2">
Grupo Dimensão
</div>
<div class="col-sm-2">
SubGrupo Dimensão
</div>
</div>
<%
int seccao = 2;
for(int i = 1; i <= 40; i ++)
{
request.setAttribute("p",i);
363,6 → 383,8
<logic:present name="QuestionarioForm" property="questionario.p${p}Group">
<logic:equal value="1" name="p">
<h3>
1 - ${QuestionarioForm.questionario.p1Section}
<%--
<logic:equal value="1" name="QuestionarioForm" property="questionario.p${p}Group">
1 - ${QuestionarioForm.questionario.group1Title}
</logic:equal>
393,10 → 415,18
<logic:equal value="10" name="QuestionarioForm" property="questionario.p${p}Group">
10 - ${QuestionarioForm.questionario.group10Title}
</logic:equal>
--%>
</h3>
</logic:equal>
<logic:greaterThan value="1" name="p">
<jomm:notEqualBeans name1="QuestionarioForm" property1="questionario.p${p}Group" name2="QuestionarioForm" property2="questionario.p${pBefore}Group">
<jomm:notEqualBeans name1="QuestionarioForm" property1="questionario.p${p}Section" name2="QuestionarioForm" property2="questionario.p${pBefore}Section">
<hr/>
<h3><%=seccao%> - <bean:write name="QuestionarioForm" property="questionario.p${p}Section"/></h3>
<%
seccao++;
%>
</jomm:notEqualBeans>
<%-- <jomm:notEqualBeans name1="QuestionarioForm" property1="questionario.p${p}Group" name2="QuestionarioForm" property2="questionario.p${pBefore}Group">
<hr/>
<h3>
<logic:equal value="1" name="QuestionarioForm" property="questionario.p${p}Group">
430,17 → 460,28
10 - ${QuestionarioForm.questionario.group10Title}
</logic:equal>
</h3>
</jomm:notEqualBeans>
</jomm:notEqualBeans>--%>
</logic:greaterThan>
</logic:present>
 
<div class="form-group">
<label class="control-label col-sm-2" for="p${p}">Pergunta ${p}:</label>
<div class="col-sm-6">
 
<label class="control-label col-sm-1" for="p${p}">Pergunta ${p}:</label>
<div class="col-sm-2">
<html:select styleClass="form-control perguntaGroup" property="questionario.p${p}Section" onchange="set(this.form,'refresh');submitQuestionarioForm(form);">
<html:option value="">Nenhuma</html:option>
<html:option value="Unidade Curricular">Unidade Curricular</html:option>
<html:option value="Docente(s)">Docente(s)</html:option>
<html:option value="Instalações/Equipamentos/Outros Recursos">Instalações/Equipamentos/Outros Recursos</html:option>
<html:option value="Estágio/Projeto">Estágio/Projeto</html:option>
<html:option value="Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada">Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada</html:option>
</html:select>
</div>
<div class="col-sm-5">
<html:textarea styleClass="form-control" property="questionario.p${p}" styleId="p${p}"/>
</div>
<div class="col-sm-2">
<html:select styleClass="form-control perguntaGroup" property="questionario.p${p}Group" onchange="set(this.form,'refresh');submitQuestionarioForm(form);">
<html:select styleClass="form-control perguntaGroup" property="questionario.p${p}Group" > <%--onchange="set(this.form,'refresh');submitQuestionarioForm(form);"--%>
<html:option value="">Nenhum</html:option>
<%
for(int a = 1;a<10;a++)
457,7 → 498,7
</html:select>
</div>
<div class="col-sm-2">
<html:select styleClass="form-control perguntaGroup" property="questionario.p${p}SubGroup" onchange="set(this.form,'refresh');submitQuestionarioForm(form);">
<html:select styleClass="form-control perguntaGroup" property="questionario.p${p}SubGroup" > <%--onchange="set(this.form,'refresh');submitQuestionarioForm(form);"--%>
<html:option value="">Nenhum</html:option>
<%
for(int a = 1;a<10;a++)
484,6 → 525,7
<h2>Questões Especiais Relacionadas com Esforço</h2>
 
<%
seccao = 2;
for(int i = 1; i <= 10; i ++)
{
request.setAttribute("e",i);
492,7 → 534,8
<logic:present name="QuestionarioForm" property="questionario.e${e}Group">
<logic:equal value="1" name="e">
<h3>
<logic:equal value="1" name="QuestionarioForm" property="questionario.e${e}Group">
1 - ${QuestionarioForm.questionario.e1Section}
<%--<logic:equal value="1" name="QuestionarioForm" property="questionario.e${e}Group">
1 - ${QuestionarioForm.questionario.group1Title}
</logic:equal>
<logic:equal value="2" name="QuestionarioForm" property="questionario.e${e}Group">
521,14 → 564,18
</logic:equal>
<logic:equal value="10" name="QuestionarioForm" property="questionario.e${e}Group">
10 - ${QuestionarioForm.questionario.group10Title}
</logic:equal>
</logic:equal>--%>
</h3>
</logic:equal>
<logic:greaterThan value="1" name="e">
<jomm:notEqualBeans name1="QuestionarioForm" property1="questionario.e${e}Group" name2="QuestionarioForm" property2="questionario.e${eBefore}Group">
<jomm:notEqualBeans name1="QuestionarioForm" property1="questionario.e${e}Section" name2="QuestionarioForm" property2="questionario.e${eBefore}Section">
<hr/>
<h3>
<logic:equal value="1" name="QuestionarioForm" property="questionario.e${e}Group">
<h3><%=seccao%> - <bean:write name="QuestionarioForm" property="questionario.e${e}Section"/></h3>
<%
seccao++;
%>
<%--<logic:equal value="1" name="QuestionarioForm" property="questionario.e${e}Group">
1 - ${QuestionarioForm.questionario.group1Title}
</logic:equal>
<logic:equal value="2" name="QuestionarioForm" property="questionario.e${e}Group">
557,19 → 604,29
</logic:equal>
<logic:equal value="10" name="QuestionarioForm" property="questionario.e${e}Group">
10 - ${QuestionarioForm.questionario.group10Title}
</logic:equal>
</logic:equal>--%>
</h3>
</jomm:notEqualBeans>
</logic:greaterThan>
</logic:present>
 
<div class="form-group">
<label class="control-label col-sm-2" for="e${e}">Pergunta ${e}:</label>
<div class="col-sm-6">
<label class="control-label col-sm-1" for="e${e}">Pergunta ${e}:</label>
<div class="col-sm-2">
<html:select styleClass="form-control perguntaGroup" property="questionario.e${e}Section" onchange="set(this.form,'refresh');submitQuestionarioForm(form);">
<html:option value="">Nenhuma</html:option>
<html:option value="Unidade Curricular">Unidade Curricular</html:option>
<html:option value="Docente(s)">Docente(s)</html:option>
<html:option value="Instalações/Equipamentos/Outros Recursos">Instalações/Equipamentos/Outros Recursos</html:option>
<html:option value="Estágio/Projeto">Estágio/Projeto</html:option>
<html:option value="Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada">Unidades Curriculares de Prática de Ensino Clínico ou de Prática de Ensino Supervisionada</html:option>
</html:select>
</div>
<div class="col-sm-5">
<html:textarea styleClass="form-control" property="questionario.e${e}" styleId="e${e}"/>
</div>
<div class="col-sm-2">
<html:select styleClass="form-control perguntaGroup" property="questionario.e${e}Group" onchange="set(this.form,'refresh');submitQuestionarioForm(form);">
<html:select styleClass="form-control perguntaGroup" property="questionario.e${e}Group"> <%-- onchange="set(this.form,'refresh');submitQuestionarioForm(form);"--%>
<html:option value="">Nenhum</html:option>
<%
for(int a = 1;a<10;a++)
586,7 → 643,7
</html:select>
</div>
<div class="col-sm-2">
<html:select styleClass="form-control perguntaGroup" property="questionario.e${e}SubGroup" onchange="set(this.form,'refresh');submitQuestionarioForm(form);">
<html:select styleClass="form-control perguntaGroup" property="questionario.e${e}SubGroup"> <%-- onchange="set(this.form,'refresh');submitQuestionarioForm(form);"--%>
<html:option value="">Nenhum</html:option>
<%
for(int a = 1;a<10;a++)
/branches/v3/impl/src/web/user/questionarios/respostaQuestionario.jsp
267,8 → 267,12
for(int e = 1; e <= 10; e++)
{
request.setAttribute("e",e);
String pGroup = (String) QuestionarioImpl.class.getMethod("getE" + e + "Group").invoke(questionario);
if(pGroup.equals(groupNumber))
Object eGroupObj = QuestionarioImpl.class.getMethod("getE" + e + "Group").invoke(questionario);
if(eGroupObj == null)
continue;
String eGroup = (String) eGroupObj;
 
if(eGroup.equals(groupNumber))
{
if(!umaQuestão)
{
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoCursoAfeto.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Pagina.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.ArrayList;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitDeliverable.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioPergunta.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyStatsGraphic.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/GenericUser.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroupDocentesAno.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventGeneric.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroupCursosAno.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitProgram.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Announcement.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Survey.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordThesis.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestionPossibleAnswer.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageSection.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.ArrayList;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestionCandidateAnswer.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionarioAnswer.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SruSourceCollection.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventClass.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationGradesStatusEpoca.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordJob.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Teacher.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageRepositoryFile.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitSummary.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Record.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportDocenteFile.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseYear.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Blog.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Assessment.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RepositoryFileVersion.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UserRoleConfig.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SessionObjectId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoUnidadeCurricularAfeta.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatMonth.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestionItem.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Page.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseStudiesPlan.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoAlunoRequisitado.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportFile.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Process.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageText.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Questionario.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
138,6 → 138,66
private String e8Group;
private String e9Group;
private String e10Group;
private String p1Section;
private String p2Section;
private String p3Section;
private String p4Section;
private String p5Section;
private String p6Section;
private String p7Section;
private String p8Section;
private String p9Section;
private String p10Section;
private String p11Section;
private String p12Section;
private String p13Section;
private String p14Section;
private String p15Section;
private String p16Section;
private String p17Section;
private String p18Section;
private String p19Section;
private String p20Section;
private String p21Section;
private String p22Section;
private String p23Section;
private String p24Section;
private String p25Section;
private String p26Section;
private String p27Section;
private String p28Section;
private String p29Section;
private String p30Section;
private String p31Section;
private String p32Section;
private String p33Section;
private String p34Section;
private String p35Section;
private String p36Section;
private String p37Section;
private String p38Section;
private String p39Section;
private String p40Section;
private String t1Section;
private String t2Section;
private String t3Section;
private String t4Section;
private String t5Section;
private String t6Section;
private String t7Section;
private String t8Section;
private String t9Section;
private String t10Section;
private String e1Section;
private String e2Section;
private String e3Section;
private String e4Section;
private String e5Section;
private String e6Section;
private String e7Section;
private String e8Section;
private String e9Section;
private String e10Section;
private String p1SubGroup;
private String p2SubGroup;
private String p3SubGroup;
1126,6 → 1186,426
public void setE10Group(String e10Group) {
this.e10Group = e10Group;
}
public String getP1Section() {
return this.p1Section;
}
public void setP1Section(String p1Section) {
this.p1Section = p1Section;
}
public String getP2Section() {
return this.p2Section;
}
public void setP2Section(String p2Section) {
this.p2Section = p2Section;
}
public String getP3Section() {
return this.p3Section;
}
public void setP3Section(String p3Section) {
this.p3Section = p3Section;
}
public String getP4Section() {
return this.p4Section;
}
public void setP4Section(String p4Section) {
this.p4Section = p4Section;
}
public String getP5Section() {
return this.p5Section;
}
public void setP5Section(String p5Section) {
this.p5Section = p5Section;
}
public String getP6Section() {
return this.p6Section;
}
public void setP6Section(String p6Section) {
this.p6Section = p6Section;
}
public String getP7Section() {
return this.p7Section;
}
public void setP7Section(String p7Section) {
this.p7Section = p7Section;
}
public String getP8Section() {
return this.p8Section;
}
public void setP8Section(String p8Section) {
this.p8Section = p8Section;
}
public String getP9Section() {
return this.p9Section;
}
public void setP9Section(String p9Section) {
this.p9Section = p9Section;
}
public String getP10Section() {
return this.p10Section;
}
public void setP10Section(String p10Section) {
this.p10Section = p10Section;
}
public String getP11Section() {
return this.p11Section;
}
public void setP11Section(String p11Section) {
this.p11Section = p11Section;
}
public String getP12Section() {
return this.p12Section;
}
public void setP12Section(String p12Section) {
this.p12Section = p12Section;
}
public String getP13Section() {
return this.p13Section;
}
public void setP13Section(String p13Section) {
this.p13Section = p13Section;
}
public String getP14Section() {
return this.p14Section;
}
public void setP14Section(String p14Section) {
this.p14Section = p14Section;
}
public String getP15Section() {
return this.p15Section;
}
public void setP15Section(String p15Section) {
this.p15Section = p15Section;
}
public String getP16Section() {
return this.p16Section;
}
public void setP16Section(String p16Section) {
this.p16Section = p16Section;
}
public String getP17Section() {
return this.p17Section;
}
public void setP17Section(String p17Section) {
this.p17Section = p17Section;
}
public String getP18Section() {
return this.p18Section;
}
public void setP18Section(String p18Section) {
this.p18Section = p18Section;
}
public String getP19Section() {
return this.p19Section;
}
public void setP19Section(String p19Section) {
this.p19Section = p19Section;
}
public String getP20Section() {
return this.p20Section;
}
public void setP20Section(String p20Section) {
this.p20Section = p20Section;
}
public String getP21Section() {
return this.p21Section;
}
public void setP21Section(String p21Section) {
this.p21Section = p21Section;
}
public String getP22Section() {
return this.p22Section;
}
public void setP22Section(String p22Section) {
this.p22Section = p22Section;
}
public String getP23Section() {
return this.p23Section;
}
public void setP23Section(String p23Section) {
this.p23Section = p23Section;
}
public String getP24Section() {
return this.p24Section;
}
public void setP24Section(String p24Section) {
this.p24Section = p24Section;
}
public String getP25Section() {
return this.p25Section;
}
public void setP25Section(String p25Section) {
this.p25Section = p25Section;
}
public String getP26Section() {
return this.p26Section;
}
public void setP26Section(String p26Section) {
this.p26Section = p26Section;
}
public String getP27Section() {
return this.p27Section;
}
public void setP27Section(String p27Section) {
this.p27Section = p27Section;
}
public String getP28Section() {
return this.p28Section;
}
public void setP28Section(String p28Section) {
this.p28Section = p28Section;
}
public String getP29Section() {
return this.p29Section;
}
public void setP29Section(String p29Section) {
this.p29Section = p29Section;
}
public String getP30Section() {
return this.p30Section;
}
public void setP30Section(String p30Section) {
this.p30Section = p30Section;
}
public String getP31Section() {
return this.p31Section;
}
public void setP31Section(String p31Section) {
this.p31Section = p31Section;
}
public String getP32Section() {
return this.p32Section;
}
public void setP32Section(String p32Section) {
this.p32Section = p32Section;
}
public String getP33Section() {
return this.p33Section;
}
public void setP33Section(String p33Section) {
this.p33Section = p33Section;
}
public String getP34Section() {
return this.p34Section;
}
public void setP34Section(String p34Section) {
this.p34Section = p34Section;
}
public String getP35Section() {
return this.p35Section;
}
public void setP35Section(String p35Section) {
this.p35Section = p35Section;
}
public String getP36Section() {
return this.p36Section;
}
public void setP36Section(String p36Section) {
this.p36Section = p36Section;
}
public String getP37Section() {
return this.p37Section;
}
public void setP37Section(String p37Section) {
this.p37Section = p37Section;
}
public String getP38Section() {
return this.p38Section;
}
public void setP38Section(String p38Section) {
this.p38Section = p38Section;
}
public String getP39Section() {
return this.p39Section;
}
public void setP39Section(String p39Section) {
this.p39Section = p39Section;
}
public String getP40Section() {
return this.p40Section;
}
public void setP40Section(String p40Section) {
this.p40Section = p40Section;
}
public String getT1Section() {
return this.t1Section;
}
public void setT1Section(String t1Section) {
this.t1Section = t1Section;
}
public String getT2Section() {
return this.t2Section;
}
public void setT2Section(String t2Section) {
this.t2Section = t2Section;
}
public String getT3Section() {
return this.t3Section;
}
public void setT3Section(String t3Section) {
this.t3Section = t3Section;
}
public String getT4Section() {
return this.t4Section;
}
public void setT4Section(String t4Section) {
this.t4Section = t4Section;
}
public String getT5Section() {
return this.t5Section;
}
public void setT5Section(String t5Section) {
this.t5Section = t5Section;
}
public String getT6Section() {
return this.t6Section;
}
public void setT6Section(String t6Section) {
this.t6Section = t6Section;
}
public String getT7Section() {
return this.t7Section;
}
public void setT7Section(String t7Section) {
this.t7Section = t7Section;
}
public String getT8Section() {
return this.t8Section;
}
public void setT8Section(String t8Section) {
this.t8Section = t8Section;
}
public String getT9Section() {
return this.t9Section;
}
public void setT9Section(String t9Section) {
this.t9Section = t9Section;
}
public String getT10Section() {
return this.t10Section;
}
public void setT10Section(String t10Section) {
this.t10Section = t10Section;
}
public String getE1Section() {
return this.e1Section;
}
public void setE1Section(String e1Section) {
this.e1Section = e1Section;
}
public String getE2Section() {
return this.e2Section;
}
public void setE2Section(String e2Section) {
this.e2Section = e2Section;
}
public String getE3Section() {
return this.e3Section;
}
public void setE3Section(String e3Section) {
this.e3Section = e3Section;
}
public String getE4Section() {
return this.e4Section;
}
public void setE4Section(String e4Section) {
this.e4Section = e4Section;
}
public String getE5Section() {
return this.e5Section;
}
public void setE5Section(String e5Section) {
this.e5Section = e5Section;
}
public String getE6Section() {
return this.e6Section;
}
public void setE6Section(String e6Section) {
this.e6Section = e6Section;
}
public String getE7Section() {
return this.e7Section;
}
public void setE7Section(String e7Section) {
this.e7Section = e7Section;
}
public String getE8Section() {
return this.e8Section;
}
public void setE8Section(String e8Section) {
this.e8Section = e8Section;
}
public String getE9Section() {
return this.e9Section;
}
public void setE9Section(String e9Section) {
this.e9Section = e9Section;
}
public String getE10Section() {
return this.e10Section;
}
public void setE10Section(String e10Section) {
this.e10Section = e10Section;
}
public String getP1SubGroup() {
return this.p1SubGroup;
}
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioPerguntaEsforco.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestion.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioUnidade.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionario.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatYearId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestionItem.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Group.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnit.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyQuestionAnswer.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationGradesEpocaAvaliacao.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioPedagogicoTipologiaRequisitada.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SigesUser.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitAnnouncement.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ManagedIdentifierCollection.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestion.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatYear.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/DigitalDeliveryCategory.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordOther.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatMonthId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/DigitalDelivery.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UserSession.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitEvaluation.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportCursoFile.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroup.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentQuestionAnswer.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitProgramPart2.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionarioCurso.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioTipologia.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioResposta.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitBlog.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordEventOrganization.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Reminder.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordPaper.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Configuration.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageContent.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitBlogPost.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SessionObject.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.io.Serializable;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobParameter.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventFormacoes.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ComunicationFolder.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Student.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitQuestion.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionario.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatDay.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionarioTipologia.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RecordProject.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageExternalObject.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitTurma.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyResponse.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/RepositoryFile.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionarioUnidade.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ProcessEvent.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ProcessEventFile.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/BlogPost.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SruSource.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ManagedIdentifier.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Course.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/PageExternalUrl.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitGrade.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/AssessmentResponse.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStatDayId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportFileAno.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/User.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTask.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventUser.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Image.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapHistoryDimension.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Teste.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapStarFactQuestionarioAnswerEsforco.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/DigitalDeliveryTarget.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioReportFileGroupAno.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioUser.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationDirectory.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUserAssociation.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseUnitAssignement.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioHistoryDrive.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/QuestionarioRespostaRequisitada.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/OlapEntityQuestionarioCurso.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Job.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.io.Serializable;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTaskScheduler.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/EventGenericRecord.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTaskSchedulerParameter.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/JobServiceTaskParameter.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
 
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/CourseDepartment.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/MetaProcess.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/SurveyStructuralNode.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.HashSet;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/Seccao.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/ConfigurationGrades.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/branches/v3/impl/gen/java/pt/estgp/estgweb/domain/UrlStat.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 11/Jan/2017 17:32:27 by Hibernate Tools 3.2.0.b9
// Generated 19/Jan/2017 8:47:29 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;