1
7
8 package com.liferay.client.soap.portal.service.http;
9
10 public class Portal_PortletPreferencesServiceSoapBindingStub extends org.apache.axis.client.Stub implements com.liferay.client.soap.portal.service.http.PortletPreferencesServiceSoap {
11 private java.util.Vector cachedSerClasses = new java.util.Vector();
12 private java.util.Vector cachedSerQNames = new java.util.Vector();
13 private java.util.Vector cachedSerFactories = new java.util.Vector();
14 private java.util.Vector cachedDeserFactories = new java.util.Vector();
15
16 static org.apache.axis.description.OperationDesc [] _operations;
17
18 static {
19 _operations = new org.apache.axis.description.OperationDesc[1];
20 _initOperationDesc1();
21 }
22
23 private static void _initOperationDesc1(){
24 org.apache.axis.description.OperationDesc oper;
25 org.apache.axis.description.ParameterDesc param;
26 oper = new org.apache.axis.description.OperationDesc();
27 oper.setName("deleteArchivedPreferences");
28 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "portletItemId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
29 oper.addParameter(param);
30 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
31 oper.setStyle(org.apache.axis.constants.Style.RPC);
32 oper.setUse(org.apache.axis.constants.Use.ENCODED);
33 _operations[0] = oper;
34
35 }
36
37 public Portal_PortletPreferencesServiceSoapBindingStub() throws org.apache.axis.AxisFault {
38 this(null);
39 }
40
41 public Portal_PortletPreferencesServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
42 this(service);
43 super.cachedEndpoint = endpointURL;
44 }
45
46 public Portal_PortletPreferencesServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
47 if (service == null) {
48 super.service = new org.apache.axis.client.Service();
49 } else {
50 super.service = service;
51 }
52 ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
53 }
54
55 protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
56 try {
57 org.apache.axis.client.Call _call = super._createCall();
58 if (super.maintainSessionSet) {
59 _call.setMaintainSession(super.maintainSession);
60 }
61 if (super.cachedUsername != null) {
62 _call.setUsername(super.cachedUsername);
63 }
64 if (super.cachedPassword != null) {
65 _call.setPassword(super.cachedPassword);
66 }
67 if (super.cachedEndpoint != null) {
68 _call.setTargetEndpointAddress(super.cachedEndpoint);
69 }
70 if (super.cachedTimeout != null) {
71 _call.setTimeout(super.cachedTimeout);
72 }
73 if (super.cachedPortName != null) {
74 _call.setPortName(super.cachedPortName);
75 }
76 java.util.Enumeration keys = super.cachedProperties.keys();
77 while (keys.hasMoreElements()) {
78 java.lang.String key = (java.lang.String) keys.nextElement();
79 _call.setProperty(key, super.cachedProperties.get(key));
80 }
81 return _call;
82 }
83 catch (java.lang.Throwable _t) {
84 throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
85 }
86 }
87
88 public void deleteArchivedPreferences(long portletItemId) throws java.rmi.RemoteException {
89 if (super.cachedEndpoint == null) {
90 throw new org.apache.axis.NoEndPointException();
91 }
92 org.apache.axis.client.Call _call = createCall();
93 _call.setOperation(_operations[0]);
94 _call.setUseSOAPAction(true);
95 _call.setSOAPActionURI("");
96 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
97 _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.portal.liferay.com", "deleteArchivedPreferences"));
98
99 setRequestHeaders(_call);
100 setAttachments(_call);
101 try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(portletItemId)});
102
103 if (_resp instanceof java.rmi.RemoteException) {
104 throw (java.rmi.RemoteException)_resp;
105 }
106 extractAttachments(_call);
107 } catch (org.apache.axis.AxisFault axisFaultException) {
108 throw axisFaultException;
109 }
110 }
111
112 }
113