Examples of wasMyselfRemoved()


Examples of org.olat.group.ui.edit.BusinessGroupModifiedEvent.wasMyselfRemoved()

          // change didn't origin by our own edit controller
          getWindowControl().setInfo(translate("grouprun.configurationchanged"));
          bgTree.setSelectedNodeId(trMdl.getRootNode().getIdent());
          mainPanel.setContent(main);
        }
      } else if (bgmfe.wasMyselfRemoved(identity)) {
        //nothing more here!! The message will be created and displayed upon disposing
        dispose();//disposed message controller will be set
      }
    } else if(event instanceof AssessmentEvent) {
      if(((AssessmentEvent)event).getEventType().equals(AssessmentEvent.TYPE.STARTED)) {
View Full Code Here

Examples of org.olat.group.ui.edit.BusinessGroupModifiedEvent.wasMyselfRemoved()

    } else if (event instanceof BusinessGroupModifiedEvent) {
      BusinessGroupModifiedEvent bgme = (BusinessGroupModifiedEvent) event;
      Identity identity = uce.getIdentityEnvironment().getIdentity();
      // only do something if this identity is affected by change and the action
      // was adding or removing of the user
      if (bgme.wasMyselfAdded(identity) || bgme.wasMyselfRemoved(identity)) {
        // 1) reinitialize all group memberships
        initGroupMemberships(identity);
        // 2) reinitialize the users roles and rights
        initUserRolesAndRights(identity);
        // 3) rebuild toolboxes with link to groups and tools
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.