doFindPermissionSet(permissionSet).getMetadata().put(attributename, value);
}
private void doAddPermissionSetToSet(PermissionSetData parent, String... permissionSet) {
for (String p : permissionSet) {
PermissionSetData child = doFindPermissionSet(p);
parent.getPermissionSets().add(child);
}
synchronized (entityManager) {
entityManager.merge(parent);
}