Example #1
0
 public ResultStatus LoadESigDetails(
     ResourceStatusCodeMaint resourceStatusCodeMaint,
     ResourceStatusCodeMaint_Request request,
     out ResourceStatusCodeMaint_Result result)
 {
     return(this.LoadESigDetails(resourceStatusCodeMaint, (ResourceStatusCodeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus Freeze(
     ResourceStatusCodeMaint resourceStatusCodeMaint,
     ResourceStatusCodeMaint_Request request,
     out ResourceStatusCodeMaint_Result result)
 {
     return(this.Freeze(resourceStatusCodeMaint, (ResourceStatusCodeMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus GetWIPMsgs(
     ResourceStatusCodeMaint resourceStatusCodeMaint,
     ResourceStatusCodeMaint_Request request,
     out ResourceStatusCodeMaint_Result result)
 {
     return(this.GetWIPMsgs(resourceStatusCodeMaint, (ResourceStatusCodeMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus GetEnvironment(
     ResourceStatusCodeMaint cdo,
     ResourceStatusCodeMaint_Request request,
     out ResourceStatusCodeMaint_Result result)
 {
     result = (ResourceStatusCodeMaint_Result)null;
     try
     {
         return(((IResourceStatusCodeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #5
0
 public ResultStatus CommitTransaction(
     ResourceStatusCodeMaint_Request request,
     out ResourceStatusCodeMaint_Result result)
 {
     result = (ResourceStatusCodeMaint_Result)null;
     try
     {
         ResourceStatusCodeMaintMethod[] methods = new ResourceStatusCodeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceStatusCodeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #6
0
        public ResultStatus ExecuteTransaction(
            ResourceStatusCodeMaint cdo,
            ResourceStatusCodeMaint_Request request,
            out ResourceStatusCodeMaint_Result result)
        {
            result = (ResourceStatusCodeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceStatusCodeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceStatusCodeMaintMethod(cdo, ResourceStatusCodeMaintMethods.ExecuteTransaction, (ResourceStatusCodeMaint_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);
        }
Example #7
0
        public ResultStatus UnFreeze(
            ResourceStatusCodeMaint resourceStatusCodeMaint,
            ResourceStatusCodeMaint_Parameters parameters,
            ResourceStatusCodeMaint_Request request,
            out ResourceStatusCodeMaint_Result result)
        {
            result = (ResourceStatusCodeMaint_Result)null;
            this.OnBeforeCall(nameof(UnFreeze), (DCObject)resourceStatusCodeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceStatusCodeMaintService)this._Channel).UnFreeze(this._UserProfile, resourceStatusCodeMaint, parameters, request, out result) : this.AddMethod((Method) new ResourceStatusCodeMaintMethod(resourceStatusCodeMaint, ResourceStatusCodeMaintMethods.UnFreeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(UnFreeze), res, (DCObject)resourceStatusCodeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #8
0
 public ResultStatus ExecuteTransaction(
     ResourceStatusCodeMaint_Request request,
     out ResourceStatusCodeMaint_Result result)
 {
     return(this.ExecuteTransaction((ResourceStatusCodeMaint)null, request, out result));
 }
Example #9
0
 public ResultStatus GetEnvironment(
     ResourceStatusCodeMaint_Request request,
     out ResourceStatusCodeMaint_Result result)
 {
     return(this.GetEnvironment((ResourceStatusCodeMaint)null, request, out result));
 }