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.Empty
INSTANCE
-
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 void
addGrantedRole(String role)
List<String>
getAttribute(String name)
Map<String,List<String>>
getAttributes()
Set<String>
getGrantedRoles()
String
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
removeGrantedRole(String role)
void
setAttribute(String name, List<String> value)
void
setAttributes(Map<String,List<String>> attributes)
void
setGrantedRoles(Set<String> grantedRoles)
void
setId(String id)
void
setName(String name)
void
setParentId(String parentId)
void
setRealmId(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:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapGroupEntity.AbstractGroupEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapGroupEntity.AbstractGroupEntity
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributes
in interfaceEntityWithAttributes
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributes
in interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttribute
in interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> value)
- Specified by:
setAttribute
in interfaceEntityWithAttributes
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttribute
in interfaceEntityWithAttributes
-
getGrantedRoles
public Set<String> getGrantedRoles()
- Specified by:
getGrantedRoles
in interfaceMapGroupEntity
-
removeGrantedRole
public void removeGrantedRole(String role)
- Specified by:
removeGrantedRole
in interfaceMapGroupEntity
-
setGrantedRoles
public void setGrantedRoles(Set<String> grantedRoles)
- Specified by:
setGrantedRoles
in interfaceMapGroupEntity
-
addGrantedRole
public void addGrantedRole(String role)
- Specified by:
addGrantedRole
in interfaceMapGroupEntity
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceMapGroupEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceMapGroupEntity
-
getParentId
public String getParentId()
- Specified by:
getParentId
in interfaceMapGroupEntity
-
setParentId
public void setParentId(String parentId)
- Specified by:
setParentId
in interfaceMapGroupEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapGroupEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapGroupEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntity
Flag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdated
in interfaceUpdatableEntity
- Overrides:
isUpdated
in classUpdatableEntity.Impl
- Returns:
-
-