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.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
addProtocolMapper(MapProtocolMapperEntity mapping)
void
addScopeMapping(String id)
List<String>
getAttribute(String name)
Map<String,List<String>>
getAttributes()
String
getDescription()
String
getId()
String
getName()
String
getProtocol()
Optional<MapProtocolMapperEntity>
getProtocolMapper(String id)
Set<MapProtocolMapperEntity>
getProtocolMappers()
String
getRealmId()
Collection<String>
getScopeMappings()
boolean
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.void
removeAttribute(String name)
void
removeProtocolMapper(String id)
void
removeScopeMapping(String id)
void
setAttribute(String name, List<String> value)
void
setAttributes(Map<String,List<String>> attributes)
void
setDescription(String description)
void
setId(String id)
void
setName(String name)
void
setProtocol(String protocol)
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 MapClientScopeEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
- Overrides:
setId
in classMapClientScopeEntity.AbstractClientScopeEntity
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
- Overrides:
getId
in classMapClientScopeEntity.AbstractClientScopeEntity
-
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
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceMapClientScopeEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceMapClientScopeEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceMapClientScopeEntity
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceMapClientScopeEntity
-
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interfaceMapClientScopeEntity
-
setProtocol
public void setProtocol(String protocol)
- Specified by:
setProtocol
in interfaceMapClientScopeEntity
-
addProtocolMapper
public void addProtocolMapper(MapProtocolMapperEntity mapping)
- Specified by:
addProtocolMapper
in interfaceMapClientScopeEntity
-
getProtocolMappers
public Set<MapProtocolMapperEntity> getProtocolMappers()
- Specified by:
getProtocolMappers
in interfaceMapClientScopeEntity
-
getProtocolMapper
public Optional<MapProtocolMapperEntity> getProtocolMapper(String id)
- Specified by:
getProtocolMapper
in interfaceMapClientScopeEntity
-
removeProtocolMapper
public void removeProtocolMapper(String id)
- Specified by:
removeProtocolMapper
in interfaceMapClientScopeEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapClientScopeEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapClientScopeEntity
-
getScopeMappings
public Collection<String> getScopeMappings()
- Specified by:
getScopeMappings
in interfaceMapClientScopeEntity
-
addScopeMapping
public void addScopeMapping(String id)
- Specified by:
addScopeMapping
in interfaceMapClientScopeEntity
-
removeScopeMapping
public void removeScopeMapping(String id)
- Specified by:
removeScopeMapping
in interfaceMapClientScopeEntity
-
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:
-
-