use of org.olat.group.model.BusinessGroupQueryParams in project openolat by klemens.
the class SelectOwnedBusinessGroupController method getDefaultSearchParams.
@Override
protected BusinessGroupQueryParams getDefaultSearchParams() {
BusinessGroupQueryParams params = new BusinessGroupQueryParams(true, false);
params.setWaiting(false);
return params;
}
use of org.olat.group.model.BusinessGroupQueryParams in project openolat by klemens.
the class BusinessGroupListController method getSearchParams.
@Override
protected BusinessGroupQueryParams getSearchParams(SearchEvent event) {
BusinessGroupQueryParams params = event.convertToBusinessGroupQueriesParams();
// security
if (!params.isAttendee() && !params.isOwner() && !params.isWaiting()) {
params.setOwner(true);
params.setAttendee(true);
params.setWaiting(true);
}
return params;
}
Aggregations