pathFilter = (val == null ? null : val.format());
}
// if we found a path filter, apply it
if (StringUtils.hasValue(pathFilter)) {
EVHierarchicalFilter hf = EVHierarchicalFilter.getFilter(evModel,
pathFilter);
if (hf != null)
result = hf.appendFilter(result);
} else {
// next, look for a merged path filter
String mergedPathFilter = null;
if (parameters.containsKey(MERGED_PATH_FILTER_PARAM))
mergedPathFilter = getParameter(MERGED_PATH_FILTER_PARAM);
else if (usingCustomizationSettings) {
SimpleData val = getValue("settings//" + MERGED_PATH_FILTER_PARAM);
mergedPathFilter = (val == null ? null : val.format());
}
// if we found a merged path filter, apply it
if (StringUtils.hasValue(mergedPathFilter)) {
EVHierarchicalFilter hf = EVHierarchicalFilter
.getFilterForMerged(evModel, mergedPathFilter);
if (hf != null)
result = hf.appendFilter(result);
}
}
if (result != null)
evModel.disableBaselineData();