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 UserGroupRetrieverpublic Collection<User> getNextUsers()
getNextUsers in class UserGroupRetrieverpublic boolean needsToAcceptMembersOfGroups()
needsToAcceptMembersOfGroups in class UserGroupRetrieverIncrementalRepositoryChangeTrackerpublic void start()
start in class UserGroupRetrieverpublic void stop(boolean success)
stop in class UserGroupRetrieversuccess - If true, the synchronization was successful, else not.Copyright © 2019 Communote team. All rights reserved.