Package org.olat.repository

Examples of org.olat.repository.RepositoryManager.addOwners()


        IdentitiesAddEvent identitiesAddedEvent = (IdentitiesAddEvent) event;
        RepositoryManager rm = RepositoryManager.getInstance();
        //add to group and also adds identities really added to the event.
        //this is then later used by the GroupController to determine if the
        //model should be updated or not.
        rm.addOwners(ureq.getIdentity(),identitiesAddedEvent,repositoryEntry);
      } else if (event instanceof IdentitiesRemoveEvent) {
        IdentitiesRemoveEvent identitiesRemoveEvent = (IdentitiesRemoveEvent) event;
        RepositoryManager rm = RepositoryManager.getInstance();
        rm.removeOwners(ureq.getIdentity(),identitiesRemoveEvent.getRemovedIdentities(), repositoryEntry);
      }
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.