Ejemplo n.º 1
0
 public ResultStatus LoadESigDetails(
     ResourceFamilyMaint resourceFamilyMaint,
     ResourceFamilyMaint_Request request,
     out ResourceFamilyMaint_Result result)
 {
     return(this.LoadESigDetails(resourceFamilyMaint, (ResourceFamilyMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Ejemplo n.º 2
0
 public ResultStatus Freeze(
     ResourceFamilyMaint resourceFamilyMaint,
     ResourceFamilyMaint_Request request,
     out ResourceFamilyMaint_Result result)
 {
     return(this.Freeze(resourceFamilyMaint, (ResourceFamilyMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 3
0
 public ResultStatus GetWIPMsgs(
     ResourceFamilyMaint resourceFamilyMaint,
     ResourceFamilyMaint_Request request,
     out ResourceFamilyMaint_Result result)
 {
     return(this.GetWIPMsgs(resourceFamilyMaint, (ResourceFamilyMaint_Parameters)null, request, out result));
 }
Ejemplo n.º 4
0
 public ResultStatus GetEnvironment(
     ResourceFamilyMaint cdo,
     ResourceFamilyMaint_Request request,
     out ResourceFamilyMaint_Result result)
 {
     result = (ResourceFamilyMaint_Result)null;
     try
     {
         return(((IResourceFamilyMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 5
0
 public ResultStatus CommitTransaction(
     ResourceFamilyMaint_Request request,
     out ResourceFamilyMaint_Result result)
 {
     result = (ResourceFamilyMaint_Result)null;
     try
     {
         ResourceFamilyMaintMethod[] methods = new ResourceFamilyMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IResourceFamilyMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Ejemplo n.º 6
0
        public ResultStatus ExecuteTransaction(
            ResourceFamilyMaint cdo,
            ResourceFamilyMaint_Request request,
            out ResourceFamilyMaint_Result result)
        {
            result = (ResourceFamilyMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceFamilyMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new ResourceFamilyMaintMethod(cdo, ResourceFamilyMaintMethods.ExecuteTransaction, (ResourceFamilyMaint_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);
        }
Ejemplo n.º 7
0
        public ResultStatus UnFreeze(
            ResourceFamilyMaint resourceFamilyMaint,
            ResourceFamilyMaint_Parameters parameters,
            ResourceFamilyMaint_Request request,
            out ResourceFamilyMaint_Result result)
        {
            result = (ResourceFamilyMaint_Result)null;
            this.OnBeforeCall(nameof(UnFreeze), (DCObject)resourceFamilyMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IResourceFamilyMaintService)this._Channel).UnFreeze(this._UserProfile, resourceFamilyMaint, parameters, request, out result) : this.AddMethod((Method) new ResourceFamilyMaintMethod(resourceFamilyMaint, ResourceFamilyMaintMethods.UnFreeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(UnFreeze), res, (DCObject)resourceFamilyMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Ejemplo n.º 8
0
 public ResultStatus ExecuteTransaction(
     ResourceFamilyMaint_Request request,
     out ResourceFamilyMaint_Result result)
 {
     return(this.ExecuteTransaction((ResourceFamilyMaint)null, request, out result));
 }
Ejemplo n.º 9
0
 public ResultStatus GetEnvironment(
     ResourceFamilyMaint_Request request,
     out ResourceFamilyMaint_Result result)
 {
     return(this.GetEnvironment((ResourceFamilyMaint)null, request, out result));
 }