public class ClientScopeAdapter extends Object implements ClientScopeModel
OrderedModel.OrderedModelComparator<OM extends OrderedModel>| Modifier and Type | Field and Description |
|---|---|
protected CachedClientScope |
cached |
protected RealmModel |
cachedRealm |
protected RealmCacheSession |
cacheSession |
protected boolean |
invalidated |
protected ClientScopeModel |
updated |
CONSENT_SCREEN_TEXT, DISPLAY_ON_CONSENT_SCREEN, GUI_ORDER, INCLUDE_IN_TOKEN_SCOPE| Constructor and Description |
|---|
ClientScopeAdapter(RealmModel cachedRealm,
CachedClientScope cached,
RealmCacheSession cacheSession) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetConsentScreenText, getGuiOrder, isDisplayOnConsentScreen, isIncludeInTokenScope, setConsentScreenText, setDisplayOnConsentScreen, setGuiOrder, setIncludeInTokenScopegetProtocolMappersgetRealmScopeMappings, getScopeMappingsprotected RealmCacheSession cacheSession
protected RealmModel cachedRealm
protected ClientScopeModel updated
protected CachedClientScope cached
protected boolean invalidated
public ClientScopeAdapter(RealmModel cachedRealm, CachedClientScope cached, RealmCacheSession cacheSession)
public void invalidate()
protected boolean isUpdated()
public String getId()
getId in interface ClientScopeModelpublic RealmModel getRealm()
getRealm in interface ClientScopeModelpublic Stream<ProtocolMapperModel> getProtocolMappersStream()
ProtocolMapperContainerModelgetProtocolMappersStream in interface ProtocolMapperContainerModelpublic ProtocolMapperModel addProtocolMapper(ProtocolMapperModel model)
addProtocolMapper in interface ProtocolMapperContainerModelpublic void removeProtocolMapper(ProtocolMapperModel mapping)
removeProtocolMapper in interface ProtocolMapperContainerModelpublic void updateProtocolMapper(ProtocolMapperModel mapping)
updateProtocolMapper in interface ProtocolMapperContainerModelpublic ProtocolMapperModel getProtocolMapperById(String id)
getProtocolMapperById in interface ProtocolMapperContainerModelpublic ProtocolMapperModel getProtocolMapperByName(String protocol, String name)
getProtocolMapperByName in interface ProtocolMapperContainerModelpublic String getName()
getName in interface ClientScopeModelpublic void setName(String name)
setName in interface ClientScopeModelpublic String getDescription()
getDescription in interface ClientScopeModelpublic void setDescription(String description)
setDescription in interface ClientScopeModelpublic String getProtocol()
getProtocol in interface ClientScopeModelpublic void setProtocol(String protocol)
setProtocol in interface ClientScopeModelpublic Stream<RoleModel> getScopeMappingsStream()
getScopeMappingsStream in interface ScopeContainerModelpublic void addScopeMapping(RoleModel role)
addScopeMapping in interface ScopeContainerModelpublic void deleteScopeMapping(RoleModel role)
deleteScopeMapping in interface ScopeContainerModelpublic Stream<RoleModel> getRealmScopeMappingsStream()
ScopeContainerModelScopeContainerModel.getScopeMappingsStream() ()} returns only those
that belong to the realm that owns this scope container.getRealmScopeMappingsStream in interface ScopeContainerModelRoleModelpublic boolean hasScope(RoleModel role)
hasScope in interface ScopeContainerModelpublic void setAttribute(String name, String value)
setAttribute in interface ClientScopeModelpublic void removeAttribute(String name)
removeAttribute in interface ClientScopeModelpublic String getAttribute(String name)
getAttribute in interface ClientScopeModelpublic Map<String,String> getAttributes()
getAttributes in interface ClientScopeModelCopyright © 2021 JBoss by Red Hat. All rights reserved.