Package org.olat.group.ui.edit

Examples of org.olat.group.ui.edit.BusinessGroupEditController


   */
  public BusinessGroupEditController createEditControllerFor(UserRequest ureq, WindowControl wControl, BusinessGroup businessGroup) {
    String bgTyp = businessGroup.getType();
    if (BusinessGroup.TYPE_BUDDYGROUP.equals(bgTyp)) {
      BGConfigFlags flags = BGConfigFlags.createBuddyGroupDefaultFlags();
      return new BusinessGroupEditController(ureq, wControl, businessGroup, flags);
    } else if (BusinessGroup.TYPE_LEARNINGROUP.equals(bgTyp)) {
      BGConfigFlags flags = BGConfigFlags.createLearningGroupDefaultFlags();
      return new BusinessGroupEditController(ureq, wControl, businessGroup, flags);
    } else if (BusinessGroup.TYPE_RIGHTGROUP.equals(bgTyp)) {
      BGConfigFlags flags = BGConfigFlags.createRightGroupDefaultFlags();
      return new BusinessGroupEditController(ureq, wControl, businessGroup, flags);
    }
    // else
    throw new AssertException("unknown BusinessGroupType::" + bgTyp);
  }
View Full Code Here

TOP

Related Classes of org.olat.group.ui.edit.BusinessGroupEditController

Copyright © 2018 www.massapicom. 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.