Exemple #1
0
 public ResultStatus UnFreeze(
     SwitchingRuleMaint switchingRuleMaint,
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.UnFreeze(switchingRuleMaint, (SwitchingRuleMaint_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus DeleteAllRevisions(
     SwitchingRuleMaint switchingRuleMaint,
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.DeleteAllRevisions(switchingRuleMaint, (SwitchingRuleMaint_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus SaveAsRev(
     SwitchingRuleMaint switchingRuleMaint,
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.SaveAsRev(switchingRuleMaint, (SwitchingRuleMaint_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus NewRevCopy(
     SwitchingRuleMaint switchingRuleMaint,
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.NewRevCopy(switchingRuleMaint, (SwitchingRuleMaint_Parameters)null, request, out result));
 }
Exemple #5
0
 public ResultStatus LoadESigDetails(
     SwitchingRuleMaint switchingRuleMaint,
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.LoadESigDetails(switchingRuleMaint, (SwitchingRuleMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #6
0
 public ResultStatus GetWIPMsgs(
     SwitchingRuleMaint switchingRuleMaint,
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.GetWIPMsgs(switchingRuleMaint, (SwitchingRuleMaint_Parameters)null, request, out result));
 }
Exemple #7
0
 public SwitchingRuleMaintMethod(
     SwitchingRuleMaint Cdo,
     SwitchingRuleMaintMethods Method,
     SwitchingRuleMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Exemple #8
0
 public ResultStatus GetEnvironment(
     SwitchingRuleMaint cdo,
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     result = (SwitchingRuleMaint_Result)null;
     try
     {
         return(((ISwitchingRuleMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #9
0
        public ResultStatus AddDataTransaction(SwitchingRuleMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new SwitchingRuleMaintMethod(cdo, SwitchingRuleMaintMethods.AddDataTransaction, (SwitchingRuleMaint_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);
        }
Exemple #10
0
        public ResultStatus ExecuteTransaction(
            SwitchingRuleMaint cdo,
            SwitchingRuleMaint_Request request,
            out SwitchingRuleMaint_Result result)
        {
            result = (SwitchingRuleMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISwitchingRuleMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SwitchingRuleMaintMethod(cdo, SwitchingRuleMaintMethods.ExecuteTransaction, (SwitchingRuleMaint_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 #11
0
        public ResultStatus DeleteAllRevisions(
            SwitchingRuleMaint switchingRuleMaint,
            SwitchingRuleMaint_Parameters parameters,
            SwitchingRuleMaint_Request request,
            out SwitchingRuleMaint_Result result)
        {
            result = (SwitchingRuleMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)switchingRuleMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISwitchingRuleMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, switchingRuleMaint, parameters, request, out result) : this.AddMethod((Method) new SwitchingRuleMaintMethod(switchingRuleMaint, SwitchingRuleMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)switchingRuleMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #12
0
 public ResultStatus ExecuteTransaction(SwitchingRuleMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (SwitchingRuleMaint_Request)null, out SwitchingRuleMaint_Result _));
 }
Exemple #13
0
 public ResultStatus Delete(SwitchingRuleMaint switchingRuleMaint)
 {
     return(this.Delete(switchingRuleMaint, (SwitchingRuleMaint_Parameters)null, (SwitchingRuleMaint_Request)null, out SwitchingRuleMaint_Result _));
 }