Beispiel #1
0
 public ResultStatus LoadESigDetails(
     TargetSystemMaint targetSystemMaint,
     TargetSystemMaint_Request request,
     out TargetSystemMaint_Result result)
 {
     return(this.LoadESigDetails(targetSystemMaint, (TargetSystemMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     TargetSystemMaint targetSystemMaint,
     TargetSystemMaint_Request request,
     out TargetSystemMaint_Result result)
 {
     return(this.Freeze(targetSystemMaint, (TargetSystemMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     TargetSystemMaint targetSystemMaint,
     TargetSystemMaint_Request request,
     out TargetSystemMaint_Result result)
 {
     return(this.GetWIPMsgs(targetSystemMaint, (TargetSystemMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     TargetSystemMaint cdo,
     TargetSystemMaint_Request request,
     out TargetSystemMaint_Result result)
 {
     result = (TargetSystemMaint_Result)null;
     try
     {
         return(((ITargetSystemMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     TargetSystemMaint_Request request,
     out TargetSystemMaint_Result result)
 {
     result = (TargetSystemMaint_Result)null;
     try
     {
         TargetSystemMaintMethod[] methods = new TargetSystemMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ITargetSystemMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            TargetSystemMaint cdo,
            TargetSystemMaint_Request request,
            out TargetSystemMaint_Result result)
        {
            result = (TargetSystemMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITargetSystemMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new TargetSystemMaintMethod(cdo, TargetSystemMaintMethods.ExecuteTransaction, (TargetSystemMaint_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);
        }
Beispiel #7
0
        public ResultStatus Freeze(
            TargetSystemMaint targetSystemMaint,
            TargetSystemMaint_Parameters parameters,
            TargetSystemMaint_Request request,
            out TargetSystemMaint_Result result)
        {
            result = (TargetSystemMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)targetSystemMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ITargetSystemMaintService)this._Channel).Freeze(this._UserProfile, targetSystemMaint, parameters, request, out result) : this.AddMethod((Method) new TargetSystemMaintMethod(targetSystemMaint, TargetSystemMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)targetSystemMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     TargetSystemMaint_Request request,
     out TargetSystemMaint_Result result)
 {
     return(this.ExecuteTransaction((TargetSystemMaint)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     TargetSystemMaint_Request request,
     out TargetSystemMaint_Result result)
 {
     return(this.GetEnvironment((TargetSystemMaint)null, request, out result));
 }