/branches/v3/impl/src/java/pt/estgp/estgweb/services/courses/CoursesService.java |
---|
336,9 → 336,11 |
{ |
logger.info("GENERATING FICHA CURRICULAR URL For " + unidadeType.getNome()); |
String url = systemUrl != null ? systemUrl : ""; |
if(!url.endsWith("/;")) |
if(!url.endsWith("/")) |
url = url + "/"; |
unidadeType.setUrlFichaCurricular(url + "startLoadCourseUnitSiges.do?unitCode=" + unidadeType.getSiges() + "&courseCode=" + curso.getSiges() + "&semestre=" + semestre.getId()); |
unidadeType.setUrlFichaCurricular(url + "startLoadCourseUnitProgramSiges.do?unitCode=" + unidadeType.getSiges() + "&courseCode=" + curso.getSiges() + "&semestre=" + semestre.getId()); |
unidadeType.setUrlUnidadeCurricular(url + "startLoadCourseUnitSiges.do?unitCode=" + unidadeType.getSiges() + "&courseCode=" + curso.getSiges() + "&semestre=" + semestre.getId()); |
} |
} |
/branches/v3/impl/src/hbm/pt/estgp/estgweb/domain/Course.hbm.xml |
---|
23,7 → 23,7 |
<property name="degree" type="string" index="degreeIndex"/> |
<property name="status" type="boolean"/> |
<property name="cacheWebDocument" type="text"> |
<column name="cacheWebDocument" sql-type="TEXT"/> |
<column name="cacheWebDocument" sql-type="MEDIUMTEXT"/> |
</property> |
<!--legacy--> |
<property name="studiesPlan" type="string" index="studiesPlanIndex"/> |
/branches/v3/impl/src/xsd/planoestudos.xsd |
---|
56,6 → 56,7 |
<xsd:complexType name="unidadeType"> |
<xsd:sequence> |
<xsd:element name="urlFichaCurricular" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
<xsd:element name="urlUnidadeCurricular" type="xsd:string" minOccurs="0" maxOccurs="1"/> |
<xsd:element name="nome" type="xsd:string"/> |
<xsd:element name="dep" type="xsd:string"/> |
<xsd:element name="totalHoras" type="xsd:int"/> |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/package-info.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// Generated on: 2016.07.29 at 04:29:45 PM WEST |
// |
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.estgp.pt/xsd/planoestudos/1.0/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/Curso.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// Generated on: 2016.07.29 at 04:29:45 PM WEST |
// |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/UnidadeType.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// Generated on: 2016.07.29 at 04:29:45 PM WEST |
// |
26,6 → 26,7 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
* <sequence> |
* <element name="urlFichaCurricular" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
* <element name="urlUnidadeCurricular" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
* <element name="nome" type="{http://www.w3.org/2001/XMLSchema}string"/> |
* <element name="dep" type="{http://www.w3.org/2001/XMLSchema}string"/> |
* <element name="totalHoras" type="{http://www.w3.org/2001/XMLSchema}int"/> |
63,6 → 64,7 |
@XmlAccessorType(XmlAccessType.FIELD) |
@XmlType(name = "unidadeType", propOrder = { |
"urlFichaCurricular", |
"urlUnidadeCurricular", |
"nome", |
"dep", |
"totalHoras", |
73,6 → 75,7 |
public class UnidadeType { |
protected String urlFichaCurricular; |
protected String urlUnidadeCurricular; |
@XmlElement(required = true) |
protected String nome; |
@XmlElement(required = true) |
112,6 → 115,30 |
} |
/** |
* Gets the value of the urlUnidadeCurricular property. |
* |
* @return |
* possible object is |
* {@link String } |
* |
*/ |
public String getUrlUnidadeCurricular() { |
return urlUnidadeCurricular; |
} |
/** |
* Sets the value of the urlUnidadeCurricular property. |
* |
* @param value |
* allowed object is |
* {@link String } |
* |
*/ |
public void setUrlUnidadeCurricular(String value) { |
this.urlUnidadeCurricular = value; |
} |
/** |
* Gets the value of the nome property. |
* |
* @return |
/branches/v3/impl/gen/java/pt/estgp/estgweb/services/courses/xsd/ObjectFactory.java |
---|
2,7 → 2,7 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> |
// Any modifications to this file will be lost upon recompilation of the source schema. |
// Generated on: 2016.07.29 at 04:05:35 PM WEST |
// Generated on: 2016.07.29 at 04:29:45 PM WEST |
// |
37,19 → 37,19 |
} |
/** |
* Create an instance of {@link Curso.Semestre.Perfil } |
* Create an instance of {@link Curso.Semestre } |
* |
*/ |
public Curso.Semestre.Perfil createCursoSemestrePerfil() { |
return new Curso.Semestre.Perfil(); |
public Curso.Semestre createCursoSemestre() { |
return new Curso.Semestre(); |
} |
/** |
* Create an instance of {@link UnidadeType } |
* Create an instance of {@link Curso.Semestre.Perfil } |
* |
*/ |
public UnidadeType createUnidadeType() { |
return new UnidadeType(); |
public Curso.Semestre.Perfil createCursoSemestrePerfil() { |
return new Curso.Semestre.Perfil(); |
} |
/** |
61,19 → 61,19 |
} |
/** |
* Create an instance of {@link UnidadeType.HorasContacto } |
* Create an instance of {@link UnidadeType } |
* |
*/ |
public UnidadeType.HorasContacto createUnidadeTypeHorasContacto() { |
return new UnidadeType.HorasContacto(); |
public UnidadeType createUnidadeType() { |
return new UnidadeType(); |
} |
/** |
* Create an instance of {@link Curso.Semestre } |
* Create an instance of {@link UnidadeType.HorasContacto } |
* |
*/ |
public Curso.Semestre createCursoSemestre() { |
return new Curso.Semestre(); |
public UnidadeType.HorasContacto createUnidadeTypeHorasContacto() { |
return new UnidadeType.HorasContacto(); |
} |
} |