Class GroupMappingSyncProcessor
java.lang.Object
org.alfresco.hxi_connector.nucleus_sync.services.processors.GroupMappingSyncProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsyncGroupMappings(List<NucleusGroupOutput> currentNucleusGroups, Map<String, List<String>> userGroupMemberships) Performs group sync operation with nucleus.
-
Constructor Details
-
GroupMappingSyncProcessor
public GroupMappingSyncProcessor(NucleusClient nucleusClient, @Value("${alfresco.sync-batch-size:1000}") int createBatchSize)
-
-
Method Details
-
syncGroupMappings
public void syncGroupMappings(List<NucleusGroupOutput> currentNucleusGroups, Map<String, List<String>> userGroupMemberships) Performs group sync operation with nucleus. Only those groups are synced whose users have been synced. Groups with no users or groups with all users who could not be synced are not synced with nucleus.- Parameters:
currentNucleusGroups- list of groups from nucleususerGroupMemberships- map of user and their groups
-