public class RoleDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
protected String |
ldap |
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
RoleDto() |
RoleDto(Integer id,
String name,
boolean blocked,
String ldap,
Integer idEnterprise) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
Integer |
getId()
Identifier for this role
|
Integer |
getIdEnterprise()
Identifier for the enterprise that the role belongs to.
|
String |
getLdap()
The LDAP group that the user belongs to.
|
String |
getMediaType() |
String |
getName()
The name of the role
|
boolean |
isBlocked()
This role is not editable or changeable.
|
void |
setBlocked(boolean blocked) |
void |
setId(Integer id) |
void |
setIdEnterprise(Integer idEnterprise) |
void |
setLdap(String ldap) |
void |
setName(String name) |
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String MEDIA_TYPE
public static final String SHORT_MEDIA_TYPE_JSON
public static final String SHORT_MEDIA_TYPE_XML
public static final String MEDIA_TYPE_XML
public static final String MEDIA_TYPE_JSON
protected String ldap
public Integer getId()
public void setId(Integer id)
@NotNull public String getName()
public void setName(String name)
public boolean isBlocked()
public void setBlocked(boolean blocked)
public String getLdap()
public void setLdap(String ldap)
public Integer getIdEnterprise()
public void setIdEnterprise(Integer idEnterprise)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.