Exemple #1
0
 public ResultStatus Freeze(
     OrganizationMaint organizationMaint,
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     return(this.Freeze(organizationMaint, (OrganizationMaint_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus ProcessNameChange(
     OrganizationMaint organizationMaint,
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     return(this.ProcessNameChange(organizationMaint, (OrganizationMaint_Parameters)null, request, out result));
 }
Exemple #3
0
 public ResultStatus LoadESigDetails(
     OrganizationMaint organizationMaint,
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     return(this.LoadESigDetails(organizationMaint, (OrganizationMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #4
0
 public ResultStatus GetWIPMsgs(
     OrganizationMaint organizationMaint,
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     return(this.GetWIPMsgs(organizationMaint, (OrganizationMaint_Parameters)null, request, out result));
 }
Exemple #5
0
 public ResultStatus GetEnvironment(
     OrganizationMaint cdo,
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     result = (OrganizationMaint_Result)null;
     try
     {
         return(((IOrganizationMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #6
0
 public ResultStatus CommitTransaction(
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     result = (OrganizationMaint_Result)null;
     try
     {
         OrganizationMaintMethod[] methods = new OrganizationMaintMethod[this.GetMethodCount()];
         this.CopyMethods((Method[])methods);
         return(((IOrganizationMaintService)this._Channel).CommitTransaction(this._UserProfile, methods, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #7
0
        public ResultStatus ExecuteTransaction(
            OrganizationMaint cdo,
            OrganizationMaint_Request request,
            out OrganizationMaint_Result result)
        {
            result = (OrganizationMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IOrganizationMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new OrganizationMaintMethod(cdo, OrganizationMaintMethods.ExecuteTransaction, (OrganizationMaint_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 #8
0
        public ResultStatus Freeze(
            OrganizationMaint organizationMaint,
            OrganizationMaint_Parameters parameters,
            OrganizationMaint_Request request,
            out OrganizationMaint_Result result)
        {
            result = (OrganizationMaint_Result)null;
            this.OnBeforeCall(nameof(Freeze), (DCObject)organizationMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IOrganizationMaintService)this._Channel).Freeze(this._UserProfile, organizationMaint, parameters, request, out result) : this.AddMethod((Method) new OrganizationMaintMethod(organizationMaint, OrganizationMaintMethods.Freeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(Freeze), res, (DCObject)organizationMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #9
0
 public ResultStatus ExecuteTransaction(
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     return(this.ExecuteTransaction((OrganizationMaint)null, request, out result));
 }
Exemple #10
0
 public ResultStatus GetEnvironment(
     OrganizationMaint_Request request,
     out OrganizationMaint_Result result)
 {
     return(this.GetEnvironment((OrganizationMaint)null, request, out result));
 }