Package org.keycloak.storage.client
Class AbstractReadOnlyClientScopeAdapter
- java.lang.Object
-
- org.keycloak.storage.client.AbstractReadOnlyClientScopeAdapter
-
- All Implemented Interfaces:
ClientScopeModel
,OrderedModel
,ProtocolMapperContainerModel
,ScopeContainerModel
public abstract class AbstractReadOnlyClientScopeAdapter extends Object implements ClientScopeModel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.ClientScopeModel
ClientScopeModel.ClientScopeRemovedEvent, ClientScopeModel.SearchableFields
-
Nested classes/interfaces inherited from interface org.keycloak.models.OrderedModel
OrderedModel.OrderedModelComparator<OM extends OrderedModel>
-
-
Field Summary
-
Fields inherited from interface org.keycloak.models.ClientScopeModel
CONSENT_SCREEN_TEXT, DISPLAY_ON_CONSENT_SCREEN, DYNAMIC_SCOPE_REGEXP, GUI_ORDER, INCLUDE_IN_TOKEN_SCOPE, IS_DYNAMIC_SCOPE
-
-
Constructor Summary
Constructors Constructor Description AbstractReadOnlyClientScopeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtocolMapperModel
addProtocolMapper(ProtocolMapperModel model)
void
addScopeMapping(RoleModel role)
void
deleteScopeMapping(RoleModel role)
boolean
equals(Object o)
int
hashCode()
void
removeAttribute(String name)
void
removeProtocolMapper(ProtocolMapperModel mapping)
void
setAttribute(String name, String value)
void
setDescription(String description)
void
setName(String name)
void
setProtocol(String protocol)
void
updateProtocolMapper(ProtocolMapperModel mapping)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.ClientScopeModel
getAttribute, getAttributes, getConsentScreenText, getDescription, getDynamicScopeRegexp, getGuiOrder, getId, getName, getProtocol, getRealm, isDisplayOnConsentScreen, isDynamicScope, isIncludeInTokenScope, setConsentScreenText, setDisplayOnConsentScreen, setGuiOrder, setIncludeInTokenScope, setIsDynamicScope
-
Methods inherited from interface org.keycloak.models.ProtocolMapperContainerModel
getProtocolMapperById, getProtocolMapperByName, getProtocolMappersStream
-
Methods inherited from interface org.keycloak.models.ScopeContainerModel
getRealmScopeMappingsStream, getScopeMappingsStream, hasDirectScope, hasScope
-
-
-
-
Method Detail
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceClientScopeModel
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceClientScopeModel
-
setProtocol
public void setProtocol(String protocol)
- Specified by:
setProtocol
in interfaceClientScopeModel
-
setAttribute
public void setAttribute(String name, String value)
- Specified by:
setAttribute
in interfaceClientScopeModel
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttribute
in interfaceClientScopeModel
-
addProtocolMapper
public ProtocolMapperModel addProtocolMapper(ProtocolMapperModel model)
- Specified by:
addProtocolMapper
in interfaceProtocolMapperContainerModel
-
removeProtocolMapper
public void removeProtocolMapper(ProtocolMapperModel mapping)
- Specified by:
removeProtocolMapper
in interfaceProtocolMapperContainerModel
-
updateProtocolMapper
public void updateProtocolMapper(ProtocolMapperModel mapping)
- Specified by:
updateProtocolMapper
in interfaceProtocolMapperContainerModel
-
addScopeMapping
public void addScopeMapping(RoleModel role)
- Specified by:
addScopeMapping
in interfaceScopeContainerModel
-
deleteScopeMapping
public void deleteScopeMapping(RoleModel role)
- Specified by:
deleteScopeMapping
in interfaceScopeContainerModel
-
-