use of org.olat.group.model.BusinessGroupQueryParams in project OpenOLAT by OpenOLAT.
the class OpenBusinessGroupListController method getSearchParams.
@Override
protected BusinessGroupQueryParams getSearchParams(SearchEvent event) {
BusinessGroupQueryParams params = event.convertToBusinessGroupQueriesParams();
params.setPublicGroups(Boolean.TRUE);
return params;
}
use of org.olat.group.model.BusinessGroupQueryParams in project OpenOLAT by OpenOLAT.
the class SelectBusinessGroupCourseAuthorController method getSearchParams.
@Override
protected BusinessGroupQueryParams getSearchParams(SearchEvent event) {
BusinessGroupQueryParams params = new BusinessGroupQueryParams();
params.setAuthorConnection(true);
return params;
}
use of org.olat.group.model.BusinessGroupQueryParams in project OpenOLAT by OpenOLAT.
the class SelectBusinessGroupCourseAuthorController method getDefaultSearchParams.
@Override
protected BusinessGroupQueryParams getDefaultSearchParams() {
BusinessGroupQueryParams params = new BusinessGroupQueryParams();
params.setAuthorConnection(true);
return params;
}
use of org.olat.group.model.BusinessGroupQueryParams in project OpenOLAT by OpenOLAT.
the class FavoritBusinessGroupListController method getDefaultSearchParams.
@Override
protected BusinessGroupQueryParams getDefaultSearchParams() {
BusinessGroupQueryParams params = new BusinessGroupQueryParams();
params.setMarked(true);
params.setAttendee(true);
params.setOwner(true);
params.setWaiting(true);
return params;
}
use of org.olat.group.model.BusinessGroupQueryParams in project OpenOLAT by OpenOLAT.
the class SearchEvent method convertToBusinessGroupQueriesParams.
public BusinessGroupQueryParams convertToBusinessGroupQueriesParams() {
BusinessGroupQueryParams params = new BusinessGroupQueryParams();
params.setIdRef(StringHelper.containsNonWhitespace(idRef) ? idRef : null);
params.setName(StringHelper.containsNonWhitespace(name) ? name : null);
params.setDescription(StringHelper.containsNonWhitespace(description) ? description : null);
params.setOwnerName(StringHelper.containsNonWhitespace(ownerName) ? ownerName : null);
params.setCourseTitle(StringHelper.containsNonWhitespace(courseTitle) ? courseTitle : null);
params.setOwner(isOwner());
params.setAttendee(isAttendee());
params.setWaiting(isWaiting());
params.setPublicGroups(getPublicGroups());
params.setResources(getResources());
params.setHeadless(isHeadless());
return params;
}
Aggregations