Beispiel #1
0
 public ResultStatus UnFreeze(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.UnFreeze(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus DeleteAllRevisions(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.DeleteAllRevisions(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus SaveAsRev(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.SaveAsRev(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus NewRevCopy(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.NewRevCopy(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
Beispiel #5
0
 public ResultStatus LoadESigDetails(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.LoadESigDetails(bOMMaint, (BOMMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #6
0
 public ResultStatus GetWIPMsgs(
     BOMMaint bOMMaint,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.GetWIPMsgs(bOMMaint, (BOMMaint_Parameters)null, request, out result));
 }
Beispiel #7
0
 public ResultStatus GetEnvironment(
     BOMMaint cdo,
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     result = (BOMMaint_Result)null;
     try
     {
         return(((IBOMMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #8
0
 public ResultStatus CommitTransaction(
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     result = (BOMMaint_Result)null;
     try
     {
         BOMMaintMethod[] methods = new BOMMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IBOMMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #9
0
        public ResultStatus ExecuteTransaction(
            BOMMaint cdo,
            BOMMaint_Request request,
            out BOMMaint_Result result)
        {
            result = (BOMMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBOMMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new BOMMaintMethod(cdo, BOMMaintMethods.ExecuteTransaction, (BOMMaint_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 #10
0
        public ResultStatus DeleteAllRevisions(
            BOMMaint bOMMaint,
            BOMMaint_Parameters parameters,
            BOMMaint_Request request,
            out BOMMaint_Result result)
        {
            result = (BOMMaint_Result)null;
            this.OnBeforeCall(nameof(DeleteAllRevisions), (DCObject)bOMMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IBOMMaintService)this._Channel).DeleteAllRevisions(this._UserProfile, bOMMaint, parameters, request, out result) : this.AddMethod((Method) new BOMMaintMethod(bOMMaint, BOMMaintMethods.DeleteAllRevisions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(DeleteAllRevisions), res, (DCObject)bOMMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #11
0
 public ResultStatus ExecuteTransaction(
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.ExecuteTransaction((BOMMaint)null, request, out result));
 }
Beispiel #12
0
 public ResultStatus GetEnvironment(
     BOMMaint_Request request,
     out BOMMaint_Result result)
 {
     return(this.GetEnvironment((BOMMaint)null, request, out result));
 }