Esempio n. 1
0
 public ResultStatus LoadESigDetails(
     MaintenanceClassMaint maintenanceClassMaint,
     MaintenanceClassMaint_Request request,
     out MaintenanceClassMaint_Result result)
 {
     return(this.LoadESigDetails(maintenanceClassMaint, (MaintenanceClassMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus Freeze(
     MaintenanceClassMaint maintenanceClassMaint,
     MaintenanceClassMaint_Request request,
     out MaintenanceClassMaint_Result result)
 {
     return(this.Freeze(maintenanceClassMaint, (MaintenanceClassMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus GetWIPMsgs(
     MaintenanceClassMaint maintenanceClassMaint,
     MaintenanceClassMaint_Request request,
     out MaintenanceClassMaint_Result result)
 {
     return(this.GetWIPMsgs(maintenanceClassMaint, (MaintenanceClassMaint_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus GetEnvironment(
     MaintenanceClassMaint cdo,
     MaintenanceClassMaint_Request request,
     out MaintenanceClassMaint_Result result)
 {
     result = (MaintenanceClassMaint_Result)null;
     try
     {
         return(((IMaintenanceClassMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 5
0
 public ResultStatus CommitTransaction(
     MaintenanceClassMaint_Request request,
     out MaintenanceClassMaint_Result result)
 {
     result = (MaintenanceClassMaint_Result)null;
     try
     {
         MaintenanceClassMaintMethod[] methods = new MaintenanceClassMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IMaintenanceClassMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
        public ResultStatus ExecuteTransaction(
            MaintenanceClassMaint cdo,
            MaintenanceClassMaint_Request request,
            out MaintenanceClassMaint_Result result)
        {
            result = (MaintenanceClassMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMaintenanceClassMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new MaintenanceClassMaintMethod(cdo, MaintenanceClassMaintMethods.ExecuteTransaction, (MaintenanceClassMaint_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);
        }
Esempio n. 7
0
        public ResultStatus Freeze(
            MaintenanceClassMaint maintenanceClassMaint,
            MaintenanceClassMaint_Parameters parameters,
            MaintenanceClassMaint_Request request,
            out MaintenanceClassMaint_Result result)
        {
            result = (MaintenanceClassMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)maintenanceClassMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IMaintenanceClassMaintService)this._Channel).Freeze(this._UserProfile, maintenanceClassMaint, parameters, request, out result) : this.AddMethod((Method) new MaintenanceClassMaintMethod(maintenanceClassMaint, MaintenanceClassMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)maintenanceClassMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 8
0
 public ResultStatus ExecuteTransaction(
     MaintenanceClassMaint_Request request,
     out MaintenanceClassMaint_Result result)
 {
     return(this.ExecuteTransaction((MaintenanceClassMaint)null, request, out result));
 }
Esempio n. 9
0
 public ResultStatus GetEnvironment(
     MaintenanceClassMaint_Request request,
     out MaintenanceClassMaint_Result result)
 {
     return(this.GetEnvironment((MaintenanceClassMaint)null, request, out result));
 }