Commit c242bf1e authored by didonet's avatar didonet

Added a new attribute : advisorHistory.

parent a07b3e5c
......@@ -149,6 +149,10 @@ public class Registration {
private Integer transferCredit;
private String advisorHistory;
public static List<Registration> findAllRegistrations() {
return entityManager().createNativeQuery("select * from registration a, person b where a.student = b.id order by name", Registration.class).getResultList();
}
......
......@@ -26,7 +26,7 @@ privileged aspect RegistrationRequest_Roo_JavaBean {
public void RegistrationRequest.setRequestKind(RegistrationKind requestKind) {
this.requestKind = requestKind;
}
public String RegistrationRequest.getName() {
return this.name;
}
......
......@@ -118,6 +118,15 @@ privileged aspect Registration_Roo_JavaBean {
public String Registration.getAdvisorHistory() {
return this.advisorHistory;
}
public void Registration.setAdvisorHistory(String advisorHistory) {
this.advisorHistory = advisorHistory;
}
public Date Registration.getStartDate() {
return this.startDate;
}
......
......@@ -299,6 +299,7 @@ label_br_ufpr_c3sl_sapos_models_scholar_grantkind_version=Version
label_br_ufpr_c3sl_sapos_models_scholar_registration=Registration
label_br_ufpr_c3sl_sapos_models_scholar_registration_admissiondate=Admission Date
label_br_ufpr_c3sl_sapos_models_scholar_registration_advisor=Advisor
label_br_ufpr_c3sl_sapos_models_scholar_registration_advisorhistory=Advisor history
label_br_ufpr_c3sl_sapos_models_scholar_registration_advisors=Advisors
label_br_ufpr_c3sl_sapos_models_scholar_registration_committees=Committees
label_br_ufpr_c3sl_sapos_models_scholar_registration_conclusiondate=Conclusion Date
......
......@@ -287,7 +287,8 @@ label_br_ufpr_c3sl_sapos_models_scholar_grantkind_plural=Tipos de Bolsas
label_br_ufpr_c3sl_sapos_models_scholar_grantkind_version=Version
label_br_ufpr_c3sl_sapos_models_scholar_registration=Ingresso
label_br_ufpr_c3sl_sapos_models_scholar_registration_admissiondate=Data da admisso
label_br_ufpr_c3sl_sapos_models_scholar_registration_advisor=Orientador
label_br_ufpr_c3sl_sapos_models_scholar_registration_advisor=Orientador
label_br_ufpr_c3sl_sapos_models_scholar_registration_advisorhistory=Histrico de orientao
label_br_ufpr_c3sl_sapos_models_scholar_registration_advisors=Orientadores
label_br_ufpr_c3sl_sapos_models_scholar_registration_committees=Bancas
label_br_ufpr_c3sl_sapos_models_scholar_registration_conclusiondate=Data de Concluso
......
......@@ -6,6 +6,7 @@
<field:input field="registrationNumber" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_registrationNumber" z="F7UbKm7pOUG3HFVIsdtuPuHAoRg="/>
<field:select disableFormBinding="true" field="student" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_student" itemValue="id" items="${students}" path="/students" z="user-managed"/>
<field:select field="advisor" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_advisor" itemValue="id" items="${professors}" path="/professors" z="9xJvlqzs+c1TV8F/nDMDoKnvoB4="/>
<field:input field="advisorHistory" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_advisorHistory" z="user-managed"/>
<field:select field="regKind" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_regKind" items="${registrationkinds}" path="registrationkinds" z="QHL6MLE5411WNUa/F8UyTxE9H6w="/>
<field:select field="regStatus" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_regStatus" items="${registrationstatuses}" path="registrationstatuses" z="P9eI83EY6Adc/hMCVIP3kIeWY2k="/>
<field:checkbox field="isWritingThesis" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_isWritingThesis" z="QM6rdx8vJ3AGL4L+YTs0+JqvyS0="/>
......
......@@ -7,6 +7,7 @@
<field:display field="student" id="s_br_ufpr_c3sl_sapos_models_scholar_Registration_student" object="${registration}" z="RSK195gcEnCwRh2E5Zu4xf0iPGg="/>
<field:display field="regKind" id="s_br_ufpr_c3sl_sapos_models_scholar_Registration_regKind" object="${registration}" z="fUJ3J42pzhvbqPQiBccVN0MzKL4="/>
<field:display field="advisor" id="s_br_ufpr_c3sl_sapos_models_scholar_Registration_advisor" object="${registration}" z="H95sx2mbD46ISBTIsi8EWW1hDjU="/>
<field:display field="advisorHistory" id="s_br_ufpr_c3sl_sapos_models_scholar_Registration_advisorHistory" object="${registration}" z="user-managed"/>
<field:display field="regStatus" id="s_br_ufpr_c3sl_sapos_models_scholar_Registration_regStatus" object="${registration}" z="OAcJeXbc6D9iOMkMLF+2F0ONvuo="/>
<field:display field="isWritingThesis" id="s_br_ufpr_c3sl_sapos_models_scholar_Registration_isWritingThesis" object="${registration}" z="98NIsZw44n9Zc2o0RRhve5O4MRg="/>
......
......@@ -7,6 +7,7 @@
<field:select field="student" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_student" itemValue="id" items="${students}" path="/students" z="CY+V/G8YLf8c7mNiEs4/fXT/BQs="/>
<field:select field="regKind" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_regKind" items="${registrationkinds}" path="registrationkinds" z="QHL6MLE5411WNUa/F8UyTxE9H6w="/>
<field:select field="advisor" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_advisor" itemValue="id" items="${professors}" path="/professors" z="9xJvlqzs+c1TV8F/nDMDoKnvoB4="/>
<field:input field="advisorHistory" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_advisorHistory" z="user-managed"/>
<field:select field="regStatus" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_regStatus" items="${registrationstatuses}" path="registrationstatuses" z="P9eI83EY6Adc/hMCVIP3kIeWY2k="/>
<field:checkbox field="isWritingThesis" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_isWritingThesis" z="QM6rdx8vJ3AGL4L+YTs0+JqvyS0="/>
<field:input field="transferCredit" id="c_br_ufpr_c3sl_sapos_models_scholar_Registration_transferCredit" validationMessageCode="field_invalid_integer" z="QM6rdx8vJ3AGL4L+YTs0+JqvyS0="/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment