public List < AccessControlEntry > getPermissionEntries ( ) { List < AccessControlEntry > list = new ArrayList < AccessControlEntry > ( ) ; for ( int i = 0 , length = accessList . size ( ) ; i < length ; i ++ ) { AccessControlEntry entry = accessList . get ( i ) ; list . add ( new AccessControlEntry ( entry . getIdentity ( ) , entry . getPermission ( ) ) ) ; } return list ; }
Gives all the permission entries