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
-
Constructor Summary
ConstructorDescriptionScopeAdapter
(ScopeEntity entity, jakarta.persistence.EntityManager em, StoreFactory storeFactory) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getName()
int
hashCode()
void
setDisplayName
(String name) void
setIconUri
(String iconUri) void
static ScopeEntity
Methods 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:
getEntity
in interfaceJpaModel<ScopeEntity>
-
getId
-
getName
-
setName
-
getDisplayName
- Specified by:
getDisplayName
in interfaceScope
-
setDisplayName
- Specified by:
setDisplayName
in interfaceScope
-
getIconUri
- Specified by:
getIconUri
in interfaceScope
-
setIconUri
- Specified by:
setIconUri
in interfaceScope
-
getResourceServer
- Specified by:
getResourceServer
in interfaceScope
-
toEntity
-
equals
-
hashCode
public int hashCode()
-