001: /**
002: * SQLGroupSoapBindingStub.java
003: *
004: * This file was auto-generated from WSDL
005: * by the Apache Axis 1.4 Nov 19, 2006 (02:31:34 GMT+00:00) WSDL2Java emitter.
006: */package org.objectweb.salome_tmf.soap;
007:
008: import org.objectweb.salome_tmf.api.data.DataWrapper;
009: import org.objectweb.salome_tmf.api.data.GroupWrapper;
010: import org.objectweb.salome_tmf.api.data.UserWrapper;
011: import org.objectweb.salome_tmf.api.sql.ISQLGroup;
012:
013: public class SQLGroupSoapBindingStub extends StubClient implements
014: ISQLGroup {
015: private java.util.Vector cachedSerClasses = new java.util.Vector();
016: private java.util.Vector cachedSerQNames = new java.util.Vector();
017: private java.util.Vector cachedSerFactories = new java.util.Vector();
018: private java.util.Vector cachedDeserFactories = new java.util.Vector();
019:
020: static org.apache.axis.description.OperationDesc[] _operations;
021:
022: static {
023: _operations = new org.apache.axis.description.OperationDesc[12];
024: _initOperationDesc1();
025: _initOperationDesc2();
026: }
027:
028: private static void _initOperationDesc1() {
029: org.apache.axis.description.OperationDesc oper;
030: org.apache.axis.description.ParameterDesc param;
031: oper = new org.apache.axis.description.OperationDesc();
032: oper.setName("insertUser");
033: param = new org.apache.axis.description.ParameterDesc(
034: new javax.xml.namespace.QName("", "in0"),
035: org.apache.axis.description.ParameterDesc.IN,
036: new javax.xml.namespace.QName(
037: "http://www.w3.org/2001/XMLSchema", "int"),
038: int.class, false, false);
039: oper.addParameter(param);
040: param = new org.apache.axis.description.ParameterDesc(
041: new javax.xml.namespace.QName("", "in1"),
042: org.apache.axis.description.ParameterDesc.IN,
043: new javax.xml.namespace.QName(
044: "http://www.w3.org/2001/XMLSchema", "int"),
045: int.class, false, false);
046: oper.addParameter(param);
047: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
048: oper.setStyle(org.apache.axis.constants.Style.RPC);
049: oper.setUse(org.apache.axis.constants.Use.LITERAL);
050: _operations[0] = oper;
051:
052: oper = new org.apache.axis.description.OperationDesc();
053: oper.setName("updatePermission");
054: param = new org.apache.axis.description.ParameterDesc(
055: new javax.xml.namespace.QName("", "in0"),
056: org.apache.axis.description.ParameterDesc.IN,
057: new javax.xml.namespace.QName(
058: "http://www.w3.org/2001/XMLSchema", "int"),
059: int.class, false, false);
060: oper.addParameter(param);
061: param = new org.apache.axis.description.ParameterDesc(
062: new javax.xml.namespace.QName("", "in1"),
063: org.apache.axis.description.ParameterDesc.IN,
064: new javax.xml.namespace.QName(
065: "http://www.w3.org/2001/XMLSchema", "int"),
066: int.class, false, false);
067: oper.addParameter(param);
068: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
069: oper.setStyle(org.apache.axis.constants.Style.RPC);
070: oper.setUse(org.apache.axis.constants.Use.LITERAL);
071: _operations[1] = oper;
072:
073: oper = new org.apache.axis.description.OperationDesc();
074: oper.setName("updateGroup");
075: param = new org.apache.axis.description.ParameterDesc(
076: new javax.xml.namespace.QName("", "in0"),
077: org.apache.axis.description.ParameterDesc.IN,
078: new javax.xml.namespace.QName(
079: "http://www.w3.org/2001/XMLSchema", "int"),
080: int.class, false, false);
081: oper.addParameter(param);
082: param = new org.apache.axis.description.ParameterDesc(
083: new javax.xml.namespace.QName("", "in1"),
084: org.apache.axis.description.ParameterDesc.IN,
085: new javax.xml.namespace.QName(
086: "http://www.w3.org/2001/XMLSchema", "string"),
087: java.lang.String.class, false, false);
088: oper.addParameter(param);
089: param = new org.apache.axis.description.ParameterDesc(
090: new javax.xml.namespace.QName("", "in2"),
091: org.apache.axis.description.ParameterDesc.IN,
092: new javax.xml.namespace.QName(
093: "http://www.w3.org/2001/XMLSchema", "string"),
094: java.lang.String.class, false, false);
095: oper.addParameter(param);
096: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
097: oper.setStyle(org.apache.axis.constants.Style.RPC);
098: oper.setUse(org.apache.axis.constants.Use.LITERAL);
099: _operations[2] = oper;
100:
101: oper = new org.apache.axis.description.OperationDesc();
102: oper.setName("updateUserDescInGroup");
103: param = new org.apache.axis.description.ParameterDesc(
104: new javax.xml.namespace.QName("", "in0"),
105: org.apache.axis.description.ParameterDesc.IN,
106: new javax.xml.namespace.QName(
107: "http://www.w3.org/2001/XMLSchema", "int"),
108: int.class, false, false);
109: oper.addParameter(param);
110: param = new org.apache.axis.description.ParameterDesc(
111: new javax.xml.namespace.QName("", "in1"),
112: org.apache.axis.description.ParameterDesc.IN,
113: new javax.xml.namespace.QName(
114: "http://www.w3.org/2001/XMLSchema", "int"),
115: int.class, false, false);
116: oper.addParameter(param);
117: param = new org.apache.axis.description.ParameterDesc(
118: new javax.xml.namespace.QName("", "in2"),
119: org.apache.axis.description.ParameterDesc.IN,
120: new javax.xml.namespace.QName(
121: "http://www.w3.org/2001/XMLSchema", "string"),
122: java.lang.String.class, false, false);
123: oper.addParameter(param);
124: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
125: oper.setStyle(org.apache.axis.constants.Style.RPC);
126: oper.setUse(org.apache.axis.constants.Use.LITERAL);
127: _operations[3] = oper;
128:
129: oper = new org.apache.axis.description.OperationDesc();
130: oper.setName("deleteUserInGroup");
131: param = new org.apache.axis.description.ParameterDesc(
132: new javax.xml.namespace.QName("", "in0"),
133: org.apache.axis.description.ParameterDesc.IN,
134: new javax.xml.namespace.QName(
135: "http://www.w3.org/2001/XMLSchema", "int"),
136: int.class, false, false);
137: oper.addParameter(param);
138: param = new org.apache.axis.description.ParameterDesc(
139: new javax.xml.namespace.QName("", "in1"),
140: org.apache.axis.description.ParameterDesc.IN,
141: new javax.xml.namespace.QName(
142: "http://www.w3.org/2001/XMLSchema", "int"),
143: int.class, false, false);
144: oper.addParameter(param);
145: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
146: oper.setStyle(org.apache.axis.constants.Style.RPC);
147: oper.setUse(org.apache.axis.constants.Use.LITERAL);
148: _operations[4] = oper;
149:
150: oper = new org.apache.axis.description.OperationDesc();
151: oper.setName("deleteUserGroup");
152: param = new org.apache.axis.description.ParameterDesc(
153: new javax.xml.namespace.QName("", "in0"),
154: org.apache.axis.description.ParameterDesc.IN,
155: new javax.xml.namespace.QName(
156: "http://www.w3.org/2001/XMLSchema", "int"),
157: int.class, false, false);
158: oper.addParameter(param);
159: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
160: oper.setStyle(org.apache.axis.constants.Style.RPC);
161: oper.setUse(org.apache.axis.constants.Use.LITERAL);
162: _operations[5] = oper;
163:
164: oper = new org.apache.axis.description.OperationDesc();
165: oper.setName("getGroupWrapperInProject");
166: param = new org.apache.axis.description.ParameterDesc(
167: new javax.xml.namespace.QName("", "in0"),
168: org.apache.axis.description.ParameterDesc.IN,
169: new javax.xml.namespace.QName(
170: "http://www.w3.org/2001/XMLSchema", "int"),
171: int.class, false, false);
172: oper.addParameter(param);
173: oper.setReturnType(new javax.xml.namespace.QName(
174: "http://soap.salome_tmf.objectweb.org",
175: "ArrayOf_tns1_GroupWrapper"));
176: oper.setReturnClass(GroupWrapper[].class);
177: oper.setReturnQName(new javax.xml.namespace.QName("",
178: "getGroupWrapperInProjectReturn"));
179: param = oper.getReturnParamDesc();
180: param.setItemQName(new javax.xml.namespace.QName("", "item"));
181: oper.setStyle(org.apache.axis.constants.Style.RPC);
182: oper.setUse(org.apache.axis.constants.Use.LITERAL);
183: _operations[6] = oper;
184:
185: oper = new org.apache.axis.description.OperationDesc();
186: oper.setName("getGroupsForUser");
187: param = new org.apache.axis.description.ParameterDesc(
188: new javax.xml.namespace.QName("", "in0"),
189: org.apache.axis.description.ParameterDesc.IN,
190: new javax.xml.namespace.QName(
191: "http://www.w3.org/2001/XMLSchema", "int"),
192: int.class, false, false);
193: oper.addParameter(param);
194: param = new org.apache.axis.description.ParameterDesc(
195: new javax.xml.namespace.QName("", "in1"),
196: org.apache.axis.description.ParameterDesc.IN,
197: new javax.xml.namespace.QName(
198: "http://www.w3.org/2001/XMLSchema", "string"),
199: java.lang.String.class, false, false);
200: oper.addParameter(param);
201: oper.setReturnType(new javax.xml.namespace.QName(
202: "http://soap.salome_tmf.objectweb.org",
203: "ArrayOf_tns1_GroupWrapper"));
204: oper.setReturnClass(GroupWrapper[].class);
205: oper.setReturnQName(new javax.xml.namespace.QName("",
206: "getGroupsForUserReturn"));
207: param = oper.getReturnParamDesc();
208: param.setItemQName(new javax.xml.namespace.QName("", "item"));
209: oper.setStyle(org.apache.axis.constants.Style.RPC);
210: oper.setUse(org.apache.axis.constants.Use.LITERAL);
211: _operations[7] = oper;
212:
213: oper = new org.apache.axis.description.OperationDesc();
214: oper.setName("getUserWrappersInGroup");
215: param = new org.apache.axis.description.ParameterDesc(
216: new javax.xml.namespace.QName("", "in0"),
217: org.apache.axis.description.ParameterDesc.IN,
218: new javax.xml.namespace.QName(
219: "http://www.w3.org/2001/XMLSchema", "int"),
220: int.class, false, false);
221: oper.addParameter(param);
222: oper.setReturnType(new javax.xml.namespace.QName(
223: "http://soap.salome_tmf.objectweb.org",
224: "ArrayOf_tns1_UserWrapper"));
225: oper.setReturnClass(UserWrapper[].class);
226: oper.setReturnQName(new javax.xml.namespace.QName("",
227: "getUserWrappersInGroupReturn"));
228: param = oper.getReturnParamDesc();
229: param.setItemQName(new javax.xml.namespace.QName("", "item"));
230: oper.setStyle(org.apache.axis.constants.Style.RPC);
231: oper.setUse(org.apache.axis.constants.Use.LITERAL);
232: _operations[8] = oper;
233:
234: oper = new org.apache.axis.description.OperationDesc();
235: oper.setName("delete");
236: param = new org.apache.axis.description.ParameterDesc(
237: new javax.xml.namespace.QName("", "in0"),
238: org.apache.axis.description.ParameterDesc.IN,
239: new javax.xml.namespace.QName(
240: "http://www.w3.org/2001/XMLSchema", "int"),
241: int.class, false, false);
242: oper.addParameter(param);
243: oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
244: oper.setStyle(org.apache.axis.constants.Style.RPC);
245: oper.setUse(org.apache.axis.constants.Use.LITERAL);
246: _operations[9] = oper;
247:
248: }
249:
250: private static void _initOperationDesc2() {
251: org.apache.axis.description.OperationDesc oper;
252: org.apache.axis.description.ParameterDesc param;
253: oper = new org.apache.axis.description.OperationDesc();
254: oper.setName("insert");
255: param = new org.apache.axis.description.ParameterDesc(
256: new javax.xml.namespace.QName("", "in0"),
257: org.apache.axis.description.ParameterDesc.IN,
258: new javax.xml.namespace.QName(
259: "http://www.w3.org/2001/XMLSchema", "int"),
260: int.class, false, false);
261: oper.addParameter(param);
262: param = new org.apache.axis.description.ParameterDesc(
263: new javax.xml.namespace.QName("", "in1"),
264: org.apache.axis.description.ParameterDesc.IN,
265: new javax.xml.namespace.QName(
266: "http://www.w3.org/2001/XMLSchema", "string"),
267: java.lang.String.class, false, false);
268: oper.addParameter(param);
269: param = new org.apache.axis.description.ParameterDesc(
270: new javax.xml.namespace.QName("", "in2"),
271: org.apache.axis.description.ParameterDesc.IN,
272: new javax.xml.namespace.QName(
273: "http://www.w3.org/2001/XMLSchema", "string"),
274: java.lang.String.class, false, false);
275: oper.addParameter(param);
276: param = new org.apache.axis.description.ParameterDesc(
277: new javax.xml.namespace.QName("", "in3"),
278: org.apache.axis.description.ParameterDesc.IN,
279: new javax.xml.namespace.QName(
280: "http://www.w3.org/2001/XMLSchema", "int"),
281: int.class, false, false);
282: oper.addParameter(param);
283: oper.setReturnType(new javax.xml.namespace.QName(
284: "http://www.w3.org/2001/XMLSchema", "int"));
285: oper.setReturnClass(int.class);
286: oper.setReturnQName(new javax.xml.namespace.QName("",
287: "insertReturn"));
288: oper.setStyle(org.apache.axis.constants.Style.RPC);
289: oper.setUse(org.apache.axis.constants.Use.LITERAL);
290: _operations[10] = oper;
291:
292: oper = new org.apache.axis.description.OperationDesc();
293: oper.setName("getID");
294: param = new org.apache.axis.description.ParameterDesc(
295: new javax.xml.namespace.QName("", "in0"),
296: org.apache.axis.description.ParameterDesc.IN,
297: new javax.xml.namespace.QName(
298: "http://www.w3.org/2001/XMLSchema", "int"),
299: int.class, false, false);
300: oper.addParameter(param);
301: param = new org.apache.axis.description.ParameterDesc(
302: new javax.xml.namespace.QName("", "in1"),
303: org.apache.axis.description.ParameterDesc.IN,
304: new javax.xml.namespace.QName(
305: "http://www.w3.org/2001/XMLSchema", "string"),
306: java.lang.String.class, false, false);
307: oper.addParameter(param);
308: oper.setReturnType(new javax.xml.namespace.QName(
309: "http://www.w3.org/2001/XMLSchema", "int"));
310: oper.setReturnClass(int.class);
311: oper.setReturnQName(new javax.xml.namespace.QName("",
312: "getIDReturn"));
313: oper.setStyle(org.apache.axis.constants.Style.RPC);
314: oper.setUse(org.apache.axis.constants.Use.LITERAL);
315: _operations[11] = oper;
316:
317: }
318:
319: public SQLGroupSoapBindingStub() throws org.apache.axis.AxisFault {
320: this (null);
321: }
322:
323: public SQLGroupSoapBindingStub(java.net.URL endpointURL,
324: javax.xml.rpc.Service service)
325: throws org.apache.axis.AxisFault {
326: this (service);
327: super .cachedEndpoint = endpointURL;
328: }
329:
330: public SQLGroupSoapBindingStub(javax.xml.rpc.Service service)
331: throws org.apache.axis.AxisFault {
332: if (service == null) {
333: super .service = new org.apache.axis.client.Service();
334: } else {
335: super .service = service;
336: }
337: ((org.apache.axis.client.Service) super .service)
338: .setTypeMappingVersion("1.2");
339: java.lang.Class cls;
340: javax.xml.namespace.QName qName;
341: javax.xml.namespace.QName qName2;
342: java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
343: java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
344: java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
345: java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
346: java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
347: java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
348: java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
349: java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
350: java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
351: java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
352: qName = new javax.xml.namespace.QName(
353: "http://data.api.salome_tmf.objectweb.org",
354: "DataWrapper");
355: cachedSerQNames.add(qName);
356: cls = DataWrapper.class;
357: cachedSerClasses.add(cls);
358: cachedSerFactories.add(beansf);
359: cachedDeserFactories.add(beandf);
360:
361: qName = new javax.xml.namespace.QName(
362: "http://data.api.salome_tmf.objectweb.org",
363: "GroupWrapper");
364: cachedSerQNames.add(qName);
365: cls = GroupWrapper.class;
366: cachedSerClasses.add(cls);
367: cachedSerFactories.add(beansf);
368: cachedDeserFactories.add(beandf);
369:
370: qName = new javax.xml.namespace.QName(
371: "http://data.api.salome_tmf.objectweb.org",
372: "UserWrapper");
373: cachedSerQNames.add(qName);
374: cls = UserWrapper.class;
375: cachedSerClasses.add(cls);
376: cachedSerFactories.add(beansf);
377: cachedDeserFactories.add(beandf);
378:
379: qName = new javax.xml.namespace.QName(
380: "http://soap.salome_tmf.objectweb.org",
381: "ArrayOf_tns1_GroupWrapper");
382: cachedSerQNames.add(qName);
383: cls = GroupWrapper[].class;
384: cachedSerClasses.add(cls);
385: qName = new javax.xml.namespace.QName(
386: "http://data.api.salome_tmf.objectweb.org",
387: "GroupWrapper");
388: qName2 = new javax.xml.namespace.QName("", "item");
389: cachedSerFactories
390: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
391: qName, qName2));
392: cachedDeserFactories
393: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
394:
395: qName = new javax.xml.namespace.QName(
396: "http://soap.salome_tmf.objectweb.org",
397: "ArrayOf_tns1_UserWrapper");
398: cachedSerQNames.add(qName);
399: cls = UserWrapper[].class;
400: cachedSerClasses.add(cls);
401: qName = new javax.xml.namespace.QName(
402: "http://data.api.salome_tmf.objectweb.org",
403: "UserWrapper");
404: qName2 = new javax.xml.namespace.QName("", "item");
405: cachedSerFactories
406: .add(new org.apache.axis.encoding.ser.ArraySerializerFactory(
407: qName, qName2));
408: cachedDeserFactories
409: .add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
410:
411: }
412:
413: protected org.apache.axis.client.Call createCall()
414: throws java.rmi.RemoteException {
415: try {
416: org.apache.axis.client.Call _call = super ._createCall();
417: if (super .maintainSessionSet) {
418: _call.setMaintainSession(super .maintainSession);
419: }
420: if (super .cachedUsername != null) {
421: _call.setUsername(super .cachedUsername);
422: }
423: if (super .cachedPassword != null) {
424: _call.setPassword(super .cachedPassword);
425: }
426: if (super .cachedEndpoint != null) {
427: _call.setTargetEndpointAddress(super .cachedEndpoint);
428: }
429: if (super .cachedTimeout != null) {
430: _call.setTimeout(super .cachedTimeout);
431: }
432: if (super .cachedPortName != null) {
433: _call.setPortName(super .cachedPortName);
434: }
435: java.util.Enumeration keys = super .cachedProperties.keys();
436: while (keys.hasMoreElements()) {
437: java.lang.String key = (java.lang.String) keys
438: .nextElement();
439: _call.setProperty(key, super .cachedProperties.get(key));
440: }
441: // All the type mapping information is registered
442: // when the first call is made.
443: // The type mapping information is actually registered in
444: // the TypeMappingRegistry of the service, which
445: // is the reason why registration is only needed for the first call.
446: synchronized (this ) {
447: if (firstCall()) {
448: // must set encoding style before registering serializers
449: _call.setEncodingStyle(null);
450: for (int i = 0; i < cachedSerFactories.size(); ++i) {
451: java.lang.Class cls = (java.lang.Class) cachedSerClasses
452: .get(i);
453: javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames
454: .get(i);
455: java.lang.Object x = cachedSerFactories.get(i);
456: if (x instanceof Class) {
457: java.lang.Class sf = (java.lang.Class) cachedSerFactories
458: .get(i);
459: java.lang.Class df = (java.lang.Class) cachedDeserFactories
460: .get(i);
461: _call.registerTypeMapping(cls, qName, sf,
462: df, false);
463: } else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
464: org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) cachedSerFactories
465: .get(i);
466: org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) cachedDeserFactories
467: .get(i);
468: _call.registerTypeMapping(cls, qName, sf,
469: df, false);
470: }
471: }
472: }
473: }
474: return _call;
475: } catch (java.lang.Exception _t) {
476: throw new org.apache.axis.AxisFault(
477: "Failure trying to get the Call object", _t);
478: }
479: }
480:
481: public void insertUser(int in0, int in1)
482: throws java.rmi.RemoteException {
483: if (super .cachedEndpoint == null) {
484: throw new org.apache.axis.NoEndPointException();
485: }
486: org.apache.axis.client.Call _call = createCall();
487: _call.setOperation(_operations[0]);
488: _call.setUseSOAPAction(true);
489: _call.setSOAPActionURI("");
490: _call.setEncodingStyle(null);
491: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
492: Boolean.FALSE);
493: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
494: Boolean.FALSE);
495: _call
496: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
497: _call.setOperationName(new javax.xml.namespace.QName(
498: "http://soap.salome_tmf.objectweb.org", "insertUser"));
499:
500: setRequestHeaders(_call);
501: setAttachments(_call);
502: try {
503: java.lang.Object _resp = _call
504: .invoke(new java.lang.Object[] {
505: new java.lang.Integer(in0),
506: new java.lang.Integer(in1) });
507:
508: if (_resp instanceof java.rmi.RemoteException) {
509: throw (java.rmi.RemoteException) _resp;
510: }
511: extractAttachments(_call);
512: } catch (org.apache.axis.AxisFault axisFaultException) {
513: throw axisFaultException;
514: }
515: }
516:
517: public void updatePermission(int in0, int in1)
518: throws java.rmi.RemoteException {
519: if (super .cachedEndpoint == null) {
520: throw new org.apache.axis.NoEndPointException();
521: }
522: org.apache.axis.client.Call _call = createCall();
523: _call.setOperation(_operations[1]);
524: _call.setUseSOAPAction(true);
525: _call.setSOAPActionURI("");
526: _call.setEncodingStyle(null);
527: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
528: Boolean.FALSE);
529: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
530: Boolean.FALSE);
531: _call
532: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
533: _call.setOperationName(new javax.xml.namespace.QName(
534: "http://soap.salome_tmf.objectweb.org",
535: "updatePermission"));
536:
537: setRequestHeaders(_call);
538: setAttachments(_call);
539: try {
540: java.lang.Object _resp = _call
541: .invoke(new java.lang.Object[] {
542: new java.lang.Integer(in0),
543: new java.lang.Integer(in1) });
544:
545: if (_resp instanceof java.rmi.RemoteException) {
546: throw (java.rmi.RemoteException) _resp;
547: }
548: extractAttachments(_call);
549: } catch (org.apache.axis.AxisFault axisFaultException) {
550: throw axisFaultException;
551: }
552: }
553:
554: public void updateGroup(int in0, java.lang.String in1,
555: java.lang.String in2) throws java.rmi.RemoteException {
556: if (super .cachedEndpoint == null) {
557: throw new org.apache.axis.NoEndPointException();
558: }
559: org.apache.axis.client.Call _call = createCall();
560: _call.setOperation(_operations[2]);
561: _call.setUseSOAPAction(true);
562: _call.setSOAPActionURI("");
563: _call.setEncodingStyle(null);
564: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
565: Boolean.FALSE);
566: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
567: Boolean.FALSE);
568: _call
569: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
570: _call.setOperationName(new javax.xml.namespace.QName(
571: "http://soap.salome_tmf.objectweb.org", "updateGroup"));
572:
573: setRequestHeaders(_call);
574: setAttachments(_call);
575: try {
576: java.lang.Object _resp = _call
577: .invoke(new java.lang.Object[] {
578: new java.lang.Integer(in0), in1, in2 });
579:
580: if (_resp instanceof java.rmi.RemoteException) {
581: throw (java.rmi.RemoteException) _resp;
582: }
583: extractAttachments(_call);
584: } catch (org.apache.axis.AxisFault axisFaultException) {
585: throw axisFaultException;
586: }
587: }
588:
589: public void updateUserDescInGroup(int in0, int in1,
590: java.lang.String in2) throws java.rmi.RemoteException {
591: if (super .cachedEndpoint == null) {
592: throw new org.apache.axis.NoEndPointException();
593: }
594: org.apache.axis.client.Call _call = createCall();
595: _call.setOperation(_operations[3]);
596: _call.setUseSOAPAction(true);
597: _call.setSOAPActionURI("");
598: _call.setEncodingStyle(null);
599: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
600: Boolean.FALSE);
601: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
602: Boolean.FALSE);
603: _call
604: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
605: _call.setOperationName(new javax.xml.namespace.QName(
606: "http://soap.salome_tmf.objectweb.org",
607: "updateUserDescInGroup"));
608:
609: setRequestHeaders(_call);
610: setAttachments(_call);
611: try {
612: java.lang.Object _resp = _call
613: .invoke(new java.lang.Object[] {
614: new java.lang.Integer(in0),
615: new java.lang.Integer(in1), in2 });
616:
617: if (_resp instanceof java.rmi.RemoteException) {
618: throw (java.rmi.RemoteException) _resp;
619: }
620: extractAttachments(_call);
621: } catch (org.apache.axis.AxisFault axisFaultException) {
622: throw axisFaultException;
623: }
624: }
625:
626: public void deleteUserInGroup(int in0, int in1)
627: throws java.rmi.RemoteException {
628: if (super .cachedEndpoint == null) {
629: throw new org.apache.axis.NoEndPointException();
630: }
631: org.apache.axis.client.Call _call = createCall();
632: _call.setOperation(_operations[4]);
633: _call.setUseSOAPAction(true);
634: _call.setSOAPActionURI("");
635: _call.setEncodingStyle(null);
636: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
637: Boolean.FALSE);
638: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
639: Boolean.FALSE);
640: _call
641: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
642: _call.setOperationName(new javax.xml.namespace.QName(
643: "http://soap.salome_tmf.objectweb.org",
644: "deleteUserInGroup"));
645:
646: setRequestHeaders(_call);
647: setAttachments(_call);
648: try {
649: java.lang.Object _resp = _call
650: .invoke(new java.lang.Object[] {
651: new java.lang.Integer(in0),
652: new java.lang.Integer(in1) });
653:
654: if (_resp instanceof java.rmi.RemoteException) {
655: throw (java.rmi.RemoteException) _resp;
656: }
657: extractAttachments(_call);
658: } catch (org.apache.axis.AxisFault axisFaultException) {
659: throw axisFaultException;
660: }
661: }
662:
663: public void deleteUserGroup(int in0)
664: throws java.rmi.RemoteException {
665: if (super .cachedEndpoint == null) {
666: throw new org.apache.axis.NoEndPointException();
667: }
668: org.apache.axis.client.Call _call = createCall();
669: _call.setOperation(_operations[5]);
670: _call.setUseSOAPAction(true);
671: _call.setSOAPActionURI("");
672: _call.setEncodingStyle(null);
673: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
674: Boolean.FALSE);
675: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
676: Boolean.FALSE);
677: _call
678: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
679: _call.setOperationName(new javax.xml.namespace.QName(
680: "http://soap.salome_tmf.objectweb.org",
681: "deleteUserGroup"));
682:
683: setRequestHeaders(_call);
684: setAttachments(_call);
685: try {
686: java.lang.Object _resp = _call
687: .invoke(new java.lang.Object[] { new java.lang.Integer(
688: in0) });
689:
690: if (_resp instanceof java.rmi.RemoteException) {
691: throw (java.rmi.RemoteException) _resp;
692: }
693: extractAttachments(_call);
694: } catch (org.apache.axis.AxisFault axisFaultException) {
695: throw axisFaultException;
696: }
697: }
698:
699: public GroupWrapper[] getGroupWrapperInProject(int in0)
700: throws java.rmi.RemoteException {
701: if (super .cachedEndpoint == null) {
702: throw new org.apache.axis.NoEndPointException();
703: }
704: org.apache.axis.client.Call _call = createCall();
705: _call.setOperation(_operations[6]);
706: _call.setUseSOAPAction(true);
707: _call.setSOAPActionURI("");
708: _call.setEncodingStyle(null);
709: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
710: Boolean.FALSE);
711: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
712: Boolean.FALSE);
713: _call
714: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
715: _call.setOperationName(new javax.xml.namespace.QName(
716: "http://soap.salome_tmf.objectweb.org",
717: "getGroupWrapperInProject"));
718:
719: setRequestHeaders(_call);
720: setAttachments(_call);
721: try {
722: java.lang.Object _resp = _call
723: .invoke(new java.lang.Object[] { new java.lang.Integer(
724: in0) });
725:
726: if (_resp instanceof java.rmi.RemoteException) {
727: throw (java.rmi.RemoteException) _resp;
728: } else {
729: extractAttachments(_call);
730: try {
731: return (GroupWrapper[]) _resp;
732: } catch (java.lang.Exception _exception) {
733: return (GroupWrapper[]) org.apache.axis.utils.JavaUtils
734: .convert(_resp, GroupWrapper[].class);
735: }
736: }
737: } catch (org.apache.axis.AxisFault axisFaultException) {
738: throw axisFaultException;
739: }
740: }
741:
742: public GroupWrapper[] getGroupsForUser(int in0, java.lang.String in1)
743: throws java.rmi.RemoteException {
744: if (super .cachedEndpoint == null) {
745: throw new org.apache.axis.NoEndPointException();
746: }
747: org.apache.axis.client.Call _call = createCall();
748: _call.setOperation(_operations[7]);
749: _call.setUseSOAPAction(true);
750: _call.setSOAPActionURI("");
751: _call.setEncodingStyle(null);
752: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
753: Boolean.FALSE);
754: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
755: Boolean.FALSE);
756: _call
757: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
758: _call.setOperationName(new javax.xml.namespace.QName(
759: "http://soap.salome_tmf.objectweb.org",
760: "getGroupsForUser"));
761:
762: setRequestHeaders(_call);
763: setAttachments(_call);
764: try {
765: java.lang.Object _resp = _call
766: .invoke(new java.lang.Object[] {
767: new java.lang.Integer(in0), in1 });
768:
769: if (_resp instanceof java.rmi.RemoteException) {
770: throw (java.rmi.RemoteException) _resp;
771: } else {
772: extractAttachments(_call);
773: try {
774: return (GroupWrapper[]) _resp;
775: } catch (java.lang.Exception _exception) {
776: return (GroupWrapper[]) org.apache.axis.utils.JavaUtils
777: .convert(_resp, GroupWrapper[].class);
778: }
779: }
780: } catch (org.apache.axis.AxisFault axisFaultException) {
781: throw axisFaultException;
782: }
783: }
784:
785: public UserWrapper[] getUserWrappersInGroup(int in0)
786: throws java.rmi.RemoteException {
787: if (super .cachedEndpoint == null) {
788: throw new org.apache.axis.NoEndPointException();
789: }
790: org.apache.axis.client.Call _call = createCall();
791: _call.setOperation(_operations[8]);
792: _call.setUseSOAPAction(true);
793: _call.setSOAPActionURI("");
794: _call.setEncodingStyle(null);
795: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
796: Boolean.FALSE);
797: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
798: Boolean.FALSE);
799: _call
800: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
801: _call.setOperationName(new javax.xml.namespace.QName(
802: "http://soap.salome_tmf.objectweb.org",
803: "getUserWrappersInGroup"));
804:
805: setRequestHeaders(_call);
806: setAttachments(_call);
807: try {
808: java.lang.Object _resp = _call
809: .invoke(new java.lang.Object[] { new java.lang.Integer(
810: in0) });
811:
812: if (_resp instanceof java.rmi.RemoteException) {
813: throw (java.rmi.RemoteException) _resp;
814: } else {
815: extractAttachments(_call);
816: try {
817: return (UserWrapper[]) _resp;
818: } catch (java.lang.Exception _exception) {
819: return (UserWrapper[]) org.apache.axis.utils.JavaUtils
820: .convert(_resp, UserWrapper[].class);
821: }
822: }
823: } catch (org.apache.axis.AxisFault axisFaultException) {
824: throw axisFaultException;
825: }
826: }
827:
828: public void delete(int in0) throws java.rmi.RemoteException {
829: if (super .cachedEndpoint == null) {
830: throw new org.apache.axis.NoEndPointException();
831: }
832: org.apache.axis.client.Call _call = createCall();
833: _call.setOperation(_operations[9]);
834: _call.setUseSOAPAction(true);
835: _call.setSOAPActionURI("");
836: _call.setEncodingStyle(null);
837: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
838: Boolean.FALSE);
839: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
840: Boolean.FALSE);
841: _call
842: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
843: _call.setOperationName(new javax.xml.namespace.QName(
844: "http://soap.salome_tmf.objectweb.org", "delete"));
845:
846: setRequestHeaders(_call);
847: setAttachments(_call);
848: try {
849: java.lang.Object _resp = _call
850: .invoke(new java.lang.Object[] { new java.lang.Integer(
851: in0) });
852:
853: if (_resp instanceof java.rmi.RemoteException) {
854: throw (java.rmi.RemoteException) _resp;
855: }
856: extractAttachments(_call);
857: } catch (org.apache.axis.AxisFault axisFaultException) {
858: throw axisFaultException;
859: }
860: }
861:
862: public int insert(int in0, java.lang.String in1,
863: java.lang.String in2, int in3)
864: throws java.rmi.RemoteException {
865: if (super .cachedEndpoint == null) {
866: throw new org.apache.axis.NoEndPointException();
867: }
868: org.apache.axis.client.Call _call = createCall();
869: _call.setOperation(_operations[10]);
870: _call.setUseSOAPAction(true);
871: _call.setSOAPActionURI("");
872: _call.setEncodingStyle(null);
873: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
874: Boolean.FALSE);
875: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
876: Boolean.FALSE);
877: _call
878: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
879: _call.setOperationName(new javax.xml.namespace.QName(
880: "http://soap.salome_tmf.objectweb.org", "insert"));
881:
882: setRequestHeaders(_call);
883: setAttachments(_call);
884: try {
885: java.lang.Object _resp = _call
886: .invoke(new java.lang.Object[] {
887: new java.lang.Integer(in0), in1, in2,
888: new java.lang.Integer(in3) });
889:
890: if (_resp instanceof java.rmi.RemoteException) {
891: throw (java.rmi.RemoteException) _resp;
892: } else {
893: extractAttachments(_call);
894: try {
895: return ((java.lang.Integer) _resp).intValue();
896: } catch (java.lang.Exception _exception) {
897: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
898: .convert(_resp, int.class)).intValue();
899: }
900: }
901: } catch (org.apache.axis.AxisFault axisFaultException) {
902: throw axisFaultException;
903: }
904: }
905:
906: public int getID(int in0, java.lang.String in1)
907: throws java.rmi.RemoteException {
908: if (super .cachedEndpoint == null) {
909: throw new org.apache.axis.NoEndPointException();
910: }
911: org.apache.axis.client.Call _call = createCall();
912: _call.setOperation(_operations[11]);
913: _call.setUseSOAPAction(true);
914: _call.setSOAPActionURI("");
915: _call.setEncodingStyle(null);
916: _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,
917: Boolean.FALSE);
918: _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
919: Boolean.FALSE);
920: _call
921: .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
922: _call.setOperationName(new javax.xml.namespace.QName(
923: "http://soap.salome_tmf.objectweb.org", "getID"));
924:
925: setRequestHeaders(_call);
926: setAttachments(_call);
927: try {
928: java.lang.Object _resp = _call
929: .invoke(new java.lang.Object[] {
930: new java.lang.Integer(in0), in1 });
931:
932: if (_resp instanceof java.rmi.RemoteException) {
933: throw (java.rmi.RemoteException) _resp;
934: } else {
935: extractAttachments(_call);
936: try {
937: return ((java.lang.Integer) _resp).intValue();
938: } catch (java.lang.Exception _exception) {
939: return ((java.lang.Integer) org.apache.axis.utils.JavaUtils
940: .convert(_resp, int.class)).intValue();
941: }
942: }
943: } catch (org.apache.axis.AxisFault axisFaultException) {
944: throw axisFaultException;
945: }
946: }
947:
948: }
|