Esempio n. 1
0
 public ResultStatus LoadESigDetails(
     NotificationTargetMaint notificationTargetMaint,
     NotificationTargetMaint_Request request,
     out NotificationTargetMaint_Result result)
 {
     return(this.LoadESigDetails(notificationTargetMaint, (NotificationTargetMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus Freeze(
     NotificationTargetMaint notificationTargetMaint,
     NotificationTargetMaint_Request request,
     out NotificationTargetMaint_Result result)
 {
     return(this.Freeze(notificationTargetMaint, (NotificationTargetMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus GetWIPMsgs(
     NotificationTargetMaint notificationTargetMaint,
     NotificationTargetMaint_Request request,
     out NotificationTargetMaint_Result result)
 {
     return(this.GetWIPMsgs(notificationTargetMaint, (NotificationTargetMaint_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus GetEnvironment(
     NotificationTargetMaint cdo,
     NotificationTargetMaint_Request request,
     out NotificationTargetMaint_Result result)
 {
     result = (NotificationTargetMaint_Result)null;
     try
     {
         return(((INotificationTargetMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 5
0
 public ResultStatus CommitTransaction(
     NotificationTargetMaint_Request request,
     out NotificationTargetMaint_Result result)
 {
     result = (NotificationTargetMaint_Result)null;
     try
     {
         NotificationTargetMaintMethod[] methods = new NotificationTargetMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((INotificationTargetMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
        public ResultStatus ExecuteTransaction(
            NotificationTargetMaint cdo,
            NotificationTargetMaint_Request request,
            out NotificationTargetMaint_Result result)
        {
            result = (NotificationTargetMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INotificationTargetMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new NotificationTargetMaintMethod(cdo, NotificationTargetMaintMethods.ExecuteTransaction, (NotificationTargetMaint_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(
            NotificationTargetMaint notificationTargetMaint,
            NotificationTargetMaint_Parameters parameters,
            NotificationTargetMaint_Request request,
            out NotificationTargetMaint_Result result)
        {
            result = (NotificationTargetMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)notificationTargetMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((INotificationTargetMaintService)this._Channel).Freeze(this._UserProfile, notificationTargetMaint, parameters, request, out result) : this.AddMethod((Method) new NotificationTargetMaintMethod(notificationTargetMaint, NotificationTargetMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)notificationTargetMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 8
0
 public ResultStatus ExecuteTransaction(
     NotificationTargetMaint_Request request,
     out NotificationTargetMaint_Result result)
 {
     return(this.ExecuteTransaction((NotificationTargetMaint)null, request, out result));
 }
Esempio n. 9
0
 public ResultStatus GetEnvironment(
     NotificationTargetMaint_Request request,
     out NotificationTargetMaint_Result result)
 {
     return(this.GetEnvironment((NotificationTargetMaint)null, request, out result));
 }