Пример #1
0
 public ResultStatus Freeze(
     PortalMessageCategoryMaint portalMessageCategoryMaint,
     PortalMessageCategoryMaint_Request request,
     out PortalMessageCategoryMaint_Result result)
 {
     return(this.Freeze(portalMessageCategoryMaint, (PortalMessageCategoryMaint_Parameters)null, request, out result));
 }
Пример #2
0
 public ResultStatus LoadESigDetails(
     PortalMessageCategoryMaint portalMessageCategoryMaint,
     PortalMessageCategoryMaint_Request request,
     out PortalMessageCategoryMaint_Result result)
 {
     return(this.LoadESigDetails(portalMessageCategoryMaint, (PortalMessageCategoryMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Пример #3
0
 public ResultStatus GetEnvironment(
     PortalMessageCategoryMaint cdo,
     PortalMessageCategoryMaint_Request request,
     out PortalMessageCategoryMaint_Result result)
 {
     result = (PortalMessageCategoryMaint_Result)null;
     try
     {
         return(((IPortalMessageCategoryMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #4
0
 public ResultStatus CommitTransaction(
     PortalMessageCategoryMaint_Request request,
     out PortalMessageCategoryMaint_Result result)
 {
     result = (PortalMessageCategoryMaint_Result)null;
     try
     {
         PortalMessageCategoryMaintMethod[] methods = new PortalMessageCategoryMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IPortalMessageCategoryMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Пример #5
0
        public ResultStatus ExecuteTransaction(
            PortalMessageCategoryMaint cdo,
            PortalMessageCategoryMaint_Request request,
            out PortalMessageCategoryMaint_Result result)
        {
            result = (PortalMessageCategoryMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPortalMessageCategoryMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new PortalMessageCategoryMaintMethod(cdo, PortalMessageCategoryMaintMethods.ExecuteTransaction, (PortalMessageCategoryMaint_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);
        }
Пример #6
0
        public ResultStatus Freeze(
            PortalMessageCategoryMaint portalMessageCategoryMaint,
            PortalMessageCategoryMaint_Parameters parameters,
            PortalMessageCategoryMaint_Request request,
            out PortalMessageCategoryMaint_Result result)
        {
            result = (PortalMessageCategoryMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)portalMessageCategoryMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPortalMessageCategoryMaintService)this._Channel).Freeze(this._UserProfile, portalMessageCategoryMaint, parameters, request, out result) : this.AddMethod((Method) new PortalMessageCategoryMaintMethod(portalMessageCategoryMaint, PortalMessageCategoryMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)portalMessageCategoryMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Пример #7
0
 public ResultStatus ExecuteTransaction(
     PortalMessageCategoryMaint_Request request,
     out PortalMessageCategoryMaint_Result result)
 {
     return(this.ExecuteTransaction((PortalMessageCategoryMaint)null, request, out result));
 }
Пример #8
0
 public ResultStatus GetEnvironment(
     PortalMessageCategoryMaint_Request request,
     out PortalMessageCategoryMaint_Result result)
 {
     return(this.GetEnvironment((PortalMessageCategoryMaint)null, request, out result));
 }