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