public interface RootAccountManagerService
| Modifier and Type | Method and Description |
|---|---|
void |
activateAccount(Long id)
Sets an account in the system to active
|
void |
addDuracloudImage(String imageId,
String version,
String description) |
void |
createServerImage(String providerImageId,
String version,
String description,
String password,
boolean latest,
String iamRole,
String cfKeyPath,
String cfAccountId,
String cfKeyId)
Creates a service image in the system
|
void |
deleteAccount(Long id)
Delete an account from the system
|
void |
deleteServerImage(Long id)
Deletes a server image from the system
|
void |
deleteUser(Long id)
Delete a user from the system
|
void |
editServerImage(Long id,
String providerImageId,
String version,
String description,
String password,
boolean latest,
String iamRole,
String cfKeyPath,
String cfAccountId,
String cfKeyId)
Edits a service image in 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
|
org.duracloud.account.db.model.ServerImage |
getServerImage(Long id)
Gets a server image from the system
|
Set<org.duracloud.account.db.model.AccountInfo> |
listAllAccounts(String filter) |
Set<org.duracloud.account.db.model.ServerImage> |
listAllServerImages(String filter) |
Set<org.duracloud.account.db.model.DuracloudUser> |
listAllUsers(String filter) |
void |
resetUsersPassword(Long userId)
Reset a user's password
|
void |
setupComputeProvider(Long id,
String username,
String password,
String elasticIp,
String keypair,
String securityGroup)
Sets up a compute provider
|
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") Set<org.duracloud.account.db.model.ServerImage> listAllServerImages(String filter)
filter - optional filter on provider image id@Secured(value="role:ROLE_ROOT, scope:ANY") void addDuracloudImage(String imageId, String version, String description)
imageId - version - description - @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") void createServerImage(String providerImageId, String version, String description, String password, boolean latest, String iamRole, String cfKeyPath, String cfAccountId, String cfKeyId)
providerImageId - version - description - password - latest - iamRole - cfKeyPath - cfAccountId - cfKeyId - @Secured(value="role:ROLE_ROOT, scope:ANY") void editServerImage(Long id, String providerImageId, String version, String description, String password, boolean latest, String iamRole, String cfKeyPath, String cfAccountId, String cfKeyId)
id - providerImageId - version - description - password - latest - iamRole - cfKeyPath - cfAccountId - cfKeyId - @Secured(value="role:ROLE_ROOT, scope:ANY") org.duracloud.account.db.model.ServerImage getServerImage(Long id)
id - @Secured(value="role:ROLE_ROOT, scope:ANY") void deleteServerImage(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 setupComputeProvider(Long id, String username, String password, String elasticIp, String keypair, String securityGroup)
id - username - password - elasticIp - keypair - securityGroup - @Secured(value="role:ROLE_ROOT, scope:ANY") void resetUsersPassword(Long userId) throws DBNotFoundException, UnsentEmailException
userId - UnsentEmailExceptionDBNotFoundExceptionCopyright © 2009–2015 DuraSpace. All rights reserved.