Class MapClientScopeEntityDelegate
- java.lang.Object
-
- org.keycloak.models.map.clientscope.MapClientScopeEntityDelegate
-
- All Implemented Interfaces:
MapClientScopeEntity
,AbstractEntity
,HasDelegateProvider<MapClientScopeEntity>
,EntityWithAttributes
,UpdatableEntity
@Generated("org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor") public class MapClientScopeEntityDelegate extends Object implements MapClientScopeEntity, HasDelegateProvider<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
-
-
Constructor Summary
Constructors Constructor Description MapClientScopeEntityDelegate(DelegateProvider<MapClientScopeEntity> delegateProvider)
-
Method Summary
-
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
-
-
-
-
Constructor Detail
-
MapClientScopeEntityDelegate
public MapClientScopeEntityDelegate(DelegateProvider<MapClientScopeEntity> delegateProvider)
-
-
Method Detail
-
getDelegateProvider
public DelegateProvider<MapClientScopeEntity> getDelegateProvider()
- Specified by:
getDelegateProvider
in interfaceHasDelegateProvider<MapClientScopeEntity>
-
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
-
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
- Returns:
-
getId
public String getId()
- Specified by:
getId
in interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceAbstractEntity
-
getName
public String getName()
- Specified by:
getName
in interfaceMapClientScopeEntity
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceMapClientScopeEntity
-
getProtocol
public String getProtocol()
- Specified by:
getProtocol
in interfaceMapClientScopeEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmId
in interfaceMapClientScopeEntity
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceMapClientScopeEntity
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceMapClientScopeEntity
-
setProtocol
public void setProtocol(String protocol)
- Specified by:
setProtocol
in interfaceMapClientScopeEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmId
in interfaceMapClientScopeEntity
-
getProtocolMapper
public Optional<MapProtocolMapperEntity> getProtocolMapper(String id)
- Specified by:
getProtocolMapper
in interfaceMapClientScopeEntity
-
getProtocolMappers
public Set<MapProtocolMapperEntity> getProtocolMappers()
- Specified by:
getProtocolMappers
in interfaceMapClientScopeEntity
-
addProtocolMapper
public void addProtocolMapper(MapProtocolMapperEntity mapping)
- Specified by:
addProtocolMapper
in interfaceMapClientScopeEntity
-
removeProtocolMapper
public void removeProtocolMapper(String id)
- Specified by:
removeProtocolMapper
in interfaceMapClientScopeEntity
-
addScopeMapping
public void addScopeMapping(String id)
- Specified by:
addScopeMapping
in interfaceMapClientScopeEntity
-
removeScopeMapping
public void removeScopeMapping(String id)
- Specified by:
removeScopeMapping
in interfaceMapClientScopeEntity
-
getScopeMappings
public Collection<String> getScopeMappings()
- Specified by:
getScopeMappings
in interfaceMapClientScopeEntity
-
-