1   /**
2    * Portlet_DL_DLFileShortcutServiceSoapBindingStub.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_DLFileShortcutServiceSoapBindingStub extends org.apache.axis.client.Stub implements com.liferay.client.soap.portlet.documentlibrary.service.http.DLFileShortcutServiceSoap {
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[7];
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("addFileShortcut");
28          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);
29          oper.addParameter(param);
30          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toFolderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
31          oper.addParameter(param);
32          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
33          oper.addParameter(param);
34          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "communityPermissions"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "ArrayOf_xsd_string"), java.lang.String[].class, false, false);
35          oper.addParameter(param);
36          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "guestPermissions"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "ArrayOf_xsd_string"), java.lang.String[].class, false, false);
37          oper.addParameter(param);
38          oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
39          oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
40          oper.setReturnQName(new javax.xml.namespace.QName("", "addFileShortcutReturn"));
41          oper.setStyle(org.apache.axis.constants.Style.RPC);
42          oper.setUse(org.apache.axis.constants.Use.ENCODED);
43          _operations[0] = oper;
44  
45          oper = new org.apache.axis.description.OperationDesc();
46          oper.setName("addFileShortcut");
47          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);
48          oper.addParameter(param);
49          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toFolderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
50          oper.addParameter(param);
51          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
52          oper.addParameter(param);
53          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "addCommunityPermissions"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
54          oper.addParameter(param);
55          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "addGuestPermissions"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false);
56          oper.addParameter(param);
57          oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
58          oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
59          oper.setReturnQName(new javax.xml.namespace.QName("", "addFileShortcutReturn"));
60          oper.setStyle(org.apache.axis.constants.Style.RPC);
61          oper.setUse(org.apache.axis.constants.Use.ENCODED);
62          _operations[1] = oper;
63  
64          oper = new org.apache.axis.description.OperationDesc();
65          oper.setName("addFileShortcut");
66          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);
67          oper.addParameter(param);
68          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toFolderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
69          oper.addParameter(param);
70          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
71          oper.addParameter(param);
72          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);
73          oper.addParameter(param);
74          oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
75          oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
76          oper.setReturnQName(new javax.xml.namespace.QName("", "addFileShortcutReturn"));
77          oper.setStyle(org.apache.axis.constants.Style.RPC);
78          oper.setUse(org.apache.axis.constants.Use.ENCODED);
79          _operations[2] = oper;
80  
81          oper = new org.apache.axis.description.OperationDesc();
82          oper.setName("deleteFileShortcut");
83          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "fileShortcutId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
84          oper.addParameter(param);
85          oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID);
86          oper.setStyle(org.apache.axis.constants.Style.RPC);
87          oper.setUse(org.apache.axis.constants.Use.ENCODED);
88          _operations[3] = oper;
89  
90          oper = new org.apache.axis.description.OperationDesc();
91          oper.setName("getFileShortcut");
92          param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "fileShortcutId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
93          oper.addParameter(param);
94          oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
95          oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
96          oper.setReturnQName(new javax.xml.namespace.QName("", "getFileShortcutReturn"));
97          oper.setStyle(org.apache.axis.constants.Style.RPC);
98          oper.setUse(org.apache.axis.constants.Use.ENCODED);
99          _operations[4] = oper;
100 
101         oper = new org.apache.axis.description.OperationDesc();
102         oper.setName("updateFileShortcut");
103         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "fileShortcutId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
104         oper.addParameter(param);
105         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);
106         oper.addParameter(param);
107         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toFolderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
108         oper.addParameter(param);
109         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
110         oper.addParameter(param);
111         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);
112         oper.addParameter(param);
113         oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
114         oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
115         oper.setReturnQName(new javax.xml.namespace.QName("", "updateFileShortcutReturn"));
116         oper.setStyle(org.apache.axis.constants.Style.RPC);
117         oper.setUse(org.apache.axis.constants.Use.ENCODED);
118         _operations[5] = oper;
119 
120         oper = new org.apache.axis.description.OperationDesc();
121         oper.setName("updateFileShortcut");
122         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "fileShortcutId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
123         oper.addParameter(param);
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("", "toFolderId"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false);
127         oper.addParameter(param);
128         param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "toName"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false);
129         oper.addParameter(param);
130         oper.setReturnType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
131         oper.setReturnClass(com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
132         oper.setReturnQName(new javax.xml.namespace.QName("", "updateFileShortcutReturn"));
133         oper.setStyle(org.apache.axis.constants.Style.RPC);
134         oper.setUse(org.apache.axis.constants.Use.ENCODED);
135         _operations[6] = oper;
136 
137     }
138 
139     public Portlet_DL_DLFileShortcutServiceSoapBindingStub() throws org.apache.axis.AxisFault {
140          this(null);
141     }
142 
143     public Portlet_DL_DLFileShortcutServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
144          this(service);
145          super.cachedEndpoint = endpointURL;
146     }
147 
148     public Portlet_DL_DLFileShortcutServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
149         if (service == null) {
150             super.service = new org.apache.axis.client.Service();
151         } else {
152             super.service = service;
153         }
154         ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2");
155             java.lang.Class cls;
156             javax.xml.namespace.QName qName;
157             javax.xml.namespace.QName qName2;
158             java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
159             java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
160             java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
161             java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
162             java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
163             java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
164             java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
165             java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
166             java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
167             java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
168             qName = new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap");
169             cachedSerQNames.add(qName);
170             cls = com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class;
171             cachedSerClasses.add(cls);
172             cachedSerFactories.add(beansf);
173             cachedDeserFactories.add(beandf);
174 
175             qName = new javax.xml.namespace.QName("http://model.portal.liferay.com", "PortletPreferencesIds");
176             cachedSerQNames.add(qName);
177             cls = com.liferay.client.soap.portal.model.PortletPreferencesIds.class;
178             cachedSerClasses.add(cls);
179             cachedSerFactories.add(beansf);
180             cachedDeserFactories.add(beandf);
181 
182             qName = new javax.xml.namespace.QName("http://service.portal.liferay.com", "ServiceContext");
183             cachedSerQNames.add(qName);
184             cls = com.liferay.client.soap.portal.service.ServiceContext.class;
185             cachedSerClasses.add(cls);
186             cachedSerFactories.add(beansf);
187             cachedDeserFactories.add(beandf);
188 
189             qName = new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "ArrayOf_xsd_string");
190             cachedSerQNames.add(qName);
191             cls = java.lang.String[].class;
192             cachedSerClasses.add(cls);
193             qName = new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string");
194             qName2 = null;
195             cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2));
196             cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory());
197 
198     }
199 
200     protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
201         try {
202             org.apache.axis.client.Call _call = super._createCall();
203             if (super.maintainSessionSet) {
204                 _call.setMaintainSession(super.maintainSession);
205             }
206             if (super.cachedUsername != null) {
207                 _call.setUsername(super.cachedUsername);
208             }
209             if (super.cachedPassword != null) {
210                 _call.setPassword(super.cachedPassword);
211             }
212             if (super.cachedEndpoint != null) {
213                 _call.setTargetEndpointAddress(super.cachedEndpoint);
214             }
215             if (super.cachedTimeout != null) {
216                 _call.setTimeout(super.cachedTimeout);
217             }
218             if (super.cachedPortName != null) {
219                 _call.setPortName(super.cachedPortName);
220             }
221             java.util.Enumeration keys = super.cachedProperties.keys();
222             while (keys.hasMoreElements()) {
223                 java.lang.String key = (java.lang.String) keys.nextElement();
224                 _call.setProperty(key, super.cachedProperties.get(key));
225             }
226             // All the type mapping information is registered
227             // when the first call is made.
228             // The type mapping information is actually registered in
229             // the TypeMappingRegistry of the service, which
230             // is the reason why registration is only needed for the first call.
231             synchronized (this) {
232                 if (firstCall()) {
233                     // must set encoding style before registering serializers
234                     _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
235                     _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);
236                     for (int i = 0; i < cachedSerFactories.size(); ++i) {
237                         java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
238                         javax.xml.namespace.QName qName =
239                                 (javax.xml.namespace.QName) cachedSerQNames.get(i);
240                         java.lang.Object x = cachedSerFactories.get(i);
241                         if (x instanceof Class) {
242                             java.lang.Class sf = (java.lang.Class)
243                                  cachedSerFactories.get(i);
244                             java.lang.Class df = (java.lang.Class)
245                                  cachedDeserFactories.get(i);
246                             _call.registerTypeMapping(cls, qName, sf, df, false);
247                         }
248                         else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) {
249                             org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory)
250                                  cachedSerFactories.get(i);
251                             org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory)
252                                  cachedDeserFactories.get(i);
253                             _call.registerTypeMapping(cls, qName, sf, df, false);
254                         }
255                     }
256                 }
257             }
258             return _call;
259         }
260         catch (java.lang.Throwable _t) {
261             throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
262         }
263     }
264 
265     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap addFileShortcut(long folderId, long toFolderId, java.lang.String toName, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws java.rmi.RemoteException {
266         if (super.cachedEndpoint == null) {
267             throw new org.apache.axis.NoEndPointException();
268         }
269         org.apache.axis.client.Call _call = createCall();
270         _call.setOperation(_operations[0]);
271         _call.setUseSOAPAction(true);
272         _call.setSOAPActionURI("");
273         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
274         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "addFileShortcut"));
275 
276         setRequestHeaders(_call);
277         setAttachments(_call);
278  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), new java.lang.Long(toFolderId), toName, communityPermissions, guestPermissions});
279 
280         if (_resp instanceof java.rmi.RemoteException) {
281             throw (java.rmi.RemoteException)_resp;
282         }
283         else {
284             extractAttachments(_call);
285             try {
286                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) _resp;
287             } catch (java.lang.Exception _exception) {
288                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
289             }
290         }
291   } catch (org.apache.axis.AxisFault axisFaultException) {
292   throw axisFaultException;
293 }
294     }
295 
296     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap addFileShortcut(long folderId, long toFolderId, java.lang.String toName, boolean addCommunityPermissions, boolean addGuestPermissions) throws java.rmi.RemoteException {
297         if (super.cachedEndpoint == null) {
298             throw new org.apache.axis.NoEndPointException();
299         }
300         org.apache.axis.client.Call _call = createCall();
301         _call.setOperation(_operations[1]);
302         _call.setUseSOAPAction(true);
303         _call.setSOAPActionURI("");
304         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
305         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "addFileShortcut"));
306 
307         setRequestHeaders(_call);
308         setAttachments(_call);
309  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), new java.lang.Long(toFolderId), toName, new java.lang.Boolean(addCommunityPermissions), new java.lang.Boolean(addGuestPermissions)});
310 
311         if (_resp instanceof java.rmi.RemoteException) {
312             throw (java.rmi.RemoteException)_resp;
313         }
314         else {
315             extractAttachments(_call);
316             try {
317                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) _resp;
318             } catch (java.lang.Exception _exception) {
319                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
320             }
321         }
322   } catch (org.apache.axis.AxisFault axisFaultException) {
323   throw axisFaultException;
324 }
325     }
326 
327     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap addFileShortcut(long folderId, long toFolderId, java.lang.String toName, com.liferay.client.soap.portal.service.ServiceContext serviceContext) throws java.rmi.RemoteException {
328         if (super.cachedEndpoint == null) {
329             throw new org.apache.axis.NoEndPointException();
330         }
331         org.apache.axis.client.Call _call = createCall();
332         _call.setOperation(_operations[2]);
333         _call.setUseSOAPAction(true);
334         _call.setSOAPActionURI("");
335         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
336         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "addFileShortcut"));
337 
338         setRequestHeaders(_call);
339         setAttachments(_call);
340  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(folderId), new java.lang.Long(toFolderId), toName, serviceContext});
341 
342         if (_resp instanceof java.rmi.RemoteException) {
343             throw (java.rmi.RemoteException)_resp;
344         }
345         else {
346             extractAttachments(_call);
347             try {
348                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) _resp;
349             } catch (java.lang.Exception _exception) {
350                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
351             }
352         }
353   } catch (org.apache.axis.AxisFault axisFaultException) {
354   throw axisFaultException;
355 }
356     }
357 
358     public void deleteFileShortcut(long fileShortcutId) throws java.rmi.RemoteException {
359         if (super.cachedEndpoint == null) {
360             throw new org.apache.axis.NoEndPointException();
361         }
362         org.apache.axis.client.Call _call = createCall();
363         _call.setOperation(_operations[3]);
364         _call.setUseSOAPAction(true);
365         _call.setSOAPActionURI("");
366         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
367         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "deleteFileShortcut"));
368 
369         setRequestHeaders(_call);
370         setAttachments(_call);
371  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(fileShortcutId)});
372 
373         if (_resp instanceof java.rmi.RemoteException) {
374             throw (java.rmi.RemoteException)_resp;
375         }
376         extractAttachments(_call);
377   } catch (org.apache.axis.AxisFault axisFaultException) {
378   throw axisFaultException;
379 }
380     }
381 
382     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap getFileShortcut(long fileShortcutId) throws java.rmi.RemoteException {
383         if (super.cachedEndpoint == null) {
384             throw new org.apache.axis.NoEndPointException();
385         }
386         org.apache.axis.client.Call _call = createCall();
387         _call.setOperation(_operations[4]);
388         _call.setUseSOAPAction(true);
389         _call.setSOAPActionURI("");
390         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
391         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "getFileShortcut"));
392 
393         setRequestHeaders(_call);
394         setAttachments(_call);
395  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(fileShortcutId)});
396 
397         if (_resp instanceof java.rmi.RemoteException) {
398             throw (java.rmi.RemoteException)_resp;
399         }
400         else {
401             extractAttachments(_call);
402             try {
403                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) _resp;
404             } catch (java.lang.Exception _exception) {
405                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
406             }
407         }
408   } catch (org.apache.axis.AxisFault axisFaultException) {
409   throw axisFaultException;
410 }
411     }
412 
413     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap updateFileShortcut(long fileShortcutId, long folderId, long toFolderId, java.lang.String toName, com.liferay.client.soap.portal.service.ServiceContext serviceContext) throws java.rmi.RemoteException {
414         if (super.cachedEndpoint == null) {
415             throw new org.apache.axis.NoEndPointException();
416         }
417         org.apache.axis.client.Call _call = createCall();
418         _call.setOperation(_operations[5]);
419         _call.setUseSOAPAction(true);
420         _call.setSOAPActionURI("");
421         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
422         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "updateFileShortcut"));
423 
424         setRequestHeaders(_call);
425         setAttachments(_call);
426  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(fileShortcutId), new java.lang.Long(folderId), new java.lang.Long(toFolderId), toName, serviceContext});
427 
428         if (_resp instanceof java.rmi.RemoteException) {
429             throw (java.rmi.RemoteException)_resp;
430         }
431         else {
432             extractAttachments(_call);
433             try {
434                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) _resp;
435             } catch (java.lang.Exception _exception) {
436                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
437             }
438         }
439   } catch (org.apache.axis.AxisFault axisFaultException) {
440   throw axisFaultException;
441 }
442     }
443 
444     public com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap updateFileShortcut(long fileShortcutId, long folderId, long toFolderId, java.lang.String toName) throws java.rmi.RemoteException {
445         if (super.cachedEndpoint == null) {
446             throw new org.apache.axis.NoEndPointException();
447         }
448         org.apache.axis.client.Call _call = createCall();
449         _call.setOperation(_operations[6]);
450         _call.setUseSOAPAction(true);
451         _call.setSOAPActionURI("");
452         _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
453         _call.setOperationName(new javax.xml.namespace.QName("urn:http.service.documentlibrary.portlet.liferay.com", "updateFileShortcut"));
454 
455         setRequestHeaders(_call);
456         setAttachments(_call);
457  try {        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {new java.lang.Long(fileShortcutId), new java.lang.Long(folderId), new java.lang.Long(toFolderId), toName});
458 
459         if (_resp instanceof java.rmi.RemoteException) {
460             throw (java.rmi.RemoteException)_resp;
461         }
462         else {
463             extractAttachments(_call);
464             try {
465                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) _resp;
466             } catch (java.lang.Exception _exception) {
467                 return (com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap) org.apache.axis.utils.JavaUtils.convert(_resp, com.liferay.client.soap.portlet.documentlibrary.model.DLFileShortcutSoap.class);
468             }
469         }
470   } catch (org.apache.axis.AxisFault axisFaultException) {
471   throw axisFaultException;
472 }
473     }
474 
475 }
476