/branches/grupo9/impl/conf/WEB-INF/struts-config.xml |
---|
File deleted |
\ No newline at end of file |
/branches/grupo9/impl/conf/WEB-INF/tiles-defs.xml |
---|
File deleted |
/branches/grupo9/impl/src/java/pt/estgp/estgweb/services/courses/CourseReportServices.java |
---|
60,8 → 60,8 |
* @param courseCode |
* @param year |
* @return |
* @throws IOException |
* @throws JSONException |
* @throws java.io.IOException |
* @throws org.json.JSONException |
*/ |
public CourseReportDocument createNewCourseReportDocument(String courseCode,String year) throws IOException, JSONException |
{ |
304,8 → 304,8 |
* @param courseCode |
* @param year |
* @return UnitsDtpTable |
* @throws IOException |
* @throws JSONException |
* @throws java.io.IOException |
* @throws org.json.JSONException |
*/ |
public UnitsDtpTable updateDtpStatsTable4Course(CourseReportDocument reportCourseDocument, String courseCode, String year) throws IOException, JSONException |
{ |
358,8 → 358,8 |
* @param courseCode |
* @param year |
* @param reportCourseDocument |
* @throws JSONException |
* @throws IOException |
* @throws org.json.JSONException |
* @throws java.io.IOException |
* @return a list of CourseUnitSection |
*/ |
public List<DocumentSection> updateCleanCourseUnitSections(String courseCode, String year, CourseReportDocument reportCourseDocument) throws JSONException, IOException { |
412,10 → 412,9 |
* @param reportDocumentJson |
* @param session |
* @return |
* @throws IOException |
* @throws java.io.IOException |
*/ |
public String generateGlobalLearningResultsChartImg(String reportDocumentJson, |
UserSession session) throws IOException { |
public String generateGlobalLearningResultsChartImg(String reportDocumentJson,UserSession session) throws IOException { |
CourseReportDocument reportDocument = CourseReportDocument.fromJson(reportDocumentJson); |
LearningResultsSection learningResultsSection = (LearningResultsSection) reportDocument.findDocumentSection(LearningResultsSection.class); |
473,8 → 472,8 |
* @param courseCode |
* @param year |
* @return |
* @throws JSONException |
* @throws IOException |
* @throws org.json.JSONException |
* @throws java.io.IOException |
*/ |
public String loadCourseUnitDtpStats(String courseCode,String year) throws JSONException, IOException { |
/branches/grupo9/impl/src/java/pt/estgp/estgweb/services/courses/CoursesService.java |
---|
66,7 → 66,7 |
* @param id |
* @param initUnits |
* @return |
* @throws ServiceException |
* @throws pt.estgp.estgweb.services.expceptions.ServiceException |
*/ |
public CourseView loadCourse(long id, boolean initUnits) |
throws ServiceException |
96,7 → 96,7 |
* @param code |
* @param initUnits |
* @return |
* @throws ServiceException |
* @throws pt.estgp.estgweb.services.expceptions.ServiceException |
*/ |
public CourseView loadCourseByCode(String code, boolean initUnits) throws ServiceException |
292,7 → 292,7 |
* @param userSession |
* @param c |
* @return |
* @throws JAXBException if XML is not weel formed |
* @throws javax.xml.bind.JAXBException if XML is not weel formed |
*/ |
private void generateXmlJaxbStudiesPlanVersionFromRepositoryOldPlanStream(UserSession userSession, Course c, boolean forceFichaCurricularUrlSet, String systemUrlForUnitPrograms) throws JAXBException |
{ |
562,7 → 562,7 |
* @param school |
* @param type |
* @return |
* @throws JSONException |
* @throws org.json.JSONException |
*/ |
public JSONObject getActiveCoursesForJsonApi(String school,String type) throws JSONException { |
String institutionalCode = null; |
611,9 → 611,9 |
* //TODO REVER |
* @param code |
* @return |
* @throws JSONException |
* @throws IOException |
* @throws JAXBException |
* @throws org.json.JSONException |
* @throws java.io.IOException |
* @throws javax.xml.bind.JAXBException |
*/ |
public JSONObject getCourseDetailForJsonApi(String code) throws JSONException, IOException, JAXBException { |
683,7 → 683,7 |
* |
* @param code |
* @return |
* @throws JSONException |
* @throws org.json.JSONException |
*/ |
public String getCourseStudiesPlanXml(String code,String renew) throws JSONException { |
717,9 → 717,9 |
* @param systemUrl |
* @param setActive |
* @return |
* @throws IOException |
* @throws JSONException |
* @throws JAXBException |
* @throws java.io.IOException |
* @throws org.json.JSONException |
* @throws javax.xml.bind.JAXBException |
*/ |
public String sincronizeCoursesStudiesPlans(String systemUrl,boolean setActive,UserSession sess) throws IOException, JSONException, JAXBException { |
814,8 → 814,8 |
* @param systemUrl |
* @param code |
* @param c |
* @throws IOException |
* @throws JSONException |
* @throws java.io.IOException |
* @throws org.json.JSONException |
*/ |
private void updateCourseComissionMembersAndCourseInfo(String systemUrl, String code, Course c) throws IOException, JSONException |
{ |
1267,8 → 1267,8 |
* chama o serviço tier1 UserRoleConfigService.createNewNormalizedRoleService |
* @param session |
* @return |
* @throws IOException |
* @throws AccessDeniedException |
* @throws java.io.IOException |
* @throws pt.estgp.estgweb.filters.exceptions.AccessDeniedException |
*/ |
public CourseDepartmentImpl newDepartmentRolesFromJson(String json,UserSession session) throws IOException, AccessDeniedException { |
CourseDepartmentImpl courseDepartment = CourseDepartmentImpl.loadFromJson(json); |
/branches/grupo9/impl/src/java/pt/estgp/estgweb/services/courses/coursereport/documentmodel/learningresults/components/GlobalLearningResultsChartImg.java |
---|
27,7 → 27,7 |
* |
* @param results |
* @return the tmp path for generated chart |
* @throws IOException |
* @throws java.io.IOException |
*/ |
public FileUploaded generateChart2tmp(UnitsLearningResultsTable results,CourseReportDocument courseReportDocument) throws IOException |
{ |
/branches/grupo9/impl/src/java/pt/estgp/estgweb/services/users/UserRoleConfigService.java |
---|
62,7 → 62,7 |
* @param newRoleStr |
* @param session |
* @return |
* @throws AccessDeniedException |
* @throws pt.estgp.estgweb.filters.exceptions.AccessDeniedException |
*/ |
public ReplaceRoleResult createNewNormalizedRoleService(String oldRole,String nomeRole,String newRoleStr,UserSession session) throws AccessDeniedException { |
ReplaceRoleResult result; |