Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 99 → Rev 111

/impl/conf/language/MessageResourcesCommon.properties
5,16 → 5,24
################################################################################
search=Pesquisar
search.form=Formulário de Pesquisa
search.results=Resultados da Pesquisa
search.results=Resultados da Pesquisa ({0})
search.next=Próxima Página
search.previous=Página Anterior
search.see.more=ver mais
search.type.phrase=Frase Exacta
search.type.any=Algumas Palavras
search.type.all=Todas as Palavras
search.pages=Páginas
 
search.pages.header=Geral
search.pages.found.results=Resultados
search.pages.for.about=de aproximadamente
 
search.no.results=Lamentamos mas não foram encontrados quaisquer resultados para a busca
search.no.results.suggest=Sugestões
search.no.results.suggest.1=Será que está a escolher mal as palavras?
search.no.results.suggest.2=Será que deu um erro ortográfico?
search.no.results.suggest.3=Será que está a usar demasiadas palavras chave?
 
result.previous=Página Anterior
result.next=Próxima página
/impl/conf/language/MessageResources.properties
91,6 → 91,7
 
#palavras comuns
at=a
loading=Carregando
#Menus
site.title=Escola Superior de Tecnologia e Gestão
administration=Administração
/impl/conf/WEB-INF/struts/struts-default.xml
11,6 → 11,7
<!-- Import -->
<!--<form-bean type="pt.estgp.estgweb.web.form.announcements.AnnouncementsForm" name="AnnouncementsForm"/>-->
<form-bean type="pt.estgp.estgweb.web.form.EmptyForm" name="EmptyForm"/>
<form-bean type="pt.estgp.estgweb.web.form.profile.ProfileForm" name="ProfileForm"/>
<!--<form-bean type="com.innovkey.opt.imports.web.ImportForm" name="ImportForm"/>-->
</form-beans>
 
122,10 → 123,22
<forward name="firstTimeAuthenticate" path="page.first.time.authenticate"/>
</action>
 
<!--Profile-->
<action path="/profile"
type="pt.estgp.estgweb.web.controllers.profile.ProfileController"
name="ProfileForm"
scope="request"
parameter="dispatch"
validate="false"
input="page.profile">
<forward name="success" path="page.authentication.ok"/>
</action>
 
 
 
 
 
</action-mappings>
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
<message-resources parameter="MessageResources"/>
/impl/conf/WEB-INF/struts/tiles-default.xml
282,9 → 282,15
</definition>
<definition name="page.first.time.authenticate" extends="base.layout1">
<put name="title" value="First Time Authenticate" />
<put name="body" value="/auth/firstTimeAuthenticate.jsp" />
<put name="body" value="/admin/profile/profile.jsp" />
</definition>
 
<!-- Autenticacao -->
<definition name="page.profile" extends="base.layout1">
<put name="title" value="Profile" />
<put name="body" value="/admin/profile/profile.jsp" />
</definition>
 
<!-- ERRORS DEFINITIONS -->
<definition name="page.error.500" extends="base.error.definition">
<put name="title" value="internal error" />
/impl/conf/WEB-INF/struts/struts-commons.xml
20,6 → 20,7
 
 
<action-mappings>
<action path="/noresults" forward="page.search.noresults"/>
<action path="/startSearch" name="SearchForm" scope="request" forward="page.search.form"/>
<action path="/search"
type="pt.estgp.estgweb.web.controllers.commons.CommonsController"
/impl/conf/web-services/generic-client.xml
File deleted
/impl/conf/web-services/GoogleSearch-config.xml
New file
0,0 → 1,4
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="file:@CONFIG_ABSOLUTE_PATH@/GoogleSearch.wsdl" packageName="@package@"/>
</configuration>
/impl/conf/web-services/siges-client.xml
New file
0,0 → 1,18
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bindings
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
wsdlLocation="@wsdl.client@"
xmlns="http://java.sun.com/xml/ns/jaxws">
<bindings node="ns1:definitions" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
<package name="@ws.package@"/>
</bindings>
<bindings node="ns1:definitions/ns1:types/xsd:schema[@targetNamespace='@target.namespace@']" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
<jaxb:schemaBindings>
<jaxb:package name="@ws.package@"/>
</jaxb:schemaBindings>
</bindings>
</bindings>
 
/impl/conf/web-services/GoogleSearch.wsdl
New file
0,0 → 1,198
<?xml version="1.0"?>
 
<!-- WSDL description of the Google Web APIs.
The Google Web APIs are in beta release. All interfaces are subject to
change as we refine and extend our APIs. Please see the terms of use
for more information. -->
 
<!-- Revision 2002-08-16 -->
 
<definitions name="GoogleSearch"
targetNamespace="urn:GoogleSearch"
xmlns:typens="urn:GoogleSearch"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
 
<!-- Types for search - result elements, directory categories -->
 
<types>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:GoogleSearch">
<xsd:complexType name="GoogleSearchResult">
<xsd:all>
<xsd:element name="documentFiltering" type="xsd:boolean"/>
<xsd:element name="searchComments" type="xsd:string"/>
<xsd:element name="estimatedTotalResultsCount" type="xsd:int"/>
<xsd:element name="estimateIsExact" type="xsd:boolean"/>
<xsd:element name="resultElements" type="typens:ResultElementArray"/>
<xsd:element name="searchQuery" type="xsd:string"/>
<xsd:element name="startIndex" type="xsd:int"/>
<xsd:element name="endIndex" type="xsd:int"/>
<xsd:element name="searchTips" type="xsd:string"/>
<xsd:element name="directoryCategories" type="typens:DirectoryCategoryArray"/>
<xsd:element name="searchTime" type="xsd:double"/>
</xsd:all>
</xsd:complexType>
 
<xsd:complexType name="ResultElement">
<xsd:all>
<xsd:element name="summary" type="xsd:string"/>
<xsd:element name="URL" type="xsd:string"/>
<xsd:element name="snippet" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="cachedSize" type="xsd:string"/>
<xsd:element name="relatedInformationPresent" type="xsd:boolean"/>
<xsd:element name="hostName" type="xsd:string"/>
<xsd:element name="directoryCategory" type="typens:DirectoryCategory"/>
<xsd:element name="directoryTitle" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="ResultElementArray">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:ResultElement[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
 
<xsd:complexType name="DirectoryCategoryArray">
<xsd:complexContent>
<xsd:restriction base="soapenc:Array">
<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="typens:DirectoryCategory[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
 
<xsd:complexType name="DirectoryCategory">
<xsd:all>
<xsd:element name="fullViewableName" type="xsd:string"/>
<xsd:element name="specialEncoding" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
 
</xsd:schema>
</types>
 
<!-- Messages for Google Web APIs - cached page, search, spelling. -->
<message name="doGetCachedPage">
<part name="key" type="xsd:string"/>
<part name="url" type="xsd:string"/>
</message>
 
<message name="doGetCachedPageResponse">
<part name="return" type="xsd:base64Binary"/>
</message>
 
<message name="doSpellingSuggestion">
<part name="key" type="xsd:string"/>
<part name="phrase" type="xsd:string"/>
</message>
 
<message name="doSpellingSuggestionResponse">
<part name="return" type="xsd:string"/>
</message>
 
<!-- note, ie and oe are ignored by server; all traffic is UTF-8. -->
 
<message name="doGoogleSearch">
<part name="key" type="xsd:string"/>
<part name="q" type="xsd:string"/>
<part name="start" type="xsd:int"/>
<part name="maxResults" type="xsd:int"/>
<part name="filter" type="xsd:boolean"/>
<part name="restrict" type="xsd:string"/>
<part name="safeSearch" type="xsd:boolean"/>
<part name="lr" type="xsd:string"/>
<part name="ie" type="xsd:string"/>
<part name="oe" type="xsd:string"/>
</message>
 
<message name="doGoogleSearchResponse">
<part name="return" type="typens:GoogleSearchResult"/>
</message>
 
<!-- Port for Google Web APIs, "GoogleSearch" -->
 
<portType name="GoogleSearchPort">
 
<operation name="doGetCachedPage">
<input message="typens:doGetCachedPage"/>
<output message="typens:doGetCachedPageResponse"/>
</operation>
 
<operation name="doSpellingSuggestion">
<input message="typens:doSpellingSuggestion"/>
<output message="typens:doSpellingSuggestionResponse"/>
</operation>
 
<operation name="doGoogleSearch">
<input message="typens:doGoogleSearch"/>
<output message="typens:doGoogleSearchResponse"/>
</operation>
 
</portType>
 
 
<!-- Binding for Google Web APIs - RPC, SOAP over HTTP -->
 
<binding name="GoogleSearchBinding" type="typens:GoogleSearchPort">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
 
<operation name="doGetCachedPage">
<soap:operation soapAction="urn:GoogleSearchAction"/>
<input>
<soap:body use="encoded"
namespace="urn:GoogleSearch"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn:GoogleSearch"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
 
<operation name="doSpellingSuggestion">
<soap:operation soapAction="urn:GoogleSearchAction"/>
<input>
<soap:body use="encoded"
namespace="urn:GoogleSearch"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn:GoogleSearch"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
 
<operation name="doGoogleSearch">
<soap:operation soapAction="urn:GoogleSearchAction"/>
<input>
<soap:body use="encoded"
namespace="urn:GoogleSearch"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded"
namespace="urn:GoogleSearch"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
 
<!-- Endpoint for Google Web APIs -->
<service name="GoogleSearchService">
<port name="GoogleSearchPort" binding="typens:GoogleSearchBinding">
<soap:address location="http://api.google.com/search/beta2"/>
</port>
</service>
 
</definitions>
/impl/src/java/jomm/web/utils/TopNav.java
31,6 → 31,16
NavPlace n = new NavPlace(url,messageKey,navPlaces.size());
navPlaces.add(n);
}
public void addNavPlace(String url, String messageKey,String arg)
{
NavPlace n = new NavPlace(url,messageKey,navPlaces.size(),arg);
navPlaces.add(n);
}
public void addNavPlace(String url, String messageKey,String arg0,String arg1)
{
NavPlace n = new NavPlace(url,messageKey,navPlaces.size(),arg0,arg1);
navPlaces.add(n);
}
 
public String getTitle() {
return title;
/impl/src/java/jomm/web/utils/NavPlace.java
1,5 → 1,9
package jomm.web.utils;
 
import jomm.utils.MessageResources;
 
import javax.servlet.http.HttpServletRequest;
 
/**
*
* @author Jorge Machado
10,13 → 14,16
private int pos;
private String url;
private String key;
private String arg0 = null;
private String arg1 = null;
 
/**
* Creates a new instance of NavPlace
*
* @param url to go
* @param key in messages
* */
* @param pos in list
*/
public NavPlace(String url,String key, int pos)
{
this.url = url;
24,7 → 31,40
this.pos = pos;
}
 
/**
* Creates a new instance of NavPlace
*
* @param url to go
* @param key in messages
* @param pos in list
* @param arg0 of message
*/
public NavPlace(String url,String key, int pos, String arg0)
{
this.url = url;
this.key = key;
this.pos = pos;
this.arg0 = arg0;
}
/**
* Creates a new instance of NavPlace
*
* @param url to go
* @param key in messages
* @param pos in list
* @param arg0 of message
* @param arg1 of message
*/
public NavPlace(String url,String key, int pos, String arg0, String arg1)
{
this.url = url;
this.key = key;
this.pos = pos;
this.arg0 = arg0;
this.arg1 = arg1;
}
 
 
public String getUrl()
{
 
47,9 → 87,24
return key;
}
 
public String getArg0() {
return arg0;
}
 
public void setKey(String key) {
this.key = key;
}
 
public String getMessage(HttpServletRequest request)
{
if(arg1 != null)
return MessageResources.getMessage(request,key,arg0,arg1);
else if(arg0 != null)
return MessageResources.getMessage(request,key,arg0);
else
return MessageResources.getMessage(request,key);
}
 
 
 
}
/impl/src/java/pt/estgp/estgweb/services/common/ISearchResults.java
21,5 → 21,7
public int getPreviousPage();
public int getMaxResultsPage();
public String getQuery();
public String getSearchType();
 
 
}
/impl/src/java/pt/estgp/estgweb/services/common/impl/CommonSearchResults.java
16,6 → 16,8
 
private List<ISearchResults> results;
private int totalResults = 0;
private String query;
private String searchType;
 
public List<ISearchResults> getSearchResults()
42,4 → 44,21
{
this.totalResults += totalResults;
}
 
 
public String getQuery() {
return query;
}
 
public void setQuery(String query) {
this.query = query;
}
 
public String getSearchType() {
return searchType;
}
 
public void setSearchType(String searchType) {
this.searchType = searchType;
}
}
/impl/src/java/pt/estgp/estgweb/services/common/CommonServicesManager.java
77,6 → 77,8
}
}
commonSearchResults.setResults(results);
commonSearchResults.setQuery(query);
commonSearchResults.setSearchType(searchType.getMessageKey());
return commonSearchResults;
}
 
/impl/src/java/pt/estgp/estgweb/services/common/ICommonSearchResults.java
12,4 → 12,6
{
public List<ISearchResults> getSearchResults();
public int getTotalResults();
public String getQuery();
public String getSearchType();
}
/impl/src/java/pt/estgp/estgweb/services/sigesimports/ImportCourseService.java
New file
0,0 → 1,92
package pt.estgp.estgweb.services.sigesimports;
 
import pt.utl.ist.berserk.logic.serviceManager.IService;
import pt.estgp.estgweb.services.blogs.CreateBlogService;
import pt.estgp.estgweb.services.expceptions.ServiceException;
import pt.estgp.estgweb.domain.views.BlogView;
import pt.estgp.estgweb.domain.Blog;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.dao.DaoFactory;
import pt.estgp.estgweb.Globals;
import pt.ipportalegre.siges.web.services.*;
import org.apache.log4j.Logger;
 
import java.util.*;
import java.math.BigDecimal;
 
/*
* @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
*
*
* Created at 17/Out/2003 , 23:45:24
*
*/
/**
* @author Jorge Machado
*
*
* Created at 17/Out/2003 , 23:45:24
*
*/
public class ImportCourseService implements IService {
private static final Logger logger = Logger.getLogger(ImportCourseService.class);
 
public void run() throws ServiceException
{
 
HashMap<Integer, Disciplina> disciplinasMap = new HashMap<Integer,Disciplina>();
HashMap<Integer, Disciplina> cursosMap = new HashMap<Integer,Disciplina>();
SiGesWEB service = new SiGesWEB();
ArrayOfDisciplina arrayOfDisciplina = service.getSiGesWEBSoap().getDisciplinasDaInstituicao(new BigDecimal(1),"200708");
List<Disciplina> disciplinas = arrayOfDisciplina.getDisciplina();
for(Disciplina d: disciplinas)
{
disciplinasMap.put(d.getCodigo().intValue(),d);
cursosMap.put(d.getCodigoCurso().intValue(),d);
System.out.println(d.getNome() + " " + d.getNomeCurso());
 
}
 
Set<Map.Entry<Integer,Disciplina>> set = disciplinasMap.entrySet();
for(Map.Entry<Integer,Disciplina> entry : set)
{
Disciplina d = entry.getValue();
}
 
 
System.out.println("\nCursos--------------------------------");
Set<Map.Entry<Integer,Disciplina>> set2 = cursosMap.entrySet();
for(Map.Entry<Integer,Disciplina> entry : set2)
{
Disciplina d = entry.getValue();
d.getCodigoCurso();
d.getGrauCurso();
d.getNomeCurso();
 
System.out.println(":" + d.getNomeCurso());
}
 
Aluno a = service.getSiGesWEBSoap().getAlunoInscrito(new BigDecimal(947),new BigDecimal(1),"200708");
System.out.println(a.getCodigo());
System.out.println(a.getNome());
System.out.println(a.getNumeroBi());
System.out.println(a.getEmail());
System.out.println(a.getUsernameNetpa());
ArrayOfDecimal ad = a.getDisciplinasInscrito();
for(BigDecimal d :ad.getDecimal())
{
Disciplina dAux = disciplinasMap.get(d.intValue());
System.out.println(dAux.getNome() + " " + dAux.getNomeCurso());
}
}
 
public static void main(String[]args) throws ServiceException {
 
 
new ImportCourseService().run();
 
}
 
 
}
/impl/src/java/pt/estgp/estgweb/services/authenticate/AuthenticateService.java
85,6 → 85,7
UserImpl u = DomainObjectFactory.createUserImpl();
u.setUsername(username);
u.setName(getName(map));
u.setAddress("urra");
u.setRoles(getRoles(map));
u.setNewUser(true);
DaoFactory.getUserDaoImpl().save(u);
/impl/src/java/pt/estgp/estgweb/domain/dao/impl/CourseUnitDaoImpl.java
New file
0,0 → 1,23
package pt.estgp.estgweb.domain.dao.impl;
 
/**
* @author Jorge Machado
* @date 28/Fev/2008
* @time 2:51:06
* @see pt.estgp.estgweb.domain.dao.impl
*/
public class CourseUnitDaoImpl extends CourseUnitDao
{
 
 
private CourseUnitDaoImpl() {
}
 
public static CourseUnitDaoImpl getInstance()
{
if (myInstance == null)
myInstance = new CourseUnitDaoImpl();
return (CourseUnitDaoImpl) myInstance;
}
 
}
/impl/src/java/pt/estgp/estgweb/domain/dao/impl/BlogDaoImpl.java
18,6 → 18,8
*/
public class BlogDaoImpl extends BlogDao
{
private BlogDaoImpl(){}
 
public static BlogDaoImpl getInstance()
{
if (myInstance == null)
/impl/src/java/pt/estgp/estgweb/domain/dao/DaoFactory.java
79,4 → 79,8
{
return BlogPostDaoImpl.getInstance();
}
public static CourseUnitDaoImpl getCourseUnitDaoImpl()
{
return CourseUnitDaoImpl.getInstance();
}
}
/impl/src/java/pt/estgp/estgweb/domain/DomainObjectFactory.java
78,14 → 78,18
return new TesteImpl();
}
 
public static BlogImpl createBlogImpl()
public static BlogImpl createBlogImpl()
{
return new BlogImpl();
}
 
public static BlogPostImpl createBlogPostImpl()
public static BlogPostImpl createBlogPostImpl()
{
return new BlogPostImpl();
}
 
public static CourseUnitImpl createCourseUnitImpl()
{
return new CourseUnitImpl();
}
}
/impl/src/java/pt/estgp/estgweb/web/form/profile/ProfileForm.java
New file
0,0 → 1,24
package pt.estgp.estgweb.web.form.profile;
 
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.web.form.ApplicationForm;
 
/**
* @author Fabio
* @date 30/Abr/2008
* @time 17:18:57
* @see pt.estgp.estgweb.web.form.profile
*/
public class ProfileForm extends ApplicationForm
{
private User user;
 
public User getUser() {
return user;
}
 
public void setUser(User user) {
this.user = user;
}
}
 
/impl/src/java/pt/estgp/estgweb/web/form/AddRolesForm.java
35,7 → 35,7
 
public void setTargetRoles(List<String> roles)
{
 
this.selectedRoles=roles;
}
 
 
/impl/src/java/pt/estgp/estgweb/web/form/EmptyForm.java
1,6 → 1,8
package pt.estgp.estgweb.web.form;
 
import org.apache.struts.action.ActionForm;
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.UserImpl;
 
/**
* @author Jorge Machado
/impl/src/java/pt/estgp/estgweb/web/form/announcements/AnnouncementsForm.java
158,8 → 158,8
public ActionErrors validate(org.apache.struts.action.ActionMapping actionMapping, javax.servlet.http.HttpServletRequest httpServletRequest)
{
 
if(!httpServletRequest.getParameter("dispatch").equals("removeRole"))
 
if(httpServletRequest.getParameter("dispatch").equals("save"))
{
UserSessionImpl userSession = null;
try
178,33 → 178,8
logger.error(throwable,throwable);
}
}
else if (httpServletRequest.getParameter("dispatch").equals("removeRole"))
{
try {
UserSessionImpl userSession = null;
int count=0,roleToRemove=0;
userSession = (UserSessionImpl) UserSessionProxy.loadUserSessionFromRequest(httpServletRequest);
List<String> roles = (List<String>) userSession.get(TARGET_ROLES_KEY);
if(roles != null || roles.size() != 0)
{
for(String role: roles)
{
if(role.equals(this.role))
{
roleToRemove=count;
}
count++;
}
}
roles.remove(roleToRemove);
announcementView.setTargetRoles(roles);
} catch (Throwable throwable) {
logger.error(throwable,throwable);
}
}
 
 
 
if(httpServletRequest.getParameter("dispatch").equals("addRole") || httpServletRequest.getParameter("dispatch").equals("removeRole"))
return null;
ActionErrors errors = new ActionErrors();
/impl/src/java/pt/estgp/estgweb/web/controllers/profile/ProfileController.java
New file
0,0 → 1,70
package pt.estgp.estgweb.web.controllers.profile;
 
import pt.estgp.estgweb.web.controllers.ApplicationDispatchController;
import pt.estgp.estgweb.web.controllers.authenticate.AuthenticateController;
import pt.estgp.estgweb.web.utils.RequestUtils;
import pt.estgp.estgweb.web.exceptions.NoCookiesException;
import pt.estgp.estgweb.web.UserSessionProxy;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.UserImpl;
import pt.estgp.estgweb.Globals;
import pt.estgp.estgweb.services.authenticate.AuthenticateException;
import pt.utl.ist.berserk.logic.serviceManager.IServiceManager;
import pt.utl.ist.berserk.logic.serviceManager.ServiceManager;
import org.apache.log4j.Logger;
import org.apache.struts.action.*;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
import java.io.IOException;
 
/**
* @author Jorge Machado
* @date 26/Fev/2008
* @time 18:01:54
* @see pt.estgp.estgweb.web
*/
public class ProfileController extends ApplicationDispatchController {
 
private static final Logger logger = Logger.getLogger(ProfileController.class);
 
public ActionForward editUser(ActionMapping mapping,
ActionForm form ,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException {
 
String username = request.getParameter("username");
String password = request.getParameter("password");
 
try
{
IServiceManager sm = ServiceManager.getInstance();
Object[] args = new Object[]{username,password};
UserSession userSession = (UserSession) sm.execute(RequestUtils.getRequester(request),"Authenticate",args);
request.setAttribute(Globals.USER_SESSION_KEY,userSession);
if(!((UserImpl)userSession.getUser()).isNewUser())
return mapping.findForward("success");
else
{
return mapping.findForward("firstTimeAuthenticate");
}
 
}
catch (AuthenticateException e)
{
ActionMessages actionMessages = new ActionMessages();
actionMessages.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage(e.getMessage()));
saveErrors(request, actionMessages);
return mapping.getInputForward();
}
catch (Throwable e)
{
if(e instanceof NoCookiesException)
return mapping.findForward("errorNoCookies");
logger.fatal(e,e);
}
return mapping.findForward("error500");
}
}
/impl/src/java/pt/estgp/estgweb/web/controllers/AddRolesController.java
16,6 → 16,7
import java.io.Serializable;
import java.util.List;
import java.util.ArrayList;
import java.util.Iterator;
 
/**
* @author Jorge Machado
31,29 → 32,29
private static final String TARGET_ROLES_KEY = AddRolesForm.TARGET_ROLES_KEY;
 
public ActionForward start(ActionMapping mapping,
ActionForm form ,
HttpServletRequest request,
HttpServletResponse response)
throws Throwable, ServletException
{
try
{
UserSessionImpl sess = (UserSessionImpl) UserSessionProxy.loadUserSession(request);
sess.remove(TARGET_ROLES_KEY);
sess.serialize(request);
return mapping.findForward("submit");
}
catch(FilterChainFailedException e)
{
return mapping.findForward("error401");
}
catch (Throwable e)
{
logger.error(e,e);
throw e;
}
}
ActionForm form ,
HttpServletRequest request,
HttpServletResponse response)
throws Throwable, ServletException
{
try
{
UserSessionImpl sess = (UserSessionImpl) UserSessionProxy.loadUserSession(request);
sess.remove(TARGET_ROLES_KEY);
sess.serialize(request);
return mapping.findForward("submit");
}
catch(FilterChainFailedException e)
{
return mapping.findForward("error401");
}
catch (Throwable e)
{
logger.error(e,e);
throw e;
}
}
 
public ActionForward addRole(ActionMapping mapping,
ActionForm form ,
HttpServletRequest request,
98,28 → 99,27
HttpServletResponse response)
throws Throwable, ServletException
{
try
 
AddRolesForm addRolessForm = (AddRolesForm) form;
UserSessionImpl sess = (UserSessionImpl) request.getAttribute(Globals.USER_SESSION_KEY);
List<String> roles = (List<String>) sess.get(TARGET_ROLES_KEY);
 
if(roles != null || roles.size() != 0)
{
AddRolesForm addRolessForm = (AddRolesForm) form;
UserSessionImpl sess = (UserSessionImpl) request.getAttribute(Globals.USER_SESSION_KEY);
List<String> l = (List<String>) sess.get(TARGET_ROLES_KEY);
 
if(l != null)
Iterator iterator = roles.iterator();
while (iterator.hasNext())
{
l.remove(addRolessForm.getRole());
sess.put(TARGET_ROLES_KEY, (Serializable) l);
sess.serialize(request);
String role = (String) iterator.next();
if(role.equals(addRolessForm.getRole()))
{
iterator.remove();
}
}
}
catch(FilterChainFailedException e)
{
return mapping.findForward("error401");
}
catch (Throwable e)
{
logger.error(e,e);
throw e;
}
addRolessForm.setTargetRoles(roles);
addRolessForm.setSelectedRoles(roles);
sess.put(TARGET_ROLES_KEY, (Serializable) roles);
sess.serialize(request);
return mapping.getInputForward();
}
 
/impl/src/java/pt/estgp/estgweb/web/controllers/ApplicationController.java
34,14 → 34,7
 
private static final Logger logger = Logger.getLogger(ApplicationController.class);
 
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException {
logger.fatal("ATENTION YOU ARE USING A CONTROLLER EXTENDING FROM ApplicationController that does not implement execute Method, probably you want to extend from ApplicationDispatchController instead ApplicationController");
return mapping.findForward("error500");
}
public ActionMessages getMessages(HttpServletRequest request)
{
ActionMessages actionMessages = super.getMessages(request);
/impl/src/java/pt/estgp/estgweb/web/controllers/commons/CommonsController.java
44,16 → 44,18
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Throwable, ServletException {
throws Throwable, ServletException
{
try
{
ICommonSearchResults commonSearchResults = CommonServicesManager.getInstance().search(request,request.getParameter("query"), SearchTypeEnum.parse(request.getParameter("searchType")));
if(commonSearchResults.getTotalResults() == 0)
return mapping.findForward("noresults");
// if(commonSearchResults.getTotalResults() == 0)
// return mapping.findForward("noresults");
request.setAttribute("ICommonSearchResults",commonSearchResults);
return mapping.findForward("searchResults");
}
catch (FilterChainFailedException e) {
catch (FilterChainFailedException e)
{
return mapping.findForward("error401");
}
catch (Throwable e) {
/impl/src/java/pt/estgp/estgweb/web/controllers/announcements/AnnouncementsController.java
122,7 → 122,6
}
}
 
//TODO verificar problema com com dispatch=edit
public ActionForward edit(ActionMapping mapping,
ActionForm form ,
HttpServletRequest request,
/impl/src/java/pt/estgp/estgweb/web/controllers/authenticate/AuthenticateController.java
8,6 → 8,8
import pt.estgp.estgweb.web.utils.RequestUtils;
import pt.estgp.estgweb.web.exceptions.NoCookiesException;
import pt.estgp.estgweb.web.UserSessionProxy;
import pt.estgp.estgweb.web.form.EmptyForm;
import pt.estgp.estgweb.web.form.profile.ProfileForm;
import pt.estgp.estgweb.utils.ConfigProperties;
import pt.estgp.estgweb.services.authenticate.AuthenticateException;
import pt.estgp.estgweb.Globals;
58,7 → 60,12
if(!((UserImpl)userSession.getUser()).isNewUser())
return mapping.findForward("success");
else
{
ProfileForm profileForm = new ProfileForm();
profileForm.setUser(userSession.getUser());
request.setAttribute("ProfileForm",profileForm);
return mapping.findForward("firstTimeAuthenticate");
}
 
}
catch (AuthenticateException e)
/impl/src/java/pt/ipp/siges/web/services/clients/Test.java
9,10 → 9,21
 
package pt.ipp.siges.web.services.clients;
 
import pt.ipp.siges.web.services.clients.*;
 
 
import pt.ipportalegre.siges.web.services.Disciplina;
import pt.ipportalegre.siges.web.services.ArrayOfDisciplina;
import pt.ipportalegre.siges.web.services.Aluno;
import pt.ipportalegre.siges.web.services.SiGesWEB;
import pt.ipportalegre.siges.web.services.ArrayOfDecimal;
 
 
import java.math.BigDecimal;
import java.rmi.RemoteException;
import java.util.Iterator;
import java.util.List;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
 
/**
*
26,21 → 37,55
public static void main(String[]args) throws RemoteException
{
 
HashMap<Integer, Disciplina> disciplinasMap = new HashMap<Integer,Disciplina>();
HashMap<Integer, Disciplina> cursosMap = new HashMap<Integer,Disciplina>();
SiGesWEB service = new SiGesWEB();
ArrayOfDocente docentes = service.getSiGesWEBSoap().getDocentes();
List<Docente> docentesLst = docentes.getDocente();
Iterator iter = docentesLst.iterator();
while(iter.hasNext())
ArrayOfDisciplina arrayOfDisciplina = service.getSiGesWEBSoap().getDisciplinasDaInstituicao(new BigDecimal(1),"200708");
List<Disciplina> disciplinas = arrayOfDisciplina.getDisciplina();
for(Disciplina d: disciplinas)
{
Docente d = (Docente) iter.next();
System.out.println(d.getNomeAcademico());
disciplinasMap.put(d.getCodigo().intValue(),d);
cursosMap.put(d.getCodigoCurso().intValue(),d);
System.out.println(d.getNome() + " " + d.getNomeCurso());
 
}
 
Set<Map.Entry<Integer,Disciplina>> set = disciplinasMap.entrySet();
for(Map.Entry<Integer,Disciplina> entry : set)
{
Disciplina d = entry.getValue();
}
 
 
System.out.println("\nCursos--------------------------------");
Set<Map.Entry<Integer,Disciplina>> set2 = cursosMap.entrySet();
for(Map.Entry<Integer,Disciplina> entry : set2)
{
Disciplina d = entry.getValue();
d.getCodigoCurso();
d.getGrauCurso();
d.getNomeCurso();
 
System.out.println(":" + d.getNomeCurso());
}
 
Aluno a = service.getSiGesWEBSoap().getAlunoInscrito(new BigDecimal(947),new BigDecimal(1),"200708");
System.out.println(a.getCodigo());
System.out.println(a.getNome());
System.out.println(a.getNumeroBi());
System.out.println(a.getEmail());
System.out.println(a.getUsernameNetpa());
ArrayOfDecimal ad = a.getDisciplinasInscrito();
for(BigDecimal d :ad.getDecimal())
{
Disciplina dAux = disciplinasMap.get(d.intValue());
System.out.println(dAux.getNome() + " " + dAux.getNomeCurso());
 
}
 
 
 
}
 
/impl/src/java/com/google/api/ws/clients/Test.java
New file
0,0 → 1,18
package com.google.api.ws.clients;
 
import java.rmi.RemoteException;
 
/**
* @author Jorge Machado
* @date 30/Abr/2008
* @time 19:21:11
* @see com.google.api.ws.clients
*/
public class Test
{
// public static void main(String[] args) throws RemoteException, ServiceException {
//// GoogleSearchService googleSearchService = new GoogleSearchService_Impl();
//// GoogleSearchResult result = googleSearchService.getGoogleSearchPort().doGoogleSearch(null,"jorge",0,10,false,null,false,null,null,null);
//// System.out.println(result.getEstimatedTotalResultsCount());
// }
}
/impl/src/doc/siges/Avaliacao-ok.zip
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+ application/octet-stream
/impl/src/doc/planoTrabalho.xls
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/impl/src/hbm/pt/estgp/estgweb/domain/CourseUnit.hbm.xml
New file
0,0 → 1,27
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping
PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
 
<hibernate-mapping>
<class name="pt.estgp.estgweb.domain.CourseUnit" table="courseUnit" abstract="true">
<meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta>
<meta attribute="scope-class">public abstract</meta>
<id name="id" type="long">
<generator class="native"/>
</id>
<discriminator column="discrimitator"/>
<timestamp name="updateDate" unsaved-value="null"/>
<property name="saveDate" type="timestamp"/>
 
<property name="name" type="string"/>
<property name="code" type="string"/>
<property name="courseCode" type="string"/>
<property name="courseName" type="string" />
<property name="courseYear" type="string" />
<property name="institutionCode" type="string" />
<property name="status" type="boolean" />
 
<subclass name="pt.estgp.estgweb.domain.CourseUnitImpl" discriminator-value="CourseUnitImpl"/>
</class>
</hibernate-mapping>
/impl/src/web/imgs/google-small-logo.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+ application/octet-stream
/impl/src/web/teste.jsp
1,13 → 1,38
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
<html>
<head>
<title>My Google AJAX Search API Application</title>
<script src="http://www.google.com/jsapi?key=ABQIAAAADxvyl7Xh60gdXI_1zKmmGRRd06UxSSW2VZkRedTOEJUPCAJQLRROEqUvchzdGX57xPqsbbCUOvx1rA" type="text/javascript"></script>
<script language="Javascript" type="text/javascript">
//<![CDATA[
 
google.load("search", "1");
 
<html:form action="/teste">
<input type="hidden" name="dispatch" value="save">
function OnLoad() {
// Create a search control
var searchControl = new google.search.SearchControl();
 
Nome <html:text property="teste.name"/><br>
Morada <html:text property="teste.morada"/><br>
<html:submit/>
</html:form>
// Add in a full set of searchers
 
 
var siteSearch = new google.search.WebSearch();
siteSearch.setSiteRestriction("www.estgp.pt");
searchControl.addSearcher(siteSearch);
 
 
// Tell the searcher to draw itself and tell it where to attach
searchControl.draw(document.getElementById("searchcontrol"));
 
// Execute an inital search
searchControl.execute("Google");
}
google.setOnLoadCallback(OnLoad);
 
//]]>
</script>
</head>
<body>
<div id="searchcontrol">Loading...</div>
</body>
</html>
/impl/src/web/auth/firstTimeAuthenticate.jsp
File deleted
/impl/src/web/admin/Profile/profile.jsp
New file
0,0 → 1,46
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
<bean:message key="authentication.first.time"/> <bean:write name="UserSession" property="name"/>
<html:form action="/profile">
<input type="hidden" name="dispatch" value="editUser">
 
<table>
<tr>
<th><bean:message key="login.firts.time.name"/></th>
<td>
<html:text property="user.name" maxlength="250"/>
</td>
</tr>
<tr>
<th><bean:message key="login.first.time.address"/></th>
<td>
<html:text property="user.address" maxlength="250"/>
</td>
</tr>
<tr>
<th><bean:message key="login.first.time.zip"/></th>
<td>
<html:text property="user.zip" maxlength="250"/>
</td>
</tr>
<tr>
<th><bean:message key="login.first.time.email"/></th>
<td>
<html:text property="user.email" maxlength="250"/>
</td>
</tr>
<tr>
<th><bean:message key="login.first.time.phone.number"/></th>
<td>
<html:text property="user.phonenumber" maxlength="250"/>
</td>
</tr>
<tr class="buttons">
<td colspan="2">
<input type="button" onclick="set(this.form,'editUser');this.form.submit()" value="<bean:message key="confirm"/>"/>
</td>
</tr>
</table>
</html:form>
/impl/src/web/css/style.css
1,61 → 1,23
#searchResults li h1 {

 
background-color: lightblue;
border-bottom: blueviolet 1px solid;
margin-bottom: 10px;
}
 
#searchResults
{
padding-left:10px;
}
 
#searchResults li a
{
cursor:pointer;
/*********** Site Struture *************/
BODY *, .contentPortal, .contentPortal p, .contentPortal li {
FONT-FAMILY: "bitstream vera sans", Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE: 11px;
}
 
#searchresults div.result {
/****************************Text Size*************************************************/
 
margin-left: 20px;
border-bottom: 1px solid #8ec73f;
margin-bottom: 15px;
padding-bottom: 0;
h1 {
font-size: 1.2em;
}
 
#searchResults li .module
{
position:absolute;
visibility:hidden;
h2 {
font-size: 1em;
}
#searchResults li .module .result h2 {
 
 
color: black;
padding-top: 0;
margin-top: 10px;
cursor: pointer;
padding-bottom: 0;
}
 
#searchResults li .module .result p {
margin-top: 5px;
cursor: pointer;
margin-bottom: 0;
padding-bottom: 2px;
padding-top: 0;
}
 
 
 
 
/*********** Site Struture *************/
BODY *, .contentPortal, .contentPortal p, .contentPortal li {
FONT-FAMILY: "bitstream vera sans", Verdana, Arial, Helvetica, sans-serif;
FONT-SIZE: 1em;
}
 
.pFooter {
background-color: #8EC73F;
font-size: 0.7em;
76,6 → 38,7
margin-right: auto;
}
 
 
#pageStructure {
border-collapse: collapse;
LEFT: 0;
90,7 → 53,6
 
TD#leftPage {
VERTICAL-ALIGN: top;
WIDTH: 160px;
text-align: left;
}
 
103,7 → 65,7
 
TD.rightPage, TD.rightPagePortal {
VERTICAL-ALIGN: top;
WIDTH: 160px;
/*WIDTH: 160px;*/
}
 
.rightPagePosition {
113,6 → 75,68
PADDING-BOTTOM: 20px;
}
 
 
/*****************************************************************************************/
 
/************************************** Content Structure ********************************/
.contentPortal {
padding-left: 10px;
}
 
.content h2 {
font-size: 1em;
}
#pageStructure .content
{
border: 0;
}
.content .imageAnnouncement img
{
width:341px;
height:167px;
}
 
.content
{
border: 1px solid #8ec73f ;
}
 
.content a:link, .content a:visited {
color: #4d4d4d;
}
 
.content a:hover {
color: #8EC73F
}
 
.content, .contentPortal {
LEFT: 0;
RIGHT: 0;
WIDTH: 100%;
PADDING-BOTTOM: 10px;
VERTICAL-ALIGN: top;
}
 
.contentPortal {
border-left: #8EC73F solid 2px;
border-top: #8EC73F solid 2px;
border-bottom: #8EC73F solid 2px;
}
 
.rightPagePortal {
background-color: #ededed;
border-right: #8EC73F solid 2px;
border-top: #8EC73F solid 2px;
border-bottom: #8EC73F solid 2px;
}
 
 
/*****************************************************************************************/
 
/************************************* Footer Modules ***********************************/
 
 
#footer {
HEIGHT: 50px;
PADDING-TOP: 5px;
136,16 → 160,149
VERTICAL-ALIGN: top
}
 
/****************************Text Size*************************************************/
#license UL {
COLOR: #4D4D4D;
PADDING-RIGHT: 0;
PADDING-LEFT: 0;
FONT-SIZE: 12px;
TEXT-ALIGN: center;
MARGIN: 0;
LIST-STYLE-TYPE: none;
}
 
h1 {
font-size: 1.2em;
#footer #organizations {
}
 
h2 {
font-size: 1em;
#footer #sponsors {
}
 
#footer a:link, #footer a:visited {
color: #4d4d4d;
}
 
#footer a:hover {
color: #8EC73F;
}
 
 
/*********************************************************************************/
 
/****************** topnav **********************/
 
#topnav {
color: #FFFFFF;
text-decoration: none;
BACKGROUND-COLOR: #8EC73F;
FONT: 11px / 20px "bitstream vera sans", "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif
}
 
#topnav LI A:hover {
COLOR: #4d4d4d;
BACKGROUND-COLOR: #FFFFFF
}
 
#topnav LI A {
color: #FFFFFF;
text-decoration: none;
}
 
#topnav UL {
PADDING-RIGHT: 0;
PADDING-LEFT: 0;
PADDING-BOTTOM: 10px;
MARGIN: 0;
WIDTH: 155px;
LINE-HEIGHT: 1.5em;
PADDING-TOP: 0;
LIST-STYLE-TYPE: none
}
 
#topnav LI {
PADDING-RIGHT: 0;
DISPLAY: inline;
PADDING-LEFT: 0;
PADDING-BOTTOM: 0;
MARGIN: 0;
PADDING-TOP: 0;
}
 
 
/*****************************************************************
* Search Results
*
*****************************************************************/
 
#searchResults li h1 {
 
background-color: #D6F0B2;
border-bottom: green 1px solid;
padding:2px;
margin-bottom: 10px;
color:black;
}
 
#searchResults
{
 
padding-left:10px;
}
 
#searchResults li a
{
cursor:pointer;
}
 
#searchresults div.result {
 
margin-left: 20px;
border-bottom: 1px solid #8ec73f;
margin-bottom: 15px;
padding-bottom: 0;
}
 
#searchResults li .module
{
position:absolute;
visibility:hidden;
}
#searchResults li .module .result h2 {
 
 
color: black;
padding-top: 0;
margin-top: 10px;
cursor: pointer;
padding-bottom: 0;
}
 
#searchResults li .module .result p {
margin-top: 5px;
cursor: pointer;
margin-bottom: 0;
padding-bottom: 2px;
padding-top: 0;
}
 
#searchResults .googleLogo
{
float:right;
}
#searchResults .googleLogo td
{
 
vertical-align:middle;
color: #676767;
text-align: right;
font-size: 11px;
margin-right: 2px;
}
#searchResults .googleLogo td img
{
padding-top: 3px;
}
 
 
 
/*************************************************************************************/
 
/*****************************Portal Page Template************************************/
166,11 → 323,9
}
 
.navLeftMenu h2 {
font-size: 0.9em;
}
 
.navLeftMenu {
font-size: 0.7em;
}
 
.block P, .navLeftMenu h2 {
202,14 → 357,14
 
.portalLeftAnnouncements table {
table-layout: fixed;
width: 180px;
/*width: 180px;*/
padding-top: 10px;
font-size: 0.8em;
}
 
.portalRightAnnouncements table {
table-layout: fixed;
width: 250px;
/*width: 250px;*/
font-size: 0.8em;
}
 
229,8 → 384,10
color: #4d4d4d;
}
 
/* todo FABIO
todo Left Manus???? ao pe de portalMenus isto esta uma confusao*/
.navleftMenu {
width: 180px;
/*width: 180px;*/
padding-left: 10px;
}
 
238,9 → 395,21
color: #8EC73F;
}
 
/**********************************************************************************/
 
/****************************** Standard Page Template ***************************/
 
 
 
 
 
 
/**********************************************************************************
* TEMPLATES ESPECIFICOS:
*
* ContentPortal
* Standard Template
* IndexPage
*
****************************** ContentPortal ***************************/
.contentPortal h1 {
background-color: #8EC73F;
color: #FFFFFF;
328,7 → 497,7
 
#flashTopNews .container {
background-color: #4d4d4d;
height: 100px;
height: 95px;
width: 100%;
margin: 0;
}
423,7 → 592,6
 
/*Last News Block*/
#lastnews {
font-size: 0.8em;
}
 
#lastnews ul {
469,141 → 637,25
color: #8EC73F;
}
 
#leftMenuModule UL {
MARGIN: 0;
WIDTH: 155px;
}
.linkLeftMenu li
{
 
/*********************************************************************************/
 
/****************** topnav **********************/
 
#topnav {
color: #FFFFFF;
text-decoration: none;
BACKGROUND-COLOR: #8EC73F;
FONT: 11px / 20px "bitstream vera sans", "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif
border-bottom:1px solid #8ec73f;
}
 
#topnav LI A:hover {
COLOR: #4d4d4d;
BACKGROUND-COLOR: #FFFFFF
.linkLeftMenu li:hover
{
}
 
#topnav LI A {
color: #FFFFFF;
text-decoration: none;
}
 
#topnav UL {
PADDING-RIGHT: 0;
PADDING-LEFT: 0;
PADDING-BOTTOM: 10px;
#leftMenuModule UL {
MARGIN: 0;
WIDTH: 155px;
LINE-HEIGHT: 1.5em;
PADDING-TOP: 0;
LIST-STYLE-TYPE: none
/*WIDTH: 155px;*/
}
 
#topnav LI {
PADDING-RIGHT: 0;
DISPLAY: inline;
PADDING-LEFT: 0;
PADDING-BOTTOM: 0;
MARGIN: 0;
PADDING-TOP: 0;
}
 
/*****************************************************************************************/
 
/************************************** Content Structure ********************************/
.contentPortal {
padding-left: 10px;
padding-top: 10px;
}
 
.content h2 {
font-size: 1em;
}
#pageStructure .content
.linkLeftMenu UL li
{
border: 0;
width:110px;
}
.content .imageAnnouncement img
{
width:341px;
height:167px;
}
 
.content
{
border: 1px solid #8ec73f ;
}
 
 
 
.content {
font-size: 0.8em;
}
 
.content a:link, .content a:visited {
color: #4d4d4d;
}
 
.content a:hover {
color: #8EC73F
}
 
.content, .contentPortal {
LEFT: 0;
RIGHT: 0;
WIDTH: 100%;
PADDING-BOTTOM: 10px;
VERTICAL-ALIGN: top;
}
 
.contentPortal {
border-left: #8EC73F solid 2px;
border-top: #8EC73F solid 2px;
border-bottom: #8EC73F solid 2px;
}
 
.rightPagePortal {
background-color: #ededed;
border-right: #8EC73F solid 2px;
border-top: #8EC73F solid 2px;
border-bottom: #8EC73F solid 2px;
}
 
/*****************************************************************************************/
 
/************************************* Footer Modules ***********************************/
 
#license UL {
COLOR: #4D4D4D;
PADDING-RIGHT: 0;
PADDING-LEFT: 0;
FONT-SIZE: 12px;
TEXT-ALIGN: center;
MARGIN: 0;
LIST-STYLE-TYPE: none;
}
 
#footer #organizations {
}
 
#footer #sponsors {
}
 
#footer a:link, #footer a:visited {
color: #4d4d4d;
}
 
#footer a:hover {
color: #8EC73F;
}
 
/**************************************************************************************/
 
/******************************** Bar Module Color ************************************/
634,14 → 686,13
 
form, .boxHorizontal {
margin: 0;
padding: 3px;
border: 0px #793B0D solid;
border: 0 #793B0D solid;
background-color: #FFFFFF;
}
 
.boxHorizontal {
padding-top: 33px;
padding-left: 180px;
padding-top: 5px;
}
 
.form th, .boxHorizontal th {
721,8 → 772,6
/*Butões*/
 
input[type="text"], input[type="password"] {
FONT-SIZE: 0.8em;
FONT-FAMILY: Helvetica;
}
 
input[type="button"], input[type="submit"] {
/impl/src/web/layout/topnav.jsp
14,13 → 14,13
if (navPlace.getUrl() != null) {
%>
<li class="navPlace"><a
href="<%=request.getContextPath() + navPlace.getUrl()%>"><%=MessageResources.getMessage(request, navPlace.getKey())%>
href="<%=request.getContextPath() + navPlace.getUrl()%>"><%=navPlace.getMessage(request)%>
</a> &gt;</li>
<%
}
else {
%>
<li class="navPlace"><%=MessageResources.getMessage(request, navPlace.getKey())%>
<li class="navPlace"><%=navPlace.getMessage(request)%>
</li>
<%
}
/impl/src/web/layout/navigationTop.jsp
80,20 → 80,41
</div>
</li>
</ul>
<estgweb:pageUrlStat><img src="<%=request.getContextPath()%>/imgs/grafico.gif" style="border:0;">
</estgweb:pageUrlStat>
<estgweb:pageUrlStat><img alt="Stats" src="<%=request.getContextPath()%>/imgs/grafico.gif" style="border:0;"></estgweb:pageUrlStat>
 
 
</td>
<td class="searchTab">
<html:form action="/search">
 
<%
String allChecked = "";
String anyChecked = "";
String phraseChecked = "";
String query = request.getParameter("query");
String searchType = request.getParameter("searchType");
if(query == null)
query = "";
 
if(searchType == null)
allChecked = "checked=\"checked\"";
else if(searchType.equals("search.type.all"))
allChecked = "checked=\"checked\"";
else if(searchType.equals("search.type.any"))
anyChecked = "checked=\"checked\"";
else if(searchType.equals("search.type.phrase"))
phraseChecked = "checked=\"checked\"";
 
 
%>
<html:form action="/search" method="get">
<input type="hidden" name="dispatch" value="search">
<table>
 
<tr>
<td>
<bean:message key="search"/>
</td>
<td>
<html:text styleClass="small" property="query" value=""/>
<input type="text" class="small" name="query" value="<%=query%>"/>
</td>
<td>
<input type="button" onclick="set(this.form,'search');this.form.submit()" value="<bean:message key="search"/>">
104,11 → 125,11
<td nowrap="nowrap" colspan="3">
<table>
<tr>
<td><html:radio property="searchType" value="search.type.all"/></td>
<td><input type="radio" name="searchType" value="search.type.all" <%=allChecked%>/></td>
<td><bean:message key="search.type.all"/></td>
<td><html:radio property="searchType" value="search.type.any"/></td>
<td><input type="radio" name="searchType" value="search.type.any" <%=anyChecked%>/></td>
<td><bean:message key="search.type.any"/></td>
<td><html:radio property="searchType" value="search.type.phrase"/></td>
<td><input type="radio" name="searchType" value="search.type.phrase" <%=phraseChecked%>/></td>
<td><bean:message key="search.type.phrase"/></td>
</tr>
</table>
/impl/src/web/public/search/searchResults.jsp
6,24 → 6,118
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %>
 
<jsp:useBean id="ICommonSearchResults" scope="request" type="pt.estgp.estgweb.services.common.ICommonSearchResults"/>
 
<script src="http://www.google.com/uds/api?file=uds.js&amp;v=0.1&amp;key=ABQIAAAADxvyl7Xh60gdXI_1zKmmGRRd06UxSSW2VZkRedTOEJUPCAJQLRROEqUvchzdGX57xPqsbbCUOvx1rA" type="text/javascript"></script>
<script language="Javascript" type="text/javascript">
//<![CDATA[
 
var moduleResults = <%=ICommonSearchResults.getTotalResults()%>;
var gWebSearch;
var query = '<%=ICommonSearchResults.getQuery()%>';
var searchType = '<%=ICommonSearchResults.getSearchType()%>';
var googlePage = 0;
// var location = window.location;
var loading = '<bean:message key="loading"/>...';
var pagesResultsHeader = '<bean:message key="search.pages.header"/>...';
var pagesResultsForAbout = ' <bean:message key="search.pages.for.about"/> ';
var pagesResultsFound = ' <bean:message key="search.pages.found.results"/> ';
var pages = '<bean:message key="search.pages"/>';
 
function gotoPage(p)
{
googlePage = p;
var searchresults = document.getElementById("googleSearchResults");
searchresults.innerHTML = loading;
OnLoad();
}
function OnLoad() {
// Initialize the web searcher
gWebSearch = new GwebSearch();
gWebSearch.setSiteRestriction("www.estgp.pt");
gWebSearch.setResultSetSize(GSearch.LARGE_RESULTSET);
gWebSearch.setSearchCompleteCallback(null, OnWebSearch);
gWebSearch.execute(query);
}
 
function OnWebSearch() {
 
if(moduleResults == 0 && (!gWebSearch.results || gWebSearch.results.length == 0))
{
window.location = "<%=request.getContextPath()%>/noresults.do?query=" + query + "&searchType=" + searchType;
return;
}
if (!gWebSearch.results) return;
 
if (gWebSearch.cursor.currentPageIndex != googlePage)
gWebSearch.gotoPage(googlePage);
else
{
var searchresults = document.getElementById("googleSearchResults");
searchresults.innerHTML = "";
 
if(gWebSearch.cursor.estimatedResultCount > 0)
{
var results = "";
 
results += "<h1>" + pagesResultsHeader + " " + " " + gWebSearch.results.length + " " + pagesResultsFound + pagesResultsForAbout + gWebSearch.cursor.estimatedResultCount + "</h1>";
results += "<div id=\"googleResults\">";
for (var i = 0; i < gWebSearch.results.length; i++)
{
var thisResult = gWebSearch.results[i];
results += "<div class=\"result\">";
results += "<h2><a href=\"" + thisResult.url + "\">" + thisResult.title + "</a></h2>";
results += "<p>" + thisResult.content + "</p>";
// results += "<p class=\"smallUrl\">" + thisResult.url + "</p>";
// if (thisResult.cacheUrl) {
// results += " - <a class=\"cached\" href=\"" + thisResult.cacheUrl + "\">Cached <\/a>";
// }
results += "</div>";
}
results += "</div>";
results += "<p class=\"pages\">";
results += pages + " ";
for (var j = 0; j < gWebSearch.cursor.pages.length; j++)
{
if (j == gWebSearch.cursor.currentPageIndex)
results += " " + gWebSearch.cursor.pages[j].label;
else
results += ' <a onClick="gotoPage(' + j + ');" href="#googleSearchResults">' + gWebSearch.cursor.pages[j].label + "</a> ";
}
if(gWebSearch.cursor.pages.length > 4)
{
results += ' <a href="' + gWebSearch.cursor.moreResultsUrl + '"> Mais resultados no Google ... </a> ';
}
 
results += "</p>";
searchresults.innerHTML = results;
}
}
}
 
OnLoad();
 
 
//]]>
 
</script>
 
<div id="searchResults" class="listClean">
 
<ul>
 
<logic:iterate id="searchResults" name="ICommonSearchResults" property="searchResults"
type="pt.estgp.estgweb.services.common.ISearchResults">
<logic:iterate id="searchResults" name="ICommonSearchResults" property="searchResults" type="pt.estgp.estgweb.services.common.ISearchResults">
<li>
<h2>
<h1>
<bean:message key="${searchResults.module.messageKey}"/>
<b>(${searchResults.totalResults})</b> <a id="${searchResults.module.messageKey}SeeMore"
href="javascript:show('${searchResults.module.messageKey}','${searchResults.module.messageKey}SeeMore')">ver
mais</a></h2>
 
<b>(${searchResults.totalResults})</b>
<a id="${searchResults.module.messageKey}SeeMore" href="javascript:show('${searchResults.module.messageKey}','${searchResults.module.messageKey}SeeMore')">
<bean:message key="search.see.more"/>
</a>
</h1>
<div class="module" id="<%=searchResults.getModule().getMessageKey()%>">
<div id="${searchResults.module.messageKey}Results">
<logic:iterate id="result" name="searchResults" property="results"
type="pt.estgp.estgweb.services.common.IResult">
<logic:iterate id="result" name="searchResults" property="results" type="pt.estgp.estgweb.services.common.IResult">
<div class="result">
<h2><a href="<%=request.getContextPath()%>${result.url}">${result.title}</a>
<logic:notEmpty name="result" property="subTitle">
37,18 → 131,19
)
</logic:notEmpty>
</h2>
 
<p>${result.bestFragments} ...</p>
</div>
</logic:iterate>
Pages:
<logic:equal value="true" name="searchResults" property="hasPreviousPage">
<a href="javascript:searchCall('${ISearchResults.module.messageKey}Results','${ISearchResults.query}','${ISearchResults.searchType}','${ISearchResults.previousPage}','${ISearchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')">&lt; previous</a>
</logic:equal>
${searchResults.page2Screen}
<logic:equal value="true" name="searchResults" property="hasNextPage">
<a href="javascript:searchCall('${searchResults.module.messageKey}Results','${searchResults.query}','${searchResults.searchType}','${searchResults.nextPage}','${searchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')">next &gt;</a>
</logic:equal>
<p class="pages">
<bean:message key="search.pages"/>
<logic:equal value="true" name="searchResults" property="hasPreviousPage">
<a href="javascript:searchCall('${searchResults.module.messageKey}Results','${searchResults.query}','${searchResults.searchType}','${searchResults.previousPage}','${searchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')">&lt; <bean:message key="result.previous"/> </a>
</logic:equal>
${searchResults.page2Screen}
<logic:equal value="true" name="searchResults" property="hasNextPage">
<a href="javascript:searchCall('${searchResults.module.messageKey}Results','${searchResults.query}','${searchResults.searchType}','${searchResults.nextPage}','${searchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')"><bean:message key="result.next"/> &gt;</a>
</logic:equal>
</p>
</div>
<h3>
<a href="javascript:hide('${searchResults.module.messageKey}','${searchResults.module.messageKey}SeeMore')">Fechar</a>
56,11 → 151,16
</div>
</li>
</logic:iterate>
<li>
<h2>TESTE DE APARENCIA NAO TA FEITO Eventos <b>(4)</b> <a href="javascript:show('${searchResults.module.messageKey}')">ver mais</a></h2>
<li id="googleModule">
<div id="googleSearchResults">
 
</div>
<table class="googleLogo">
<tr>
<td>powered by</td>
<td><img src="<%=request.getContextPath()%>/imgs/google-small-logo.png"/></td>
</tr>
</table>
</li>
<li>
<h2>TESTE DE APARENCIA NAO TA FEITO Pessoas <b>(42)</b> <a href="javascript:show('${searchResults.module.messageKey}')">ver mais</a></h2>
</li>
</ul>
</div>
/impl/src/web/public/search/searchResultsModule.jsp
6,32 → 6,33
<%@ 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" %>
<jsp:useBean id="ISearchResults" type="pt.estgp.estgweb.services.common.ISearchResults" scope="request"/>
<logic:iterate id="result" name="ISearchResults" property="results"
type="pt.estgp.estgweb.services.common.IResult">
<div class="result">
<h2><a href="<%=request.getContextPath()%>${result.url}">${result.title}</a>
<logic:notEmpty name="result" property="subTitle">
(
<logic:equal value="true" name="result" property="subTitleKey">
<bean:message key="${result.subTitle}"/>
</logic:equal>
<logic:notEqual value="true" name="result" property="subTitleKey">
${result.subTitle}
</logic:notEqual>
)
</logic:notEmpty>
</h2>
type="pt.estgp.estgweb.services.common.IResult">
<div class="result">
<h2><a href="<%=request.getContextPath()%>${result.url}">${result.title}</a>
<logic:notEmpty name="result" property="subTitle">
(
<logic:equal value="true" name="result" property="subTitleKey">
<bean:message key="${result.subTitle}"/>
</logic:equal>
<logic:notEqual value="true" name="result" property="subTitleKey">
${result.subTitle}
</logic:notEqual>
)
</logic:notEmpty>
</h2>
 
<p>${result.bestFragments} ...</p>
</div>
</logic:iterate>
Pages:
<logic:equal value="true" name="ISearchResults" property="hasPreviousPage">
<a href="javascript:searchCall('${ISearchResults.module.messageKey}Results','${ISearchResults.query}','${ISearchResults.searchType}','${ISearchResults.previousPage}','${ISearchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')">&lt; previous</a>
</logic:equal>
${ISearchResults.page2Screen}
<logic:equal value="true" name="ISearchResults" property="hasNextPage">
<a href="javascript:searchCall('${ISearchResults.module.messageKey}Results','${ISearchResults.query}','${ISearchResults.searchType}','${ISearchResults.nextPage}','${ISearchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')">next &gt;</a>
</logic:equal>
<p>${result.bestFragments} ...</p>
</div>
</logic:iterate>
Pages:
<logic:equal value="true" name="ISearchResults" property="hasPreviousPage">
<a href="javascript:searchCall('${ISearchResults.module.messageKey}Results','${ISearchResults.query}','${ISearchResults.searchType}','${ISearchResults.previousPage}','${ISearchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')">&lt; previous</a>
</logic:equal>
${ISearchResults.page2Screen}
<logic:equal value="true" name="ISearchResults" property="hasNextPage">
<a href="javascript:searchCall('${ISearchResults.module.messageKey}Results','${ISearchResults.query}','${ISearchResults.searchType}','${ISearchResults.nextPage}','${ISearchResults.module.messageKey}','<%=request.getContextPath()%>/search.do')">next &gt;</a>
</logic:equal>
 
 
/impl/src/web/public/search/topnavSearchResults.jsp
2,10 → 2,15
<%@page pageEncoding="UTF-8"%>
<%@page import="jomm.web.utils.NavPlaceServer"%>
<%@ page import="jomm.web.utils.TopNav" %>
<%@ page import="pt.estgp.estgweb.services.common.ICommonSearchResults" %>
 
<%
TopNav topNav = NavPlaceServer.getInstance().createTopNav(request);
topNav.addNavPlace("/Welcome.do", "Home");
topNav.addNavPlace("/startSearch.do?query=" + request.getParameter("query") + "&searchType=" +request.getParameter("searchType"), "search.form");
topNav.addNavPlace(null, "search.results");
topNav.addNavPlace("/startSearch.do?query=" + request.getParameter("query") + "&searchType=" + request.getParameter("searchType"), "search.form");
if (request.getParameter("query") != null)
topNav.addNavPlace(null, "search.results", request.getParameter("query") );
else
topNav.addNavPlace(null, "search.results");
%>
<jsp:include page="/layout/topnav.jsp"/>
/impl/libs.xml
New file
0,0 → 1,62
<?xml version="1.0" encoding="utf-8"?>
<project name="estgweb-libs">
<property file="local.properties"/>
<property file="build.properties"/>
<property environment="env"/>
<path id="pathToToolsLib">
<fileset dir="${tomcat.libs.common.home}">
<include name="**.jar"/>
</fileset>
<fileset dir="${tomcat.libs.ant.home}">
<include name="**.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/mail">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/berserk">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/ldap">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/hibernate">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/log4j">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jaxb">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/mysql">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/commons">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/web">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/struts">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jfreechart">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/lucene">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jaxrpc">
<include name="**/*.jar"/>
</fileset>
<!--<fileset dir="${common.lib.dir}/jaxrpc16">
<include name="**/*.jar"/>
</fileset>-->
<fileset dir="${common.lib.dir}/xml">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${env.JAVA_HOME}">
<include name="lib/tools.jar"/>
</fileset>
</path>
</project>
/impl/gen/java/pt/estgp/estgweb/domain/Course.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/CourseUnit.java
New file
0,0 → 1,114
package pt.estgp.estgweb.domain;
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
 
/**
* CourseUnit generated by hbm2java
*/
public abstract class CourseUnit extends pt.estgp.estgweb.domain.DomainObject implements java.io.Serializable {
 
 
private long id;
private Date updateDate;
private Date saveDate;
private String name;
private String code;
private String courseCode;
private String courseName;
private String courseYear;
private String institutionCode;
private boolean status;
 
public CourseUnit() {
}
 
public CourseUnit(Date saveDate, String name, String code, String courseCode, String courseName, String courseYear, String institutionCode, boolean status) {
this.saveDate = saveDate;
this.name = name;
this.code = code;
this.courseCode = courseCode;
this.courseName = courseName;
this.courseYear = courseYear;
this.institutionCode = institutionCode;
this.status = status;
}
public long getId() {
return this.id;
}
public void setId(long id) {
this.id = id;
}
public Date getUpdateDate() {
return this.updateDate;
}
public void setUpdateDate(Date updateDate) {
this.updateDate = updateDate;
}
public Date getSaveDate() {
return this.saveDate;
}
public void setSaveDate(Date saveDate) {
this.saveDate = saveDate;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getCourseCode() {
return this.courseCode;
}
public void setCourseCode(String courseCode) {
this.courseCode = courseCode;
}
public String getCourseName() {
return this.courseName;
}
public void setCourseName(String courseName) {
this.courseName = courseName;
}
public String getCourseYear() {
return this.courseYear;
}
public void setCourseYear(String courseYear) {
this.courseYear = courseYear;
}
public String getInstitutionCode() {
return this.institutionCode;
}
public void setInstitutionCode(String institutionCode) {
this.institutionCode = institutionCode;
}
public boolean isStatus() {
return this.status;
}
public void setStatus(boolean status) {
this.status = status;
}
 
 
 
 
}
 
 
/impl/gen/java/pt/estgp/estgweb/domain/UrlStatMonth.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/UrlStatDayId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
 
/impl/gen/java/pt/estgp/estgweb/domain/SessionObject.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/GenericUser.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/User.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/UrlStatYear.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/UrlStatMonthId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
 
/impl/gen/java/pt/estgp/estgweb/domain/UserSession.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/Image.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/GenericUserDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UserDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UrlStatYearDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UrlStatMonthIdDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UserSessionDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/ImageDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/BlogDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/TesteDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/SessionObjectIdDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/BlogPostDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/AnnouncementDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UrlStatYearIdDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/CourseUserAssociationDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/GroupDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UrlStatDayDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UrlStatDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/CourseUnitDao.java
New file
0,0 → 1,32
package pt.estgp.estgweb.domain.dao.impl;
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import jomm.dao.impl.AbstractDao;
import org.apache.log4j.Logger;
import pt.estgp.estgweb.domain.CourseUnit;
 
 
public class CourseUnitDao extends AbstractDao<CourseUnit> {
//public class CourseUnitDao extends AbstractDao implements IDomainObjectDao {
 
private static final Logger log = Logger.getLogger(CourseUnitDao.class);
 
protected static CourseUnitDao myInstance = null;
 
protected CourseUnitDao(){
super();
}
 
public static CourseUnitDao getInstance() {
if (myInstance == null)
myInstance = new CourseUnitDao();
return myInstance;
}
 
protected Class getReferenceClass() {
return CourseUnit.class;
}
}
 
 
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/CourseDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UrlStatMonthDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/UrlStatDayIdDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/dao/impl/SessionObjectDao.java
1,5 → 1,5
package pt.estgp.estgweb.domain.dao.impl;
// Generated 29/Abr/2008 10:35:48 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:32 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
/impl/gen/java/pt/estgp/estgweb/domain/Blog.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/Teste.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/SessionObjectId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
 
/impl/gen/java/pt/estgp/estgweb/domain/BlogPost.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/Announcement.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/UrlStatDay.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/Group.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/CourseUserAssociation.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/estgp/estgweb/domain/UrlStatYearId.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
 
/impl/gen/java/pt/estgp/estgweb/domain/UrlStat.java
1,5 → 1,5
package pt.estgp.estgweb.domain;
// Generated 29/Abr/2008 10:35:58 by Hibernate Tools 3.2.0.b9
// Generated 7/Mai/2008 15:17:30 by Hibernate Tools 3.2.0.b9
 
 
import java.util.Date;
/impl/gen/java/pt/ipportalegre/siges/web/services/GetDocenteResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getDocenteResult" type="{http://www.ipportalegre.pt/siges/web/services}Docente" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getDocenteResult"
})
@XmlRootElement(name = "getDocenteResponse")
public class GetDocenteResponse {
 
protected Docente getDocenteResult;
 
/**
* Gets the value of the getDocenteResult property.
*
* @return
* possible object is
* {@link Docente }
*
*/
public Docente getGetDocenteResult() {
return getDocenteResult;
}
 
/**
* Sets the value of the getDocenteResult property.
*
* @param value
* allowed object is
* {@link Docente }
*
*/
public void setGetDocenteResult(Docente value) {
this.getDocenteResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetDisciplinasDaInstituicaoResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getDisciplinasDaInstituicaoResult" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDisciplina" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getDisciplinasDaInstituicaoResult"
})
@XmlRootElement(name = "getDisciplinasDaInstituicaoResponse")
public class GetDisciplinasDaInstituicaoResponse {
 
protected ArrayOfDisciplina getDisciplinasDaInstituicaoResult;
 
/**
* Gets the value of the getDisciplinasDaInstituicaoResult property.
*
* @return
* possible object is
* {@link ArrayOfDisciplina }
*
*/
public ArrayOfDisciplina getGetDisciplinasDaInstituicaoResult() {
return getDisciplinasDaInstituicaoResult;
}
 
/**
* Sets the value of the getDisciplinasDaInstituicaoResult property.
*
* @param value
* allowed object is
* {@link ArrayOfDisciplina }
*
*/
public void setGetDisciplinasDaInstituicaoResult(ArrayOfDisciplina value) {
this.getDisciplinasDaInstituicaoResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/ArrayOfDisciplina.java
New file
0,0 → 1,69
 
package pt.ipportalegre.siges.web.services;
 
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for ArrayOfDisciplina complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ArrayOfDisciplina">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Disciplina" type="{http://www.ipportalegre.pt/siges/web/services}Disciplina" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfDisciplina", propOrder = {
"disciplina"
})
public class ArrayOfDisciplina {
 
@XmlElement(name = "Disciplina", nillable = true)
protected List<Disciplina> disciplina;
 
/**
* Gets the value of the disciplina property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the disciplina property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDisciplina().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Disciplina }
*
*
*/
public List<Disciplina> getDisciplina() {
if (disciplina == null) {
disciplina = new ArrayList<Disciplina>();
}
return this.disciplina;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosDisciplinasDaInstituicaoSemestre.java
New file
0,0 → 1,119
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="anolectivo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="semestre" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoInstituicao",
"anolectivo",
"semestre"
})
@XmlRootElement(name = "getCodigosDisciplinasDaInstituicaoSemestre")
public class GetCodigosDisciplinasDaInstituicaoSemestre {
 
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String anolectivo;
protected String semestre;
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the anolectivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAnolectivo() {
return anolectivo;
}
 
/**
* Sets the value of the anolectivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAnolectivo(String value) {
this.anolectivo = value;
}
 
/**
* Gets the value of the semestre property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSemestre() {
return semestre;
}
 
/**
* Sets the value of the semestre property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSemestre(String value) {
this.semestre = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosAlunosInscritosDaInstituicaoResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getCodigosAlunosInscritosDaInstituicaoResult" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDecimal" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getCodigosAlunosInscritosDaInstituicaoResult"
})
@XmlRootElement(name = "getCodigosAlunosInscritosDaInstituicaoResponse")
public class GetCodigosAlunosInscritosDaInstituicaoResponse {
 
protected ArrayOfDecimal getCodigosAlunosInscritosDaInstituicaoResult;
 
/**
* Gets the value of the getCodigosAlunosInscritosDaInstituicaoResult property.
*
* @return
* possible object is
* {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal getGetCodigosAlunosInscritosDaInstituicaoResult() {
return getCodigosAlunosInscritosDaInstituicaoResult;
}
 
/**
* Sets the value of the getCodigosAlunosInscritosDaInstituicaoResult property.
*
* @param value
* allowed object is
* {@link ArrayOfDecimal }
*
*/
public void setGetCodigosAlunosInscritosDaInstituicaoResult(ArrayOfDecimal value) {
this.getCodigosAlunosInscritosDaInstituicaoResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/SiGesWEB.java
New file
0,0 → 1,66
 
package pt.ipportalegre.siges.web.services;
 
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
 
 
/**
* This class was generated by the JAXWS SI.
* JAX-WS RI 2.0-b40-ea3
* Generated source version: 2.0
*
*/
@WebServiceClient(name = "SiGesWEB", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", wsdlLocation = "http://172.20.130.15/SigesWeb/SiGesWEB.asmx?wsdl")
public class SiGesWEB
extends Service
{
 
private final static URL WSDL_LOCATION;
private final static QName SIGESWEB = new QName("http://www.ipportalegre.pt/siges/web/services", "SiGesWEB");
private final static QName SIGESWEBSOAP = new QName("http://www.ipportalegre.pt/siges/web/services", "SiGesWEBSoap");
private final static QName SIGESWEBSOAP12 = new QName("http://www.ipportalegre.pt/siges/web/services", "SiGesWEBSoap12");
 
static {
URL url = null;
try {
url = new URL("http://172.20.130.15/SigesWeb/SiGesWEB.asmx?wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
WSDL_LOCATION = url;
}
 
public SiGesWEB(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
 
public SiGesWEB() {
super(WSDL_LOCATION, SIGESWEB);
}
 
/**
*
* @return
* returns SiGesWEBSoap
*/
@WebEndpoint(name = "SiGesWEBSoap")
public SiGesWEBSoap getSiGesWEBSoap() {
return (SiGesWEBSoap)super.getPort(SIGESWEBSOAP, SiGesWEBSoap.class);
}
 
/**
*
* @return
* returns SiGesWEBSoap
*/
@WebEndpoint(name = "SiGesWEBSoap12")
public SiGesWEBSoap getSiGesWEBSoap12() {
return (SiGesWEBSoap)super.getPort(SIGESWEBSOAP12, SiGesWEBSoap.class);
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetAlunoInscritoResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getAlunoInscritoResult" type="{http://www.ipportalegre.pt/siges/web/services}Aluno" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getAlunoInscritoResult"
})
@XmlRootElement(name = "getAlunoInscritoResponse")
public class GetAlunoInscritoResponse {
 
protected Aluno getAlunoInscritoResult;
 
/**
* Gets the value of the getAlunoInscritoResult property.
*
* @return
* possible object is
* {@link Aluno }
*
*/
public Aluno getGetAlunoInscritoResult() {
return getAlunoInscritoResult;
}
 
/**
* Sets the value of the getAlunoInscritoResult property.
*
* @param value
* allowed object is
* {@link Aluno }
*
*/
public void setGetAlunoInscritoResult(Aluno value) {
this.getAlunoInscritoResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetDisciplinasDaInstituicaoSemestreResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getDisciplinasDaInstituicaoSemestreResult" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDisciplina" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getDisciplinasDaInstituicaoSemestreResult"
})
@XmlRootElement(name = "getDisciplinasDaInstituicaoSemestreResponse")
public class GetDisciplinasDaInstituicaoSemestreResponse {
 
protected ArrayOfDisciplina getDisciplinasDaInstituicaoSemestreResult;
 
/**
* Gets the value of the getDisciplinasDaInstituicaoSemestreResult property.
*
* @return
* possible object is
* {@link ArrayOfDisciplina }
*
*/
public ArrayOfDisciplina getGetDisciplinasDaInstituicaoSemestreResult() {
return getDisciplinasDaInstituicaoSemestreResult;
}
 
/**
* Sets the value of the getDisciplinasDaInstituicaoSemestreResult property.
*
* @param value
* allowed object is
* {@link ArrayOfDisciplina }
*
*/
public void setGetDisciplinasDaInstituicaoSemestreResult(ArrayOfDisciplina value) {
this.getDisciplinasDaInstituicaoSemestreResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosDisciplinasDaInstituicaoResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getCodigosDisciplinasDaInstituicaoResult" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDecimal" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getCodigosDisciplinasDaInstituicaoResult"
})
@XmlRootElement(name = "getCodigosDisciplinasDaInstituicaoResponse")
public class GetCodigosDisciplinasDaInstituicaoResponse {
 
protected ArrayOfDecimal getCodigosDisciplinasDaInstituicaoResult;
 
/**
* Gets the value of the getCodigosDisciplinasDaInstituicaoResult property.
*
* @return
* possible object is
* {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal getGetCodigosDisciplinasDaInstituicaoResult() {
return getCodigosDisciplinasDaInstituicaoResult;
}
 
/**
* Sets the value of the getCodigosDisciplinasDaInstituicaoResult property.
*
* @param value
* allowed object is
* {@link ArrayOfDecimal }
*
*/
public void setGetCodigosDisciplinasDaInstituicaoResult(ArrayOfDecimal value) {
this.getCodigosDisciplinasDaInstituicaoResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosDocentesInscritosDaInstituicaoResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getCodigosDocentesInscritosDaInstituicaoResult" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDecimal" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getCodigosDocentesInscritosDaInstituicaoResult"
})
@XmlRootElement(name = "getCodigosDocentesInscritosDaInstituicaoResponse")
public class GetCodigosDocentesInscritosDaInstituicaoResponse {
 
protected ArrayOfDecimal getCodigosDocentesInscritosDaInstituicaoResult;
 
/**
* Gets the value of the getCodigosDocentesInscritosDaInstituicaoResult property.
*
* @return
* possible object is
* {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal getGetCodigosDocentesInscritosDaInstituicaoResult() {
return getCodigosDocentesInscritosDaInstituicaoResult;
}
 
/**
* Sets the value of the getCodigosDocentesInscritosDaInstituicaoResult property.
*
* @param value
* allowed object is
* {@link ArrayOfDecimal }
*
*/
public void setGetCodigosDocentesInscritosDaInstituicaoResult(ArrayOfDecimal value) {
this.getCodigosDocentesInscritosDaInstituicaoResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/Aluno.java
New file
0,0 → 1,339
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
 
 
/**
* <p>Java class for Aluno complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="Aluno">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigo" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="sexo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="data_nascimento" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* &lt;element name="morada" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="codigoPostal" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="subCodigoPostal" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="numeroBi" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="usernameNetpa" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="disciplinasInscrito" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDecimal" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Aluno", propOrder = {
"codigo",
"nome",
"sexo",
"dataNascimento",
"morada",
"codigoPostal",
"subCodigoPostal",
"email",
"numeroBi",
"usernameNetpa",
"disciplinasInscrito"
})
public class Aluno {
 
@XmlElement(required = true)
protected BigDecimal codigo;
protected String nome;
protected String sexo;
@XmlElement(name = "data_nascimento", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dataNascimento;
protected String morada;
@XmlElement(required = true)
protected BigDecimal codigoPostal;
@XmlElement(required = true)
protected BigDecimal subCodigoPostal;
protected String email;
protected String numeroBi;
protected String usernameNetpa;
protected ArrayOfDecimal disciplinasInscrito;
 
/**
* Gets the value of the codigo property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigo() {
return codigo;
}
 
/**
* Sets the value of the codigo property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigo(BigDecimal value) {
this.codigo = value;
}
 
/**
* Gets the value of the nome property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNome() {
return nome;
}
 
/**
* Sets the value of the nome property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNome(String value) {
this.nome = value;
}
 
/**
* Gets the value of the sexo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSexo() {
return sexo;
}
 
/**
* Sets the value of the sexo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSexo(String value) {
this.sexo = value;
}
 
/**
* Gets the value of the dataNascimento property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDataNascimento() {
return dataNascimento;
}
 
/**
* Sets the value of the dataNascimento property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDataNascimento(XMLGregorianCalendar value) {
this.dataNascimento = value;
}
 
/**
* Gets the value of the morada property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMorada() {
return morada;
}
 
/**
* Sets the value of the morada property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMorada(String value) {
this.morada = value;
}
 
/**
* Gets the value of the codigoPostal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoPostal() {
return codigoPostal;
}
 
/**
* Sets the value of the codigoPostal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoPostal(BigDecimal value) {
this.codigoPostal = value;
}
 
/**
* Gets the value of the subCodigoPostal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSubCodigoPostal() {
return subCodigoPostal;
}
 
/**
* Sets the value of the subCodigoPostal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSubCodigoPostal(BigDecimal value) {
this.subCodigoPostal = value;
}
 
/**
* Gets the value of the email property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmail() {
return email;
}
 
/**
* Sets the value of the email property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmail(String value) {
this.email = value;
}
 
/**
* Gets the value of the numeroBi property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNumeroBi() {
return numeroBi;
}
 
/**
* Sets the value of the numeroBi property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNumeroBi(String value) {
this.numeroBi = value;
}
 
/**
* Gets the value of the usernameNetpa property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUsernameNetpa() {
return usernameNetpa;
}
 
/**
* Sets the value of the usernameNetpa property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUsernameNetpa(String value) {
this.usernameNetpa = value;
}
 
/**
* Gets the value of the disciplinasInscrito property.
*
* @return
* possible object is
* {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal getDisciplinasInscrito() {
return disciplinasInscrito;
}
 
/**
* Sets the value of the disciplinasInscrito property.
*
* @param value
* allowed object is
* {@link ArrayOfDecimal }
*
*/
public void setDisciplinasInscrito(ArrayOfDecimal value) {
this.disciplinasInscrito = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/Disciplina.java
New file
0,0 → 1,200
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for Disciplina complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="Disciplina">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigo" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="nome" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="codigoCurso" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="nomeCurso" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="grauCurso" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Disciplina", propOrder = {
"codigo",
"codigoInstituicao",
"nome",
"codigoCurso",
"nomeCurso",
"grauCurso"
})
public class Disciplina {
 
@XmlElement(required = true)
protected BigDecimal codigo;
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String nome;
@XmlElement(required = true)
protected BigDecimal codigoCurso;
protected String nomeCurso;
protected String grauCurso;
 
/**
* Gets the value of the codigo property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigo() {
return codigo;
}
 
/**
* Sets the value of the codigo property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigo(BigDecimal value) {
this.codigo = value;
}
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the nome property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNome() {
return nome;
}
 
/**
* Sets the value of the nome property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNome(String value) {
this.nome = value;
}
 
/**
* Gets the value of the codigoCurso property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoCurso() {
return codigoCurso;
}
 
/**
* Sets the value of the codigoCurso property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoCurso(BigDecimal value) {
this.codigoCurso = value;
}
 
/**
* Gets the value of the nomeCurso property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNomeCurso() {
return nomeCurso;
}
 
/**
* Sets the value of the nomeCurso property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNomeCurso(String value) {
this.nomeCurso = value;
}
 
/**
* Gets the value of the grauCurso property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGrauCurso() {
return grauCurso;
}
 
/**
* Sets the value of the grauCurso property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGrauCurso(String value) {
this.grauCurso = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetDocente.java
New file
0,0 → 1,120
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigo" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="ano" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigo",
"codigoInstituicao",
"ano"
})
@XmlRootElement(name = "getDocente")
public class GetDocente {
 
@XmlElement(required = true)
protected BigDecimal codigo;
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String ano;
 
/**
* Gets the value of the codigo property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigo() {
return codigo;
}
 
/**
* Sets the value of the codigo property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigo(BigDecimal value) {
this.codigo = value;
}
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the ano property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAno() {
return ano;
}
 
/**
* Sets the value of the ano property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAno(String value) {
this.ano = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/Docente.java
New file
0,0 → 1,393
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
 
 
/**
* <p>Java class for Docente complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="Docente">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigoFuncionario" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="nomeFuncionario" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="nomeFuncionarioInt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="nomeAcademico" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="sexo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="data_nascimento" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* &lt;element name="morada" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="codigoPostal" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="subCodigoPostal" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="numeroBi" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="usernameNetpa" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="disciplinas" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDecimal" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Docente", propOrder = {
"codigoFuncionario",
"nomeFuncionario",
"nomeFuncionarioInt",
"nomeAcademico",
"sexo",
"dataNascimento",
"morada",
"codigoPostal",
"subCodigoPostal",
"email",
"numeroBi",
"usernameNetpa",
"disciplinas"
})
public class Docente {
 
@XmlElement(required = true)
protected BigDecimal codigoFuncionario;
protected String nomeFuncionario;
protected String nomeFuncionarioInt;
protected String nomeAcademico;
protected String sexo;
@XmlElement(name = "data_nascimento", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dataNascimento;
protected String morada;
@XmlElement(required = true)
protected BigDecimal codigoPostal;
@XmlElement(required = true)
protected BigDecimal subCodigoPostal;
protected String email;
protected String numeroBi;
protected String usernameNetpa;
protected ArrayOfDecimal disciplinas;
 
/**
* Gets the value of the codigoFuncionario property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoFuncionario() {
return codigoFuncionario;
}
 
/**
* Sets the value of the codigoFuncionario property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoFuncionario(BigDecimal value) {
this.codigoFuncionario = value;
}
 
/**
* Gets the value of the nomeFuncionario property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNomeFuncionario() {
return nomeFuncionario;
}
 
/**
* Sets the value of the nomeFuncionario property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNomeFuncionario(String value) {
this.nomeFuncionario = value;
}
 
/**
* Gets the value of the nomeFuncionarioInt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNomeFuncionarioInt() {
return nomeFuncionarioInt;
}
 
/**
* Sets the value of the nomeFuncionarioInt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNomeFuncionarioInt(String value) {
this.nomeFuncionarioInt = value;
}
 
/**
* Gets the value of the nomeAcademico property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNomeAcademico() {
return nomeAcademico;
}
 
/**
* Sets the value of the nomeAcademico property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNomeAcademico(String value) {
this.nomeAcademico = value;
}
 
/**
* Gets the value of the sexo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSexo() {
return sexo;
}
 
/**
* Sets the value of the sexo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSexo(String value) {
this.sexo = value;
}
 
/**
* Gets the value of the dataNascimento property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDataNascimento() {
return dataNascimento;
}
 
/**
* Sets the value of the dataNascimento property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDataNascimento(XMLGregorianCalendar value) {
this.dataNascimento = value;
}
 
/**
* Gets the value of the morada property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMorada() {
return morada;
}
 
/**
* Sets the value of the morada property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMorada(String value) {
this.morada = value;
}
 
/**
* Gets the value of the codigoPostal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoPostal() {
return codigoPostal;
}
 
/**
* Sets the value of the codigoPostal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoPostal(BigDecimal value) {
this.codigoPostal = value;
}
 
/**
* Gets the value of the subCodigoPostal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getSubCodigoPostal() {
return subCodigoPostal;
}
 
/**
* Sets the value of the subCodigoPostal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setSubCodigoPostal(BigDecimal value) {
this.subCodigoPostal = value;
}
 
/**
* Gets the value of the email property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmail() {
return email;
}
 
/**
* Sets the value of the email property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmail(String value) {
this.email = value;
}
 
/**
* Gets the value of the numeroBi property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNumeroBi() {
return numeroBi;
}
 
/**
* Sets the value of the numeroBi property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNumeroBi(String value) {
this.numeroBi = value;
}
 
/**
* Gets the value of the usernameNetpa property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUsernameNetpa() {
return usernameNetpa;
}
 
/**
* Sets the value of the usernameNetpa property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUsernameNetpa(String value) {
this.usernameNetpa = value;
}
 
/**
* Gets the value of the disciplinas property.
*
* @return
* possible object is
* {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal getDisciplinas() {
return disciplinas;
}
 
/**
* Sets the value of the disciplinas property.
*
* @param value
* allowed object is
* {@link ArrayOfDecimal }
*
*/
public void setDisciplinas(ArrayOfDecimal value) {
this.disciplinas = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/ArrayOfDecimal.java
New file
0,0 → 1,68
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for ArrayOfDecimal complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="ArrayOfDecimal">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="decimal" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfDecimal", propOrder = {
"decimal"
})
public class ArrayOfDecimal {
 
protected List<BigDecimal> decimal;
 
/**
* Gets the value of the decimal property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the decimal property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDecimal().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BigDecimal }
*
*
*/
public List<BigDecimal> getDecimal() {
if (decimal == null) {
decimal = new ArrayList<BigDecimal>();
}
return this.decimal;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosDisciplinasDaInstituicaoSemestreResponse.java
New file
0,0 → 1,62
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="getCodigosDisciplinasDaInstituicaoSemestreResult" type="{http://www.ipportalegre.pt/siges/web/services}ArrayOfDecimal" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"getCodigosDisciplinasDaInstituicaoSemestreResult"
})
@XmlRootElement(name = "getCodigosDisciplinasDaInstituicaoSemestreResponse")
public class GetCodigosDisciplinasDaInstituicaoSemestreResponse {
 
protected ArrayOfDecimal getCodigosDisciplinasDaInstituicaoSemestreResult;
 
/**
* Gets the value of the getCodigosDisciplinasDaInstituicaoSemestreResult property.
*
* @return
* possible object is
* {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal getGetCodigosDisciplinasDaInstituicaoSemestreResult() {
return getCodigosDisciplinasDaInstituicaoSemestreResult;
}
 
/**
* Sets the value of the getCodigosDisciplinasDaInstituicaoSemestreResult property.
*
* @param value
* allowed object is
* {@link ArrayOfDecimal }
*
*/
public void setGetCodigosDisciplinasDaInstituicaoSemestreResult(ArrayOfDecimal value) {
this.getCodigosDisciplinasDaInstituicaoSemestreResult = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetDisciplinasDaInstituicao.java
New file
0,0 → 1,92
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="anolectivo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoInstituicao",
"anolectivo"
})
@XmlRootElement(name = "getDisciplinasDaInstituicao")
public class GetDisciplinasDaInstituicao {
 
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String anolectivo;
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the anolectivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAnolectivo() {
return anolectivo;
}
 
/**
* Sets the value of the anolectivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAnolectivo(String value) {
this.anolectivo = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/package-info.java
New file
0,0 → 1,2
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.ipportalegre.pt/siges/web/services", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package pt.ipportalegre.siges.web.services;
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosAlunosInscritosDaInstituicao.java
New file
0,0 → 1,92
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="anolectivo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoInstituicao",
"anolectivo"
})
@XmlRootElement(name = "getCodigosAlunosInscritosDaInstituicao")
public class GetCodigosAlunosInscritosDaInstituicao {
 
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String anolectivo;
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the anolectivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAnolectivo() {
return anolectivo;
}
 
/**
* Sets the value of the anolectivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAnolectivo(String value) {
this.anolectivo = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetAlunoInscrito.java
New file
0,0 → 1,120
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigo" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="ano" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigo",
"codigoInstituicao",
"ano"
})
@XmlRootElement(name = "getAlunoInscrito")
public class GetAlunoInscrito {
 
@XmlElement(required = true)
protected BigDecimal codigo;
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String ano;
 
/**
* Gets the value of the codigo property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigo() {
return codigo;
}
 
/**
* Sets the value of the codigo property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigo(BigDecimal value) {
this.codigo = value;
}
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the ano property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAno() {
return ano;
}
 
/**
* Sets the value of the ano property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAno(String value) {
this.ano = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosDocentesInscritosDaInstituicao.java
New file
0,0 → 1,92
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="anolectivo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoInstituicao",
"anolectivo"
})
@XmlRootElement(name = "getCodigosDocentesInscritosDaInstituicao")
public class GetCodigosDocentesInscritosDaInstituicao {
 
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String anolectivo;
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the anolectivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAnolectivo() {
return anolectivo;
}
 
/**
* Sets the value of the anolectivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAnolectivo(String value) {
this.anolectivo = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetCodigosDisciplinasDaInstituicao.java
New file
0,0 → 1,92
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="anolectivo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoInstituicao",
"anolectivo"
})
@XmlRootElement(name = "getCodigosDisciplinasDaInstituicao")
public class GetCodigosDisciplinasDaInstituicao {
 
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String anolectivo;
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the anolectivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAnolectivo() {
return anolectivo;
}
 
/**
* Sets the value of the anolectivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAnolectivo(String value) {
this.anolectivo = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/GetDisciplinasDaInstituicaoSemestre.java
New file
0,0 → 1,119
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
 
 
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="codigoInstituicao" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* &lt;element name="anolectivo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="semestre" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"codigoInstituicao",
"anolectivo",
"semestre"
})
@XmlRootElement(name = "getDisciplinasDaInstituicaoSemestre")
public class GetDisciplinasDaInstituicaoSemestre {
 
@XmlElement(required = true)
protected BigDecimal codigoInstituicao;
protected String anolectivo;
protected String semestre;
 
/**
* Gets the value of the codigoInstituicao property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getCodigoInstituicao() {
return codigoInstituicao;
}
 
/**
* Sets the value of the codigoInstituicao property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setCodigoInstituicao(BigDecimal value) {
this.codigoInstituicao = value;
}
 
/**
* Gets the value of the anolectivo property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAnolectivo() {
return anolectivo;
}
 
/**
* Sets the value of the anolectivo property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAnolectivo(String value) {
this.anolectivo = value;
}
 
/**
* Gets the value of the semestre property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSemestre() {
return semestre;
}
 
/**
* Sets the value of the semestre property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSemestre(String value) {
this.semestre = value;
}
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/SiGesWEBSoap.java
New file
0,0 → 1,171
 
package pt.ipportalegre.siges.web.services;
 
import java.math.BigDecimal;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
 
 
/**
* This class was generated by the JAXWS SI.
* JAX-WS RI 2.0-b40-ea3
* Generated source version: 2.0
*
*/
@WebService(name = "SiGesWEBSoap", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", wsdlLocation = "http://172.20.130.15/SigesWeb/SiGesWEB.asmx?wsdl")
public interface SiGesWEBSoap {
 
 
/**
*
* @param codigoInstituicao
* @param codigo
* @param ano
* @return
* returns pt.ipportalegre.siges.web.services.Docente
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getDocente")
@WebResult(name = "getDocenteResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getDocente", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetDocente")
@ResponseWrapper(localName = "getDocenteResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetDocenteResponse")
public Docente getDocente(
@WebParam(name = "codigo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigo,
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "ano", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String ano);
 
/**
*
* @param codigoInstituicao
* @param codigo
* @param ano
* @return
* returns pt.ipportalegre.siges.web.services.Aluno
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getAlunoInscrito")
@WebResult(name = "getAlunoInscritoResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getAlunoInscrito", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetAlunoInscrito")
@ResponseWrapper(localName = "getAlunoInscritoResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetAlunoInscritoResponse")
public Aluno getAlunoInscrito(
@WebParam(name = "codigo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigo,
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "ano", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String ano);
 
/**
*
* @param codigoInstituicao
* @param anolectivo
* @return
* returns pt.ipportalegre.siges.web.services.ArrayOfDecimal
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getCodigosDocentesInscritosDaInstituicao")
@WebResult(name = "getCodigosDocentesInscritosDaInstituicaoResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getCodigosDocentesInscritosDaInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosDocentesInscritosDaInstituicao")
@ResponseWrapper(localName = "getCodigosDocentesInscritosDaInstituicaoResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosDocentesInscritosDaInstituicaoResponse")
public ArrayOfDecimal getCodigosDocentesInscritosDaInstituicao(
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "anolectivo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String anolectivo);
 
/**
*
* @param codigoInstituicao
* @param anolectivo
* @return
* returns pt.ipportalegre.siges.web.services.ArrayOfDecimal
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getCodigosAlunosInscritosDaInstituicao")
@WebResult(name = "getCodigosAlunosInscritosDaInstituicaoResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getCodigosAlunosInscritosDaInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosAlunosInscritosDaInstituicao")
@ResponseWrapper(localName = "getCodigosAlunosInscritosDaInstituicaoResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosAlunosInscritosDaInstituicaoResponse")
public ArrayOfDecimal getCodigosAlunosInscritosDaInstituicao(
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "anolectivo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String anolectivo);
 
/**
*
* @param codigoInstituicao
* @param anolectivo
* @param semestre
* @return
* returns pt.ipportalegre.siges.web.services.ArrayOfDecimal
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getCodigosDisciplinasDaInstituicaoSemestre")
@WebResult(name = "getCodigosDisciplinasDaInstituicaoSemestreResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getCodigosDisciplinasDaInstituicaoSemestre", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosDisciplinasDaInstituicaoSemestre")
@ResponseWrapper(localName = "getCodigosDisciplinasDaInstituicaoSemestreResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosDisciplinasDaInstituicaoSemestreResponse")
public ArrayOfDecimal getCodigosDisciplinasDaInstituicaoSemestre(
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "anolectivo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String anolectivo,
@WebParam(name = "semestre", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String semestre);
 
/**
*
* @param codigoInstituicao
* @param anolectivo
* @return
* returns pt.ipportalegre.siges.web.services.ArrayOfDecimal
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getCodigosDisciplinasDaInstituicao")
@WebResult(name = "getCodigosDisciplinasDaInstituicaoResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getCodigosDisciplinasDaInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosDisciplinasDaInstituicao")
@ResponseWrapper(localName = "getCodigosDisciplinasDaInstituicaoResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetCodigosDisciplinasDaInstituicaoResponse")
public ArrayOfDecimal getCodigosDisciplinasDaInstituicao(
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "anolectivo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String anolectivo);
 
/**
*
* @param codigoInstituicao
* @param anolectivo
* @param semestre
* @return
* returns pt.ipportalegre.siges.web.services.ArrayOfDisciplina
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getDisciplinasDaInstituicaoSemestre")
@WebResult(name = "getDisciplinasDaInstituicaoSemestreResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getDisciplinasDaInstituicaoSemestre", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetDisciplinasDaInstituicaoSemestre")
@ResponseWrapper(localName = "getDisciplinasDaInstituicaoSemestreResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetDisciplinasDaInstituicaoSemestreResponse")
public ArrayOfDisciplina getDisciplinasDaInstituicaoSemestre(
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "anolectivo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String anolectivo,
@WebParam(name = "semestre", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String semestre);
 
/**
*
* @param codigoInstituicao
* @param anolectivo
* @return
* returns pt.ipportalegre.siges.web.services.ArrayOfDisciplina
*/
@WebMethod(action = "http://www.ipportalegre.pt/siges/web/services/getDisciplinasDaInstituicao")
@WebResult(name = "getDisciplinasDaInstituicaoResult", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
@RequestWrapper(localName = "getDisciplinasDaInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetDisciplinasDaInstituicao")
@ResponseWrapper(localName = "getDisciplinasDaInstituicaoResponse", targetNamespace = "http://www.ipportalegre.pt/siges/web/services", className = "pt.ipportalegre.siges.web.services.GetDisciplinasDaInstituicaoResponse")
public ArrayOfDisciplina getDisciplinasDaInstituicao(
@WebParam(name = "codigoInstituicao", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
BigDecimal codigoInstituicao,
@WebParam(name = "anolectivo", targetNamespace = "http://www.ipportalegre.pt/siges/web/services")
String anolectivo);
 
}
/impl/gen/java/pt/ipportalegre/siges/web/services/ObjectFactory.java
New file
0,0 → 1,200
 
package pt.ipportalegre.siges.web.services;
 
import javax.xml.bind.annotation.XmlRegistry;
 
 
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the pt.ipportalegre.siges.web.services package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
 
 
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: pt.ipportalegre.siges.web.services
*
*/
public ObjectFactory() {
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicao }
*
*/
public GetDisciplinasDaInstituicao createGetDisciplinasDaInstituicao() {
return new GetDisciplinasDaInstituicao();
}
 
/**
* Create an instance of {@link ArrayOfDisciplina }
*
*/
public ArrayOfDisciplina createArrayOfDisciplina() {
return new ArrayOfDisciplina();
}
 
/**
* Create an instance of {@link GetDocente }
*
*/
public GetDocente createGetDocente() {
return new GetDocente();
}
 
/**
* Create an instance of {@link GetCodigosAlunosInscritosDaInstituicaoResponse }
*
*/
public GetCodigosAlunosInscritosDaInstituicaoResponse createGetCodigosAlunosInscritosDaInstituicaoResponse() {
return new GetCodigosAlunosInscritosDaInstituicaoResponse();
}
 
/**
* Create an instance of {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal createArrayOfDecimal() {
return new ArrayOfDecimal();
}
 
/**
* Create an instance of {@link GetCodigosDocentesInscritosDaInstituicao }
*
*/
public GetCodigosDocentesInscritosDaInstituicao createGetCodigosDocentesInscritosDaInstituicao() {
return new GetCodigosDocentesInscritosDaInstituicao();
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicaoResponse }
*
*/
public GetDisciplinasDaInstituicaoResponse createGetDisciplinasDaInstituicaoResponse() {
return new GetDisciplinasDaInstituicaoResponse();
}
 
/**
* Create an instance of {@link Aluno }
*
*/
public Aluno createAluno() {
return new Aluno();
}
 
/**
* Create an instance of {@link GetAlunoInscritoResponse }
*
*/
public GetAlunoInscritoResponse createGetAlunoInscritoResponse() {
return new GetAlunoInscritoResponse();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicaoSemestreResponse }
*
*/
public GetCodigosDisciplinasDaInstituicaoSemestreResponse createGetCodigosDisciplinasDaInstituicaoSemestreResponse() {
return new GetCodigosDisciplinasDaInstituicaoSemestreResponse();
}
 
/**
* Create an instance of {@link Docente }
*
*/
public Docente createDocente() {
return new Docente();
}
 
/**
* Create an instance of {@link GetDocenteResponse }
*
*/
public GetDocenteResponse createGetDocenteResponse() {
return new GetDocenteResponse();
}
 
/**
* Create an instance of {@link Disciplina }
*
*/
public Disciplina createDisciplina() {
return new Disciplina();
}
 
/**
* Create an instance of {@link GetCodigosAlunosInscritosDaInstituicao }
*
*/
public GetCodigosAlunosInscritosDaInstituicao createGetCodigosAlunosInscritosDaInstituicao() {
return new GetCodigosAlunosInscritosDaInstituicao();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicaoResponse }
*
*/
public GetCodigosDisciplinasDaInstituicaoResponse createGetCodigosDisciplinasDaInstituicaoResponse() {
return new GetCodigosDisciplinasDaInstituicaoResponse();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicaoSemestre }
*
*/
public GetCodigosDisciplinasDaInstituicaoSemestre createGetCodigosDisciplinasDaInstituicaoSemestre() {
return new GetCodigosDisciplinasDaInstituicaoSemestre();
}
 
/**
* Create an instance of {@link GetAlunoInscrito }
*
*/
public GetAlunoInscrito createGetAlunoInscrito() {
return new GetAlunoInscrito();
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicaoSemestreResponse }
*
*/
public GetDisciplinasDaInstituicaoSemestreResponse createGetDisciplinasDaInstituicaoSemestreResponse() {
return new GetDisciplinasDaInstituicaoSemestreResponse();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicao }
*
*/
public GetCodigosDisciplinasDaInstituicao createGetCodigosDisciplinasDaInstituicao() {
return new GetCodigosDisciplinasDaInstituicao();
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicaoSemestre }
*
*/
public GetDisciplinasDaInstituicaoSemestre createGetDisciplinasDaInstituicaoSemestre() {
return new GetDisciplinasDaInstituicaoSemestre();
}
 
/**
* Create an instance of {@link GetCodigosDocentesInscritosDaInstituicaoResponse }
*
*/
public GetCodigosDocentesInscritosDaInstituicaoResponse createGetCodigosDocentesInscritosDaInstituicaoResponse() {
return new GetCodigosDocentesInscritosDaInstituicaoResponse();
}
 
}
/impl/build-web-services.xml
1,24 → 1,28
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<project name="estgwebservices" basedir=".">
 
<import file="libs.xml"/>
<taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
<classpath refid="pathToToolsLib"/>
</taskdef>
 
<!-- <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
<classpath refid="pathToToolsLib"/>
</taskdef>-->
 
<target name="ws.generate-siges-client" depends="initDirs">
<copy file="${ws.client.binding.dir}/${ws.client.binding.file}" todir="${build.dir.ws}" overwrite="true"/>
<replace file="${build.dir.ws}/${ws.client.binding.file}" encoding="UTF-8">
<replacefilter token="@wsdl.client@" value="${ws.client.wsdl}"/>
<replacefilter token="@target.namespace@" value="${ws.target.namespace}"/>
<copy file="${ws.client.binding.dir}/${ws.siges.binding.file}" todir="${build.dir.ws}" overwrite="true"/>
<replace file="${build.dir.ws}/${ws.siges.binding.file}" encoding="UTF-8">
<replacefilter token="@wsdl.client@" value="${ws.siges.wsdl}"/>
<replacefilter token="@target.namespace@" value="${ws.siges.target.namespace}"/>
<replacefilter token="@ws.package@" value="${ws.siges.package}"/>
</replace>
<wsimport
debug="${ws.debug}"
verbose="${ws.verbose}"
keep="${ws.keep}"
extension="${ws.extension}"
destdir="${gen.dir.java}"
wsdl="${ws.client.wsdl}">
debug="${ws.debug}"
verbose="${ws.verbose}"
keep="${ws.keep}"
extension="${ws.extension}"
destdir="${gen.dir.java}"
wsdl="${ws.siges.wsdl}">
<binding dir="${build.dir.ws}" includes="${ws.client.binding.file}"/>
</wsimport>
<delete>
27,7 → 31,32
</fileset>
</delete>
</target>
<target name="ws.test.siges.web.service">
 
<!-- <target name="ws.generate-google-client">
<property name="config_target" location="${ws.conf.dir}"/>
<copy file="${ws.conf.dir}/GoogleSearch-config.xml" tofile="${build.dir.ws}/GoogleSearch-config.xml" filtering="on" encoding="UTF-8" overwrite="true">
<filterset>
<filter token="CONFIG_ABSOLUTE_PATH" value="${config_target}"/>
<filter token="package" value="${ws.google.package}"/>
</filterset>
</copy>
<wscompile
verbose="true"
debug="true"
xPrintStackTrace="true"
xSerializable="true"
optimize="true"
fork="true"
keep="true"
client="true"
import="false"
base="${build.dir.classes}" sourceBase="${gen.dir.java}" mapping="${build.dir.ws}/GoogleSearch-mapping.xml" config="${build.dir.ws}/GoogleSearch-config.xml">
<classpath refid="pathToToolsLib"/>
</wscompile>
</target>-->
 
<target name="test">
<java classname="pt.ipp.siges.web.services.clients.Test" classpath="${build.dir.classes}" classpathref="pathToToolsLib"/>
</target>
 
</project>
/impl/build.properties
123,6 → 123,8
dao.file.pattern=Dao
 
#WEB-SERVICES CONFIGURATION
ws.conf.dir=${conf.dir}/web-services
 
ws.debug=false
ws.keep=true
ws.verbose=false
130,8 → 132,14
# customization files
ws.client.binding.dir=${conf.dir}/web-services/
ws.client.binding.file=generic-client.xml
ws.client.wsdl=http://172.20.130.15/SigesWeb/SiGesWEB.asmx?wsdl
 
ws.client.features=explicitcontext,useonewayoperations
ws.target.namespace=http://tempuri.org/
#Siges Service Specific Configuration
ws.siges.package=pt.ipp.siges.web.services.clients
ws.siges.wsdl=http://172.20.130.15/SigesWeb/SiGesWEB.asmx?wsdl
ws.siges.target.namespace=http://www.ipportalegre.pt/siges/web/services
ws.siges.binding.file=siges-client.xml
 
#Google Service Specific Configuration
 
ws.google.package=com.google.api.ws.clients
/impl/build.xml
1,4 → 1,4
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="estgweb" basedir="." default="help">
 
 
17,60 → 17,9
Path libs definitions and Properties files
==========================================================================================
-->
<property file="local.properties"/>
<property file="build.properties"/>
 
<path id="pathToToolsLib">
<fileset dir="${tomcat.libs.common.home}">
<include name="**.jar"/>
</fileset>
<fileset dir="${tomcat.libs.ant.home}">
<include name="**.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/mail">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/berserk">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/ldap">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/hibernate">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/log4j">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jaxb">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/mysql">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/commons">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/web">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/struts">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jfreechart">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/lucene">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jaxrpc">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/xml">
<include name="**/*.jar"/>
</fileset>
</path>
 
<import file="libs.xml"/>
<import file="build-web-services.xml"/>
 
<!--
269,6 → 218,9
<fileset dir="${common.lib.dir}/lucene">
<include name="**/*.jar"/>
</fileset>
<!--<fileset dir="${common.lib.dir}/jaxrpc16">
<include name="**/*.jar"/>
</fileset>-->
</copy>
<copy file="${dist.dir}/estgweb.jar" todir="${build.dir.war}/WEB-INF/lib"/>
<copy todir="${build.dir.war}/WEB-INF" overwrite="true">