Class MapClientScopeEntity
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.clientscope.MapClientScopeEntity
-
- All Implemented Interfaces:
AbstractEntity,EntityWithAttributes,UpdatableEntity
public class MapClientScopeEntity extends UpdatableEntity.Impl implements AbstractEntity, EntityWithAttributes
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description MapClientScopeEntity()Flag signalizing that any of the setters has been meaningfully used.MapClientScopeEntity(String id, String realmId)
-
Method Summary
-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, isUpdated
-
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String protocol)
-
getAttributes
public Map<String,List<String>> getAttributes()
- Specified by:
getAttributesin interfaceEntityWithAttributes
-
setAttributes
public void setAttributes(Map<String,List<String>> attributes)
- Specified by:
setAttributesin interfaceEntityWithAttributes
-
setAttribute
public void setAttribute(String name, List<String> values)
- Specified by:
setAttributein interfaceEntityWithAttributes
-
addProtocolMapper
public ProtocolMapperModel addProtocolMapper(ProtocolMapperModel model)
-
getProtocolMappers
public Stream<ProtocolMapperModel> getProtocolMappers()
-
updateProtocolMapper
public void updateProtocolMapper(String id, ProtocolMapperModel mapping)
-
removeProtocolMapper
public void removeProtocolMapper(String id)
-
setProtocolMappers
public void setProtocolMappers(Collection<ProtocolMapperModel> protocolMappers)
-
getProtocolMapperById
public ProtocolMapperModel getProtocolMapperById(String id)
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttributein interfaceEntityWithAttributes
-
getAttribute
public List<String> getAttribute(String name)
- Specified by:
getAttributein interfaceEntityWithAttributes
-
getRealmId
public String getRealmId()
-
setRealmId
public void setRealmId(String realmId)
-
addScopeMapping
public void addScopeMapping(String id)
-
deleteScopeMapping
public void deleteScopeMapping(String id)
-
-