updatedAccessControlList = new AccessControlList();
updatedAccessControlList.setOwner(originalAccessControlList.getOwner());
for (int i = 0; i < canonicalGranteeTable.getRowCount(); i++) {
GranteeInterface grantee = canonicalGranteeTableModel.getGrantee(i);
Permission permission = canonicalGranteeTableModel.getPermission(i);
updatedAccessControlList.grantPermission(grantee, permission);
}
for (int i = 0; i < emailGranteeTable.getRowCount(); i++) {
GranteeInterface grantee = emailGranteeTableModel.getGrantee(i);
Permission permission = emailGranteeTableModel.getPermission(i);
updatedAccessControlList.grantPermission(grantee, permission);
}
for (int i = 0; i < groupGranteeTable.getRowCount(); i++) {
GranteeInterface grantee = groupGranteeTableModel.getGrantee(i);
Permission permission = groupGranteeTableModel.getPermission(i);
updatedAccessControlList.grantPermission(grantee, permission);
}
}