if (MANUAL_MAP_FILTER.equals(adapter.getName())) {
newFilter = new ManualMapFilter(map.getId());
} else if (AUTOMATIC_MAP_FILTER.equals(adapter.getName())) {
newFilter = new CharacterMapFilter(map);
} else if (NO_MAP_FILTER.equals(adapter.getName())) {
newFilter = new NoMapFilter();
}
CampaignClient.getInstance().addBean(newFilter);
// set the new filter