public interface RootAccountManagerService
| Modifier and Type | Method and Description |
|---|---|
void |
activateAccount(Long id)
Sets an account in the system to active
|
void |
deleteAccount(Long id)
Delete an account from the system
|
void |
deleteUser(Long id)
Delete a user from the system
|
org.duracloud.account.db.model.AccountInfo |
getAccount(Long id)
Gets an account from the system
|
List<org.duracloud.account.db.model.StorageProviderAccount> |
getSecondaryStorageProviders(Long id)
Gets secondary storage providers for an account from the system
|
Set<org.duracloud.account.db.model.AccountInfo> |
listAllAccounts(String filter) |
Set<org.duracloud.account.db.model.DuracloudUser> |
listAllUsers(String filter) |
void |
resetUsersPassword(Long userId)
Reset a user's password
|
void |
setupStorageProvider(Long id,
String username,
String password,
Map<String,String> properties,
int storageLimit)
Sets up a storage provider
|
@Secured(value="role:ROLE_ROOT, scope:ANY") Set<org.duracloud.account.db.model.AccountInfo> listAllAccounts(String filter)
filter - optional filter on org name@Secured(value="role:ROLE_ROOT, scope:ANY") Set<org.duracloud.account.db.model.DuracloudUser> listAllUsers(String filter)
filter - optional filter on username@Secured(value="role:ROLE_ROOT, scope:ANY") void deleteUser(Long id)
id - @Secured(value="role:ROLE_ROOT, scope:ANY") void deleteAccount(Long id)
id - @Secured(value="role:ROLE_ROOT, scope:ANY") org.duracloud.account.db.model.AccountInfo getAccount(Long id)
id - @Secured(value="role:ROLE_ROOT, scope:ANY") List<org.duracloud.account.db.model.StorageProviderAccount> getSecondaryStorageProviders(Long id)
id - @Secured(value="role:ROLE_ROOT, scope:ANY") void activateAccount(Long id)
id - @Secured(value="role:ROLE_ROOT, scope:ANY") void setupStorageProvider(Long id, String username, String password, Map<String,String> properties, int storageLimit)
id - username - password - storageLimit - @Secured(value="role:ROLE_ROOT, scope:ANY") void resetUsersPassword(Long userId) throws DBNotFoundException, UnsentEmailException
userId - UnsentEmailExceptionDBNotFoundExceptionCopyright © 2009–2016 DuraSpace. All rights reserved.