Exemple #1
0
 public ResultStatus GetActions(
     ApprovalTxn approvalTxn,
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     return(this.GetActions(approvalTxn, (ApprovalTxn_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus CreateParametricData(
     ApprovalTxn approvalTxn,
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     return(this.CreateParametricData(approvalTxn, (ApprovalTxn_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus ProcessComputation(
     ApprovalTxn approvalTxn,
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     return(this.ProcessComputation(approvalTxn, (ApprovalTxn_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus LoadESigDetails(
     ApprovalTxn approvalTxn,
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     return(this.LoadESigDetails(approvalTxn, (ApprovalTxn_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #5
0
 public ResultStatus GetEnvironment(
     ApprovalTxn cdo,
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     result = (ApprovalTxn_Result)null;
     try
     {
         return(((IApprovalTxnService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
 public ResultStatus CommitTransaction(
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     result = (ApprovalTxn_Result)null;
     try
     {
         ApprovalTxnMethod[] methods = new ApprovalTxnMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IApprovalTxnService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #7
0
        public ResultStatus ExecuteTransaction(
            ApprovalTxn cdo,
            ApprovalTxn_Request request,
            out ApprovalTxn_Result result)
        {
            result = (ApprovalTxn_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalTxnService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ApprovalTxnMethod(cdo, ApprovalTxnMethods.ExecuteTransaction, (ApprovalTxn_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);
        }
Exemple #8
0
        public ResultStatus GetActions(
            ApprovalTxn approvalTxn,
            ApprovalTxn_Parameters parameters,
            ApprovalTxn_Request request,
            out ApprovalTxn_Result result)
        {
            result = (ApprovalTxn_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)approvalTxn, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalTxnService)this._Channel).GetActions(this._UserProfile, approvalTxn, parameters, request, out result) : this.AddMethod((Method) new ApprovalTxnMethod(approvalTxn, ApprovalTxnMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)approvalTxn, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #9
0
 public ResultStatus ExecuteTransaction(
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     return(this.ExecuteTransaction((ApprovalTxn)null, request, out result));
 }
Exemple #10
0
 public ResultStatus GetEnvironment(
     ApprovalTxn_Request request,
     out ApprovalTxn_Result result)
 {
     return(this.GetEnvironment((ApprovalTxn)null, request, out result));
 }