19 package org.turro.contacts.util;
21 import java.util.List;
22 import java.util.stream.Stream;
23 import org.turro.contacts.Contact;
24 import org.turro.contacts.db.ContactsPU;
25 import org.turro.i18n.I_;
26 import org.turro.jpa.Dao;
27 import org.turro.scheduler.task.AbstractTask;
28 import org.turro.security.SocialGroups;
39 try(Stream<Contact> contacts =
new ContactsPU().stream(
Contact.class,
"select c from Contact c")) {
40 contacts.forEach((contact) -> {
54 return I_.
get(
"Social grups check");
static String get(String msg)
static void resyndicate(List< Contact > contacts, Dao dao)
static void checkInheritance(List< Contact > contacts, Dao dao)