Esempio n. 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("sys_rolepermissionwwgetfilterdata"))
         {
             return;
         }
         sys_rolepermissionwwgetfilterdata worker = new sys_rolepermissionwwgetfilterdata(context);
         worker.IsMain = RunAsMain;
         worker.execute(DDOName, SearchTxt, SearchTxtTo, out OptionsJson, out OptionsDescJson, out OptionIndexesJson);
         worker.cleanup( );
     }
     catch (Exception e)
     {
         WebException(e);
     }
     finally
     {
         Cleanup();
     }
 }
Esempio n. 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)
        {
            sys_rolepermissionwwgetfilterdata objsys_rolepermissionwwgetfilterdata;

            objsys_rolepermissionwwgetfilterdata                       = new sys_rolepermissionwwgetfilterdata();
            objsys_rolepermissionwwgetfilterdata.AV15DDOName           = aP0_DDOName;
            objsys_rolepermissionwwgetfilterdata.AV13SearchTxt         = aP1_SearchTxt;
            objsys_rolepermissionwwgetfilterdata.AV14SearchTxtTo       = aP2_SearchTxtTo;
            objsys_rolepermissionwwgetfilterdata.AV19OptionsJson       = "";
            objsys_rolepermissionwwgetfilterdata.AV22OptionsDescJson   = "";
            objsys_rolepermissionwwgetfilterdata.AV24OptionIndexesJson = "";
            objsys_rolepermissionwwgetfilterdata.context.SetSubmitInitialConfig(context);
            objsys_rolepermissionwwgetfilterdata.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objsys_rolepermissionwwgetfilterdata);
            aP3_OptionsJson       = this.AV19OptionsJson;
            aP4_OptionsDescJson   = this.AV22OptionsDescJson;
            aP5_OptionIndexesJson = this.AV24OptionIndexesJson;
        }