Beispiel #1
0
 public ResultStatus LoadESigDetails(
     SubentityMaintenance subentityMaintenance,
     SubentityMaintenance_Request request,
     out SubentityMaintenance_Result result)
 {
     return(this.LoadESigDetails(subentityMaintenance, (SubentityMaintenance_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus Freeze(
     SubentityMaintenance subentityMaintenance,
     SubentityMaintenance_Request request,
     out SubentityMaintenance_Result result)
 {
     return(this.Freeze(subentityMaintenance, (SubentityMaintenance_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetWIPMsgs(
     SubentityMaintenance subentityMaintenance,
     SubentityMaintenance_Request request,
     out SubentityMaintenance_Result result)
 {
     return(this.GetWIPMsgs(subentityMaintenance, (SubentityMaintenance_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetEnvironment(
     SubentityMaintenance cdo,
     SubentityMaintenance_Request request,
     out SubentityMaintenance_Result result)
 {
     result = (SubentityMaintenance_Result)null;
     try
     {
         return(((ISubentityMaintenanceService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
 public ResultStatus CommitTransaction(
     SubentityMaintenance_Request request,
     out SubentityMaintenance_Result result)
 {
     result = (SubentityMaintenance_Result)null;
     try
     {
         SubentityMaintenanceMethod[] methods = new SubentityMaintenanceMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((ISubentityMaintenanceService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
        public ResultStatus ExecuteTransaction(
            SubentityMaintenance cdo,
            SubentityMaintenance_Request request,
            out SubentityMaintenance_Result result)
        {
            result = (SubentityMaintenance_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISubentityMaintenanceService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new SubentityMaintenanceMethod(cdo, SubentityMaintenanceMethods.ExecuteTransaction, (SubentityMaintenance_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(
            SubentityMaintenance subentityMaintenance,
            SubentityMaintenance_Parameters parameters,
            SubentityMaintenance_Request request,
            out SubentityMaintenance_Result result)
        {
            result = (SubentityMaintenance_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)subentityMaintenance, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((ISubentityMaintenanceService)this._Channel).Freeze(this._UserProfile, subentityMaintenance, parameters, request, out result) : this.AddMethod((Method) new SubentityMaintenanceMethod(subentityMaintenance, SubentityMaintenanceMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)subentityMaintenance, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #8
0
 public ResultStatus ExecuteTransaction(
     SubentityMaintenance_Request request,
     out SubentityMaintenance_Result result)
 {
     return(this.ExecuteTransaction((SubentityMaintenance)null, request, out result));
 }
Beispiel #9
0
 public ResultStatus GetEnvironment(
     SubentityMaintenance_Request request,
     out SubentityMaintenance_Result result)
 {
     return(this.GetEnvironment((SubentityMaintenance)null, request, out result));
 }