An Identity repository for listing Users and Groups from a repository
Public Method Summary
| abstract void |
close()
Closes the data repository and releases resources such as connections or executors.
|
| abstract void | |
| abstract CheckpointCloseableIterable<IdentityGroup> |
listGroups(byte[] checkpoint)
List all groups from Identity Repository.
|
| abstract CheckpointCloseableIterable<IdentityUser> |
listUsers(byte[] checkpoint)
List all users from Identity Repository.
|
Public Methods
public abstract void close ()
Closes the data repository and releases resources such as connections or executors.
public abstract void init (RepositoryContext context)
Initialize Repository for traversal. Called from init(T). This
method can be retried if init(T) is retried.
Throws
| IOException |
|---|
public abstract CheckpointCloseableIterable<IdentityGroup> listGroups (byte[] checkpoint)
List all groups from Identity Repository. Implement can use pagination provided by CheckpointCloseableIterable to list groups in batches.
Parameters
| checkpoint | checkpoint from previous batch. |
|---|
Returns
- Full list of
IdentityGroups to sync
Throws
| IOException | if listing of users fails. |
|---|
public abstract CheckpointCloseableIterable<IdentityUser> listUsers (byte[] checkpoint)
List all users from Identity Repository. Implement can use pagination provided by CheckpointCloseableIterable to list users in batches.
Parameters
| checkpoint | checkpoint from previous batch. |
|---|
Returns
- Full list of
IdentityUsers to sync
Throws
| IOException | if listing of users fails. |
|---|