Search in sources :

Example 11 with BusinessGroupSelectionEvent

use of org.olat.group.model.BusinessGroupSelectionEvent in project openolat by klemens.

the class AbstractBusinessGroupListController method doSelect.

private void doSelect(UserRequest ureq, List<? extends BusinessGroupRef> items) {
    List<BusinessGroup> selection = toBusinessGroups(ureq, items, false);
    fireEvent(ureq, new BusinessGroupSelectionEvent(selection));
}
Also used : BGCopyBusinessGroup(org.olat.group.ui.wizard.BGCopyBusinessGroup) BGConfigBusinessGroup(org.olat.group.ui.wizard.BGConfigBusinessGroup) BusinessGroup(org.olat.group.BusinessGroup) BusinessGroupSelectionEvent(org.olat.group.model.BusinessGroupSelectionEvent)

Example 12 with BusinessGroupSelectionEvent

use of org.olat.group.model.BusinessGroupSelectionEvent in project openolat by klemens.

the class AbstractBusinessGroupListController method doSelect.

private void doSelect(UserRequest ureq, BusinessGroup group) {
    List<BusinessGroup> selection = Collections.singletonList(group);
    fireEvent(ureq, new BusinessGroupSelectionEvent(selection));
}
Also used : BGCopyBusinessGroup(org.olat.group.ui.wizard.BGCopyBusinessGroup) BGConfigBusinessGroup(org.olat.group.ui.wizard.BGConfigBusinessGroup) BusinessGroup(org.olat.group.BusinessGroup) BusinessGroupSelectionEvent(org.olat.group.model.BusinessGroupSelectionEvent)

Aggregations

BusinessGroup (org.olat.group.BusinessGroup)12 BusinessGroupSelectionEvent (org.olat.group.model.BusinessGroupSelectionEvent)12 ArrayList (java.util.ArrayList)6 List (java.util.List)6 BGConfigBusinessGroup (org.olat.group.ui.wizard.BGConfigBusinessGroup)4 BGCopyBusinessGroup (org.olat.group.ui.wizard.BGCopyBusinessGroup)4 QuestionItemShort (org.olat.modules.qpool.QuestionItemShort)4 QItemEdited (org.olat.modules.qpool.ui.events.QItemEdited)4 QPoolSelectionEvent (org.olat.modules.qpool.ui.events.QPoolSelectionEvent)4 MultiIdentityChosenEvent (org.olat.basesecurity.events.MultiIdentityChosenEvent)2 SingleIdentityChosenEvent (org.olat.basesecurity.events.SingleIdentityChosenEvent)2 StepsRunContext (org.olat.core.gui.control.generic.wizard.StepsRunContext)2 Identity (org.olat.core.id.Identity)2 BusinessGroupRow (org.olat.group.model.BusinessGroupRow)2 StatisticsBusinessGroupRow (org.olat.group.model.StatisticsBusinessGroupRow)2 ExportFormatOptions (org.olat.modules.qpool.ExportFormatOptions)2 QuestionItem (org.olat.modules.qpool.QuestionItem)2 QItemList (org.olat.modules.qpool.model.QItemList)2 ExportFormatSelectionEvent (org.olat.modules.qpool.ui.events.ExportFormatSelectionEvent)2 QItemCreationCmdEvent (org.olat.modules.qpool.ui.events.QItemCreationCmdEvent)2