public interface UserStore
extends com.google.common.util.concurrent.Service
Modifier and Type | Method and Description |
---|---|
void |
deleteProfile(Account account)
Delete the profile for an account.
|
Map<String,Object> |
getProfile(Account account)
Get the profile for a given account.
|
void |
writeProfile(Account account,
Map<String,Object> profile)
Write the profile for a given account.
|
Map<String,Object> getProfile(Account account) throws IOException
account
- account to get the profile forIOException
- if there was an issue getting the profilevoid writeProfile(Account account, Map<String,Object> profile) throws IOException
account
- account to write the profile forprofile
- account profile to writeIOException
- if there was an issue writing the profilevoid deleteProfile(Account account) throws IOException
account
- account whose profile should be deletedIOException
- if there was an issue deleting the profileCopyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.