public abstract class AbstractGroupEntity<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 |
AbstractGroupEntity() |
|
AbstractGroupEntity(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()
AbstractEntity
isUpdated
in interface AbstractEntity<K>
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 © 2020 JBoss by Red Hat. All rights reserved.