mo.execute(new FunctionOutcome("Role Assignment", ADD));
}
public void saveRoleAssignment(final RoleAssignment assignment, final RoleAssignment oldValue) {
ManagementOperation<FunctionContext> mo = new ModifyRoleAssignmentOp(dispatcher, assignment, oldValue, MODIFY);
mo.execute(new FunctionOutcome("Role Assignment", MODIFY));
}
public void removeRoleAssignment(final RoleAssignment assignment) {
ManagementOperation<FunctionContext> mo = new ModifyRoleAssignmentOp(dispatcher, assignment, REMOVE);
mo.execute(new FunctionOutcome("Role Assignment", REMOVE));