Class ScopeAdapter
java.lang.Object
org.keycloak.authorization.model.AbstractAuthorizationModel
org.keycloak.authorization.jpa.store.ScopeAdapter
- All Implemented Interfaces:
org.keycloak.authorization.model.Scope,JpaModel<ScopeEntity>
public class ScopeAdapter
extends org.keycloak.authorization.model.AbstractAuthorizationModel
implements org.keycloak.authorization.model.Scope, JpaModel<ScopeEntity>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.authorization.model.Scope
org.keycloak.authorization.model.Scope.FilterOption -
Constructor Summary
ConstructorsConstructorDescriptionScopeAdapter(ScopeEntity entity, jakarta.persistence.EntityManager em, org.keycloak.authorization.store.StoreFactory storeFactory) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getName()org.keycloak.authorization.model.ResourceServerinthashCode()voidsetDisplayName(String name) voidsetIconUri(String iconUri) voidstatic ScopeEntitytoEntity(jakarta.persistence.EntityManager em, org.keycloak.authorization.model.Scope scope) Methods inherited from class org.keycloak.authorization.model.AbstractAuthorizationModel
throwExceptionIfReadonly
-
Constructor Details
-
ScopeAdapter
public ScopeAdapter(ScopeEntity entity, jakarta.persistence.EntityManager em, org.keycloak.authorization.store.StoreFactory storeFactory)
-
-
Method Details
-
getEntity
- Specified by:
getEntityin interfaceJpaModel<ScopeEntity>
-
getId
- Specified by:
getIdin interfaceorg.keycloak.authorization.model.Scope
-
getName
- Specified by:
getNamein interfaceorg.keycloak.authorization.model.Scope
-
setName
- Specified by:
setNamein interfaceorg.keycloak.authorization.model.Scope
-
getDisplayName
- Specified by:
getDisplayNamein interfaceorg.keycloak.authorization.model.Scope
-
setDisplayName
- Specified by:
setDisplayNamein interfaceorg.keycloak.authorization.model.Scope
-
getIconUri
- Specified by:
getIconUriin interfaceorg.keycloak.authorization.model.Scope
-
setIconUri
- Specified by:
setIconUriin interfaceorg.keycloak.authorization.model.Scope
-
getResourceServer
public org.keycloak.authorization.model.ResourceServer getResourceServer()- Specified by:
getResourceServerin interfaceorg.keycloak.authorization.model.Scope
-
toEntity
public static ScopeEntity toEntity(jakarta.persistence.EntityManager em, org.keycloak.authorization.model.Scope scope) -
equals
-
hashCode
public int hashCode()
-