Example #1
0
 public ResultStatus Freeze(
     ApprovalDecisionListMaint approvalDecisionListMaint,
     ApprovalDecisionListMaint_Request request,
     out ApprovalDecisionListMaint_Result result)
 {
     return(this.Freeze(approvalDecisionListMaint, (ApprovalDecisionListMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus LoadESigDetails(
     ApprovalDecisionListMaint approvalDecisionListMaint,
     ApprovalDecisionListMaint_Request request,
     out ApprovalDecisionListMaint_Result result)
 {
     return(this.LoadESigDetails(approvalDecisionListMaint, (ApprovalDecisionListMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetEnvironment(
     ApprovalDecisionListMaint cdo,
     ApprovalDecisionListMaint_Request request,
     out ApprovalDecisionListMaint_Result result)
 {
     result = (ApprovalDecisionListMaint_Result)null;
     try
     {
         return(((IApprovalDecisionListMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #4
0
 public ResultStatus CommitTransaction(
     ApprovalDecisionListMaint_Request request,
     out ApprovalDecisionListMaint_Result result)
 {
     result = (ApprovalDecisionListMaint_Result)null;
     try
     {
         ApprovalDecisionListMaintMethod[] methods = new ApprovalDecisionListMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IApprovalDecisionListMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #5
0
        public ResultStatus ExecuteTransaction(
            ApprovalDecisionListMaint cdo,
            ApprovalDecisionListMaint_Request request,
            out ApprovalDecisionListMaint_Result result)
        {
            result = (ApprovalDecisionListMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalDecisionListMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ApprovalDecisionListMaintMethod(cdo, ApprovalDecisionListMaintMethods.ExecuteTransaction, (ApprovalDecisionListMaint_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 #6
0
        public ResultStatus Freeze(
            ApprovalDecisionListMaint approvalDecisionListMaint,
            ApprovalDecisionListMaint_Parameters parameters,
            ApprovalDecisionListMaint_Request request,
            out ApprovalDecisionListMaint_Result result)
        {
            result = (ApprovalDecisionListMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)approvalDecisionListMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApprovalDecisionListMaintService)this._Channel).Freeze(this._UserProfile, approvalDecisionListMaint, parameters, request, out result) : this.AddMethod((Method) new ApprovalDecisionListMaintMethod(approvalDecisionListMaint, ApprovalDecisionListMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)approvalDecisionListMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #7
0
 public ResultStatus ExecuteTransaction(
     ApprovalDecisionListMaint_Request request,
     out ApprovalDecisionListMaint_Result result)
 {
     return(this.ExecuteTransaction((ApprovalDecisionListMaint)null, request, out result));
 }
Example #8
0
 public ResultStatus GetEnvironment(
     ApprovalDecisionListMaint_Request request,
     out ApprovalDecisionListMaint_Result result)
 {
     return(this.GetEnvironment((ApprovalDecisionListMaint)null, request, out result));
 }