}
}
}
// execute the request
MmdCriteria criteria = new MmdCriteria();
criteria.setActionCriteria(actionCriteria);
if (_metadataAccessPolicyConfig==null) {
getSelectablePublishers().build(context, true);
prepareAccessPolicyConfig(context);
prepareGroups(context);
prepareActionCriteria(context);
}
String defaultGroup = _metadataAccessPolicyConfig.getAccessToGroupDN();
if (defaultGroup != null && defaultGroup.trim().length() > 0) {
ArrayList<String> defaultAcl = new ArrayList<String>();
defaultAcl.add(getActionCriteria().getToggleMetadataAccessPolicy());
criteria.getActionCriteria().setMetadataAccessPolicy(defaultAcl);
}
MmdActionRequest request = new MmdActionRequest(context,publisherForAction,criteria,getResult());
if (!applyToAll) {
request.execute();