Beispiel #1
0
 public ResultStatus Freeze(
     ShiftMaint shiftMaint,
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     return(this.Freeze(shiftMaint, (ShiftMaint_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus NewCopy(
     ShiftMaint shiftMaint,
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     return(this.NewCopy(shiftMaint, (ShiftMaint_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus LoadESigDetails(
     ShiftMaint shiftMaint,
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     return(this.LoadESigDetails(shiftMaint, (ShiftMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Beispiel #4
0
 public ResultStatus GetWIPMsgs(
     ShiftMaint shiftMaint,
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     return(this.GetWIPMsgs(shiftMaint, (ShiftMaint_Parameters)null, request, out result));
 }
Beispiel #5
0
 public ResultStatus GetEnvironment(
     ShiftMaint cdo,
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     result = (ShiftMaint_Result)null;
     try
     {
         return(((IShiftMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #6
0
 public ResultStatus CommitTransaction(
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     result = (ShiftMaint_Result)null;
     try
     {
         ShiftMaintMethod[] methods = new ShiftMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IShiftMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #7
0
        public ResultStatus ExecuteTransaction(
            ShiftMaint cdo,
            ShiftMaint_Request request,
            out ShiftMaint_Result result)
        {
            result = (ShiftMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IShiftMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ShiftMaintMethod(cdo, ShiftMaintMethods.ExecuteTransaction, (ShiftMaint_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 #8
0
        public ResultStatus Freeze(
            ShiftMaint shiftMaint,
            ShiftMaint_Parameters parameters,
            ShiftMaint_Request request,
            out ShiftMaint_Result result)
        {
            result = (ShiftMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)shiftMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IShiftMaintService)this._Channel).Freeze(this._UserProfile, shiftMaint, parameters, request, out result) : this.AddMethod((Method) new ShiftMaintMethod(shiftMaint, ShiftMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)shiftMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #9
0
 public ResultStatus ExecuteTransaction(
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     return(this.ExecuteTransaction((ShiftMaint)null, request, out result));
 }
Beispiel #10
0
 public ResultStatus GetEnvironment(
     ShiftMaint_Request request,
     out ShiftMaint_Result result)
 {
     return(this.GetEnvironment((ShiftMaint)null, request, out result));
 }