Package org.keycloak.models.map.group
Class MapGroupEntityImpl.Empty
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.group.MapGroupEntity.AbstractGroupEntity
-
- org.keycloak.models.map.group.MapGroupEntityImpl.Empty
-
- All Implemented Interfaces:
AbstractEntity,EntityWithAttributes,UpdatableEntity,MapGroupEntity
- Enclosing class:
- MapGroupEntityImpl
public static class MapGroupEntityImpl.Empty extends MapGroupEntity.AbstractGroupEntity implements MapGroupEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.group.MapGroupEntity
MapGroupEntity.AbstractGroupEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapGroupEntityImpl.EmptyINSTANCE-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGrantedRole(String role)List<String>getAttribute(String name)Map<String,List<String>>getAttributes()Set<String>getGrantedRoles()StringgetId()StringgetName()StringgetParentId()StringgetRealmId()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidremoveAttribute(String name)voidremoveGrantedRole(String role)voidsetAttribute(String name, List<String> value)voidsetAttributes(Map<String,List<String>> attributes)voidsetGrantedRoles(Set<String> grantedRoles)voidsetId(String id)voidsetName(String name)voidsetParentId(String parentId)voidsetRealmId(String realmId)-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
INSTANCE
public static final MapGroupEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapGroupEntity.AbstractGroupEntity
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapGroupEntity.AbstractGroupEntity
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributesin interfaceEntityWithAttributes
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributesin interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttributein interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> value)
- Specified by:
setAttributein interfaceEntityWithAttributes
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttributein interfaceEntityWithAttributes
-
addGrantedRole
public void addGrantedRole(String role)
- Specified by:
addGrantedRolein interfaceMapGroupEntity
-
removeGrantedRole
public void removeGrantedRole(String role)
- Specified by:
removeGrantedRolein interfaceMapGroupEntity
-
setGrantedRoles
public void setGrantedRoles(Set<String> grantedRoles)
- Specified by:
setGrantedRolesin interfaceMapGroupEntity
-
getGrantedRoles
public Set<String> getGrantedRoles()
- Specified by:
getGrantedRolesin interfaceMapGroupEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceMapGroupEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceMapGroupEntity
-
getParentId
public String getParentId()
- Specified by:
getParentIdin interfaceMapGroupEntity
-
setParentId
public void setParentId(String parentId)
- Specified by:
setParentIdin interfaceMapGroupEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapGroupEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapGroupEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Overrides:
isUpdatedin classUpdatableEntity.Impl- Returns:
-
-