Examples of wasMyselfAdded()


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

    } 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.