public Document DocumentUpdate(string DocumentIdentifier, string DocumentComments) { Document DocumentCurrent; EditDocArguments DocumentArgs = new EditDocArguments(); DocumentCurrent = _doc.DocumentGet(DocumentIdentifier); DocumentArgs.Comments = DocumentComments; _act.DocumentUpdate(DocumentArgs,DocumentCurrent); return DocumentCurrent; }
public void DocumentChangeStatus(string DocumentId, string StatusId) { Document myDocument; EditDocArguments eDocArgs = new EditDocArguments(); myDocument = _doc.DocumentGet(DocumentId); myDocument.Status = StatusId; eDocArgs.Comments = ""; _act.DocumentUpdate(eDocArgs, myDocument); }
/// <remarks/> public void DocumentUpdateAsync(EditDocArguments arg, Document newDocument, object userState) { if ((this.DocumentUpdateOperationCompleted == null)) { this.DocumentUpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDocumentUpdateOperationCompleted); } this.InvokeAsync("DocumentUpdate", new object[] { arg, newDocument}, this.DocumentUpdateOperationCompleted, userState); }
/// <remarks/> public void DocumentUpdateAsync(EditDocArguments arg, Document newDocument) { this.DocumentUpdateAsync(arg, newDocument, null); }
public Document DocumentUpdate(EditDocArguments arg, Document newDocument) { object[] results = this.Invoke("DocumentUpdate", new object[] { arg, newDocument}); return ((Document)(results[0])); }
/// <remarks/> public System.IAsyncResult BeginDocumentUpdate(EditDocArguments arg, Document newDocument, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("DocumentUpdate", new object[] { arg, newDocument}, callback, asyncState); }