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 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 #8
0
 public ResultStatus CommitTransaction(
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     result = (SwitchingRuleMaint_Result)null;
     try
     {
         SwitchingRuleMaintMethod[] methods = new SwitchingRuleMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISwitchingRuleMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #9
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 #10
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 #11
0
 public ResultStatus ExecuteTransaction(
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.ExecuteTransaction((SwitchingRuleMaint)null, request, out result));
 }
Exemple #12
0
 public ResultStatus GetEnvironment(
     SwitchingRuleMaint_Request request,
     out SwitchingRuleMaint_Result result)
 {
     return(this.GetEnvironment((SwitchingRuleMaint)null, request, out result));
 }