public class Role extends DomainWrapper<com.abiquo.server.core.enterprise.RoleDto>
RoleDto
.
http://community.abiquo.com/display/ABI20/Roles+Resource
Modifier and Type | Class and Description |
---|---|
static class |
Role.Builder |
context, target
Modifier | Constructor and Description |
---|---|
protected |
Role(RestContext<AbiquoApi,AbiquoAsyncApi> context,
com.abiquo.server.core.enterprise.RoleDto target)
Constructor to be used only by the builder.
|
Modifier and Type | Method and Description |
---|---|
static Role.Builder |
builder(RestContext<AbiquoApi,AbiquoAsyncApi> context) |
void |
delete() |
Privilege |
findPrivileges(com.google.common.base.Predicate<Privilege> filter) |
Integer |
getId() |
String |
getName() |
boolean |
isBlocked() |
List<Privilege> |
listPrivileges() |
List<Privilege> |
listPrivileges(com.google.common.base.Predicate<Privilege> filter) |
void |
save() |
void |
setBlocked(boolean blocked) |
void |
setEnterprise(Enterprise enterprise) |
void |
setName(String name) |
void |
setPrivileges(List<Privilege> privileges) |
String |
toString() |
void |
update() |
getParentId, getTask, getTasks, getURI, join, unwrap, unwrap, updateLink, wrap, wrap
protected Role(RestContext<AbiquoApi,AbiquoAsyncApi> context, com.abiquo.server.core.enterprise.RoleDto target)
public void delete()
public void save()
public void update()
public void setEnterprise(Enterprise enterprise)
public List<Privilege> listPrivileges(com.google.common.base.Predicate<Privilege> filter)
public static Role.Builder builder(RestContext<AbiquoApi,AbiquoAsyncApi> context)
public Integer getId()
public String getName()
public boolean isBlocked()
public void setBlocked(boolean blocked)
public void setName(String name)
Copyright © 2009-2013 jclouds. All Rights Reserved.