public QueryControllerGroup getGroup ( String groupId ) { int index = getElementPosition ( groupId ) ; if ( index == - 1 ) { return null ; } QueryControllerGroup group = ( QueryControllerGroup ) entities . get ( index ) ; return group ; }
Searches a group and returns the object else returns null