Package org.olat.group.context

Examples of org.olat.group.context.BGContext


    String bgWithWaitingListDesc = "some short description for Group with WaitingList";
    Boolean enableWaitinglist = new Boolean(true);
    Boolean enableAutoCloseRanks = new Boolean(true);

    BGContextManager bgcm = BGContextManagerImpl.getInstance();
    BGContext groupContext = bgcm.createAndPersistBGContext("c1name", "c1desc", BusinessGroup.TYPE_LEARNINGROUP, null, true);
    System.out.println("testAddToWaitingListAndFireEvent: groupContext=" + groupContext);
    bgWithWaitingList = bgManager.createAndPersistBusinessGroup(BusinessGroup.TYPE_LEARNINGROUP, id1, bgWithWaitingListName,
        bgWithWaitingListDesc, null, null, enableWaitinglist, enableAutoCloseRanks, groupContext);
    bgWithWaitingList.setMaxParticipants(new Integer(2));
    // create mock objects
View Full Code Here

TOP

Related Classes of org.olat.group.context.BGContext

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.