Esempio n. 1
0
 public ResultStatus LoadESigDetails(
     PrintQueueMaint printQueueMaint,
     PrintQueueMaint_Request request,
     out PrintQueueMaint_Result result)
 {
     return(this.LoadESigDetails(printQueueMaint, (PrintQueueMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Esempio n. 2
0
 public ResultStatus Freeze(
     PrintQueueMaint printQueueMaint,
     PrintQueueMaint_Request request,
     out PrintQueueMaint_Result result)
 {
     return(this.Freeze(printQueueMaint, (PrintQueueMaint_Parameters)null, request, out result));
 }
Esempio n. 3
0
 public ResultStatus GetWIPMsgs(
     PrintQueueMaint printQueueMaint,
     PrintQueueMaint_Request request,
     out PrintQueueMaint_Result result)
 {
     return(this.GetWIPMsgs(printQueueMaint, (PrintQueueMaint_Parameters)null, request, out result));
 }
Esempio n. 4
0
 public ResultStatus GetEnvironment(
     PrintQueueMaint cdo,
     PrintQueueMaint_Request request,
     out PrintQueueMaint_Result result)
 {
     result = (PrintQueueMaint_Result)null;
     try
     {
         return(((IPrintQueueMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 5
0
 public ResultStatus CommitTransaction(
     PrintQueueMaint_Request request,
     out PrintQueueMaint_Result result)
 {
     result = (PrintQueueMaint_Result)null;
     try
     {
         PrintQueueMaintMethod[] methods = new PrintQueueMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IPrintQueueMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Esempio n. 6
0
        public ResultStatus ExecuteTransaction(
            PrintQueueMaint cdo,
            PrintQueueMaint_Request request,
            out PrintQueueMaint_Result result)
        {
            result = (PrintQueueMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPrintQueueMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new PrintQueueMaintMethod(cdo, PrintQueueMaintMethods.ExecuteTransaction, (PrintQueueMaint_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(
            PrintQueueMaint printQueueMaint,
            PrintQueueMaint_Parameters parameters,
            PrintQueueMaint_Request request,
            out PrintQueueMaint_Result result)
        {
            result = (PrintQueueMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)printQueueMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPrintQueueMaintService)this._Channel).Freeze(this._UserProfile, printQueueMaint, parameters, request, out result) : this.AddMethod((Method) new PrintQueueMaintMethod(printQueueMaint, PrintQueueMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)printQueueMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Esempio n. 8
0
 public ResultStatus ExecuteTransaction(
     PrintQueueMaint_Request request,
     out PrintQueueMaint_Result result)
 {
     return(this.ExecuteTransaction((PrintQueueMaint)null, request, out result));
 }
Esempio n. 9
0
 public ResultStatus GetEnvironment(
     PrintQueueMaint_Request request,
     out PrintQueueMaint_Result result)
 {
     return(this.GetEnvironment((PrintQueueMaint)null, request, out result));
 }