public interface UserAccountsDao
| Modifier and Type | Method and Description |
|---|---|
void |
deleteUserAccount(String userAccountUri)
Remove the UserAccount with this URI from the model.
|
Collection<PermissionSet> |
getAllPermissionSets()
Get all of the PermissionSets in the model, sorted by URI.
|
Collection<UserAccount> |
getAllUserAccounts()
Get all of the UserAccounts in the model.
|
PermissionSet |
getPermissionSetByUri(String uri)
Get the PermissionSet for this URI.
|
UserAccount |
getUserAccountByEmail(String emailAddress)
Get the UserAccount for this Email address.
|
UserAccount |
getUserAccountByExternalAuthId(String externalAuthId)
Get the UserAccount for this External Authentication ID
|
UserAccount |
getUserAccountByUri(String uri)
Get the UserAccount for this URI.
|
Collection<UserAccount> |
getUserAccountsWhoProxyForPage(String profilePageUri)
Get any UserAccounts who act as proxy editors for this profile page.
|
String |
insertUserAccount(UserAccount userAccount)
Create a new UserAccount in the model.
|
void |
setProxyAccountsOnProfile(String profilePageUri,
Collection<String> userAccountUris)
Set so that these UserAccounts, and only these, are authorized as proxies on this
profile page.
|
void |
updateUserAccount(UserAccount userAccount)
Update the values on a UserAccount that already exists in the model.
|
Collection<UserAccount> getAllUserAccounts()
UserAccount getUserAccountByUri(String uri)
UserAccount getUserAccountByEmail(String emailAddress)
UserAccount getUserAccountByExternalAuthId(String externalAuthId)
Collection<UserAccount> getUserAccountsWhoProxyForPage(String profilePageUri)
String insertUserAccount(UserAccount userAccount)
NullPointerException - if the UserAccount is null.IllegalArgumentException - if the URI of the UserAccount is not empty.void updateUserAccount(UserAccount userAccount)
NullPointerException - if the UserAccount is null.IllegalArgumentException - if a UserAccount with this URI does not already exist in the
model.void deleteUserAccount(String userAccountUri)
void setProxyAccountsOnProfile(String profilePageUri, Collection<String> userAccountUris)
PermissionSet getPermissionSetByUri(String uri)
Collection<PermissionSet> getAllPermissionSets()
Copyright © 2022. All rights reserved.