Class MapClientScopeEntityImpl.Empty
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.clientscope.MapClientScopeEntity.AbstractClientScopeEntity
-
- org.keycloak.models.map.clientscope.MapClientScopeEntityImpl.Empty
-
- All Implemented Interfaces:
MapClientScopeEntity,AbstractEntity,EntityWithAttributes,UpdatableEntity
- Enclosing class:
- MapClientScopeEntityImpl
public static class MapClientScopeEntityImpl.Empty extends MapClientScopeEntity.AbstractClientScopeEntity implements MapClientScopeEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.clientscope.MapClientScopeEntity
MapClientScopeEntity.AbstractClientScopeEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapClientScopeEntityImpl.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 voidaddProtocolMapper(MapProtocolMapperEntity mapping)voidaddScopeMapping(String id)List<String>getAttribute(String name)Map<String,List<String>>getAttributes()StringgetDescription()StringgetId()StringgetName()StringgetProtocol()Optional<MapProtocolMapperEntity>getProtocolMapper(String id)Set<MapProtocolMapperEntity>getProtocolMappers()StringgetRealmId()Collection<String>getScopeMappings()booleanisUpdated()Flag signalizing that any of the setters has been meaningfully used.voidremoveAttribute(String name)voidremoveProtocolMapper(String id)voidremoveScopeMapping(String id)voidsetAttribute(String name, List<String> value)voidsetAttributes(Map<String,List<String>> attributes)voidsetDescription(String description)voidsetId(String id)voidsetName(String name)voidsetProtocol(String protocol)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 MapClientScopeEntityImpl.Empty INSTANCE
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapClientScopeEntity.AbstractClientScopeEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapClientScopeEntity.AbstractClientScopeEntity
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributesin interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> value)
- Specified by:
setAttributein interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttributein interfaceEntityWithAttributes
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttributein interfaceEntityWithAttributes
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributesin interfaceEntityWithAttributes
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceMapClientScopeEntity
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceMapClientScopeEntity
-
getName
public String getName()
- Specified by:
getNamein interfaceMapClientScopeEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceMapClientScopeEntity
-
setProtocol
public void setProtocol(String protocol)
- Specified by:
setProtocolin interfaceMapClientScopeEntity
-
getProtocol
public String getProtocol()
- Specified by:
getProtocolin interfaceMapClientScopeEntity
-
addProtocolMapper
public void addProtocolMapper(MapProtocolMapperEntity mapping)
- Specified by:
addProtocolMapperin interfaceMapClientScopeEntity
-
getProtocolMappers
public Set<MapProtocolMapperEntity> getProtocolMappers()
- Specified by:
getProtocolMappersin interfaceMapClientScopeEntity
-
getProtocolMapper
public Optional<MapProtocolMapperEntity> getProtocolMapper(String id)
- Specified by:
getProtocolMapperin interfaceMapClientScopeEntity
-
removeProtocolMapper
public void removeProtocolMapper(String id)
- Specified by:
removeProtocolMapperin interfaceMapClientScopeEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapClientScopeEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapClientScopeEntity
-
removeScopeMapping
public void removeScopeMapping(String id)
- Specified by:
removeScopeMappingin interfaceMapClientScopeEntity
-
getScopeMappings
public Collection<String> getScopeMappings()
- Specified by:
getScopeMappingsin interfaceMapClientScopeEntity
-
addScopeMapping
public void addScopeMapping(String id)
- Specified by:
addScopeMappingin interfaceMapClientScopeEntity
-
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:
-
-