Example #1
0
 public ResultStatus Freeze(
     ApplicationMaint applicationMaint,
     ApplicationMaint_Request request,
     out ApplicationMaint_Result result)
 {
     return(this.Freeze(applicationMaint, (ApplicationMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus LoadESigDetails(
     ApplicationMaint applicationMaint,
     ApplicationMaint_Request request,
     out ApplicationMaint_Result result)
 {
     return(this.LoadESigDetails(applicationMaint, (ApplicationMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetWIPMsgs(
     ApplicationMaint applicationMaint,
     ApplicationMaint_Request request,
     out ApplicationMaint_Result result)
 {
     return(this.GetWIPMsgs(applicationMaint, (ApplicationMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ApplicationMaintMethod(
     ApplicationMaint Cdo,
     ApplicationMaintMethods Method,
     ApplicationMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Example #5
0
 public ResultStatus GetEnvironment(
     ApplicationMaint cdo,
     ApplicationMaint_Request request,
     out ApplicationMaint_Result result)
 {
     result = (ApplicationMaint_Result)null;
     try
     {
         return(((IApplicationMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
        public ResultStatus AddDataTransaction(ApplicationMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new ApplicationMaintMethod(cdo, ApplicationMaintMethods.AddDataTransaction, (ApplicationMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Example #7
0
        public ResultStatus ExecuteTransaction(
            ApplicationMaint cdo,
            ApplicationMaint_Request request,
            out ApplicationMaint_Result result)
        {
            result = (ApplicationMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApplicationMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ApplicationMaintMethod(cdo, ApplicationMaintMethods.ExecuteTransaction, (ApplicationMaint_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 Freeze(
            ApplicationMaint applicationMaint,
            ApplicationMaint_Parameters parameters,
            ApplicationMaint_Request request,
            out ApplicationMaint_Result result)
        {
            result = (ApplicationMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)applicationMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IApplicationMaintService)this._Channel).Freeze(this._UserProfile, applicationMaint, parameters, request, out result) : this.AddMethod((Method) new ApplicationMaintMethod(applicationMaint, ApplicationMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)applicationMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #9
0
 public ResultStatus ExecuteTransaction(ApplicationMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (ApplicationMaint_Request)null, out ApplicationMaint_Result _));
 }
Example #10
0
 public ResultStatus Delete(ApplicationMaint applicationMaint)
 {
     return(this.Delete(applicationMaint, (ApplicationMaint_Parameters)null, (ApplicationMaint_Request)null, out ApplicationMaint_Result _));
 }