Examples of copyBusinessGroup()


Examples of org.olat.group.BusinessGroupManager.copyBusinessGroup()

    String bgDesc = this.groupController.getGroupDescription();
    Integer bgMax = this.groupController.getGroupMax();
    Integer bgMin = this.groupController.getGroupMin();
    boolean copyAreas = (this.flags.isEnabled(BGConfigFlags.AREAS) && this.copyForm.isCopyAreas());

    BusinessGroup newGroup = groupManager.copyBusinessGroup(this.originalGroup, bgName, bgDesc, bgMin, bgMax, bgContext, null, copyAreas,
        copyForm.isCopyTools(), copyForm.isCopyRights(), copyForm.isCopyOwners(), copyForm.isCopyParticipants(), copyForm
            .isCopyMembersVisibility(), copyForm.isCopyWaitingList());
    return newGroup;
  }
View Full Code Here

Examples of org.olat.group.BusinessGroupManager.copyBusinessGroup()

    // only group configuration will be copied, no group members are copied
    List origGroups = getGroupsOfBGContext(originalBgContext);
    Iterator iter = origGroups.iterator();
    while (iter.hasNext()) {
      BusinessGroup origGroup = (BusinessGroup) iter.next();
      groupManager.copyBusinessGroup(origGroup, origGroup.getName(), origGroup.getDescription(), origGroup.getMinParticipants(), origGroup
          .getMaxParticipants(), targetContext, areas, true, true, true, false, false, true, false);
    }
    return targetContext;
  }
View Full Code Here

Examples of org.olat.group.BusinessGroupManager.copyBusinessGroup()

    // reload original group to prevent context proxy problems
    this.originalGroup = groupManager.loadBusinessGroup(this.originalGroup);
    BGContext bgContext = this.originalGroup.getGroupContext();
    boolean copyAreas = (flags.isEnabled(BGConfigFlags.AREAS) && copyForm.isCopyAreas());

    BusinessGroup newGroup = groupManager.copyBusinessGroup(this.originalGroup, newGroupName, this.originalGroup.getDescription(), null, max, bgContext, null, copyAreas,
        copyForm.isCopyTools(), copyForm.isCopyRights(), copyForm.isCopyOwners(), copyForm.isCopyParticipants(), copyForm
            .isCopyMembersVisibility(), copyForm.isCopyWaitingList());
    return newGroup;
  }
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.