public interface ClientStorageManager
Custom storage implementations should be extended from ClientStorageManagerBase rather than directly
implementing this interface to benefit from the default methods it provides.
| Modifier and Type | Method and Description |
|---|---|
void |
addClient(ClientData client)
Add a client to storage.
|
void |
deleteClient(String clientId)
Delete a client from storage that corresponds to the given client ID.
|
ClientData |
getClient(String clientId)
Get a client from storage that corresponds to the given client ID.
|
Collection<ClientData> |
getClients()
Retrieve all clients from storage.
|
void |
updateClient(ClientData client)
Update a stored client with the given client data object.
|
ClientData getClient(String clientId) throws ClientStorageManagementException
clientId - The client id.ClientStorageManagementException - Checked exception to indicate the retrieval of client
record has failed.Collection<ClientData> getClients() throws ClientStorageManagementException
ClientStorageManagementException - Checked exception to indicate the retrieval of client
records has failed.void addClient(ClientData client) throws ClientStorageManagementException
client - The client object.ClientStorageManagementException - Checked exception to indicate failure talking with storage.void deleteClient(String clientId) throws ClientStorageManagementException
clientId - The client id.ClientStorageManagementException - Checked exception to indicate that the operation of removing
a client record has failed.void updateClient(ClientData client) throws ClientStorageManagementException
client - The client object.ClientStorageManagementException - Checked exception to indicate that the operation of updating
a client record has failed.Copyright 2019 Ping Identity Corp. All rights reserved.