コード例 #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);
 }