List dataList = new ArrayList();
List ruleList = getTransformationRuleConfigList(webServiceKey);
try{
if (ruleList != null && !ruleList.isEmpty()) {
for (Iterator iter = ruleList.iterator(); iter.hasNext();) {
TransformationRuleConfig ruleConfig = (TransformationRuleConfig)iter.next();
Map ruleMap = new HashMap();
ruleMap.put("RuleName", ruleConfig.getName());
if (ruleConfig.getEnabled()) {
ruleMap.put("RuleStatus", GuiUtil.getMessage("common.Enabled"));
} else {
ruleMap.put("RuleStatus", GuiUtil.getMessage("common.Disabled"));
}
ruleMap.put("RuleFile", ruleConfig.getRuleFileLocation());
ruleMap.put("ApplyTo", ruleConfig.getApplyTo());
ruleMap.put("selected", false);
dataList.add(ruleMap);
}
}
}catch(Exception ex){