*
* @see org.olat.group.BusinessGroupManager#moveIdenitFromWaitingListToParticipant(org.olat.core.id.Identity, org.olat.core.gui.control.WindowControl, org.olat.core.gui.UserRequest, org.olat.core.gui.translator.Translator, org.olat.group.BusinessGroup, org.olat.group.ui.BGConfigFlags, org.olat.core.logging.UserActivityLogger)
*/
public BusinessGroupAddResponse moveIdenityFromWaitingListToParticipant(final List<Identity> choosenIdentities, final Identity ureqIdentity, final BusinessGroup currBusinessGroup, final BGConfigFlags flags) {
final BusinessGroupAddResponse response = new BusinessGroupAddResponse();
CoordinatorManager.getCoordinator().getSyncer().doInSync(currBusinessGroup,new SyncerExecutor(){
public void execute() {
for (final Identity identity : choosenIdentities) {
// check if idenity is allready in participant
if (!securityManager.isIdentityInSecurityGroup(identity,currBusinessGroup.getPartipiciantGroup()) ) {
// Idenity is not in participant-list => move idenity from waiting-list to participant-list