Exemple #1
0
        private string ExportGatherRule(List <string> gatherRuleNameArrayList)
        {
            var docFileName = "GatherRule.xml";
            var filePath    = PathUtils.GetTemporaryFilesPath(docFileName);

            var exportObject            = new ExportObject(PublishmentSystemId);
            var gatherRuleInfoArrayList = new ArrayList();

            foreach (string gatherRuleName in gatherRuleNameArrayList)
            {
                gatherRuleInfoArrayList.Add(DataProvider.GatherRuleDao.GetGatherRuleInfo(gatherRuleName, PublishmentSystemId));
            }

            exportObject.ExportGatherRule(filePath, gatherRuleInfoArrayList);

            return(docFileName);
        }