public class UserConsentModel extends Object
Constructor and Description |
---|
UserConsentModel(ClientModel client) |
Modifier and Type | Method and Description |
---|---|
void |
addGrantedProtocolMapper(ProtocolMapperModel protocolMapper) |
void |
addGrantedRole(RoleModel role) |
ClientModel |
getClient() |
Long |
getCreatedDate() |
Set<ProtocolMapperModel> |
getGrantedProtocolMappers() |
Set<RoleModel> |
getGrantedRoles() |
Long |
getLastUpdatedDate() |
boolean |
isProtocolMapperGranted(ProtocolMapperModel protocolMapper) |
boolean |
isRoleGranted(RoleModel role) |
void |
setCreatedDate(Long createdDate) |
void |
setLastUpdatedDate(Long lastUpdatedDate) |
public UserConsentModel(ClientModel client)
public ClientModel getClient()
public void addGrantedRole(RoleModel role)
public boolean isRoleGranted(RoleModel role)
public void addGrantedProtocolMapper(ProtocolMapperModel protocolMapper)
public Set<ProtocolMapperModel> getGrantedProtocolMappers()
public boolean isProtocolMapperGranted(ProtocolMapperModel protocolMapper)
public Long getCreatedDate()
public void setCreatedDate(Long createdDate)
public Long getLastUpdatedDate()
public void setLastUpdatedDate(Long lastUpdatedDate)
Copyright © 2018 JBoss by Red Hat. All rights reserved.