public T setAcl ( List < AclEntry > entries ) { if ( entries == null || entries . isEmpty ( ) ) { return getThis ( ) ; } for ( AclEntry entry : entries ) { if ( entry . isDefault ( ) ) { getDefaultACL ( ) . setEntry ( entry ) ; } else { mAcl . setEntry ( entry ) ; } } updateMask ( entries ) ; return getThis ( ) ; }
Sets ACL entries into the internal ACL . The entries will overwrite any existing correspondent entries in the internal ACL .