Exemple #1
0
 public ResultStatus Freeze(
     PackageCreationTemplateMaint packageCreationTemplateMaint,
     PackageCreationTemplateMaint_Request request,
     out PackageCreationTemplateMaint_Result result)
 {
     return(this.Freeze(packageCreationTemplateMaint, (PackageCreationTemplateMaint_Parameters)null, request, out result));
 }
Exemple #2
0
 public ResultStatus LoadESigDetails(
     PackageCreationTemplateMaint packageCreationTemplateMaint,
     PackageCreationTemplateMaint_Request request,
     out PackageCreationTemplateMaint_Result result)
 {
     return(this.LoadESigDetails(packageCreationTemplateMaint, (PackageCreationTemplateMaint_LoadESigDetails_Parameters)null, request, out result));
 }
Exemple #3
0
 public PackageCreationTemplateMaintMethod(
     PackageCreationTemplateMaint Cdo,
     PackageCreationTemplateMaintMethods Method,
     PackageCreationTemplateMaint_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }
Exemple #4
0
 public ResultStatus GetEnvironment(
     PackageCreationTemplateMaint cdo,
     PackageCreationTemplateMaint_Request request,
     out PackageCreationTemplateMaint_Result result)
 {
     result = (PackageCreationTemplateMaint_Result)null;
     try
     {
         return(((IPackageCreationTemplateMaintService)this._Channel).GetEnvironment(this._UserProfile, cdo, request, out result));
     }
     catch (Exception ex)
     {
         return(this.OnThrowException(ex));
     }
 }
Exemple #5
0
        public ResultStatus AddDataTransaction(PackageCreationTemplateMaint cdo)
        {
            this.OnBeforeCall(nameof(AddDataTransaction), (DCObject)cdo, (Parameters)null, (Request)null);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? this.GetAddDataTransactionException() : this.AddMethod((Method) new PackageCreationTemplateMaintMethod(cdo, PackageCreationTemplateMaintMethods.AddDataTransaction, (PackageCreationTemplateMaint_Parameters)null));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                Result result;
                this.OnAfterCall(nameof(AddDataTransaction), res, (DCObject)cdo, (Parameters)null, (Request)null, result);
            }
            return(res);
        }
Exemple #6
0
        public ResultStatus ExecuteTransaction(
            PackageCreationTemplateMaint cdo,
            PackageCreationTemplateMaint_Request request,
            out PackageCreationTemplateMaint_Result result)
        {
            result = (PackageCreationTemplateMaint_Result)null;
            this.OnBeforeCall(nameof(ExecuteTransaction), (DCObject)cdo, (Parameters)null, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPackageCreationTemplateMaintService)this._Channel).ExecuteTransaction(this._UserProfile, cdo, request, out result) : this.AddMethod((Method) new PackageCreationTemplateMaintMethod(cdo, PackageCreationTemplateMaintMethods.ExecuteTransaction, (PackageCreationTemplateMaint_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 #7
0
        public ResultStatus UnFreeze(
            PackageCreationTemplateMaint packageCreationTemplateMaint,
            PackageCreationTemplateMaint_Parameters parameters,
            PackageCreationTemplateMaint_Request request,
            out PackageCreationTemplateMaint_Result result)
        {
            result = (PackageCreationTemplateMaint_Result)null;
            this.OnBeforeCall(nameof(UnFreeze), (DCObject)packageCreationTemplateMaint, (Parameters)parameters, (Request)request);
            ResultStatus res;

            try
            {
                res = !this._IsTransactionOpened ? ((IPackageCreationTemplateMaintService)this._Channel).UnFreeze(this._UserProfile, packageCreationTemplateMaint, parameters, request, out result) : this.AddMethod((Method) new PackageCreationTemplateMaintMethod(packageCreationTemplateMaint, PackageCreationTemplateMaintMethods.UnFreeze, parameters));
            }
            catch (Exception ex)
            {
                res = this.OnThrowException(ex);
            }
            if (res.IsSuccess)
            {
                this.OnAfterCall(nameof(UnFreeze), res, (DCObject)packageCreationTemplateMaint, (Parameters)parameters, (Request)request, (Result)result);
            }
            return(res);
        }
Exemple #8
0
 public ResultStatus ExecuteTransaction(PackageCreationTemplateMaint cdo)
 {
     return(this.ExecuteTransaction(cdo, (PackageCreationTemplateMaint_Request)null, out PackageCreationTemplateMaint_Result _));
 }
Exemple #9
0
 public ResultStatus Delete(
     PackageCreationTemplateMaint packageCreationTemplateMaint)
 {
     return(this.Delete(packageCreationTemplateMaint, (PackageCreationTemplateMaint_Parameters)null, (PackageCreationTemplateMaint_Request)null, out PackageCreationTemplateMaint_Result _));
 }