Examples of showOwners()


Examples of org.olat.group.properties.BusinessGroupPropertyManager.showOwners()

      MutableConfiguration newGroupAreaRel = newGroup.addChild(EXPORT_KEY_AREA_RELATION);
      newGroupAreaRel.setValue(areaRelation.getName());
    }
    //export properties
    BusinessGroupPropertyManager bgPropertyManager = new BusinessGroupPropertyManager(group);
    boolean showOwners = bgPropertyManager.showOwners();
    boolean showParticipants = bgPropertyManager.showPartips();
    boolean showWaitingList = bgPropertyManager.showWaitingList();
   
    newGroup.addAttribute(EXPORT_KEY_SHOW_OWNERS, showOwners);   
    newGroup.addAttribute(EXPORT_KEY_SHOW_PARTICIPANTS, showParticipants);   
View Full Code Here

Examples of org.olat.group.properties.BusinessGroupPropertyManager.showOwners()

    BusinessGroupPropertyManager bgpm = new BusinessGroupPropertyManager(currBusinessGroup);
    // configure the form with checkboxes for owners and/or partips according
    // the booleans
    dmsForm = new DisplayMemberSwitchForm("dmsForm", getTranslator(), hasOwners, hasPartips, hasWaitingList);
    // set if the checkboxes are checked or not.
    if (hasOwners) dmsForm.setShowOwnersChecked(bgpm.showOwners());
    if (hasPartips) dmsForm.setShowPartipsChecked(bgpm.showPartips());
    if (hasWaitingList) dmsForm.setShowWaitingListChecked(bgpm.showWaitingList());
    bgpm = null;
    dmsForm.addListener(this);
    tmp.put("displayMembers", dmsForm);
View Full Code Here

Examples of org.olat.group.properties.BusinessGroupPropertyManager.showOwners()

  public BusinessGroupSendToChooserForm(String name, Translator translator, BusinessGroup businessGroup, boolean isAdmin) {
    super(name, translator);
    this.businessGroup = businessGroup;
    // check 'members can see owners' and 'members can see participators'
    BusinessGroupPropertyManager bgpm = new BusinessGroupPropertyManager(businessGroup);
    this.showChooseOwners = bgpm.showOwners();
    this.showChoosePartips = bgpm.showPartips();
    this.isAdmin = isAdmin;
   
    Manager scrtMngr = ManagerFactory.getManager();
    VisibilityDependsOnSelectionRule rule;
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.