defaultResolver = resolver;
}
public void associateRightGroup(IPermisibleResource resource, RightsGroup group) {
validateNullEntries(resource, group);
AssignedRightsGroup assignedRightsGroup = dbHandler.getAssociatedGroup(resource, group);
if (assignedRightsGroup == null) {
assignedRightsGroup = new AssignedRightsGroup();
assignedRightsGroup.setResourceTypeID(resource.getResourceTypeID());
assignedRightsGroup.setRightGroup(group);
assignedRightsGroup.setResourceID(resource.getResourceID());
dbHandler.upsertAssignedRightGroup(assignedRightsGroup);
}
}