protected final void setReportFormGroups ( final F report ) { if ( ! report . getGroups ( ) . isEmpty ( ) ) { return ; } final Set < AggregatedGroupMapping > groups = this . getGroups ( ) ; if ( ! groups . isEmpty ( ) ) { report . getGroups ( ) . add ( groups . iterator ( ) . next ( ) . getId ( ) ) ; } }
Set the groups to have selected by default if not already set