}
/*package*/ static void notifyProtectSheet(Book book, Set<Ref> all, String password) {
if (all != null) {
for(Ref ref : all) {
final RefSheet refSheet = ref.getOwnerSheet();
final RefBook refBook = refSheet.getOwnerBook();
refBook.publish(new SSDataEvent(SSDataEvent.ON_PROTECT_SHEET, ref, password));
}
}
}