Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 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);
 }
Exemplo n.º 5
0
 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);
 }
Exemplo n.º 6
0
 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();
 }
Exemplo n.º 7
0
 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);
 }
Exemplo n.º 8
0
 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);
 }
Exemplo n.º 9
0
 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);
 }
Exemplo n.º 10
0
 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);
 }
Exemplo n.º 11
0
 /* 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);
 }
Exemplo n.º 12
0
 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);
 }