Example #1
0
 public ResultStatus AddPermissions(
     RoleMaint roleMaint,
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.AddPermissions(roleMaint, (RoleMaint_Parameters)null, request, out result));
 }
Example #2
0
 public ResultStatus UnFreeze(
     RoleMaint roleMaint,
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.UnFreeze(roleMaint, (RoleMaint_Parameters)null, request, out result));
 }
Example #3
0
 public ResultStatus SaveAs(
     RoleMaint roleMaint,
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.SaveAs(roleMaint, (RoleMaint_Parameters)null, request, out result));
 }
Example #4
0
 public ResultStatus NewCopy(
     RoleMaint roleMaint,
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.NewCopy(roleMaint, (RoleMaint_Parameters)null, request, out result));
 }
Example #5
0
 public ResultStatus LoadESigDetails(
     RoleMaint roleMaint,
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.LoadESigDetails(roleMaint, (RoleMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Example #6
0
 public ResultStatus DeleteMembers(
     RoleMaint roleMaint,
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.DeleteMembers(roleMaint, (RoleMaint_Parameters)null, request, out result));
 }
Example #7
0
 public ResultStatus GetEnvironment(
     RoleMaint cdo,
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     result = (RoleMaint_Result)null;
     try
     {
         return(((IRoleMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #8
0
 public ResultStatus CommitTransaction(
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     result = (RoleMaint_Result)null;
     try
     {
         RoleMaintMethod[] methods = new RoleMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IRoleMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Example #9
0
        public ResultStatus ExecuteTransaction(
            RoleMaint cdo,
            RoleMaint_Request request,
            out RoleMaint_Result result)
        {
            result = (RoleMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IRoleMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new RoleMaintMethod(cdo, RoleMaintMethods.ExecuteTransaction, (RoleMaint_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 #10
0
        public ResultStatus AddPermissions(
            RoleMaint roleMaint,
            RoleMaint_Parameters parameters,
            RoleMaint_Request request,
            out RoleMaint_Result result)
        {
            result = (RoleMaint_Result)null;
            this.OnBeforeCall(nameof(AddPermissions), (DCObject)roleMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IRoleMaintService)this._Channel).AddPermissions(this._UserProfile, roleMaint, parameters, request, out result) : this.AddMethod((Method) new RoleMaintMethod(roleMaint, RoleMaintMethods.AddPermissions, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(AddPermissions), res, (DCObject)roleMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Example #11
0
 public ResultStatus ExecuteTransaction(
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.ExecuteTransaction((RoleMaint)null, request, out result));
 }
Example #12
0
 public ResultStatus GetEnvironment(
     RoleMaint_Request request,
     out RoleMaint_Result result)
 {
     return(this.GetEnvironment((RoleMaint)null, request, out result));
 }