Example #1
0
 public void execute(String DDOName,
                     String SearchTxt,
                     String SearchTxtTo,
                     out String OptionsJson,
                     out String OptionsDescJson,
                     out String OptionIndexesJson)
 {
     OptionsJson       = "";
     OptionsDescJson   = "";
     OptionIndexesJson = "";
     try
     {
         if (!ProcessHeaders("pedidowwgetfilterdata"))
         {
             return;
         }
         pedidowwgetfilterdata worker = new pedidowwgetfilterdata(context);
         worker.IsMain = RunAsMain;
         worker.execute(DDOName, SearchTxt, SearchTxtTo, out OptionsJson, out OptionsDescJson, out OptionIndexesJson);
         worker.cleanup( );
     }
     catch (Exception e)
     {
         WebException(e);
     }
     finally
     {
         Cleanup();
     }
 }
Example #2
0
        public void executeSubmit(String aP0_DDOName,
                                  String aP1_SearchTxt,
                                  String aP2_SearchTxtTo,
                                  out String aP3_OptionsJson,
                                  out String aP4_OptionsDescJson,
                                  out String aP5_OptionIndexesJson)
        {
            pedidowwgetfilterdata objpedidowwgetfilterdata;

            objpedidowwgetfilterdata                       = new pedidowwgetfilterdata();
            objpedidowwgetfilterdata.AV25DDOName           = aP0_DDOName;
            objpedidowwgetfilterdata.AV23SearchTxt         = aP1_SearchTxt;
            objpedidowwgetfilterdata.AV24SearchTxtTo       = aP2_SearchTxtTo;
            objpedidowwgetfilterdata.AV29OptionsJson       = "";
            objpedidowwgetfilterdata.AV32OptionsDescJson   = "";
            objpedidowwgetfilterdata.AV34OptionIndexesJson = "";
            objpedidowwgetfilterdata.context.SetSubmitInitialConfig(context);
            objpedidowwgetfilterdata.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objpedidowwgetfilterdata);
            aP3_OptionsJson       = this.AV29OptionsJson;
            aP4_OptionsDescJson   = this.AV32OptionsDescJson;
            aP5_OptionIndexesJson = this.AV34OptionIndexesJson;
        }