Beispiel #1
0
 public ResultStatus Load(
     V4_Security v4_Security,
     V4_Security_Request request,
     out V4_Security_Result result)
 {
     return(this.Load(v4_Security, (V4_Security_Parameters)null, request, out result));
 }
Beispiel #2
0
 public ResultStatus GetWIPMsgs(
     V4_Security v4_Security,
     V4_Security_Request request,
     out V4_Security_Result result)
 {
     return(this.GetWIPMsgs(v4_Security, (V4_Security_Parameters)null, request, out result));
 }
Beispiel #3
0
 public ResultStatus GetEnvironment(
     V4_Security cdo,
     V4_Security_Request request,
     out V4_Security_Result result)
 {
     result = (V4_Security_Result)null;
     try
     {
         return(((IV4_SecurityService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #4
0
 public ResultStatus CommitTransaction(
     V4_Security_Request request,
     out V4_Security_Result result)
 {
     result = (V4_Security_Result)null;
     try
     {
         V4_SecurityMethod[] methods = new V4_SecurityMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IV4_SecurityService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Beispiel #5
0
        public ResultStatus ExecuteTransaction(
            V4_Security cdo,
            V4_Security_Request request,
            out V4_Security_Result result)
        {
            result = (V4_Security_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_SecurityService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new V4_SecurityMethod(cdo, V4_SecurityMethods.ExecuteTransaction, (V4_Security_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);
        }
Beispiel #6
0
        public ResultStatus Load(
            V4_Security v4_Security,
            V4_Security_Parameters parameters,
            V4_Security_Request request,
            out V4_Security_Result result)
        {
            result = (V4_Security_Result)null;
            this.OnBeforeCall(nameof(Load), (DCObject)v4_Security, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IV4_SecurityService)this._Channel).Load(this._UserProfile, v4_Security, parameters, request, out result) : this.AddMethod((Method) new V4_SecurityMethod(v4_Security, V4_SecurityMethods.Load, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Load), res, (DCObject)v4_Security, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Beispiel #7
0
 public ResultStatus ExecuteTransaction(
     V4_Security_Request request,
     out V4_Security_Result result)
 {
     return(this.ExecuteTransaction((V4_Security)null, request, out result));
 }
Beispiel #8
0
 public ResultStatus GetEnvironment(
     V4_Security_Request request,
     out V4_Security_Result result)
 {
     return(this.GetEnvironment((V4_Security)null, request, out result));
 }