Package org.keycloak.models.map.user
Class UserConsentEntity
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.user.UserConsentEntity
-
- All Implemented Interfaces:
UpdatableEntity
public class UserConsentEntity extends UpdatableEntity.Impl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGrantedClientScopeId(String scope)static UserConsentEntityfromModel(UserConsentModel model)StringgetClientId()LonggetCreatedDate()Set<String>getGrantedClientScopesIds()LonggetLastUpdatedDate()voidremoveGrantedClientScopesIds(String scopesId)voidsetClientId(String clientId)voidsetCreatedDate(Long createdDate)voidsetGrantedClientScopesIds(Set<String> scopesIds)voidsetLastUpdatedDate(Long lastUpdatedDate)static UserConsentModeltoModel(RealmModel realm, UserConsentEntity entity)-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag, isUpdated
-
-
-
-
Method Detail
-
fromModel
public static UserConsentEntity fromModel(UserConsentModel model)
-
toModel
public static UserConsentModel toModel(RealmModel realm, UserConsentEntity entity)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
addGrantedClientScopeId
public void addGrantedClientScopeId(String scope)
-
removeGrantedClientScopesIds
public void removeGrantedClientScopesIds(String scopesId)
-
getCreatedDate
public Long getCreatedDate()
-
setCreatedDate
public void setCreatedDate(Long createdDate)
-
getLastUpdatedDate
public Long getLastUpdatedDate()
-
setLastUpdatedDate
public void setLastUpdatedDate(Long lastUpdatedDate)
-
-