1   /**
2    * Portlet_DL_DLFileEntryServiceSoapBindingStub.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.liferay.client.soap.portlet.documentlibrary.service.http;
9   
10  public class Portlet_DL_DLFileEntryServiceSoapBindingStub extends org.apache.axis.client.Stub implements com.liferay.client.soap.portlet.documentlibrary.service.http.DLFileEntryServiceSoap {
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[12];
20          _initOperationDesc1();
21          _initOperationDesc2();
22      }
23  
24      private static void _initOperationDesc1(){
25          org.apache.axis.description.OperationDesc oper;
26          org.apache.axis.description.ParameterDesc param;
27          oper = new org.apache.axis.description.OperationDesc();
28          oper.setName("getFileEntry");
29          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
30          oper.addParameter(param);
31          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
32          oper.addParameter(param);
33          oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileEntrySoap"));
34          oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
35          oper.setReturnQName(new javax.xml.namespace.QName("", "getFileEntryReturn"));
36          oper.setStyle(org.apache.axis.constants.Style.RPC);
37          oper.setUse(org.apache.axis.constants.Use.ENCODED);
38          _operations[0] = oper;
39  
40          oper = new org.apache.axis.description.OperationDesc();
41          oper.setName("addFileEntry");
42          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
43          oper.addParameter(param);
44          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
45          oper.addParameter(param);
46          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "title"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
47          oper.addParameter(param);
48          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "description"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
49          oper.addParameter(param);
50          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "extraSettings"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
51          oper.addParameter(param);
52          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "bytes"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"), byte[].class, false, false);
53          oper.addParameter(param);
54          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "serviceContext"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://service.portal.liferay.com", "ServiceContext"), com.liferay.client.soap.portal.service.ServiceContext.class, false, false);
55          oper.addParameter(param);
56          oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileEntrySoap"));
57          oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
58          oper.setReturnQName(new javax.xml.namespace.QName("", "addFileEntryReturn"));
59          oper.setStyle(org.apache.axis.constants.Style.RPC);
60          oper.setUse(org.apache.axis.constants.Use.ENCODED);
61          _operations[1] = oper;
62  
63          oper = new org.apache.axis.description.OperationDesc();
64          oper.setName("deleteFileEntry");
65          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
66          oper.addParameter(param);
67          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
68          oper.addParameter(param);
69          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "version"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"), double.class, false, false);
70          oper.addParameter(param);
71          oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
72          oper.setStyle(org.apache.axis.constants.Style.RPC);
73          oper.setUse(org.apache.axis.constants.Use.ENCODED);
74          _operations[2] = oper;
75  
76          oper = new org.apache.axis.description.OperationDesc();
77          oper.setName("deleteFileEntry");
78          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
79          oper.addParameter(param);
80          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
81          oper.addParameter(param);
82          oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
83          oper.setStyle(org.apache.axis.constants.Style.RPC);
84          oper.setUse(org.apache.axis.constants.Use.ENCODED);
85          _operations[3] = oper;
86  
87          oper = new org.apache.axis.description.OperationDesc();
88          oper.setName("deleteFileEntryByTitle");
89          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
90          oper.addParameter(param);
91          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "titleWithExtension"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
92          oper.addParameter(param);
93          oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
94          oper.setStyle(org.apache.axis.constants.Style.RPC);
95          oper.setUse(org.apache.axis.constants.Use.ENCODED);
96          _operations[4] = oper;
97  
98          oper = new org.apache.axis.description.OperationDesc();
99          oper.setName("getFileEntries");
100         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
101         oper.addParameter(param);
102         oper.setReturnType(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "ArrayOf_tns2_DLFileEntrySoap"));
103         oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap[].class);
104         oper.setReturnQName(new javax.xml.namespace.QName("", "getFileEntriesReturn"));
105         oper.setStyle(org.apache.axis.constants.Style.RPC);
106         oper.setUse(org.apache.axis.constants.Use.ENCODED);
107         _operations[5] = oper;
108 
109         oper = new org.apache.axis.description.OperationDesc();
110         oper.setName("getFileEntryByTitle");
111         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
112         oper.addParameter(param);
113         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "titleWithExtension"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
114         oper.addParameter(param);
115         oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileEntrySoap"));
116         oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
117         oper.setReturnQName(new javax.xml.namespace.QName("", "getFileEntryByTitleReturn"));
118         oper.setStyle(org.apache.axis.constants.Style.RPC);
119         oper.setUse(org.apache.axis.constants.Use.ENCODED);
120         _operations[6] = oper;
121 
122         oper = new org.apache.axis.description.OperationDesc();
123         oper.setName("hasFileEntryLock");
124         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
125         oper.addParameter(param);
126         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
127         oper.addParameter(param);
128         oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
129         oper.setReturnClass(boolean.class);
130         oper.setReturnQName(new javax.xml.namespace.QName("", "hasFileEntryLockReturn"));
131         oper.setStyle(org.apache.axis.constants.Style.RPC);
132         oper.setUse(org.apache.axis.constants.Use.ENCODED);
133         _operations[7] = oper;
134 
135         oper = new org.apache.axis.description.OperationDesc();
136         oper.setName("unlockFileEntry");
137         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
138         oper.addParameter(param);
139         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
140         oper.addParameter(param);
141         oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
142         oper.setStyle(org.apache.axis.constants.Style.RPC);
143         oper.setUse(org.apache.axis.constants.Use.ENCODED);
144         _operations[8] = oper;
145 
146         oper = new org.apache.axis.description.OperationDesc();
147         oper.setName("unlockFileEntry");
148         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
149         oper.addParameter(param);
150         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
151         oper.addParameter(param);
152         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "lockUuid"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
153         oper.addParameter(param);
154         oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
155         oper.setStyle(org.apache.axis.constants.Style.RPC);
156         oper.setUse(org.apache.axis.constants.Use.ENCODED);
157         _operations[9] = oper;
158 
159     }
160 
161     private static void _initOperationDesc2(){
162         org.apache.axis.description.OperationDesc oper;
163         org.apache.axis.description.ParameterDesc param;
164         oper = new org.apache.axis.description.OperationDesc();
165         oper.setName("updateFileEntry");
166         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
167         oper.addParameter(param);
168         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "newFolderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
169         oper.addParameter(param);
170         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
171         oper.addParameter(param);
172         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "sourceFileName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
173         oper.addParameter(param);
174         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "title"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
175         oper.addParameter(param);
176         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "description"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
177         oper.addParameter(param);
178         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "extraSettings"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
179         oper.addParameter(param);
180         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "bytes"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary"), byte[].class, false, false);
181         oper.addParameter(param);
182         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "serviceContext"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://service.portal.liferay.com", "ServiceContext"), com.liferay.client.soap.portal.service.ServiceContext.class, false, false);
183         oper.addParameter(param);
184         oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileEntrySoap"));
185         oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
186         oper.setReturnQName(new javax.xml.namespace.QName("", "updateFileEntryReturn"));
187         oper.setStyle(org.apache.axis.constants.Style.RPC);
188         oper.setUse(org.apache.axis.constants.Use.ENCODED);
189         _operations[10] = oper;
190 
191         oper = new org.apache.axis.description.OperationDesc();
192         oper.setName("verifyFileEntryLock");
193         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "folderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
194         oper.addParameter(param);
195         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "name"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
196         oper.addParameter(param);
197         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "lockUuid"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
198         oper.addParameter(param);
199         oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
200         oper.setReturnClass(boolean.class);
201         oper.setReturnQName(new javax.xml.namespace.QName("", "verifyFileEntryLockReturn"));
202         oper.setStyle(org.apache.axis.constants.Style.RPC);
203         oper.setUse(org.apache.axis.constants.Use.ENCODED);
204         _operations[11] = oper;
205 
206     }
207 
208     public Portlet_DL_DLFileEntryServiceSoapBindingStub() throws org.apache.axis.AxisFault {
209          this(null);
210     }
211 
212     public Portlet_DL_DLFileEntryServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
213          this(service);
214          super.cachedEndpoint = endpointURL;
215     }
216 
217     public Portlet_DL_DLFileEntryServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
218         if (service == null) {
219             super.service = new org.apache.axis.client.Service();
220         } else {
221             super.service = service;
222         }
223         ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
224             java.lang.Class cls;
225             javax.xml.namespace.QName qName;
226             javax.xml.namespace.QName qName2;
227             java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
228             java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
229             java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
230             java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
231             java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
232             java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
233             java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
234             java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
235             java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
236             java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
237             qName = new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileEntrySoap");
238             cachedSerQNames.add(qName);
239             cls = com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class;
240             cachedSerClasses.add(cls);
241             cachedSerFactories.add(beansf);
242             cachedDeserFactories.add(beandf);
243 
244             qName = new javax.xml.namespace.QName("http://model.portal.liferay.com", "PortletPreferencesIds");
245             cachedSerQNames.add(qName);
246             cls = com.liferay.client.soap.portal.model.PortletPreferencesIds.class;
247             cachedSerClasses.add(cls);
248             cachedSerFactories.add(beansf);
249             cachedDeserFactories.add(beandf);
250 
251             qName = new javax.xml.namespace.QName("http://service.portal.liferay.com", "ServiceContext");
252             cachedSerQNames.add(qName);
253             cls = com.liferay.client.soap.portal.service.ServiceContext.class;
254             cachedSerClasses.add(cls);
255             cachedSerFactories.add(beansf);
256             cachedDeserFactories.add(beandf);
257 
258             qName = new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "ArrayOf_tns2_DLFileEntrySoap");
259             cachedSerQNames.add(qName);
260             cls = com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap[].class;
261             cachedSerClasses.add(cls);
262             qName = new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileEntrySoap");
263             qName2 = null;
264             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
265             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
266 
267             qName = new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "ArrayOf_xsd_string");
268             cachedSerQNames.add(qName);
269             cls = java.lang.String[].class;
270             cachedSerClasses.add(cls);
271             qName = new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string");
272             qName2 = null;
273             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
274             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
275 
276     }
277 
278     protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
279         try {
280             org.apache.axis.client.Call _call = super._createCall();
281             if (super.maintainSessionSet) {
282                 _call.setMaintainSession(super.maintainSession);
283             }
284             if (super.cachedUsername != null) {
285                 _call.setUsername(super.cachedUsername);
286             }
287             if (super.cachedPassword != null) {
288                 _call.setPassword(super.cachedPassword);
289             }
290             if (super.cachedEndpoint != null) {
291                 _call.setTargetEndpointAddress(super.cachedEndpoint);
292             }
293             if (super.cachedTimeout != null) {
294                 _call.setTimeout(super.cachedTimeout);
295             }
296             if (super.cachedPortName != null) {
297                 _call.setPortName(super.cachedPortName);
298             }
299             java.util.Enumeration keys = super.cachedProperties.keys();
300             while (keys.hasMoreElements()) {
301                 java.lang.String key = (java.lang.String) keys.nextElement();
302                 _call.setProperty(key, super.cachedProperties.get(key));
303             }
304             // All the type mapping information is registered
305             // when the first call is made.
306             // The type mapping information is actually registered in
307             // the TypeMappingRegistry of the service, which
308             // is the reason why registration is only needed for the first call.
309             synchronized (this) {
310                 if (firstCall()) {
311                     // must set encoding style before registering serializers
312                     _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
313                     _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);
314                     for (int i = 0; i < cachedSerFactories.size(); ++i) {
315                         java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
316                         javax.xml.namespace.QName qName =
317                                 (javax.xml.namespace.QName) cachedSerQNames.get(i);
318                         java.lang.Object x = cachedSerFactories.get(i);
319                         if (x instanceof Class) {
320                             java.lang.Class sf = (java.lang.Class)
321                                  cachedSerFactories.get(i);
322                             java.lang.Class df = (java.lang.Class)
323                                  cachedDeserFactories.get(i);
324                             _call.registerTypeMapping(cls, qName, sf, df, false);
325                         }
326                         else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
327                             org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
328                                  cachedSerFactories.get(i);
329                             org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
330                                  cachedDeserFactories.get(i);
331                             _call.registerTypeMapping(cls, qName, sf, df, false);
332                         }
333                     }
334                 }
335             }
336             return _call;
337         }
338         catch (java.lang.Throwable _t) {
339             throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
340         }
341     }
342 
343     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap getFileEntry(long folderId, java.lang.String name) throws java.rmi.RemoteException {
344         if (super.cachedEndpoint == null) {
345             throw new org.apache.axis.NoEndPointException();
346         }
347         org.apache.axis.client.Call _call = createCall();
348         _call.setOperation(_operations[0]);
349         _call.setUseSOAPAction(true);
350         _call.setSOAPActionURI("");
351         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
352         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "getFileEntry"));
353 
354         setRequestHeaders(_call);
355         setAttachments(_call);
356  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name});
357 
358         if (_resp instanceof java.rmi.RemoteException) {
359             throw (java.rmi.RemoteException)_resp;
360         }
361         else {
362             extractAttachments(_call);
363             try {
364                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) _resp;
365             } catch (java.lang.Exception _exception) {
366                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
367             }
368         }
369   } catch (org.apache.axis.AxisFault axisFaultException) {
370   throw axisFaultException;
371 }
372     }
373 
374     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap addFileEntry(long folderId, java.lang.String name, java.lang.String title, java.lang.String description, java.lang.String extraSettings, byte[] bytes, com.liferay.client.soap.portal.service.ServiceContext serviceContext) throws java.rmi.RemoteException {
375         if (super.cachedEndpoint == null) {
376             throw new org.apache.axis.NoEndPointException();
377         }
378         org.apache.axis.client.Call _call = createCall();
379         _call.setOperation(_operations[1]);
380         _call.setUseSOAPAction(true);
381         _call.setSOAPActionURI("");
382         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
383         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "addFileEntry"));
384 
385         setRequestHeaders(_call);
386         setAttachments(_call);
387  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name, title, description, extraSettings, bytes, serviceContext});
388 
389         if (_resp instanceof java.rmi.RemoteException) {
390             throw (java.rmi.RemoteException)_resp;
391         }
392         else {
393             extractAttachments(_call);
394             try {
395                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) _resp;
396             } catch (java.lang.Exception _exception) {
397                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
398             }
399         }
400   } catch (org.apache.axis.AxisFault axisFaultException) {
401   throw axisFaultException;
402 }
403     }
404 
405     public void deleteFileEntry(long folderId, java.lang.String name, double version) throws java.rmi.RemoteException {
406         if (super.cachedEndpoint == null) {
407             throw new org.apache.axis.NoEndPointException();
408         }
409         org.apache.axis.client.Call _call = createCall();
410         _call.setOperation(_operations[2]);
411         _call.setUseSOAPAction(true);
412         _call.setSOAPActionURI("");
413         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
414         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "deleteFileEntry"));
415 
416         setRequestHeaders(_call);
417         setAttachments(_call);
418  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name, new java.lang.Double(version)});
419 
420         if (_resp instanceof java.rmi.RemoteException) {
421             throw (java.rmi.RemoteException)_resp;
422         }
423         extractAttachments(_call);
424   } catch (org.apache.axis.AxisFault axisFaultException) {
425   throw axisFaultException;
426 }
427     }
428 
429     public void deleteFileEntry(long folderId, java.lang.String name) throws java.rmi.RemoteException {
430         if (super.cachedEndpoint == null) {
431             throw new org.apache.axis.NoEndPointException();
432         }
433         org.apache.axis.client.Call _call = createCall();
434         _call.setOperation(_operations[3]);
435         _call.setUseSOAPAction(true);
436         _call.setSOAPActionURI("");
437         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
438         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "deleteFileEntry"));
439 
440         setRequestHeaders(_call);
441         setAttachments(_call);
442  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name});
443 
444         if (_resp instanceof java.rmi.RemoteException) {
445             throw (java.rmi.RemoteException)_resp;
446         }
447         extractAttachments(_call);
448   } catch (org.apache.axis.AxisFault axisFaultException) {
449   throw axisFaultException;
450 }
451     }
452 
453     public void deleteFileEntryByTitle(long folderId, java.lang.String titleWithExtension) throws java.rmi.RemoteException {
454         if (super.cachedEndpoint == null) {
455             throw new org.apache.axis.NoEndPointException();
456         }
457         org.apache.axis.client.Call _call = createCall();
458         _call.setOperation(_operations[4]);
459         _call.setUseSOAPAction(true);
460         _call.setSOAPActionURI("");
461         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
462         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "deleteFileEntryByTitle"));
463 
464         setRequestHeaders(_call);
465         setAttachments(_call);
466  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), titleWithExtension});
467 
468         if (_resp instanceof java.rmi.RemoteException) {
469             throw (java.rmi.RemoteException)_resp;
470         }
471         extractAttachments(_call);
472   } catch (org.apache.axis.AxisFault axisFaultException) {
473   throw axisFaultException;
474 }
475     }
476 
477     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap[] getFileEntries(long folderId) throws java.rmi.RemoteException {
478         if (super.cachedEndpoint == null) {
479             throw new org.apache.axis.NoEndPointException();
480         }
481         org.apache.axis.client.Call _call = createCall();
482         _call.setOperation(_operations[5]);
483         _call.setUseSOAPAction(true);
484         _call.setSOAPActionURI("");
485         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
486         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "getFileEntries"));
487 
488         setRequestHeaders(_call);
489         setAttachments(_call);
490  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId)});
491 
492         if (_resp instanceof java.rmi.RemoteException) {
493             throw (java.rmi.RemoteException)_resp;
494         }
495         else {
496             extractAttachments(_call);
497             try {
498                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap[]) _resp;
499             } catch (java.lang.Exception _exception) {
500                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap[]) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap[].class);
501             }
502         }
503   } catch (org.apache.axis.AxisFault axisFaultException) {
504   throw axisFaultException;
505 }
506     }
507 
508     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap getFileEntryByTitle(long folderId, java.lang.String titleWithExtension) throws java.rmi.RemoteException {
509         if (super.cachedEndpoint == null) {
510             throw new org.apache.axis.NoEndPointException();
511         }
512         org.apache.axis.client.Call _call = createCall();
513         _call.setOperation(_operations[6]);
514         _call.setUseSOAPAction(true);
515         _call.setSOAPActionURI("");
516         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
517         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "getFileEntryByTitle"));
518 
519         setRequestHeaders(_call);
520         setAttachments(_call);
521  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), titleWithExtension});
522 
523         if (_resp instanceof java.rmi.RemoteException) {
524             throw (java.rmi.RemoteException)_resp;
525         }
526         else {
527             extractAttachments(_call);
528             try {
529                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) _resp;
530             } catch (java.lang.Exception _exception) {
531                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
532             }
533         }
534   } catch (org.apache.axis.AxisFault axisFaultException) {
535   throw axisFaultException;
536 }
537     }
538 
539     public boolean hasFileEntryLock(long folderId, java.lang.String name) throws java.rmi.RemoteException {
540         if (super.cachedEndpoint == null) {
541             throw new org.apache.axis.NoEndPointException();
542         }
543         org.apache.axis.client.Call _call = createCall();
544         _call.setOperation(_operations[7]);
545         _call.setUseSOAPAction(true);
546         _call.setSOAPActionURI("");
547         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
548         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "hasFileEntryLock"));
549 
550         setRequestHeaders(_call);
551         setAttachments(_call);
552  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name});
553 
554         if (_resp instanceof java.rmi.RemoteException) {
555             throw (java.rmi.RemoteException)_resp;
556         }
557         else {
558             extractAttachments(_call);
559             try {
560                 return ((java.lang.Boolean) _resp).booleanValue();
561             } catch (java.lang.Exception _exception) {
562                 return ((java.lang.Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue();
563             }
564         }
565   } catch (org.apache.axis.AxisFault axisFaultException) {
566   throw axisFaultException;
567 }
568     }
569 
570     public void unlockFileEntry(long folderId, java.lang.String name) throws java.rmi.RemoteException {
571         if (super.cachedEndpoint == null) {
572             throw new org.apache.axis.NoEndPointException();
573         }
574         org.apache.axis.client.Call _call = createCall();
575         _call.setOperation(_operations[8]);
576         _call.setUseSOAPAction(true);
577         _call.setSOAPActionURI("");
578         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
579         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "unlockFileEntry"));
580 
581         setRequestHeaders(_call);
582         setAttachments(_call);
583  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name});
584 
585         if (_resp instanceof java.rmi.RemoteException) {
586             throw (java.rmi.RemoteException)_resp;
587         }
588         extractAttachments(_call);
589   } catch (org.apache.axis.AxisFault axisFaultException) {
590   throw axisFaultException;
591 }
592     }
593 
594     public void unlockFileEntry(long folderId, java.lang.String name, java.lang.String lockUuid) throws java.rmi.RemoteException {
595         if (super.cachedEndpoint == null) {
596             throw new org.apache.axis.NoEndPointException();
597         }
598         org.apache.axis.client.Call _call = createCall();
599         _call.setOperation(_operations[9]);
600         _call.setUseSOAPAction(true);
601         _call.setSOAPActionURI("");
602         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
603         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "unlockFileEntry"));
604 
605         setRequestHeaders(_call);
606         setAttachments(_call);
607  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name, lockUuid});
608 
609         if (_resp instanceof java.rmi.RemoteException) {
610             throw (java.rmi.RemoteException)_resp;
611         }
612         extractAttachments(_call);
613   } catch (org.apache.axis.AxisFault axisFaultException) {
614   throw axisFaultException;
615 }
616     }
617 
618     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap updateFileEntry(long folderId, long newFolderId, java.lang.String name, java.lang.String sourceFileName, java.lang.String title, java.lang.String description, java.lang.String extraSettings, byte[] bytes, com.liferay.client.soap.portal.service.ServiceContext serviceContext) throws java.rmi.RemoteException {
619         if (super.cachedEndpoint == null) {
620             throw new org.apache.axis.NoEndPointException();
621         }
622         org.apache.axis.client.Call _call = createCall();
623         _call.setOperation(_operations[10]);
624         _call.setUseSOAPAction(true);
625         _call.setSOAPActionURI("");
626         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
627         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "updateFileEntry"));
628 
629         setRequestHeaders(_call);
630         setAttachments(_call);
631  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), new java.lang.Long(newFolderId), name, sourceFileName, title, description, extraSettings, bytes, serviceContext});
632 
633         if (_resp instanceof java.rmi.RemoteException) {
634             throw (java.rmi.RemoteException)_resp;
635         }
636         else {
637             extractAttachments(_call);
638             try {
639                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) _resp;
640             } catch (java.lang.Exception _exception) {
641                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileEntrySoap.class);
642             }
643         }
644   } catch (org.apache.axis.AxisFault axisFaultException) {
645   throw axisFaultException;
646 }
647     }
648 
649     public boolean verifyFileEntryLock(long folderId, java.lang.String name, java.lang.String lockUuid) throws java.rmi.RemoteException {
650         if (super.cachedEndpoint == null) {
651             throw new org.apache.axis.NoEndPointException();
652         }
653         org.apache.axis.client.Call _call = createCall();
654         _call.setOperation(_operations[11]);
655         _call.setUseSOAPAction(true);
656         _call.setSOAPActionURI("");
657         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
658         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "verifyFileEntryLock"));
659 
660         setRequestHeaders(_call);
661         setAttachments(_call);
662  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), name, lockUuid});
663 
664         if (_resp instanceof java.rmi.RemoteException) {
665             throw (java.rmi.RemoteException)_resp;
666         }
667         else {
668             extractAttachments(_call);
669             try {
670                 return ((java.lang.Boolean) _resp).booleanValue();
671             } catch (java.lang.Exception _exception) {
672                 return ((java.lang.Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue();
673             }
674         }
675   } catch (org.apache.axis.AxisFault axisFaultException) {
676   throw axisFaultException;
677 }
678     }
679 
680 }
681