static int genAccount( java.lang.String username, org.netbeans.xml.schema.elements.COMPANYTYPE company) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.genAccount(username, company); }
static int creerNotification(int idTo, int idFrom, java.lang.String message) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.creerNotification(idTo, idFrom, message); }
static APPLICATIONTYPE getApplications(int idStud) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getApplications(idStud); }
static void createApplication(int idStud, int idCpany, int idApplication, int state) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); port.createApplication(idStud, idCpany, idApplication, state); }
static PERSONNELTYPE getPersonnelbyId(int idUser) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getPersonnelbyId(idUser); }
static LISTIDTYPE getCompanies() { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getCompanies(); }
static COMPANYTYPE getCompanybyId(int idUser) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getCompanybyId(idUser); }
static STUDENTTYPE getStudentbyId(int idUser) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getStudentbyId(idUser); }
static USERTYPE getinfoUserbyId(int requestId) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getinfoUserbyId(requestId); }
static NOTIFSTYPE getNotifications(int idTo) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getNotifications(idTo); }
/* Services offerts par notre database */ static int authenticate(java.lang.String username, java.lang.String password) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.authenticate(username, password); }
static LISTIDTYPE getStudentsSupervisor(int idSupervisor) { org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService service = new org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLService(); org.netbeans.j2ee.wsdl.wismiservice.userwsdl.UserWSDLPortType port = service.getUserWSDLPort(); return port.getStudentsSupervisor(idSupervisor); }