use of org.olat.course.nodes.gta.ui.events.SelectBusinessGroupEvent in project openolat by klemens.
the class GTACoachSelectionController method event.
@Override
protected void event(UserRequest ureq, Controller source, Event event) {
if (groupListCtrl == source) {
if (event instanceof SelectBusinessGroupEvent) {
SelectBusinessGroupEvent selectEvent = (SelectBusinessGroupEvent) event;
doSelectBusinessGroup(ureq, selectEvent.getBusinessGroup());
backLink.setVisible(true);
}
} else if (participantListCtrl == source) {
if (event instanceof SelectIdentityEvent) {
SelectIdentityEvent selectEvent = (SelectIdentityEvent) event;
Identity selectedIdentity = securityManager.loadIdentityByKey(selectEvent.getIdentityKey());
doSelectParticipant(ureq, selectedIdentity);
backLink.setVisible(true);
}
}
super.event(ureq, source, event);
}
Aggregations