Examples of copyBGAreasOfBGContext()


Examples of org.olat.group.area.BGAreaManager.copyBGAreasOfBGContext()

    // 1. Copy context as default context. Owner group of original context will
    // not be
    // copied since this is a default context
    BGContext targetContext = createAndAddBGContextToResource(contextName, resource, originalBgContext.getGroupType(), null, true);
    // 2. Copy areas
    Map areas = areaManager.copyBGAreasOfBGContext(originalBgContext, targetContext);
    // 3. Copy Groups
    // only group configuration will be copied, no group members are copied
    List origGroups = getGroupsOfBGContext(originalBgContext);
    Iterator iter = origGroups.iterator();
    while (iter.hasNext()) {
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.