Example #1
0
 public ResultStatus GetActions(
     HistoryViewTxn historyViewTxn,
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     return(this.GetActions(historyViewTxn, (HistoryViewTxn_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus CreateParametricData(
     HistoryViewTxn historyViewTxn,
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     return(this.CreateParametricData(historyViewTxn, (HistoryViewTxn_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus ProcessComputation(
     HistoryViewTxn historyViewTxn,
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     return(this.ProcessComputation(historyViewTxn, (HistoryViewTxn_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus LoadESigDetails(
     HistoryViewTxn historyViewTxn,
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     return(this.LoadESigDetails(historyViewTxn, (HistoryViewTxn_LoadESigDetails_Parameters)null, request, out result));
 }
Example #5
0
 public ResultStatus GetEnvironment(
     HistoryViewTxn cdo,
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     result = (HistoryViewTxn_Result)null;
     try
     {
         return(((IHistoryViewTxnService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
 public ResultStatus CommitTransaction(
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     result = (HistoryViewTxn_Result)null;
     try
     {
         HistoryViewTxnMethod[] methods = new HistoryViewTxnMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IHistoryViewTxnService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #7
0
        public ResultStatus ExecuteTransaction(
            HistoryViewTxn cdo,
            HistoryViewTxn_Request request,
            out HistoryViewTxn_Result result)
        {
            result = (HistoryViewTxn_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHistoryViewTxnService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new HistoryViewTxnMethod(cdo, HistoryViewTxnMethods.ExecuteTransaction, (HistoryViewTxn_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(ExecuteTransaction), res, (DCObject)cdo, (Parameters)null, (Request)request, (Result)result);
            }
            return(res);
        }
Example #8
0
        public ResultStatus GetActions(
            HistoryViewTxn historyViewTxn,
            HistoryViewTxn_Parameters parameters,
            HistoryViewTxn_Request request,
            out HistoryViewTxn_Result result)
        {
            result = (HistoryViewTxn_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)historyViewTxn, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IHistoryViewTxnService)this._Channel).GetActions(this._UserProfile, historyViewTxn, parameters, request, out result) : this.AddMethod((Method) new HistoryViewTxnMethod(historyViewTxn, HistoryViewTxnMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)historyViewTxn, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #9
0
 public ResultStatus ExecuteTransaction(
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     return(this.ExecuteTransaction((HistoryViewTxn)null, request, out result));
 }
Example #10
0
 public ResultStatus GetEnvironment(
     HistoryViewTxn_Request request,
     out HistoryViewTxn_Result result)
 {
     return(this.GetEnvironment((HistoryViewTxn)null, request, out result));
 }