Пример #1
0
 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;
 }
Пример #2
0
 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);
 }
Пример #3
0
 /// <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);
 }
Пример #4
0
 /// <remarks/>
 public void DocumentUpdateAsync(EditDocArguments arg, Document newDocument)
 {
     this.DocumentUpdateAsync(arg, newDocument, null);
 }
Пример #5
0
 public Document DocumentUpdate(EditDocArguments arg, Document newDocument)
 {
     object[] results = this.Invoke("DocumentUpdate", new object[] {
                 arg,
                 newDocument});
     return ((Document)(results[0]));
 }
Пример #6
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);
 }