1 7 8 package org.alfresco.webservice.authoring; 9 10 public class AuthoringServiceSoapBindingStub extends org.apache.axis.client.Stub implements org.alfresco.webservice.authoring.AuthoringServiceSoapPort { 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[11]; 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("checkout"); 29 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 30 oper.addParameter(param); 31 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "destination"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"), org.alfresco.webservice.types.ParentReference.class, false, false); 32 oper.addParameter(param); 33 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "CheckoutResult")); 34 oper.setReturnClass(org.alfresco.webservice.authoring.CheckoutResult.class); 35 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "checkoutReturn")); 36 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 37 oper.setUse(org.apache.axis.constants.Use.LITERAL); 38 oper.addFault(new org.apache.axis.description.FaultDesc( 39 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 40 "org.alfresco.webservice.authoring.AuthoringFault", 41 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 42 true 43 )); 44 _operations[0] = oper; 45 46 oper = new org.apache.axis.description.OperationDesc(); 47 oper.setName("checkin"); 48 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 49 oper.addParameter(param); 50 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "comments"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"), org.alfresco.webservice.types.NamedValue[].class, false, false); 51 param.setOmittable(true); 52 oper.addParameter(param); 53 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "keepCheckedOut"), 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 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "CheckinResult")); 56 oper.setReturnClass(org.alfresco.webservice.authoring.CheckinResult.class); 57 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "checkinReturn")); 58 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 59 oper.setUse(org.apache.axis.constants.Use.LITERAL); 60 oper.addFault(new org.apache.axis.description.FaultDesc( 61 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 62 "org.alfresco.webservice.authoring.AuthoringFault", 63 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 64 true 65 )); 66 _operations[1] = oper; 67 68 oper = new org.apache.axis.description.OperationDesc(); 69 oper.setName("checkinExternal"); 70 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference"), org.alfresco.webservice.types.Reference.class, false, false); 71 oper.addParameter(param); 72 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "comments"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"), org.alfresco.webservice.types.NamedValue[].class, false, false); 73 param.setOmittable(true); 74 oper.addParameter(param); 75 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "keepCheckedOut"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false); 76 oper.addParameter(param); 77 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "format"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat"), org.alfresco.webservice.types.ContentFormat.class, false, false); 78 oper.addParameter(param); 79 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "content"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "base64Binary"), byte[].class, false, false); 80 oper.addParameter(param); 81 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference")); 82 oper.setReturnClass(org.alfresco.webservice.types.Reference.class); 83 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "checkinExternalReturn")); 84 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 85 oper.setUse(org.apache.axis.constants.Use.LITERAL); 86 oper.addFault(new org.apache.axis.description.FaultDesc( 87 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 88 "org.alfresco.webservice.authoring.AuthoringFault", 89 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 90 true 91 )); 92 _operations[2] = oper; 93 94 oper = new org.apache.axis.description.OperationDesc(); 95 oper.setName("cancelCheckout"); 96 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 97 oper.addParameter(param); 98 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "CancelCheckoutResult")); 99 oper.setReturnClass(org.alfresco.webservice.authoring.CancelCheckoutResult.class); 100 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "cancelCheckoutReturn")); 101 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 102 oper.setUse(org.apache.axis.constants.Use.LITERAL); 103 oper.addFault(new org.apache.axis.description.FaultDesc( 104 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 105 "org.alfresco.webservice.authoring.AuthoringFault", 106 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 107 true 108 )); 109 _operations[3] = oper; 110 111 oper = new org.apache.axis.description.OperationDesc(); 112 oper.setName("lock"); 113 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 114 oper.addParameter(param); 115 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "lockChildren"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false); 116 oper.addParameter(param); 117 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "lockType"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "LockTypeEnum"), org.alfresco.webservice.authoring.LockTypeEnum.class, false, false); 118 oper.addParameter(param); 119 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference")); 120 oper.setReturnClass(org.alfresco.webservice.types.Reference[].class); 121 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "lockReturn")); 122 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 123 oper.setUse(org.apache.axis.constants.Use.LITERAL); 124 oper.addFault(new org.apache.axis.description.FaultDesc( 125 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 126 "org.alfresco.webservice.authoring.AuthoringFault", 127 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 128 true 129 )); 130 _operations[4] = oper; 131 132 oper = new org.apache.axis.description.OperationDesc(); 133 oper.setName("unlock"); 134 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 135 oper.addParameter(param); 136 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "unlockChildren"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false); 137 oper.addParameter(param); 138 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference")); 139 oper.setReturnClass(org.alfresco.webservice.types.Reference[].class); 140 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "unlockReturn")); 141 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 142 oper.setUse(org.apache.axis.constants.Use.LITERAL); 143 oper.addFault(new org.apache.axis.description.FaultDesc( 144 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 145 "org.alfresco.webservice.authoring.AuthoringFault", 146 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 147 true 148 )); 149 _operations[5] = oper; 150 151 oper = new org.apache.axis.description.OperationDesc(); 152 oper.setName("getLockStatus"); 153 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 154 oper.addParameter(param); 155 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "LockStatus")); 156 oper.setReturnClass(org.alfresco.webservice.authoring.LockStatus[].class); 157 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "getLockStatusReturn")); 158 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 159 oper.setUse(org.apache.axis.constants.Use.LITERAL); 160 oper.addFault(new org.apache.axis.description.FaultDesc( 161 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 162 "org.alfresco.webservice.authoring.AuthoringFault", 163 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 164 true 165 )); 166 _operations[6] = oper; 167 168 oper = new org.apache.axis.description.OperationDesc(); 169 oper.setName("createVersion"); 170 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "items"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"), org.alfresco.webservice.types.Predicate.class, false, false); 171 oper.addParameter(param); 172 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "comments"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"), org.alfresco.webservice.types.NamedValue[].class, false, false); 173 param.setOmittable(true); 174 oper.addParameter(param); 175 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "versionChildren"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false); 176 oper.addParameter(param); 177 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "VersionResult")); 178 oper.setReturnClass(org.alfresco.webservice.authoring.VersionResult.class); 179 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "createVersionReturn")); 180 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 181 oper.setUse(org.apache.axis.constants.Use.LITERAL); 182 oper.addFault(new org.apache.axis.description.FaultDesc( 183 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 184 "org.alfresco.webservice.authoring.AuthoringFault", 185 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 186 true 187 )); 188 _operations[7] = oper; 189 190 oper = new org.apache.axis.description.OperationDesc(); 191 oper.setName("getVersionHistory"); 192 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "node"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference"), org.alfresco.webservice.types.Reference.class, false, false); 193 oper.addParameter(param); 194 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "VersionHistory")); 195 oper.setReturnClass(org.alfresco.webservice.types.VersionHistory.class); 196 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "getVersionHistoryReturn")); 197 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 198 oper.setUse(org.apache.axis.constants.Use.LITERAL); 199 oper.addFault(new org.apache.axis.description.FaultDesc( 200 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 201 "org.alfresco.webservice.authoring.AuthoringFault", 202 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 203 true 204 )); 205 _operations[8] = oper; 206 207 oper = new org.apache.axis.description.OperationDesc(); 208 oper.setName("revertVersion"); 209 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "node"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference"), org.alfresco.webservice.types.Reference.class, false, false); 210 oper.addParameter(param); 211 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "versionLabel"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String .class, false, false); 212 oper.addParameter(param); 213 oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); 214 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 215 oper.setUse(org.apache.axis.constants.Use.LITERAL); 216 oper.addFault(new org.apache.axis.description.FaultDesc( 217 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 218 "org.alfresco.webservice.authoring.AuthoringFault", 219 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 220 true 221 )); 222 _operations[9] = oper; 223 224 } 225 226 private static void _initOperationDesc2(){ 227 org.apache.axis.description.OperationDesc oper; 228 org.apache.axis.description.ParameterDesc param; 229 oper = new org.apache.axis.description.OperationDesc(); 230 oper.setName("deleteAllVersions"); 231 param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "node"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference"), org.alfresco.webservice.types.Reference.class, false, false); 232 oper.addParameter(param); 233 oper.setReturnType(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "VersionHistory")); 234 oper.setReturnClass(org.alfresco.webservice.types.VersionHistory.class); 235 oper.setReturnQName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "deleteAllVersionsReturn")); 236 oper.setStyle(org.apache.axis.constants.Style.WRAPPED); 237 oper.setUse(org.apache.axis.constants.Use.LITERAL); 238 oper.addFault(new org.apache.axis.description.FaultDesc( 239 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 240 "org.alfresco.webservice.authoring.AuthoringFault", 241 new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"), 242 true 243 )); 244 _operations[10] = oper; 245 246 } 247 248 public AuthoringServiceSoapBindingStub() throws org.apache.axis.AxisFault { 249 this(null); 250 } 251 252 public AuthoringServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { 253 this(service); 254 super.cachedEndpoint = endpointURL; 255 } 256 257 public AuthoringServiceSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { 258 if (service == null) { 259 super.service = new org.apache.axis.client.Service(); 260 } else { 261 super.service = service; 262 } 263 ((org.apache.axis.client.Service)super.service).setTypeMappingVersion("1.2"); 264 java.lang.Class cls; 265 javax.xml.namespace.QName qName; 266 javax.xml.namespace.QName qName2; 267 java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; 268 java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; 269 java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; 270 java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; 271 java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; 272 java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; 273 java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; 274 java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; 275 java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; 276 java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; 277 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>encoding"); 278 cachedSerQNames.add(qName); 279 cls = java.lang.String .class; 280 cachedSerClasses.add(cls); 281 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 282 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 283 284 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", ">ContentFormat>mimetype"); 285 cachedSerQNames.add(qName); 286 cls = java.lang.String .class; 287 cachedSerClasses.add(cls); 288 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 289 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 290 291 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", ">ResultSetRow>node"); 292 cachedSerQNames.add(qName); 293 cls = org.alfresco.webservice.types.ResultSetRowNode.class; 294 cachedSerClasses.add(cls); 295 cachedSerFactories.add(beansf); 296 cachedDeserFactories.add(beandf); 297 298 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", ">Store>address"); 299 cachedSerQNames.add(qName); 300 cls = java.lang.String .class; 301 cachedSerClasses.add(cls); 302 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 303 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 304 305 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "AssociationDefinition"); 306 cachedSerQNames.add(qName); 307 cls = org.alfresco.webservice.types.AssociationDefinition.class; 308 cachedSerClasses.add(cls); 309 cachedSerFactories.add(beansf); 310 cachedDeserFactories.add(beandf); 311 312 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Cardinality"); 313 cachedSerQNames.add(qName); 314 cls = org.alfresco.webservice.types.Cardinality.class; 315 cachedSerClasses.add(cls); 316 cachedSerFactories.add(enumsf); 317 cachedDeserFactories.add(enumdf); 318 319 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Category"); 320 cachedSerQNames.add(qName); 321 cls = org.alfresco.webservice.types.Category.class; 322 cachedSerClasses.add(cls); 323 cachedSerFactories.add(beansf); 324 cachedDeserFactories.add(beandf); 325 326 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ClassDefinition"); 327 cachedSerQNames.add(qName); 328 cls = org.alfresco.webservice.types.ClassDefinition.class; 329 cachedSerClasses.add(cls); 330 cachedSerFactories.add(beansf); 331 cachedDeserFactories.add(beandf); 332 333 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Classification"); 334 cachedSerQNames.add(qName); 335 cls = org.alfresco.webservice.types.Classification.class; 336 cachedSerClasses.add(cls); 337 cachedSerFactories.add(beansf); 338 cachedDeserFactories.add(beandf); 339 340 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat"); 341 cachedSerQNames.add(qName); 342 cls = org.alfresco.webservice.types.ContentFormat.class; 343 cachedSerClasses.add(cls); 344 cachedSerFactories.add(beansf); 345 cachedDeserFactories.add(beandf); 346 347 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Name"); 348 cachedSerQNames.add(qName); 349 cls = java.lang.String .class; 350 cachedSerClasses.add(cls); 351 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 352 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 353 354 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"); 355 cachedSerQNames.add(qName); 356 cls = org.alfresco.webservice.types.NamedValue.class; 357 cachedSerClasses.add(cls); 358 cachedSerFactories.add(beansf); 359 cachedDeserFactories.add(beandf); 360 361 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Node"); 362 cachedSerQNames.add(qName); 363 cls = org.alfresco.webservice.types.Node.class; 364 cachedSerClasses.add(cls); 365 cachedSerFactories.add(beansf); 366 cachedDeserFactories.add(beandf); 367 368 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "NodeDefinition"); 369 cachedSerQNames.add(qName); 370 cls = org.alfresco.webservice.types.NodeDefinition.class; 371 cachedSerClasses.add(cls); 372 cachedSerFactories.add(beansf); 373 cachedDeserFactories.add(beandf); 374 375 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ParentReference"); 376 cachedSerQNames.add(qName); 377 cls = org.alfresco.webservice.types.ParentReference.class; 378 cachedSerClasses.add(cls); 379 cachedSerFactories.add(beansf); 380 cachedDeserFactories.add(beandf); 381 382 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Path"); 383 cachedSerQNames.add(qName); 384 cls = java.lang.String .class; 385 cachedSerClasses.add(cls); 386 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 387 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 388 389 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Predicate"); 390 cachedSerQNames.add(qName); 391 cls = org.alfresco.webservice.types.Predicate.class; 392 cachedSerClasses.add(cls); 393 cachedSerFactories.add(beansf); 394 cachedDeserFactories.add(beandf); 395 396 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "PropertyDefinition"); 397 cachedSerQNames.add(qName); 398 cls = org.alfresco.webservice.types.PropertyDefinition.class; 399 cachedSerClasses.add(cls); 400 cachedSerFactories.add(beansf); 401 cachedDeserFactories.add(beandf); 402 403 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Query"); 404 cachedSerQNames.add(qName); 405 cls = org.alfresco.webservice.types.Query.class; 406 cachedSerClasses.add(cls); 407 cachedSerFactories.add(beansf); 408 cachedDeserFactories.add(beandf); 409 410 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "QueryLanguageEnum"); 411 cachedSerQNames.add(qName); 412 cls = org.alfresco.webservice.types.QueryLanguageEnum.class; 413 cachedSerClasses.add(cls); 414 cachedSerFactories.add(enumsf); 415 cachedDeserFactories.add(enumdf); 416 417 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Reference"); 418 cachedSerQNames.add(qName); 419 cls = org.alfresco.webservice.types.Reference.class; 420 cachedSerClasses.add(cls); 421 cachedSerFactories.add(beansf); 422 cachedDeserFactories.add(beandf); 423 424 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ResultSet"); 425 cachedSerQNames.add(qName); 426 cls = org.alfresco.webservice.types.ResultSet.class; 427 cachedSerClasses.add(cls); 428 cachedSerFactories.add(beansf); 429 cachedDeserFactories.add(beandf); 430 431 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ResultSetMetaData"); 432 cachedSerQNames.add(qName); 433 cls = org.alfresco.webservice.types.ResultSetMetaData.class; 434 cachedSerClasses.add(cls); 435 cachedSerFactories.add(beansf); 436 cachedDeserFactories.add(beandf); 437 438 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ResultSetRow"); 439 cachedSerQNames.add(qName); 440 cls = org.alfresco.webservice.types.ResultSetRow.class; 441 cachedSerClasses.add(cls); 442 cachedSerFactories.add(beansf); 443 cachedDeserFactories.add(beandf); 444 445 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition"); 446 cachedSerQNames.add(qName); 447 cls = org.alfresco.webservice.types.RoleDefinition.class; 448 cachedSerClasses.add(cls); 449 cachedSerFactories.add(beansf); 450 cachedDeserFactories.add(beandf); 451 452 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Store"); 453 cachedSerQNames.add(qName); 454 cls = org.alfresco.webservice.types.Store.class; 455 cachedSerClasses.add(cls); 456 cachedSerFactories.add(beansf); 457 cachedDeserFactories.add(beandf); 458 459 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "StoreEnum"); 460 cachedSerQNames.add(qName); 461 cls = org.alfresco.webservice.types.StoreEnum.class; 462 cachedSerClasses.add(cls); 463 cachedSerFactories.add(enumsf); 464 cachedDeserFactories.add(enumdf); 465 466 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "UUID"); 467 cachedSerQNames.add(qName); 468 cls = java.lang.String .class; 469 cachedSerClasses.add(cls); 470 cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class, cls, qName)); 471 cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName)); 472 473 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "ValueDefinition"); 474 cachedSerQNames.add(qName); 475 cls = org.alfresco.webservice.types.ValueDefinition.class; 476 cachedSerClasses.add(cls); 477 cachedSerFactories.add(beansf); 478 cachedDeserFactories.add(beandf); 479 480 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "Version"); 481 cachedSerQNames.add(qName); 482 cls = org.alfresco.webservice.types.Version.class; 483 cachedSerClasses.add(cls); 484 cachedSerFactories.add(beansf); 485 cachedDeserFactories.add(beandf); 486 487 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/model/content/1.0", "VersionHistory"); 488 cachedSerQNames.add(qName); 489 cls = org.alfresco.webservice.types.VersionHistory.class; 490 cachedSerClasses.add(cls); 491 cachedSerFactories.add(beansf); 492 cachedDeserFactories.add(beandf); 493 494 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault"); 495 cachedSerQNames.add(qName); 496 cls = org.alfresco.webservice.authoring.AuthoringFault.class; 497 cachedSerClasses.add(cls); 498 cachedSerFactories.add(beansf); 499 cachedDeserFactories.add(beandf); 500 501 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "CancelCheckoutResult"); 502 cachedSerQNames.add(qName); 503 cls = org.alfresco.webservice.authoring.CancelCheckoutResult.class; 504 cachedSerClasses.add(cls); 505 cachedSerFactories.add(beansf); 506 cachedDeserFactories.add(beandf); 507 508 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "CheckinResult"); 509 cachedSerQNames.add(qName); 510 cls = org.alfresco.webservice.authoring.CheckinResult.class; 511 cachedSerClasses.add(cls); 512 cachedSerFactories.add(beansf); 513 cachedDeserFactories.add(beandf); 514 515 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "CheckoutResult"); 516 cachedSerQNames.add(qName); 517 cls = org.alfresco.webservice.authoring.CheckoutResult.class; 518 cachedSerClasses.add(cls); 519 cachedSerFactories.add(beansf); 520 cachedDeserFactories.add(beandf); 521 522 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "LockStatus"); 523 cachedSerQNames.add(qName); 524 cls = org.alfresco.webservice.authoring.LockStatus.class; 525 cachedSerClasses.add(cls); 526 cachedSerFactories.add(beansf); 527 cachedDeserFactories.add(beandf); 528 529 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "LockTypeEnum"); 530 cachedSerQNames.add(qName); 531 cls = org.alfresco.webservice.authoring.LockTypeEnum.class; 532 cachedSerClasses.add(cls); 533 cachedSerFactories.add(enumsf); 534 cachedDeserFactories.add(enumdf); 535 536 qName = new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "VersionResult"); 537 cachedSerQNames.add(qName); 538 cls = org.alfresco.webservice.authoring.VersionResult.class; 539 cachedSerClasses.add(cls); 540 cachedSerFactories.add(beansf); 541 cachedDeserFactories.add(beandf); 542 543 } 544 545 protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { 546 try { 547 org.apache.axis.client.Call _call = super._createCall(); 548 if (super.maintainSessionSet) { 549 _call.setMaintainSession(super.maintainSession); 550 } 551 if (super.cachedUsername != null) { 552 _call.setUsername(super.cachedUsername); 553 } 554 if (super.cachedPassword != null) { 555 _call.setPassword(super.cachedPassword); 556 } 557 if (super.cachedEndpoint != null) { 558 _call.setTargetEndpointAddress(super.cachedEndpoint); 559 } 560 if (super.cachedTimeout != null) { 561 _call.setTimeout(super.cachedTimeout); 562 } 563 if (super.cachedPortName != null) { 564 _call.setPortName(super.cachedPortName); 565 } 566 java.util.Enumeration keys = super.cachedProperties.keys(); 567 while (keys.hasMoreElements()) { 568 java.lang.String key = (java.lang.String ) keys.nextElement(); 569 _call.setProperty(key, super.cachedProperties.get(key)); 570 } 571 synchronized (this) { 577 if (firstCall()) { 578 _call.setEncodingStyle(null); 580 for (int i = 0; i < cachedSerFactories.size(); ++i) { 581 java.lang.Class cls = (java.lang.Class ) cachedSerClasses.get(i); 582 javax.xml.namespace.QName qName = 583 (javax.xml.namespace.QName ) cachedSerQNames.get(i); 584 java.lang.Object x = cachedSerFactories.get(i); 585 if (x instanceof Class ) { 586 java.lang.Class sf = (java.lang.Class ) 587 cachedSerFactories.get(i); 588 java.lang.Class df = (java.lang.Class ) 589 cachedDeserFactories.get(i); 590 _call.registerTypeMapping(cls, qName, sf, df, false); 591 } 592 else if (x instanceof javax.xml.rpc.encoding.SerializerFactory ) { 593 org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) 594 cachedSerFactories.get(i); 595 org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) 596 cachedDeserFactories.get(i); 597 _call.registerTypeMapping(cls, qName, sf, df, false); 598 } 599 } 600 } 601 } 602 return _call; 603 } 604 catch (java.lang.Throwable _t) { 605 throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); 606 } 607 } 608 609 610 613 public org.alfresco.webservice.authoring.CheckoutResult checkout(org.alfresco.webservice.types.Predicate items, org.alfresco.webservice.types.ParentReference destination) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 614 if (super.cachedEndpoint == null) { 615 throw new org.apache.axis.NoEndPointException(); 616 } 617 org.apache.axis.client.Call _call = createCall(); 618 _call.setOperation(_operations[0]); 619 _call.setUseSOAPAction(true); 620 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/checkout"); 621 _call.setEncodingStyle(null); 622 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 623 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 624 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 625 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "checkout")); 626 627 setRequestHeaders(_call); 628 setAttachments(_call); 629 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items, destination}); 630 631 if (_resp instanceof java.rmi.RemoteException ) { 632 throw (java.rmi.RemoteException )_resp; 633 } 634 else { 635 extractAttachments(_call); 636 try { 637 return (org.alfresco.webservice.authoring.CheckoutResult) _resp; 638 } catch (java.lang.Exception _exception) { 639 return (org.alfresco.webservice.authoring.CheckoutResult) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.authoring.CheckoutResult.class); 640 } 641 } 642 } catch (org.apache.axis.AxisFault axisFaultException) { 643 if (axisFaultException.detail != null) { 644 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 645 throw (java.rmi.RemoteException ) axisFaultException.detail; 646 } 647 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 648 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 649 } 650 } 651 throw axisFaultException; 652 } 653 } 654 655 656 659 public org.alfresco.webservice.authoring.CheckinResult checkin(org.alfresco.webservice.types.Predicate items, org.alfresco.webservice.types.NamedValue[] comments, boolean keepCheckedOut) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 660 if (super.cachedEndpoint == null) { 661 throw new org.apache.axis.NoEndPointException(); 662 } 663 org.apache.axis.client.Call _call = createCall(); 664 _call.setOperation(_operations[1]); 665 _call.setUseSOAPAction(true); 666 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/checkin"); 667 _call.setEncodingStyle(null); 668 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 669 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 670 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 671 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "checkin")); 672 673 setRequestHeaders(_call); 674 setAttachments(_call); 675 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items, comments, new java.lang.Boolean (keepCheckedOut)}); 676 677 if (_resp instanceof java.rmi.RemoteException ) { 678 throw (java.rmi.RemoteException )_resp; 679 } 680 else { 681 extractAttachments(_call); 682 try { 683 return (org.alfresco.webservice.authoring.CheckinResult) _resp; 684 } catch (java.lang.Exception _exception) { 685 return (org.alfresco.webservice.authoring.CheckinResult) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.authoring.CheckinResult.class); 686 } 687 } 688 } catch (org.apache.axis.AxisFault axisFaultException) { 689 if (axisFaultException.detail != null) { 690 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 691 throw (java.rmi.RemoteException ) axisFaultException.detail; 692 } 693 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 694 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 695 } 696 } 697 throw axisFaultException; 698 } 699 } 700 701 702 706 public org.alfresco.webservice.types.Reference checkinExternal(org.alfresco.webservice.types.Reference items, org.alfresco.webservice.types.NamedValue[] comments, boolean keepCheckedOut, org.alfresco.webservice.types.ContentFormat format, byte[] content) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 707 if (super.cachedEndpoint == null) { 708 throw new org.apache.axis.NoEndPointException(); 709 } 710 org.apache.axis.client.Call _call = createCall(); 711 _call.setOperation(_operations[2]); 712 _call.setUseSOAPAction(true); 713 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/checkinExternal"); 714 _call.setEncodingStyle(null); 715 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 716 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 717 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 718 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "checkinExternal")); 719 720 setRequestHeaders(_call); 721 setAttachments(_call); 722 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items, comments, new java.lang.Boolean (keepCheckedOut), format, content}); 723 724 if (_resp instanceof java.rmi.RemoteException ) { 725 throw (java.rmi.RemoteException )_resp; 726 } 727 else { 728 extractAttachments(_call); 729 try { 730 return (org.alfresco.webservice.types.Reference) _resp; 731 } catch (java.lang.Exception _exception) { 732 return (org.alfresco.webservice.types.Reference) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.Reference.class); 733 } 734 } 735 } catch (org.apache.axis.AxisFault axisFaultException) { 736 if (axisFaultException.detail != null) { 737 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 738 throw (java.rmi.RemoteException ) axisFaultException.detail; 739 } 740 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 741 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 742 } 743 } 744 throw axisFaultException; 745 } 746 } 747 748 749 752 public org.alfresco.webservice.authoring.CancelCheckoutResult cancelCheckout(org.alfresco.webservice.types.Predicate items) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 753 if (super.cachedEndpoint == null) { 754 throw new org.apache.axis.NoEndPointException(); 755 } 756 org.apache.axis.client.Call _call = createCall(); 757 _call.setOperation(_operations[3]); 758 _call.setUseSOAPAction(true); 759 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/cancelCheckout"); 760 _call.setEncodingStyle(null); 761 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 762 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 763 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 764 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "cancelCheckout")); 765 766 setRequestHeaders(_call); 767 setAttachments(_call); 768 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items}); 769 770 if (_resp instanceof java.rmi.RemoteException ) { 771 throw (java.rmi.RemoteException )_resp; 772 } 773 else { 774 extractAttachments(_call); 775 try { 776 return (org.alfresco.webservice.authoring.CancelCheckoutResult) _resp; 777 } catch (java.lang.Exception _exception) { 778 return (org.alfresco.webservice.authoring.CancelCheckoutResult) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.authoring.CancelCheckoutResult.class); 779 } 780 } 781 } catch (org.apache.axis.AxisFault axisFaultException) { 782 if (axisFaultException.detail != null) { 783 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 784 throw (java.rmi.RemoteException ) axisFaultException.detail; 785 } 786 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 787 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 788 } 789 } 790 throw axisFaultException; 791 } 792 } 793 794 795 798 public org.alfresco.webservice.types.Reference[] lock(org.alfresco.webservice.types.Predicate items, boolean lockChildren, org.alfresco.webservice.authoring.LockTypeEnum lockType) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 799 if (super.cachedEndpoint == null) { 800 throw new org.apache.axis.NoEndPointException(); 801 } 802 org.apache.axis.client.Call _call = createCall(); 803 _call.setOperation(_operations[4]); 804 _call.setUseSOAPAction(true); 805 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/lock"); 806 _call.setEncodingStyle(null); 807 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 808 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 809 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 810 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "lock")); 811 812 setRequestHeaders(_call); 813 setAttachments(_call); 814 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items, new java.lang.Boolean (lockChildren), lockType}); 815 816 if (_resp instanceof java.rmi.RemoteException ) { 817 throw (java.rmi.RemoteException )_resp; 818 } 819 else { 820 extractAttachments(_call); 821 try { 822 return (org.alfresco.webservice.types.Reference[]) _resp; 823 } catch (java.lang.Exception _exception) { 824 return (org.alfresco.webservice.types.Reference[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.Reference[].class); 825 } 826 } 827 } catch (org.apache.axis.AxisFault axisFaultException) { 828 if (axisFaultException.detail != null) { 829 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 830 throw (java.rmi.RemoteException ) axisFaultException.detail; 831 } 832 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 833 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 834 } 835 } 836 throw axisFaultException; 837 } 838 } 839 840 841 844 public org.alfresco.webservice.types.Reference[] unlock(org.alfresco.webservice.types.Predicate items, boolean unlockChildren) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 845 if (super.cachedEndpoint == null) { 846 throw new org.apache.axis.NoEndPointException(); 847 } 848 org.apache.axis.client.Call _call = createCall(); 849 _call.setOperation(_operations[5]); 850 _call.setUseSOAPAction(true); 851 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/unlock"); 852 _call.setEncodingStyle(null); 853 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 854 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 855 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 856 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "unlock")); 857 858 setRequestHeaders(_call); 859 setAttachments(_call); 860 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items, new java.lang.Boolean (unlockChildren)}); 861 862 if (_resp instanceof java.rmi.RemoteException ) { 863 throw (java.rmi.RemoteException )_resp; 864 } 865 else { 866 extractAttachments(_call); 867 try { 868 return (org.alfresco.webservice.types.Reference[]) _resp; 869 } catch (java.lang.Exception _exception) { 870 return (org.alfresco.webservice.types.Reference[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.Reference[].class); 871 } 872 } 873 } catch (org.apache.axis.AxisFault axisFaultException) { 874 if (axisFaultException.detail != null) { 875 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 876 throw (java.rmi.RemoteException ) axisFaultException.detail; 877 } 878 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 879 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 880 } 881 } 882 throw axisFaultException; 883 } 884 } 885 886 887 890 public org.alfresco.webservice.authoring.LockStatus[] getLockStatus(org.alfresco.webservice.types.Predicate items) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 891 if (super.cachedEndpoint == null) { 892 throw new org.apache.axis.NoEndPointException(); 893 } 894 org.apache.axis.client.Call _call = createCall(); 895 _call.setOperation(_operations[6]); 896 _call.setUseSOAPAction(true); 897 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/getLockStatus"); 898 _call.setEncodingStyle(null); 899 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 900 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 901 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 902 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "getLockStatus")); 903 904 setRequestHeaders(_call); 905 setAttachments(_call); 906 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items}); 907 908 if (_resp instanceof java.rmi.RemoteException ) { 909 throw (java.rmi.RemoteException )_resp; 910 } 911 else { 912 extractAttachments(_call); 913 try { 914 return (org.alfresco.webservice.authoring.LockStatus[]) _resp; 915 } catch (java.lang.Exception _exception) { 916 return (org.alfresco.webservice.authoring.LockStatus[]) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.authoring.LockStatus[].class); 917 } 918 } 919 } catch (org.apache.axis.AxisFault axisFaultException) { 920 if (axisFaultException.detail != null) { 921 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 922 throw (java.rmi.RemoteException ) axisFaultException.detail; 923 } 924 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 925 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 926 } 927 } 928 throw axisFaultException; 929 } 930 } 931 932 933 936 public org.alfresco.webservice.authoring.VersionResult createVersion(org.alfresco.webservice.types.Predicate items, org.alfresco.webservice.types.NamedValue[] comments, boolean versionChildren) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 937 if (super.cachedEndpoint == null) { 938 throw new org.apache.axis.NoEndPointException(); 939 } 940 org.apache.axis.client.Call _call = createCall(); 941 _call.setOperation(_operations[7]); 942 _call.setUseSOAPAction(true); 943 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/createVersion"); 944 _call.setEncodingStyle(null); 945 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 946 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 947 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 948 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "createVersion")); 949 950 setRequestHeaders(_call); 951 setAttachments(_call); 952 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {items, comments, new java.lang.Boolean (versionChildren)}); 953 954 if (_resp instanceof java.rmi.RemoteException ) { 955 throw (java.rmi.RemoteException )_resp; 956 } 957 else { 958 extractAttachments(_call); 959 try { 960 return (org.alfresco.webservice.authoring.VersionResult) _resp; 961 } catch (java.lang.Exception _exception) { 962 return (org.alfresco.webservice.authoring.VersionResult) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.authoring.VersionResult.class); 963 } 964 } 965 } catch (org.apache.axis.AxisFault axisFaultException) { 966 if (axisFaultException.detail != null) { 967 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 968 throw (java.rmi.RemoteException ) axisFaultException.detail; 969 } 970 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 971 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 972 } 973 } 974 throw axisFaultException; 975 } 976 } 977 978 979 982 public org.alfresco.webservice.types.VersionHistory getVersionHistory(org.alfresco.webservice.types.Reference node) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 983 if (super.cachedEndpoint == null) { 984 throw new org.apache.axis.NoEndPointException(); 985 } 986 org.apache.axis.client.Call _call = createCall(); 987 _call.setOperation(_operations[8]); 988 _call.setUseSOAPAction(true); 989 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/getVersionHistory"); 990 _call.setEncodingStyle(null); 991 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 992 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 993 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 994 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "getVersionHistory")); 995 996 setRequestHeaders(_call); 997 setAttachments(_call); 998 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {node}); 999 1000 if (_resp instanceof java.rmi.RemoteException ) { 1001 throw (java.rmi.RemoteException )_resp; 1002 } 1003 else { 1004 extractAttachments(_call); 1005 try { 1006 return (org.alfresco.webservice.types.VersionHistory) _resp; 1007 } catch (java.lang.Exception _exception) { 1008 return (org.alfresco.webservice.types.VersionHistory) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.VersionHistory.class); 1009 } 1010 } 1011 } catch (org.apache.axis.AxisFault axisFaultException) { 1012 if (axisFaultException.detail != null) { 1013 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 1014 throw (java.rmi.RemoteException ) axisFaultException.detail; 1015 } 1016 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 1017 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 1018 } 1019 } 1020 throw axisFaultException; 1021} 1022 } 1023 1024 1025 1028 public void revertVersion(org.alfresco.webservice.types.Reference node, java.lang.String versionLabel) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 1029 if (super.cachedEndpoint == null) { 1030 throw new org.apache.axis.NoEndPointException(); 1031 } 1032 org.apache.axis.client.Call _call = createCall(); 1033 _call.setOperation(_operations[9]); 1034 _call.setUseSOAPAction(true); 1035 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/revertVersion"); 1036 _call.setEncodingStyle(null); 1037 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 1038 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 1039 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 1040 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "revertVersion")); 1041 1042 setRequestHeaders(_call); 1043 setAttachments(_call); 1044 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {node, versionLabel}); 1045 1046 if (_resp instanceof java.rmi.RemoteException ) { 1047 throw (java.rmi.RemoteException )_resp; 1048 } 1049 extractAttachments(_call); 1050 } catch (org.apache.axis.AxisFault axisFaultException) { 1051 if (axisFaultException.detail != null) { 1052 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 1053 throw (java.rmi.RemoteException ) axisFaultException.detail; 1054 } 1055 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 1056 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 1057 } 1058 } 1059 throw axisFaultException; 1060} 1061 } 1062 1063 1064 1067 public org.alfresco.webservice.types.VersionHistory deleteAllVersions(org.alfresco.webservice.types.Reference node) throws java.rmi.RemoteException , org.alfresco.webservice.authoring.AuthoringFault { 1068 if (super.cachedEndpoint == null) { 1069 throw new org.apache.axis.NoEndPointException(); 1070 } 1071 org.apache.axis.client.Call _call = createCall(); 1072 _call.setOperation(_operations[10]); 1073 _call.setUseSOAPAction(true); 1074 _call.setSOAPActionURI("http://www.alfresco.org/ws/service/authoring/1.0/deleteAllVersions"); 1075 _call.setEncodingStyle(null); 1076 _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); 1077 _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE); 1078 _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); 1079 _call.setOperationName(new javax.xml.namespace.QName ("http://www.alfresco.org/ws/service/authoring/1.0", "deleteAllVersions")); 1080 1081 setRequestHeaders(_call); 1082 setAttachments(_call); 1083 try { java.lang.Object _resp = _call.invoke(new java.lang.Object [] {node}); 1084 1085 if (_resp instanceof java.rmi.RemoteException ) { 1086 throw (java.rmi.RemoteException )_resp; 1087 } 1088 else { 1089 extractAttachments(_call); 1090 try { 1091 return (org.alfresco.webservice.types.VersionHistory) _resp; 1092 } catch (java.lang.Exception _exception) { 1093 return (org.alfresco.webservice.types.VersionHistory) org.apache.axis.utils.JavaUtils.convert(_resp, org.alfresco.webservice.types.VersionHistory.class); 1094 } 1095 } 1096 } catch (org.apache.axis.AxisFault axisFaultException) { 1097 if (axisFaultException.detail != null) { 1098 if (axisFaultException.detail instanceof java.rmi.RemoteException ) { 1099 throw (java.rmi.RemoteException ) axisFaultException.detail; 1100 } 1101 if (axisFaultException.detail instanceof org.alfresco.webservice.authoring.AuthoringFault) { 1102 throw (org.alfresco.webservice.authoring.AuthoringFault) axisFaultException.detail; 1103 } 1104 } 1105 throw axisFaultException; 1106} 1107 } 1108 1109} 1110
| Popular Tags
|