public void addAllRoles ( HashMap map ) { for ( int i = 0 ; i < roles . size ( ) ; i ++ ) { Grantee role = ( Grantee ) roles . get ( i ) ; map . put ( role . granteeName . name , role . roles ) ; } }
returns a map with grantee name keys and sets of granted roles as value