@SuppressWarnings("unchecked")
Map<String, String[]> parameters = req.getParameterMap();
if (parameters.containsKey(REMOVE_MIXIN)) {
String[] mixinTypes = (String[]) parameters.get(REMOVE_MIXIN);
for (String mixinType : mixinTypes) {
node.removeMixin(mixinType);
}
}
if (parameters.containsKey(Constants.JCR_MIXINTYPES)) {
String[] mixinTypes = (String[]) parameters.get(Constants.JCR_MIXINTYPES);
for (String mixinType : mixinTypes) {