Class JpaClientScopeEntity
- java.lang.Object
- 
- org.keycloak.models.map.common.UpdatableEntity.Impl
- 
- org.keycloak.models.map.clientscope.MapClientScopeEntity.AbstractClientScopeEntity
- 
- org.keycloak.models.map.storage.jpa.clientScope.entity.JpaClientScopeEntity
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- MapClientScopeEntity,- AbstractEntity,- EntityWithAttributes,- UpdatableEntity,- JpaRootEntity,- JpaRootVersionedEntity
 
 @Entity public class JpaClientScopeEntity extends MapClientScopeEntity.AbstractClientScopeEntity implements JpaRootVersionedEntity There are some fields marked by@Column(insertable = false, updatable = false). Those fields are automatically generated by database from json field, therefore marked as non-insertable and non-updatable to instruct hibernate.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.models.map.clientscope.MapClientScopeEntityMapClientScopeEntity.AbstractClientScopeEntity
 - 
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntityUpdatableEntity.Impl
 
- 
 - 
Field Summary- 
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Implupdated
 
- 
 - 
Constructor SummaryConstructors Constructor Description JpaClientScopeEntity()No-argument constructor, used by hibernate to instantiate entities.JpaClientScopeEntity(UUID id, int version, Integer entityVersion, String realmId, String name)Used by hibernate when calling cb.construct from read(QueryParameters) method.JpaClientScopeEntity(DeepCloner cloner)
 - 
Method Summary- 
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.ImplclearUpdatedFlag, isUpdated
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.models.map.storage.jpa.JpaRootEntityupdateEntityVersion
 - 
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntityclearUpdatedFlag, isUpdated
 
- 
 
- 
- 
- 
Constructor Detail- 
JpaClientScopeEntitypublic JpaClientScopeEntity() No-argument constructor, used by hibernate to instantiate entities.
 - 
JpaClientScopeEntitypublic JpaClientScopeEntity(DeepCloner cloner) 
 
- 
 - 
Method Detail- 
isMetadataInitializedpublic boolean isMetadataInitialized() 
 - 
getEntityVersionpublic Integer getEntityVersion() - Specified by:
- getEntityVersionin interface- JpaRootEntity
- Returns:
- current supported version of the JPA entity used for schema versioning.
 
 - 
setEntityVersionpublic void setEntityVersion(Integer entityVersion) - Specified by:
- setEntityVersionin interface- JpaRootEntity
- Parameters:
- entityVersion- sets current supported version to JPA entity.
 
 - 
getCurrentSchemaVersionpublic Integer getCurrentSchemaVersion() - Specified by:
- getCurrentSchemaVersionin interface- JpaRootEntity
 
 - 
getVersionpublic int getVersion() Description copied from interface:JpaRootVersionedEntityVersion of the JPA entity used for optimistic locking- Specified by:
- getVersionin interface- JpaRootVersionedEntity
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- AbstractEntity
- Overrides:
- getIdin class- MapClientScopeEntity.AbstractClientScopeEntity
 
 - 
setIdpublic void setId(String id) - Specified by:
- setIdin interface- AbstractEntity
- Overrides:
- setIdin class- MapClientScopeEntity.AbstractClientScopeEntity
 
 - 
getRealmIdpublic String getRealmId() - Specified by:
- getRealmIdin interface- MapClientScopeEntity
 
 - 
setRealmIdpublic void setRealmId(String realmId) - Specified by:
- setRealmIdin interface- MapClientScopeEntity
 
 - 
getProtocolMapperspublic Set<MapProtocolMapperEntity> getProtocolMappers() - Specified by:
- getProtocolMappersin interface- MapClientScopeEntity
 
 - 
getProtocolMapperpublic Optional<MapProtocolMapperEntity> getProtocolMapper(String id) - Specified by:
- getProtocolMapperin interface- MapClientScopeEntity
 
 - 
addProtocolMapperpublic void addProtocolMapper(MapProtocolMapperEntity mapping) - Specified by:
- addProtocolMapperin interface- MapClientScopeEntity
 
 - 
removeProtocolMapperpublic void removeProtocolMapper(String id) - Specified by:
- removeProtocolMapperin interface- MapClientScopeEntity
 
 - 
addScopeMappingpublic void addScopeMapping(String id) - Specified by:
- addScopeMappingin interface- MapClientScopeEntity
 
 - 
removeScopeMappingpublic void removeScopeMapping(String id) - Specified by:
- removeScopeMappingin interface- MapClientScopeEntity
 
 - 
getScopeMappingspublic Collection<String> getScopeMappings() - Specified by:
- getScopeMappingsin interface- MapClientScopeEntity
 
 - 
getDescriptionpublic String getDescription() - Specified by:
- getDescriptionin interface- MapClientScopeEntity
 
 - 
setDescriptionpublic void setDescription(String description) - Specified by:
- setDescriptionin interface- MapClientScopeEntity
 
 - 
getNamepublic String getName() - Specified by:
- getNamein interface- MapClientScopeEntity
 
 - 
setNamepublic void setName(String name) - Specified by:
- setNamein interface- MapClientScopeEntity
 
 - 
getProtocolpublic String getProtocol() - Specified by:
- getProtocolin interface- MapClientScopeEntity
 
 - 
setProtocolpublic void setProtocol(String protocol) - Specified by:
- setProtocolin interface- MapClientScopeEntity
 
 - 
removeAttributepublic void removeAttribute(String name) - Specified by:
- removeAttributein interface- EntityWithAttributes
 
 - 
setAttributepublic void setAttribute(String name, List<String> values) - Specified by:
- setAttributein interface- EntityWithAttributes
 
 - 
getAttributepublic List<String> getAttribute(String name) - Specified by:
- getAttributein interface- EntityWithAttributes
 
 - 
getAttributespublic Map<String,List<String>> getAttributes() - Specified by:
- getAttributesin interface- EntityWithAttributes
 
 - 
setAttributespublic void setAttributes(Map<String,List<String>> attributes) - Specified by:
- setAttributesin interface- EntityWithAttributes
 
 
- 
 
-