Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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();
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }