Exemple #1
0
 public ResultStatus LoadESigDetails(
     ResourceTypeMaint resourceTypeMaint,
     ResourceTypeMaint_Request request,
     out ResourceTypeMaint_Result result)
 {
     return(this.LoadESigDetails(resourceTypeMaint, (ResourceTypeMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus Freeze(
     ResourceTypeMaint resourceTypeMaint,
     ResourceTypeMaint_Request request,
     out ResourceTypeMaint_Result result)
 {
     return(this.Freeze(resourceTypeMaint, (ResourceTypeMaint_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus GetWIPMsgs(
     ResourceTypeMaint resourceTypeMaint,
     ResourceTypeMaint_Request request,
     out ResourceTypeMaint_Result result)
 {
     return(this.GetWIPMsgs(resourceTypeMaint, (ResourceTypeMaint_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus GetEnvironment(
     ResourceTypeMaint cdo,
     ResourceTypeMaint_Request request,
     out ResourceTypeMaint_Result result)
 {
     result = (ResourceTypeMaint_Result)null;
     try
     {
         return(((IResourceTypeMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #5
0
 public ResultStatus CommitTransaction(
     ResourceTypeMaint_Request request,
     out ResourceTypeMaint_Result result)
 {
     result = (ResourceTypeMaint_Result)null;
     try
     {
         ResourceTypeMaintMethod[] methods = new ResourceTypeMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceTypeMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
        public ResultStatus ExecuteTransaction(
            ResourceTypeMaint cdo,
            ResourceTypeMaint_Request request,
            out ResourceTypeMaint_Result result)
        {
            result = (ResourceTypeMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceTypeMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceTypeMaintMethod(cdo, ResourceTypeMaintMethods.ExecuteTransaction, (ResourceTypeMaint_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);
        }
Exemple #7
0
        public ResultStatus UnFreeze(
            ResourceTypeMaint resourceTypeMaint,
            ResourceTypeMaint_Parameters parameters,
            ResourceTypeMaint_Request request,
            out ResourceTypeMaint_Result result)
        {
            result = (ResourceTypeMaint_Result)null;
            this.OnBeforeCall(nameof(UnFreeze), (DCObject)resourceTypeMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceTypeMaintService)this._Channel).UnFreeze(this._UserProfile, resourceTypeMaint, parameters, request, out result) : this.AddMethod((Method) new ResourceTypeMaintMethod(resourceTypeMaint, ResourceTypeMaintMethods.UnFreeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(UnFreeze), res, (DCObject)resourceTypeMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #8
0
 public ResultStatus ExecuteTransaction(
     ResourceTypeMaint_Request request,
     out ResourceTypeMaint_Result result)
 {
     return(this.ExecuteTransaction((ResourceTypeMaint)null, request, out result));
 }
Exemple #9
0
 public ResultStatus GetEnvironment(
     ResourceTypeMaint_Request request,
     out ResourceTypeMaint_Result result)
 {
     return(this.GetEnvironment((ResourceTypeMaint)null, request, out result));
 }