public class ExternalUserGroupRetriever extends UserGroupRetriever
UserGroupRetriever
, which retrieves the external users and groups from the internal
database.Constructor and Description |
---|
ExternalUserGroupRetriever(String externalSystemId)
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.
|
void |
start()
Resets the internal status.
|
void |
stop(boolean success)
Logs the success status
|
needsToAcceptMembersOfGroups
public ExternalUserGroupRetriever(String externalSystemId)
externalSystemId
- The external systems id.public Collection<ExternalUserGroup> getNextGroups()
getNextGroups
in class UserGroupRetriever
public Collection<User> getNextUsers()
getNextUsers
in class UserGroupRetriever
public void start()
start
in class UserGroupRetriever
public void stop(boolean success)
stop
in class UserGroupRetriever
success
- True, if the synchronization was successfull.Copyright © 2019 Communote team. All rights reserved.