Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 104 → Rev 113

/impl/conf/language/MessageResources.properties
101,7 → 101,10
authenticate=Entrar
logout=Sair
submit.announcement=Colocar Anúncio
edit.profile=Editar Meu Perfil
edit.user.profile=Editar Utilizador
services=Serviços
administrative.services=Administrador
announcements=Ultimas Notícias
courses=Cursos
mainAnnouncements=Destaques
234,13 → 237,17
login.first.time.email=E-mail
login.first.time.phone.number=Telefone
 
#Profile
profile.edited.sucess=Perfil alterado com sucesso
profile.enter.first.time=É a primeira vez que se esta a ligar, seja bem-vindo {0}
profile.edit=Aqui pode editar o seu perfil
profile.search.user=Procurar Utilizador
 
#Cursos
course.aa=Acessoria e Administração
 
#Nucleos
nucleo.engenharia=Nucleo de Engenharia
 
 
 
module.Proxy=Proxy
 
/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,34
<forward name="firstTimeAuthenticate" path="page.first.time.authenticate"/>
</action>
 
<!--Profile-->
<action path="/startEditProfile" forward="/profile.do?dispatch=changeProfile"/>
<action path="/findProfile" forward="page.find.profile"/>
<action path="/profile"
type="pt.estgp.estgweb.web.controllers.profile.ProfileController"
name="ProfileForm"
scope="request"
parameter="dispatch"
validate="false"
input="page.load.profile">
<forward name="success" path="page.welcome"/>
<forward name="load" path="page.load.profile"/>
<forward name="search" path="page.find.profile"/>
</action>
<!--<action path="/profileAdmin"
type="pt.estgp.estgweb.web.controllers.profile.ProfileController"
name="ProfileForm"
scope="request"
parameter="dispatch"
validate="false"
input="page.find.profile">
<forward name="load" path="page.load.profile"/>
</action>-->
 
 
 
 
 
</action-mappings>
<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" />
<message-resources parameter="MessageResources"/>
/impl/conf/WEB-INF/struts/tiles-default.xml
267,6 → 267,16
<put name="body" value="/public/index.jsp" />
</definition>
 
<!-- Profile -->
<definition name="page.load.profile" extends="base.layout1">
<put name="title" value="Edit Profile" />
<put name="body" value="/admin/profile/profile.jsp" />
</definition>
<definition name="page.find.profile" extends="base.layout1">
<put name="title" value="Find User Profile" />
<put name="body" value="/admin/profile/findUser.jsp" />
</definition>
 
<!-- Autenticacao -->
<definition name="page.authentication" extends="base.layout1">
<put name="title" value="Authentication" />
282,7 → 292,7
</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>
 
<!-- ERRORS DEFINITIONS -->
/impl/conf/WEB-INF/web.xml
118,6 → 118,7
<servlet-class>pt.estgp.estgweb.web.ImageStream</servlet-class>
</servlet>
 
 
<!--MAPPINGS-->
<servlet-mapping>
<servlet-name>action</servlet-name>
/impl/conf/berserk/sd.xml
165,7 → 165,7
 
 
<!--Teste-->
<service>
<service>
<name>TesteSaver</name>
<implementationClass>pt.estgp.estgweb.services.teste.TesteService</implementationClass>
<description>Saves a teste</description>
177,7 → 177,7
 
 
<!--BLOGS-->
<service>
<service>
<name>CreateBlog</name>
<implementationClass>pt.estgp.estgweb.services.blogs.CreateBlogService</implementationClass>
<description>Create a Blog</description>
223,5 → 223,36
</filterChains>
</service>
 
<!--ProfileServices-->
<service>
<name>LoadUserById</name>
<implementationClass>pt.estgp.estgweb.services.profile.LoadUserByIdService</implementationClass>
<description>Load User By ID</description>
<isTransactional>true</isTransactional>
<filterChains>
<chain name="Logger"/>
<chain name="Session"/>
</filterChains>
</service>
<service>
<name>EditUser</name>
<implementationClass>pt.estgp.estgweb.services.profile.EditUserService</implementationClass>
<description>Edit User</description>
<isTransactional>true</isTransactional>
<filterChains>
<chain name="Logger"/>
<chain name="Session"/>
</filterChains>
</service>
<service>
<name>SearchUser</name>
<implementationClass>pt.estgp.estgweb.services.profile.SearchUserService</implementationClass>
<description>Search Users</description>
<isTransactional>true</isTransactional>
<filterChains>
<chain name="Logger"/>
<chain name="Session"/>
</filterChains>
</service>
 
</serviceDefinitions>
/impl/src/java/jomm/web/utils/TopNav.java
33,9 → 33,14
}
public void addNavPlace(String url, String messageKey,String arg)
{
NavPlace n = new NavPlace(url,messageKey,navPlaces.size());
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/pt/estgp/estgweb/services/profile/EditUserService.java
New file
0,0 → 1,23
package pt.estgp.estgweb.services.profile;
 
import pt.utl.ist.berserk.logic.serviceManager.IService;
import pt.estgp.estgweb.domain.views.UserView;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.dao.DaoFactory;
import org.apache.log4j.Logger;
 
import java.io.Serializable;
 
public class EditUserService implements IService {
 
private static final Logger logger = Logger.getLogger(EditUserService.class);
 
public User run(UserView userView, UserSession userSession)
{
User user=DaoFactory.getUserDaoImpl().get(userView.getSerializable());
userView.persistViewInObject(user);
logger.info("Editing user:" + userView.getId());
return user;
}
}
/impl/src/java/pt/estgp/estgweb/services/profile/SearchUserService.java
New file
0,0 → 1,31
package pt.estgp.estgweb.services.profile;
 
import pt.utl.ist.berserk.logic.serviceManager.IService;
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.dao.DaoFactory;
import pt.estgp.estgweb.domain.views.UserView;
import org.apache.log4j.Logger;
 
import java.util.List;
import java.util.ArrayList;
 
public class SearchUserService implements IService {
 
private static final Logger logger = Logger.getLogger(SearchUserService.class);
 
public List<UserView> run(String textToSearch, UserSession userSession)
{
List<User> users =DaoFactory.getUserDaoImpl().findUsers(textToSearch);
if(users == null)
return null;
List<UserView> userViews = new ArrayList<UserView>();
for(User user: users)
{
UserView userView = new UserView(user);
userViews.add(userView);
}
logger.info("Loading user views");
return userViews;
}
}
/impl/src/java/pt/estgp/estgweb/services/profile/LoadUserByIdService.java
New file
0,0 → 1,29
package pt.estgp.estgweb.services.profile;
 
import pt.utl.ist.berserk.logic.serviceManager.IService;
import pt.estgp.estgweb.services.announcements.LoadAnnouncementService;
import pt.estgp.estgweb.domain.views.AnnouncementView;
import pt.estgp.estgweb.domain.views.UserView;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.Announcement;
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.dao.DaoFactory;
import org.apache.log4j.Logger;
 
import java.io.Serializable;
 
 
public class LoadUserByIdService implements IService {
 
private static final Logger logger = Logger.getLogger(LoadUserByIdService.class);
 
 
 
public UserView run(Serializable id, UserSession userSession)
{
User user = DaoFactory.getUserDaoImpl().load(id);
UserView userView = new UserView(user);
logger.info("Loading user view:" + user.getId());
return userView;
}
}
/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/announcements/CreateAnnouncementService.java
1,28 → 1,20
package pt.estgp.estgweb.services.announcements;
 
import pt.utl.ist.berserk.logic.serviceManager.IService;
import org.apache.log4j.Logger;
import pt.estgp.estgweb.Globals;
import pt.estgp.estgweb.domain.Announcement;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.DomainObjectFactory;
import pt.estgp.estgweb.domain.Image;
import pt.estgp.estgweb.domain.views.AnnouncementView;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.dao.DaoFactory;
import pt.estgp.estgweb.domain.dao.impl.ImageDaoImpl;
import pt.estgp.estgweb.domain.views.AnnouncementView;
import pt.estgp.estgweb.utils.ConfigProperties;
import pt.estgp.estgweb.utils.RoleManager;
import pt.estgp.estgweb.Globals;
import pt.estgp.estgweb.web.form.announcements.AnnouncementsForm;
import pt.utl.ist.berserk.logic.serviceManager.IService;
 
import java.util.Date;
import java.util.List;
import java.io.InputStream;
import java.io.ByteArrayOutputStream;
import java.io.Serializable;
 
import org.apache.log4j.Logger;
import org.apache.struts.upload.FormFile;
import jomm.dao.impl.AbstractDao;
 
/*
* @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
*
46,7 → 38,7
 
public AnnouncementView run(AnnouncementView announcementView, Image imageBig, Image imageSmall, UserSession userSession)
{
Announcement a = null;
Announcement a;
 
if(announcementView.getId() <= 0)
{
128,7 → 120,7
 
for(String role: userRoles)
{
if(!role.equals("all")&&validation==false)
if(!role.equals("all") && !validation)
{
try
{
192,7 → 184,10
}
}
}
catch(Exception e){}
catch(Exception e)
{
logger.error(e,e);
}
}
}
a.setStatus(validation);
/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/views/UserView.java
New file
0,0 → 1,132
package pt.estgp.estgweb.domain.views;
 
import pt.estgp.estgweb.utils.ConfigProperties;
import pt.estgp.estgweb.utils.RoleManager;
import pt.estgp.estgweb.domain.Image;
import pt.estgp.estgweb.domain.Announcement;
import pt.estgp.estgweb.domain.AnnouncementImpl;
import pt.estgp.estgweb.domain.User;
 
import java.util.List;
import java.util.Date;
import java.io.Serializable;
 
/**
* @author Jorge Machado
* @date 2/Mar/2008
* @time 19:34:49
* @see pt.estgp.estgweb.domain.views
*/
public class UserView extends DomainObjectView
{
private long id;
private String name;
private String userRoles;
private String address;
private String zip;
private String country;
private String email;
private String phonenumber;
 
public UserView()
{}
 
public UserView(User user)
{
 
super(user);
this.id = user.getId();
this.name=user.getName();
this.address=user.getAddress();
this.zip = user.getZip();
this.country=user.getCountry();
this.email=user.getEmail();
this.phonenumber=user.getPhonenumber();
this.userRoles = user.getRoles();
}
 
public void persistViewInObject(User user)
{
user.setName(name);
user.setAddress(address);
user.setZip(zip);
user.setCountry(country);
user.setEmail(email);
user.setPhonenumber(phonenumber);
user.setRoles(userRoles);
}
 
public Class getReferenceClass()
{
return User.class;
}
 
public Serializable getSerializable()
{
return id;
}
 
public long getId() {
return id;
}
 
public void setId(long id) {
this.id = id;
}
 
public String getName() {
return name;
}
 
public void setName(String name) {
this.name = name;
}
 
public String getUserRoles() {
return userRoles;
}
 
public void setUserRoles(String userRoles) {
this.userRoles = userRoles;
}
 
public String getAddress() {
return address;
}
 
public void setAddress(String address) {
this.address = address;
}
 
public String getZip() {
return zip;
}
 
public void setZip(String zip) {
this.zip = zip;
}
 
public String getCountry() {
return country;
}
 
public void setCountry(String country) {
this.country = country;
}
 
public String getEmail() {
return email;
}
 
public void setEmail(String email) {
this.email = email;
}
 
public String getPhonenumber() {
return phonenumber;
}
 
public void setPhonenumber(String phonenumber) {
this.phonenumber = phonenumber;
}
}
/impl/src/java/pt/estgp/estgweb/domain/CourseUnitImpl.java
New file
0,0 → 1,11
package pt.estgp.estgweb.domain;
 
/**
* Created by IntelliJ IDEA.
* User: Jorge Machado
* Date: 7/Mai/2008
* Time: 20:21:15
* To change this template use File | Settings | File Templates.
*/
public class CourseUnitImpl extends CourseUnit {
}
/impl/src/java/pt/estgp/estgweb/domain/dao/impl/UserDaoImpl.java
4,7 → 4,10
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Hibernate;
import static org.hibernate.criterion.Restrictions.eq;
import org.hibernate.Criteria;
import static org.hibernate.criterion.Restrictions.*;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.SimpleExpression;
 
 
import java.util.List;
76,14 → 79,14
}
}
 
/**
/**
* Used by the base DAO classes but here for your modification Load object
* matching the given key and return it.
*
* @param ID to load
* @return a user
*/
public final User loadByID(String ID)
public final User loadByID(String ID)
{
try
{
120,6 → 123,18
}
}
 
public List<User> findUsers (String textToSearch)
{
Criteria criteria = createCriteria();
Criterion name= or(like("name","%"+textToSearch+"%"),like("name","%"+textToSearch+"%"));
Criterion username = or(like("username", "%" + textToSearch + "%"), like("username", "%" + textToSearch + "%"));
Criterion email = or(like("email", "%" + textToSearch + "%"), like("email", "%" + textToSearch + "%"));
criteria.add(or(or(name,username),email));
return criteria.list();
}
 
 
 
public Serializable save(User obj)
{
try {
/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,58
package pt.estgp.estgweb.web.form.profile;
 
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.views.UserView;
import pt.estgp.estgweb.web.form.ApplicationForm;
 
import java.util.List;
 
/**
* @author Fabio
* @date 30/Abr/2008
* @time 17:18:57
* @see pt.estgp.estgweb.web.form.profile
*/
public class ProfileForm extends ApplicationForm
{
private UserView userView;
private String textToSearch;
private static List<UserView> usersFind;
 
public ProfileForm()
{
userView = new UserView();
}
 
public ProfileForm(UserView userView)
{
this.userView = userView;
}
 
public UserView getUserView()
{
return userView;
}
 
public void setUserView(UserView userView)
{
this.userView = userView;
}
 
public String getTextToSearch() {
return textToSearch;
}
 
public void setTextToSearch(String textToSearch) {
this.textToSearch = textToSearch;
}
 
 
public List<UserView> getUsersFind() {
return usersFind;
}
 
public void setUsersFind(List<UserView> usersFind) {
ProfileForm.usersFind = usersFind;
}
}
 
/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,125
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.web.form.profile.ProfileForm;
import pt.estgp.estgweb.domain.UserSession;
import pt.estgp.estgweb.domain.UserImpl;
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.UserSessionImpl;
import pt.estgp.estgweb.domain.views.UserView;
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 pt.utl.ist.berserk.logic.serviceManager.exceptions.FilterChainFailedException;
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;
import java.util.List;
 
/**
* @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 Throwable, ServletException {
 
 
ProfileForm profileForm =(ProfileForm) form;
UserView userView= profileForm.getUserView();
try
{
UserSessionImpl userSession = (UserSessionImpl) UserSessionProxy.loadUserSession(request);
IServiceManager sm = ServiceManager.getInstance();
String[] names = new String[]{"object"};
Object[] args = new Object[]{userView};
User user = (User) sm.execute(RequestUtils.getRequester(request),"EditUser",args,names);
userSession.setUser(user);
request.setAttribute(Globals.USER_SESSION_KEY,userSession);
logger.info("Puting new user info in session:" + user.getId());
addMessage(request,"profile.edited.sucess");
return mapping.findForward("success");
}
catch(FilterChainFailedException e)
{
return mapping.findForward("error401");
}
catch (Throwable e)
{
logger.error(e,e);
throw e;
}
}
 
public ActionForward changeProfile(ActionMapping mapping,
ActionForm form ,
HttpServletRequest request,
HttpServletResponse response)
throws Throwable, ServletException {
try
{
UserSessionImpl userSession = (UserSessionImpl) UserSessionProxy.loadUserSession(request);
ProfileForm profileForm = new ProfileForm();
IServiceManager sm = ServiceManager.getInstance();
String[] names = new String[]{"serializable"};
Object[] args = new Object[]{userSession.getUser().getId()};
UserView uV = (UserView) sm.execute(RequestUtils.getRequester(request),"LoadUserById",args,names);
profileForm.setUserView(uV);
request.setAttribute("ProfileForm",profileForm);
return mapping.findForward("load");
}
catch(FilterChainFailedException e)
{
return mapping.findForward("error401");
}
catch (Throwable e)
{
logger.error(e,e);
throw e;
}
}
 
public ActionForward search(ActionMapping mapping,
ActionForm form ,
HttpServletRequest request,
HttpServletResponse response)
throws Throwable, ServletException {
try
{
ProfileForm profileForm = (ProfileForm) form;
IServiceManager sm = ServiceManager.getInstance();
String[] names = new String[]{"serializable"};
Object[] args = new Object[]{profileForm.getTextToSearch()};
List<UserView> uVs = (List<UserView>) sm.execute(RequestUtils.getRequester(request),"SearchUser",args,names);
profileForm.setUsersFind(uVs);
request.setAttribute("ProfileForm",profileForm);
return mapping.findForward("search");
}
catch(FilterChainFailedException e)
{
return mapping.findForward("error401");
}
catch (Throwable e)
{
logger.error(e,e);
throw e;
}
}
}
/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/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;
15,6 → 17,7
import pt.estgp.estgweb.domain.User;
import pt.estgp.estgweb.domain.UserImpl;
import pt.estgp.estgweb.domain.UserSessionImpl;
import pt.estgp.estgweb.domain.views.UserView;
import pt.utl.ist.berserk.logic.serviceManager.IServiceManager;
import pt.utl.ist.berserk.logic.serviceManager.ServiceManager;
import pt.utl.ist.berserk.logic.serviceManager.exceptions.ServiceManagerException;
58,7 → 61,17
if(!((UserImpl)userSession.getUser()).isNewUser())
return mapping.findForward("success");
else
{
ProfileForm profileForm = new ProfileForm();
IServiceManager sm2 = ServiceManager.getInstance();
String[] names = new String[]{"serializable"};
Object[] args2 = new Object[]{userSession.getUser().getId()};
UserView uV = (UserView) sm2.execute(RequestUtils.getRequester(request),"LoadUserById",args2,names);
profileForm.setUserView(uV);
request.setAttribute("ProfileForm",profileForm);
addMessage(request,"profile.enter.first.time",uV.getName());
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
1,7 → 1,5
package com.google.api.ws.clients;
 
import javax.xml.rpc.ServiceException;
import java.rmi.RemoteException;
 
/**
* @author Jorge Machado
11,9 → 9,9
*/
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());
}
// 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/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/auth/firstTimeAuthenticate.jsp
File deleted
/impl/src/web/auth/autenticationok.jsp
7,5 → 7,8
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %>
 
<bean:message key="authentication.ok"/> <bean:write name="UserSession" property="name"/>
 
<jomm:messages/>
<bean:message key="authentication.ok"/> <bean:write name="UserSession" property="user.name"/>
/impl/src/web/admin/Profile/findUser.jsp
New file
0,0 → 1,36
<%@ 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" %>
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %>
 
<jomm:messages/>
<html:form action="/profile">
<input type="hidden" name="dispatch" value="search">
<html:hidden property="userView.id"/>
<html:hidden property="userView.userRoles"/>
 
<table class="form">
<tr>
<th>
<bean:message key="profile.search.user"/>
</th>
<td>
<html:text property="textToSearch" maxlength="50"/>
</td>
<td>
<input type="button" onclick="set(this.form,'search');this.form.submit()" value="<bean:message key="search"/>">
</td>
<td>
<logic:present name="ProfileForm" property="usersFind">
<logic:iterate id="item" name="ProfileForm" property="usersFind">
<jomm:option itemName="item" comparableObjectName="ProfileForm" comparableObjectProperty="userView.name">
<bean:message key="${item}"/>
</jomm:option>
</logic:iterate>
</logic:present>
</td>
</tr>
</table>
</html:form>
/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
84,6 → 84,10
}
 
.content h2 a {
font-size: 0.8em;
}
 
.content h2 {
font-size: 1em;
}
/impl/src/web/layout/navigationLeft.jsp
6,26 → 6,34
<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/tlds/estgweb.tld" prefix="estgweb" %>
 
<div id="leftPagePosition">
<%--ANONIMOUS MENUS--%>
<jsp:include page="/layout/navigationLeftAdmin.jsp"/>
<jsp:include page="/layout/navigationLeftMenu.jsp"/>
<div id="leftPagePosition">
<%--ANONIMOUS MENUS--%>
<jsp:include page="/layout/navigationLeftAdmin.jsp"/>
<jsp:include page="/layout/navigationLeftMenu.jsp"/>
 
<%-- USER MENUS--%>
<div id="leftMenuModule">
<div class="linkLeftMenu">
<div class="listClean">
<%-- USER MENUS--%>
<div id="leftMenuModule">
<div class="linkLeftMenu">
<div class="listClean">
<estgweb:isAuthenticated>
<%--SERVICES--%>
<ul>
<h2><bean:message key="services"/></h2>
<li>
<html:link action="/startEditProfile"><bean:message key="edit.profile"/></html:link>
</li>
<li>
<html:link action="/startSubmitAnnouncement"><bean:message key="submit.announcement"/></html:link>
</li>
<li>
<html:link action="/startSubmitBlog"><bean:message key="submit.blog"/></html:link>
</li>
 
<estgweb:isAdmin>
<h2><bean:message key="administrative.services"/></h2>
<li>
<html:link action="/findProfile"><bean:message key="edit.user.profile"/></html:link>
</li>
</estgweb:isAdmin>
<!--OTHER PLACES-->
<h2><bean:message key="Others"/></h2>
<li>
35,8 → 43,8
<a href="<%=request.getContextPath()%>/proxy/layout4/estgp/">ESTG SITE TESTE</a>
</li>
</ul>
</estgweb:isAuthenticated>
</div>
</estgweb:isAuthenticated>
</div>
</div>
</div>
</div>
/impl/src/web/public/search/topnavSearchResults.jsp
5,13 → 5,11
<%@ page import="pt.estgp.estgweb.services.common.ICommonSearchResults" %>
 
<%
 
ICommonSearchResults iCommonSearchResults = (ICommonSearchResults) request.getAttribute("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");
if (iCommonSearchResults != null)
topNav.addNavPlace(null, "search.results", iCommonSearchResults.getQuery());
if (request.getParameter("query") != null)
topNav.addNavPlace(null, "search.results", request.getParameter("query") );
else
topNav.addNavPlace(null, "search.results");
%>
/impl/src/web/public/announcements/loadAnnouncement.jsp
1,14 → 1,20
<%@ page import="jomm.utils.MessageResources" %>
<%@ page import="org.apache.struts.util.RequestUtils" %>
<%@ page import="pt.estgp.estgweb.domain.UserSessionImpl" %>
<%@ page import="pt.estgp.estgweb.web.UserSessionProxy" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
<%@ 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/jomm.tld" prefix="jomm" %>
<jsp:useBean id="Announcement" type="pt.estgp.estgweb.domain.views.AnnouncementView" scope="request"/>
 
<% UserSessionImpl userSession = (UserSessionImpl) UserSessionProxy.loadUserSession(request);%>
<html:link href="http://www.sapo.pt"> </html:link>
<div class="seccao">
<h2>${Announcement.title}</h2>
<h2>${Announcement.title}
<%if((userSession.getUser().getId()==Announcement.getOwnerID())||(userSession.getUser().getRoles().contains("all"))||(userSession.getUser().getRoles().contains("admin"))){%>
<html:link action="/loadAnnouncement?id=${Announcement.id}&dispatch=edit"> Editar</html:link><%}%>
</h2>
<p>
<%
if(Announcement.getBigImage() != null)
/impl/libs.xml
49,9 → 49,9
<fileset dir="${common.lib.dir}/jaxrpc">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jaxrpc16">
<!--<fileset dir="${common.lib.dir}/jaxrpc16">
<include name="**/*.jar"/>
</fileset>
</fileset>-->
<fileset dir="${common.lib.dir}/xml">
<include name="**/*.jar"/>
</fileset>
/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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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,39
package pt.estgp.estgweb.domain.dao.impl;
// Generated 7/Mai/2008 20:26:58 by Hibernate Tools 3.2.0.b9
 
 
import org.apache.log4j.Logger;
 
/**
* Home object for domain model class CourseUnit.
* @author Jorge Machado - Hibernate Tools
*/
 
import jomm.dao.IDomainObjectDao;
import jomm.dao.impl.AbstractDao;
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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:58 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 20:26:52 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 semestre
* @param anolectivo
* @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 semestre
* @param anolectivo
* @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 GetCodigosDocentesInscritosDaInstituicaoResponse }
*
*/
public GetCodigosDocentesInscritosDaInstituicaoResponse createGetCodigosDocentesInscritosDaInstituicaoResponse() {
return new GetCodigosDocentesInscritosDaInstituicaoResponse();
}
 
/**
* Create an instance of {@link GetCodigosAlunosInscritosDaInstituicao }
*
*/
public GetCodigosAlunosInscritosDaInstituicao createGetCodigosAlunosInscritosDaInstituicao() {
return new GetCodigosAlunosInscritosDaInstituicao();
}
 
/**
* Create an instance of {@link ArrayOfDisciplina }
*
*/
public ArrayOfDisciplina createArrayOfDisciplina() {
return new ArrayOfDisciplina();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicao }
*
*/
public GetCodigosDisciplinasDaInstituicao createGetCodigosDisciplinasDaInstituicao() {
return new GetCodigosDisciplinasDaInstituicao();
}
 
/**
* Create an instance of {@link ArrayOfDecimal }
*
*/
public ArrayOfDecimal createArrayOfDecimal() {
return new ArrayOfDecimal();
}
 
/**
* Create an instance of {@link GetAlunoInscritoResponse }
*
*/
public GetAlunoInscritoResponse createGetAlunoInscritoResponse() {
return new GetAlunoInscritoResponse();
}
 
/**
* Create an instance of {@link Docente }
*
*/
public Docente createDocente() {
return new Docente();
}
 
/**
* Create an instance of {@link GetDocente }
*
*/
public GetDocente createGetDocente() {
return new GetDocente();
}
 
/**
* Create an instance of {@link GetDocenteResponse }
*
*/
public GetDocenteResponse createGetDocenteResponse() {
return new GetDocenteResponse();
}
 
/**
* Create an instance of {@link GetCodigosAlunosInscritosDaInstituicaoResponse }
*
*/
public GetCodigosAlunosInscritosDaInstituicaoResponse createGetCodigosAlunosInscritosDaInstituicaoResponse() {
return new GetCodigosAlunosInscritosDaInstituicaoResponse();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicaoResponse }
*
*/
public GetCodigosDisciplinasDaInstituicaoResponse createGetCodigosDisciplinasDaInstituicaoResponse() {
return new GetCodigosDisciplinasDaInstituicaoResponse();
}
 
/**
* Create an instance of {@link GetCodigosDocentesInscritosDaInstituicao }
*
*/
public GetCodigosDocentesInscritosDaInstituicao createGetCodigosDocentesInscritosDaInstituicao() {
return new GetCodigosDocentesInscritosDaInstituicao();
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicaoSemestreResponse }
*
*/
public GetDisciplinasDaInstituicaoSemestreResponse createGetDisciplinasDaInstituicaoSemestreResponse() {
return new GetDisciplinasDaInstituicaoSemestreResponse();
}
 
/**
* Create an instance of {@link Disciplina }
*
*/
public Disciplina createDisciplina() {
return new Disciplina();
}
 
/**
* Create an instance of {@link Aluno }
*
*/
public Aluno createAluno() {
return new Aluno();
}
 
/**
* Create an instance of {@link GetAlunoInscrito }
*
*/
public GetAlunoInscrito createGetAlunoInscrito() {
return new GetAlunoInscrito();
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicaoResponse }
*
*/
public GetDisciplinasDaInstituicaoResponse createGetDisciplinasDaInstituicaoResponse() {
return new GetDisciplinasDaInstituicaoResponse();
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicao }
*
*/
public GetDisciplinasDaInstituicao createGetDisciplinasDaInstituicao() {
return new GetDisciplinasDaInstituicao();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicaoSemestre }
*
*/
public GetCodigosDisciplinasDaInstituicaoSemestre createGetCodigosDisciplinasDaInstituicaoSemestre() {
return new GetCodigosDisciplinasDaInstituicaoSemestre();
}
 
/**
* Create an instance of {@link GetCodigosDisciplinasDaInstituicaoSemestreResponse }
*
*/
public GetCodigosDisciplinasDaInstituicaoSemestreResponse createGetCodigosDisciplinasDaInstituicaoSemestreResponse() {
return new GetCodigosDisciplinasDaInstituicaoSemestreResponse();
}
 
/**
* Create an instance of {@link GetDisciplinasDaInstituicaoSemestre }
*
*/
public GetDisciplinasDaInstituicaoSemestre createGetDisciplinasDaInstituicaoSemestre() {
return new GetDisciplinasDaInstituicaoSemestre();
}
 
}
/impl/build-web-services.xml
5,9 → 5,9
<classpath refid="pathToToolsLib"/>
</taskdef>
 
<taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
<!-- <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
<classpath refid="pathToToolsLib"/>
</taskdef>
</taskdef>-->
 
<target name="ws.generate-siges-client" depends="initDirs">
<copy file="${ws.client.binding.dir}/${ws.siges.binding.file}" todir="${build.dir.ws}" overwrite="true"/>
32,7 → 32,7
</delete>
</target>
 
<target name="ws.generate-google-client">
<!-- <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>
53,6 → 53,10
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
137,7 → 137,7
#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://tempuri.org/
ws.siges.target.namespace=http://www.ipportalegre.pt/siges/web/services
ws.siges.binding.file=siges-client.xml
 
#Google Service Specific Configuration
/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">
 
 
41,6 → 41,7
<delete dir="${dist.dir}"/>
<delete>
<fileset dir="${gen.dir.java}">
<exclude name="pt/ipportalegre/**/*.*"/>
<include name="**/*.java"/>
</fileset>
</delete>
218,9 → 219,9
<fileset dir="${common.lib.dir}/lucene">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${common.lib.dir}/jaxrpc16">
<!--<fileset dir="${common.lib.dir}/jaxrpc16">
<include name="**/*.jar"/>
</fileset>
</fileset>-->
</copy>
<copy file="${dist.dir}/estgweb.jar" todir="${build.dir.war}/WEB-INF/lib"/>
<copy todir="${build.dir.war}/WEB-INF" overwrite="true">