return dataModel;
}
public String delete() {
Subject subject = EnterpriseFacesContextUtility.getSubject();
ConfigurationManagerLocal manager = LookupUtil.getConfigurationManager();
String[] selectedItems = FacesContextUtility.getRequest().getParameterValues("selectedItems");
List<String> success = new ArrayList<String>();
Map<String, String> failure = new HashMap<String, String>();
String next = null;
Integer doomed;
for (int i = 0; i < selectedItems.length; i++) {
try {
next = selectedItems[i];
doomed = Integer.valueOf(next);
manager.purgePluginConfigurationUpdate(subject, doomed, true);
success.add(next);
} catch (Exception e) {
failure.put(next, ThrowableUtil.getAllMessages(e, true));
}