public class IncrementalUserGroupRetriever extends UserGroupRetriever
Constructor and Description |
---|
IncrementalUserGroupRetriever(IncrementalRepositoryChangeTracker incrementalRepositoryChangeTracker)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<ExternalUserGroup> |
getNextGroups()
Method to get the next groups.
|
Collection<User> |
getNextUsers()
Method to get the next users.
|
boolean |
needsToAcceptMembersOfGroups()
If this method returns true, the UserGroupSynchronizer has to visit the members of a group
explicitly.
|
void |
start()
Called, before the synchronizations starts.
|
void |
stop(boolean success)
Called, when the synchronization has been finished.
|
public IncrementalUserGroupRetriever(IncrementalRepositoryChangeTracker incrementalRepositoryChangeTracker)
incrementalRepositoryChangeTracker
- The tracker to use.public Collection<ExternalUserGroup> getNextGroups()
getNextGroups
in class UserGroupRetriever
public Collection<User> getNextUsers()
getNextUsers
in class UserGroupRetriever
public boolean needsToAcceptMembersOfGroups()
needsToAcceptMembersOfGroups
in class UserGroupRetriever
IncrementalRepositoryChangeTracker
public void start()
start
in class UserGroupRetriever
public void stop(boolean success)
stop
in class UserGroupRetriever
success
- If true, the synchronization was successful, else not.Copyright © 2019 Communote team. All rights reserved.