PageRenderTime 40ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/CMISSpaces/src/org/integratedsemantics/cmis/soap/service/_Super_ObjectService.as

http://cmisspaces.googlecode.com/
ActionScript | 494 lines | 232 code | 64 blank | 198 comment | 0 complexity | 46867b2253411611c314e5f43787b613 MD5 | raw file
  1. /**
  2. * This is a generated class and is not intended for modification. To customize behavior
  3. * of this service wrapper you may modify the generated sub-class of this class - ObjectService.as.
  4. */
  5. package org.integratedsemantics.cmis.soap.service
  6. {
  7. import com.adobe.fiber.core.model_internal;
  8. import com.adobe.fiber.services.wrapper.WebServiceWrapper;
  9. import com.adobe.serializers.utility.TypeUtility;
  10. import mx.collections.ArrayCollection;
  11. import mx.rpc.AbstractOperation;
  12. import mx.rpc.AsyncToken;
  13. import mx.rpc.soap.SOAPHeader;
  14. import mx.rpc.soap.mxml.Operation;
  15. import mx.rpc.soap.mxml.WebService;
  16. import mx.rpc.xml.SchemaTypeRegistry;
  17. import org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType;
  18. import org.integratedsemantics.cmis.soap.valueobject.CmisAllowableActionsType;
  19. import org.integratedsemantics.cmis.soap.valueobject.CmisContentStreamType;
  20. import org.integratedsemantics.cmis.soap.valueobject.CmisObjectType;
  21. import org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType;
  22. import org.integratedsemantics.cmis.soap.valueobject.CmisRenditionType;
  23. import org.integratedsemantics.cmis.soap.valueobject.CreateDocumentFromSourceResponse;
  24. import org.integratedsemantics.cmis.soap.valueobject.CreateDocumentResponse;
  25. import org.integratedsemantics.cmis.soap.valueobject.CreateFolderResponse;
  26. import org.integratedsemantics.cmis.soap.valueobject.CreatePolicyResponse;
  27. import org.integratedsemantics.cmis.soap.valueobject.CreateRelationshipResponse;
  28. import org.integratedsemantics.cmis.soap.valueobject.DeleteContentStreamResponse;
  29. import org.integratedsemantics.cmis.soap.valueobject.FailedToDelete_type;
  30. import org.integratedsemantics.cmis.soap.valueobject.MoveObjectResponse;
  31. import org.integratedsemantics.cmis.soap.valueobject.SetContentStreamResponse;
  32. import org.integratedsemantics.cmis.soap.valueobject.UpdatePropertiesResponse;
  33. import org.integratedsemantics.cmisspaces.model.config.CMISConfig;
  34. import org.integratedsemantics.flexspaces.model.AppModelLocator;
  35. import org.integratedsemantics.util.SOAPHeaderUtil;
  36. [ExcludeClass]
  37. internal class _Super_ObjectService extends com.adobe.fiber.services.wrapper.WebServiceWrapper
  38. {
  39. // Constructor
  40. public function _Super_ObjectService()
  41. {
  42. // initialize service control
  43. _serviceControl = new mx.rpc.soap.mxml.WebService();
  44. mx.rpc.xml.SchemaTypeRegistry.getInstance().registerCollectionClass(new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "cmisExtensionType"), ArrayCollection);
  45. var operations:Object = new Object();
  46. var operation:mx.rpc.soap.mxml.Operation;
  47. operation = new mx.rpc.soap.mxml.Operation(null, "updateProperties");
  48. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.UpdatePropertiesResponse;
  49. operations["updateProperties"] = operation;
  50. operation = new mx.rpc.soap.mxml.Operation(null, "createDocumentFromSource");
  51. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CreateDocumentFromSourceResponse;
  52. operations["createDocumentFromSource"] = operation;
  53. operation = new mx.rpc.soap.mxml.Operation(null, "createFolder");
  54. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CreateFolderResponse;
  55. operations["createFolder"] = operation;
  56. operation = new mx.rpc.soap.mxml.Operation(null, "deleteObject");
  57. operation.resultElementType = Object;
  58. operations["deleteObject"] = operation;
  59. operation = new mx.rpc.soap.mxml.Operation(null, "createRelationship");
  60. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CreateRelationshipResponse;
  61. operations["createRelationship"] = operation;
  62. operation = new mx.rpc.soap.mxml.Operation(null, "moveObject");
  63. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.MoveObjectResponse;
  64. operations["moveObject"] = operation;
  65. operation = new mx.rpc.soap.mxml.Operation(null, "createPolicy");
  66. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CreatePolicyResponse;
  67. operations["createPolicy"] = operation;
  68. operation = new mx.rpc.soap.mxml.Operation(null, "getObject");
  69. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CmisObjectType;
  70. operations["getObject"] = operation;
  71. operation = new mx.rpc.soap.mxml.Operation(null, "getRenditions");
  72. operation.resultElementType = org.integratedsemantics.cmis.soap.valueobject.CmisRenditionType;
  73. operations["getRenditions"] = operation;
  74. operation = new mx.rpc.soap.mxml.Operation(null, "setContentStream");
  75. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.SetContentStreamResponse;
  76. operations["setContentStream"] = operation;
  77. operation = new mx.rpc.soap.mxml.Operation(null, "getContentStream");
  78. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CmisContentStreamType;
  79. operations["getContentStream"] = operation;
  80. operation = new mx.rpc.soap.mxml.Operation(null, "getAllowableActions");
  81. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CmisAllowableActionsType;
  82. operations["getAllowableActions"] = operation;
  83. operation = new mx.rpc.soap.mxml.Operation(null, "getObjectByPath");
  84. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CmisObjectType;
  85. operations["getObjectByPath"] = operation;
  86. operation = new mx.rpc.soap.mxml.Operation(null, "deleteTree");
  87. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.FailedToDelete_type;
  88. operations["deleteTree"] = operation;
  89. operation = new mx.rpc.soap.mxml.Operation(null, "getProperties");
  90. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType;
  91. operations["getProperties"] = operation;
  92. operation = new mx.rpc.soap.mxml.Operation(null, "deleteContentStream");
  93. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.DeleteContentStreamResponse;
  94. operations["deleteContentStream"] = operation;
  95. operation = new mx.rpc.soap.mxml.Operation(null, "createDocument");
  96. operation.resultType = org.integratedsemantics.cmis.soap.valueobject.CreateDocumentResponse;
  97. operations["createDocument"] = operation;
  98. _serviceControl.operations = operations;
  99. try
  100. {
  101. _serviceControl.convertResultHandler = com.adobe.serializers.utility.TypeUtility.convertResultHandler;
  102. }
  103. catch (e: Error)
  104. {
  105. /* Flex 3.4 and eralier does not support the convertResultHandler functionality. */
  106. }
  107. _serviceControl.service = "ObjectService";
  108. _serviceControl.port = "ObjectServicePort";
  109. // sreiner: set endpoint url from config
  110. var model:AppModelLocator = AppModelLocator.getInstance();
  111. var cmisConfig:CMISConfig = model.ecmServerConfig as CMISConfig;
  112. var cmisWebServicesUrl:String = cmisConfig.cmisWebServicesUrl;
  113. _serviceControl.endpointURI = cmisWebServicesUrl + "/ObjectService";
  114. // sreiner: add wsse auth header
  115. var header:SOAPHeader = SOAPHeaderUtil.returnWSSEHeader(model.userInfo.loginUserName, model.userInfo.loginPassword);
  116. _serviceControl.headers.push(header);
  117. // sreiner: set wsdl url using config url
  118. //wsdl = "http://localhost:8080/alfresco/wsdl/CMISWS-Service.wsdl";
  119. wsdl = cmisConfig.cmisWSDLUrl;
  120. model_internal::loadWSDLIfNecessary();
  121. model_internal::initialize();
  122. }
  123. /**
  124. * This method is a generated wrapper used to call the 'updateProperties' operation. It returns an mx.rpc.AsyncToken whose
  125. * result property will be populated with the result of the operation when the server response is received.
  126. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  127. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  128. *
  129. * @see mx.rpc.AsyncToken
  130. * @see mx.rpc.CallResponder
  131. *
  132. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  133. */
  134. public function updateProperties(repositoryId:String, objectId:String, changeToken:String, properties:org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType, extension:ArrayCollection) : mx.rpc.AsyncToken
  135. {
  136. model_internal::loadWSDLIfNecessary();
  137. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("updateProperties");
  138. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,changeToken,properties,extension) ;
  139. return _internal_token;
  140. }
  141. /**
  142. * This method is a generated wrapper used to call the 'createDocumentFromSource' operation. It returns an mx.rpc.AsyncToken whose
  143. * result property will be populated with the result of the operation when the server response is received.
  144. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  145. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  146. *
  147. * @see mx.rpc.AsyncToken
  148. * @see mx.rpc.CallResponder
  149. *
  150. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  151. */
  152. public function createDocumentFromSource(repositoryId:String, sourceId:String, properties:org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType, folderId:String, versioningState:String, policies:ArrayCollection, addACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, removeACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, extension:ArrayCollection) : mx.rpc.AsyncToken
  153. {
  154. model_internal::loadWSDLIfNecessary();
  155. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("createDocumentFromSource");
  156. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,sourceId,properties,folderId,versioningState,policies,addACEs,removeACEs,extension) ;
  157. return _internal_token;
  158. }
  159. /**
  160. * This method is a generated wrapper used to call the 'createFolder' operation. It returns an mx.rpc.AsyncToken whose
  161. * result property will be populated with the result of the operation when the server response is received.
  162. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  163. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  164. *
  165. * @see mx.rpc.AsyncToken
  166. * @see mx.rpc.CallResponder
  167. *
  168. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  169. */
  170. public function createFolder(repositoryId:String, properties:org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType, folderId:String, policies:ArrayCollection, addACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, removeACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, extension:ArrayCollection) : mx.rpc.AsyncToken
  171. {
  172. model_internal::loadWSDLIfNecessary();
  173. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("createFolder");
  174. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,properties,folderId,policies,addACEs,removeACEs,extension) ;
  175. return _internal_token;
  176. }
  177. /**
  178. * This method is a generated wrapper used to call the 'deleteObject' operation. It returns an mx.rpc.AsyncToken whose
  179. * result property will be populated with the result of the operation when the server response is received.
  180. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  181. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  182. *
  183. * @see mx.rpc.AsyncToken
  184. * @see mx.rpc.CallResponder
  185. *
  186. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  187. */
  188. public function deleteObject(repositoryId:String, objectId:String, allVersions:Boolean, extension:ArrayCollection) : mx.rpc.AsyncToken
  189. {
  190. model_internal::loadWSDLIfNecessary();
  191. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("deleteObject");
  192. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,allVersions,extension) ;
  193. return _internal_token;
  194. }
  195. /**
  196. * This method is a generated wrapper used to call the 'createRelationship' operation. It returns an mx.rpc.AsyncToken whose
  197. * result property will be populated with the result of the operation when the server response is received.
  198. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  199. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  200. *
  201. * @see mx.rpc.AsyncToken
  202. * @see mx.rpc.CallResponder
  203. *
  204. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  205. */
  206. public function createRelationship(repositoryId:String, properties:org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType, policies:ArrayCollection, addACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, removeACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, extension:ArrayCollection) : mx.rpc.AsyncToken
  207. {
  208. model_internal::loadWSDLIfNecessary();
  209. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("createRelationship");
  210. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,properties,policies,addACEs,removeACEs,extension) ;
  211. return _internal_token;
  212. }
  213. /**
  214. * This method is a generated wrapper used to call the 'moveObject' operation. It returns an mx.rpc.AsyncToken whose
  215. * result property will be populated with the result of the operation when the server response is received.
  216. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  217. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  218. *
  219. * @see mx.rpc.AsyncToken
  220. * @see mx.rpc.CallResponder
  221. *
  222. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  223. */
  224. public function moveObject(repositoryId:String, objectId:String, targetFolderId:String, sourceFolderId:String, extension:ArrayCollection) : mx.rpc.AsyncToken
  225. {
  226. model_internal::loadWSDLIfNecessary();
  227. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("moveObject");
  228. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,targetFolderId,sourceFolderId,extension) ;
  229. return _internal_token;
  230. }
  231. /**
  232. * This method is a generated wrapper used to call the 'createPolicy' operation. It returns an mx.rpc.AsyncToken whose
  233. * result property will be populated with the result of the operation when the server response is received.
  234. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  235. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  236. *
  237. * @see mx.rpc.AsyncToken
  238. * @see mx.rpc.CallResponder
  239. *
  240. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  241. */
  242. public function createPolicy(repositoryId:String, properties:org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType, folderId:String, policies:ArrayCollection, addACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, removeACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, extension:ArrayCollection) : mx.rpc.AsyncToken
  243. {
  244. model_internal::loadWSDLIfNecessary();
  245. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("createPolicy");
  246. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,properties,folderId,policies,addACEs,removeACEs,extension) ;
  247. return _internal_token;
  248. }
  249. /**
  250. * This method is a generated wrapper used to call the 'getObject' operation. It returns an mx.rpc.AsyncToken whose
  251. * result property will be populated with the result of the operation when the server response is received.
  252. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  253. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  254. *
  255. * @see mx.rpc.AsyncToken
  256. * @see mx.rpc.CallResponder
  257. *
  258. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  259. */
  260. public function getObject(repositoryId:String, objectId:String, filter:String, includeAllowableActions:Boolean, includeRelationships:String, renditionFilter:String, includePolicyIds:Boolean, includeACL:Boolean, extension:ArrayCollection) : mx.rpc.AsyncToken
  261. {
  262. model_internal::loadWSDLIfNecessary();
  263. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getObject");
  264. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,filter,includeAllowableActions,includeRelationships,renditionFilter,includePolicyIds,includeACL,extension) ;
  265. return _internal_token;
  266. }
  267. /**
  268. * This method is a generated wrapper used to call the 'getRenditions' operation. It returns an mx.rpc.AsyncToken whose
  269. * result property will be populated with the result of the operation when the server response is received.
  270. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  271. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  272. *
  273. * @see mx.rpc.AsyncToken
  274. * @see mx.rpc.CallResponder
  275. *
  276. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  277. */
  278. public function getRenditions(repositoryId:String, objectId:String, renditionFilter:String, maxItems:int, skipCount:int, extension:ArrayCollection) : mx.rpc.AsyncToken
  279. {
  280. model_internal::loadWSDLIfNecessary();
  281. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getRenditions");
  282. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,renditionFilter,maxItems,skipCount,extension) ;
  283. return _internal_token;
  284. }
  285. /**
  286. * This method is a generated wrapper used to call the 'setContentStream' operation. It returns an mx.rpc.AsyncToken whose
  287. * result property will be populated with the result of the operation when the server response is received.
  288. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  289. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  290. *
  291. * @see mx.rpc.AsyncToken
  292. * @see mx.rpc.CallResponder
  293. *
  294. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  295. */
  296. public function setContentStream(repositoryId:String, objectId:String, overwriteFlag:Boolean, changeToken:String, contentStream:org.integratedsemantics.cmis.soap.valueobject.CmisContentStreamType, extension:ArrayCollection) : mx.rpc.AsyncToken
  297. {
  298. model_internal::loadWSDLIfNecessary();
  299. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("setContentStream");
  300. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,overwriteFlag,changeToken,contentStream,extension) ;
  301. return _internal_token;
  302. }
  303. /**
  304. * This method is a generated wrapper used to call the 'getContentStream' operation. It returns an mx.rpc.AsyncToken whose
  305. * result property will be populated with the result of the operation when the server response is received.
  306. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  307. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  308. *
  309. * @see mx.rpc.AsyncToken
  310. * @see mx.rpc.CallResponder
  311. *
  312. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  313. */
  314. public function getContentStream(repositoryId:String, objectId:String, streamId:String, offset:int, length:int, extension:ArrayCollection) : mx.rpc.AsyncToken
  315. {
  316. model_internal::loadWSDLIfNecessary();
  317. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getContentStream");
  318. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,streamId,offset,length,extension) ;
  319. return _internal_token;
  320. }
  321. /**
  322. * This method is a generated wrapper used to call the 'getAllowableActions' operation. It returns an mx.rpc.AsyncToken whose
  323. * result property will be populated with the result of the operation when the server response is received.
  324. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  325. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  326. *
  327. * @see mx.rpc.AsyncToken
  328. * @see mx.rpc.CallResponder
  329. *
  330. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  331. */
  332. public function getAllowableActions(repositoryId:String, objectId:String, extension:ArrayCollection) : mx.rpc.AsyncToken
  333. {
  334. model_internal::loadWSDLIfNecessary();
  335. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getAllowableActions");
  336. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,extension) ;
  337. return _internal_token;
  338. }
  339. /**
  340. * This method is a generated wrapper used to call the 'getObjectByPath' operation. It returns an mx.rpc.AsyncToken whose
  341. * result property will be populated with the result of the operation when the server response is received.
  342. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  343. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  344. *
  345. * @see mx.rpc.AsyncToken
  346. * @see mx.rpc.CallResponder
  347. *
  348. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  349. */
  350. public function getObjectByPath(repositoryId:String, path:String, filter:String, includeAllowableActions:Boolean, includeRelationships:String, renditionFilter:String, includePolicyIds:Boolean, includeACL:Boolean, extension:ArrayCollection) : mx.rpc.AsyncToken
  351. {
  352. model_internal::loadWSDLIfNecessary();
  353. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getObjectByPath");
  354. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,path,filter,includeAllowableActions,includeRelationships,renditionFilter,includePolicyIds,includeACL,extension) ;
  355. return _internal_token;
  356. }
  357. /**
  358. * This method is a generated wrapper used to call the 'deleteTree' operation. It returns an mx.rpc.AsyncToken whose
  359. * result property will be populated with the result of the operation when the server response is received.
  360. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  361. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  362. *
  363. * @see mx.rpc.AsyncToken
  364. * @see mx.rpc.CallResponder
  365. *
  366. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  367. */
  368. public function deleteTree(repositoryId:String, folderId:String, allVersions:Boolean, unfileObjects:String, continueOnFailure:Boolean, extension:ArrayCollection) : mx.rpc.AsyncToken
  369. {
  370. model_internal::loadWSDLIfNecessary();
  371. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("deleteTree");
  372. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,folderId,allVersions,unfileObjects,continueOnFailure,extension) ;
  373. return _internal_token;
  374. }
  375. /**
  376. * This method is a generated wrapper used to call the 'getProperties' operation. It returns an mx.rpc.AsyncToken whose
  377. * result property will be populated with the result of the operation when the server response is received.
  378. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  379. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  380. *
  381. * @see mx.rpc.AsyncToken
  382. * @see mx.rpc.CallResponder
  383. *
  384. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  385. */
  386. public function getProperties(repositoryId:String, objectId:String, filter:String, extension:ArrayCollection) : mx.rpc.AsyncToken
  387. {
  388. model_internal::loadWSDLIfNecessary();
  389. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getProperties");
  390. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,filter,extension) ;
  391. return _internal_token;
  392. }
  393. /**
  394. * This method is a generated wrapper used to call the 'deleteContentStream' operation. It returns an mx.rpc.AsyncToken whose
  395. * result property will be populated with the result of the operation when the server response is received.
  396. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  397. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  398. *
  399. * @see mx.rpc.AsyncToken
  400. * @see mx.rpc.CallResponder
  401. *
  402. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  403. */
  404. public function deleteContentStream(repositoryId:String, objectId:String, changeToken:String, extension:ArrayCollection) : mx.rpc.AsyncToken
  405. {
  406. model_internal::loadWSDLIfNecessary();
  407. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("deleteContentStream");
  408. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,objectId,changeToken,extension) ;
  409. return _internal_token;
  410. }
  411. /**
  412. * This method is a generated wrapper used to call the 'createDocument' operation. It returns an mx.rpc.AsyncToken whose
  413. * result property will be populated with the result of the operation when the server response is received.
  414. * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
  415. * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
  416. *
  417. * @see mx.rpc.AsyncToken
  418. * @see mx.rpc.CallResponder
  419. *
  420. * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
  421. */
  422. public function createDocument(repositoryId:String, properties:org.integratedsemantics.cmis.soap.valueobject.CmisPropertiesType, folderId:String, contentStream:org.integratedsemantics.cmis.soap.valueobject.CmisContentStreamType, versioningState:String, policies:ArrayCollection, addACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, removeACEs:org.integratedsemantics.cmis.soap.valueobject.CmisAccessControlListType, extension:ArrayCollection) : mx.rpc.AsyncToken
  423. {
  424. model_internal::loadWSDLIfNecessary();
  425. var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("createDocument");
  426. var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(repositoryId,properties,folderId,contentStream,versioningState,policies,addACEs,removeACEs,extension) ;
  427. return _internal_token;
  428. }
  429. }
  430. }