public class User extends DomainWrapper<com.abiquo.server.core.enterprise.UserDto>
UserDto
.
http://community.abiquo.com/display/ABI20/Users+Resource
Modifier and Type | Class and Description |
---|---|
static class |
User.Builder |
context, target
Modifier | Constructor and Description |
---|---|
protected |
User(RestContext<AbiquoApi,AbiquoAsyncApi> context,
com.abiquo.server.core.enterprise.UserDto target)
Constructor to be used only by the builder.
|
getParentId, getTask, getTasks, getURI, join, unwrap, unwrap, updateLink, wrap, wrap
protected User(RestContext<AbiquoApi,AbiquoAsyncApi> context, com.abiquo.server.core.enterprise.UserDto target)
public void delete()
public void save()
public void update()
public List<VirtualDatacenter> listPermitedVirtualDatacenters()
public List<VirtualDatacenter> listPermitedVirtualDatacenters(com.google.common.base.Predicate<VirtualDatacenter> filter)
public VirtualDatacenter findPermitedVirtualDatacenter(com.google.common.base.Predicate<VirtualDatacenter> filter)
public void permitAllVirtualDatacenters()
public void setPermitedVirtualDatacenters(List<VirtualDatacenter> vdcs)
vdc
- List of virtual datancers from the user's enterprise.public Enterprise getEnterprise()
public Role getRole()
public List<VirtualMachine> listMachines()
public List<VirtualMachine> listMachines(com.google.common.base.Predicate<VirtualMachine> filter)
public VirtualMachine findMachine(com.google.common.base.Predicate<VirtualMachine> filter)
public static User.Builder builder(RestContext<AbiquoApi,AbiquoAsyncApi> context, Enterprise enterprise, Role role)
public String getAuthType()
public String getDescription()
public String getEmail()
public Integer getId()
public String getLocale()
public String getName()
public String getNick()
public String getPassword()
public String getSurname()
public boolean isActive()
public void setActive(boolean active)
public void setAuthType(String authType)
public void setDescription(String description)
public void setEmail(String email)
public void setLocale(String locale)
public void setName(String name)
public void setNick(String nick)
public void setPassword(String password)
public void setSurname(String surname)
public void setRole(Role role)
Copyright © 2009-2013 jclouds. All Rights Reserved.