public interface AdminApi
http://community.abiquo.com/display/ABI20/API+Reference
,
AdminAsyncApi
Modifier and Type | Method and Description |
---|---|
com.abiquo.server.core.enterprise.RoleDto |
createRole(com.abiquo.server.core.enterprise.RoleDto role)
Create a new role.
|
void |
deleteRole(com.abiquo.server.core.enterprise.RoleDto role)
Deletes an existing role.
|
com.abiquo.server.core.enterprise.UserDto |
getCurrentUser()
Get the information of the current user.
|
com.abiquo.server.core.enterprise.RoleDto |
getRole(Integer roleId)
Get the given role.
|
com.abiquo.server.core.enterprise.RoleDto |
getRole(com.abiquo.server.core.enterprise.UserDto user)
Retrieves the role of the given user.
|
com.abiquo.server.core.enterprise.PrivilegesDto |
listPrivileges(com.abiquo.server.core.enterprise.RoleDto role)
Get privileges of the given role.
|
com.abiquo.server.core.enterprise.RolesDto |
listRoles()
List global roles.
|
com.abiquo.server.core.enterprise.RolesDto |
listRoles(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
List enterprise roles.
|
com.abiquo.server.core.enterprise.RoleDto |
updateRole(com.abiquo.server.core.enterprise.RoleDto role)
Updates an existing role.
|
com.abiquo.server.core.enterprise.UserDto getCurrentUser()
com.abiquo.server.core.enterprise.RolesDto listRoles()
com.abiquo.server.core.enterprise.RolesDto listRoles(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
com.abiquo.server.core.enterprise.RoleDto getRole(com.abiquo.server.core.enterprise.UserDto user)
user
- The user.com.abiquo.server.core.enterprise.RoleDto getRole(Integer roleId)
roleId
- The id of the role.null
if it does not exist.void deleteRole(com.abiquo.server.core.enterprise.RoleDto role)
role
- The role to delete.com.abiquo.server.core.enterprise.RoleDto updateRole(com.abiquo.server.core.enterprise.RoleDto role)
role
- The new attributes for the role.com.abiquo.server.core.enterprise.RoleDto createRole(com.abiquo.server.core.enterprise.RoleDto role)
role
- The role to be created.com.abiquo.server.core.enterprise.PrivilegesDto listPrivileges(com.abiquo.server.core.enterprise.RoleDto role)
role
- The role.Copyright © 2009-2013 jclouds. All Rights Reserved.