public class MapGroupEntity<K> extends Object implements AbstractEntity<K>
Modifier and Type | Field and Description |
---|---|
protected boolean |
updated
Flag signalizing that any of the setters has been meaningfully used.
|
Modifier | Constructor and Description |
---|---|
protected |
MapGroupEntity() |
|
MapGroupEntity(K id,
String realmId) |
Modifier and Type | Method and Description |
---|---|
void |
addGrantedRole(String role) |
List<String> |
getAttribute(String name) |
Map<String,List<String>> |
getAttributes() |
Set<String> |
getGrantedRoles() |
K |
getId() |
String |
getName() |
String |
getParentId() |
String |
getRealmId() |
boolean |
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.
|
void |
removeAttribute(String name) |
void |
removeRole(String role) |
void |
setAttribute(String name,
List<String> value) |
void |
setAttributes(Map<String,List<String>> attributes) |
void |
setGrantedRoles(Set<String> grantedRoles) |
void |
setName(String name) |
void |
setParentId(String parentId) |
protected boolean updated
public K getId()
getId
in interface AbstractEntity<K>
public boolean isUpdated()
UpdatableEntity
isUpdated
in interface UpdatableEntity
public String getName()
public void setName(String name)
public String getParentId()
public void setParentId(String parentId)
public void removeAttribute(String name)
public String getRealmId()
public void removeRole(String role)
public void addGrantedRole(String role)
Copyright © 2021 JBoss by Red Hat. All rights reserved.