Exemplo n.º 1
0
 public ResultStatus GetActions(
     PLMApprovePackage pLMApprovePackage,
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     return(this.GetActions(pLMApprovePackage, (PLMApprovePackage_Parameters)null, request, out result));
 }
Exemplo n.º 2
0
 public ResultStatus CreateParametricData(
     PLMApprovePackage pLMApprovePackage,
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     return(this.CreateParametricData(pLMApprovePackage, (PLMApprovePackage_Parameters)null, request, out result));
 }
Exemplo n.º 3
0
 public ResultStatus ProcessComputation(
     PLMApprovePackage pLMApprovePackage,
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     return(this.ProcessComputation(pLMApprovePackage, (PLMApprovePackage_Parameters)null, request, out result));
 }
Exemplo n.º 4
0
 public ResultStatus LoadESigDetails(
     PLMApprovePackage pLMApprovePackage,
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     return(this.LoadESigDetails(pLMApprovePackage, (PLMApprovePackage_LoadESigDetails_Parameters)null, request, out result));
 }
Exemplo n.º 5
0
 public ResultStatus GetEnvironment(
     PLMApprovePackage cdo,
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     result = (PLMApprovePackage_Result)null;
     try
     {
         return(((IPLMApprovePackageService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 6
0
 public ResultStatus CommitTransaction(
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     result = (PLMApprovePackage_Result)null;
     try
     {
         PLMApprovePackageMethod[] methods = new PLMApprovePackageMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IPLMApprovePackageService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemplo n.º 7
0
        public ResultStatus ExecuteTransaction(
            PLMApprovePackage cdo,
            PLMApprovePackage_Request request,
            out PLMApprovePackage_Result result)
        {
            result = (PLMApprovePackage_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPLMApprovePackageService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new PLMApprovePackageMethod(cdo, PLMApprovePackageMethods.ExecuteTransaction, (PLMApprovePackage_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);
        }
Exemplo n.º 8
0
        public ResultStatus GetActions(
            PLMApprovePackage pLMApprovePackage,
            PLMApprovePackage_Parameters parameters,
            PLMApprovePackage_Request request,
            out PLMApprovePackage_Result result)
        {
            result = (PLMApprovePackage_Result)null;
            this.OnBeforeCall(nameof(GetActions), (DCObject)pLMApprovePackage, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPLMApprovePackageService)this._Channel).GetActions(this._UserProfile, pLMApprovePackage, parameters, request, out result) : this.AddMethod((Method) new PLMApprovePackageMethod(pLMApprovePackage, PLMApprovePackageMethods.GetActions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(GetActions), res, (DCObject)pLMApprovePackage, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemplo n.º 9
0
 public ResultStatus ExecuteTransaction(
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     return(this.ExecuteTransaction((PLMApprovePackage)null, request, out result));
 }
Exemplo n.º 10
0
 public ResultStatus GetEnvironment(
     PLMApprovePackage_Request request,
     out PLMApprovePackage_Result result)
 {
     return(this.GetEnvironment((PLMApprovePackage)null, request, out result));
 }