public interface AccountManagerService
| Modifier and Type | Method and Description |
|---|---|
AccountService |
createAccount(org.duracloud.account.db.model.util.AccountCreationInfo accountCreationInfo) |
Set<org.duracloud.account.db.model.AccountInfo> |
findAccountsByUserId(Long userId) |
AccountService |
getAccount(Long accountId)
Returns an
AccountService interface. |
boolean |
subdomainAvailable(String subdomain)
Checks to see if the subdomain is available.
|
@Secured(value="role:ROLE_USER, scope:ANY") boolean subdomainAvailable(String subdomain)
@Secured(value="role:ROLE_USER, scope:SELF_ACCT") AccountService getAccount(Long accountId) throws AccountNotFoundException
AccountService interface.accountId - AccountNotFoundException@Secured(value="role:ROLE_USER, scope:ANY") AccountService createAccount(org.duracloud.account.db.model.util.AccountCreationInfo accountCreationInfo) throws SubdomainAlreadyExistsException
accountCreationInfo - SubdomainAlreadyExistsException@Secured(value="role:ROLE_USER, scope:SELF_ID") Set<org.duracloud.account.db.model.AccountInfo> findAccountsByUserId(Long userId)
userId - Copyright © 2009–2017 DuraSpace. All rights reserved.