public static systemgroup [ ] get ( nitro_service service , String groupname [ ] ) throws Exception { if ( groupname != null && groupname . length > 0 ) { systemgroup response [ ] = new systemgroup [ groupname . length ] ; systemgroup obj [ ] = new systemgroup [ groupname . length ] ; for ( int i = 0 ; i < groupname . length ; i ++ ) { obj [ i ] = new systemgroup ( ) ; obj [ i ] . set_groupname ( groupname [ i ] ) ; response [ i ] = ( systemgroup ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch systemgroup resources of given names .