public class RoleWithPrivilegesDto extends RoleDto
ldap, MEDIA_TYPE, MEDIA_TYPE_JSON, MEDIA_TYPE_XML, SHORT_MEDIA_TYPE_JSON, SHORT_MEDIA_TYPE_XMLAPI_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 |
|---|
RoleWithPrivilegesDto() |
RoleWithPrivilegesDto(RoleDto dto) |
| Modifier and Type | Method and Description |
|---|---|
EnterpriseDto |
getEnterprise()
Enteprise associated to this role
|
PrivilegesDto |
getPrivileges()
All privileges included in this role
|
void |
setEnterprise(EnterpriseDto enterprise) |
void |
setPrivileges(PrivilegesDto privileges) |
RoleDto |
toRoleDto() |
getBaseMediaType, getId, getIdEnterprise, getLdap, getMediaType, getName, isBlocked, setBlocked, setId, setIdEnterprise, setLdap, setNameaddEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic RoleWithPrivilegesDto()
public RoleWithPrivilegesDto(RoleDto dto)
public PrivilegesDto getPrivileges()
public void setPrivileges(PrivilegesDto privileges)
public EnterpriseDto getEnterprise()
public void setEnterprise(EnterpriseDto enterprise)
public RoleDto toRoleDto()
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.