Package org.keycloak.models.map.user
Interface MapUserConsentEntity
-
- All Superinterfaces:
UpdatableEntity
- All Known Implementing Classes:
HotRodUserConsentEntityDelegate,JpaUserConsentEntity,JpaUserConsentMetadata,MapUserConsentEntityDelegate,MapUserConsentEntityFieldDelegate,MapUserConsentEntityImpl,MapUserConsentEntityImpl.Empty
public interface MapUserConsentEntity extends UpdatableEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddGrantedClientScopesId(String scope)static MapUserConsentEntityfromModel(UserConsentModel model)StringgetClientId()LonggetCreatedDate()Set<String>getGrantedClientScopesIds()LonggetLastUpdatedDate()voidremoveGrantedClientScopesId(String scopesId)voidsetClientId(String clientId)voidsetCreatedDate(Long createdDate)voidsetGrantedClientScopesIds(Set<String> scopesIds)voidsetLastUpdatedDate(Long lastUpdatedDate)static UserConsentModeltoModel(RealmModel realm, MapUserConsentEntity entity)-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Method Detail
-
fromModel
static MapUserConsentEntity fromModel(UserConsentModel model)
-
toModel
static UserConsentModel toModel(RealmModel realm, MapUserConsentEntity entity)
-
getClientId
String getClientId()
-
setClientId
void setClientId(String clientId)
-
addGrantedClientScopesId
void addGrantedClientScopesId(String scope)
-
removeGrantedClientScopesId
void removeGrantedClientScopesId(String scopesId)
-
getCreatedDate
Long getCreatedDate()
-
setCreatedDate
void setCreatedDate(Long createdDate)
-
getLastUpdatedDate
Long getLastUpdatedDate()
-
setLastUpdatedDate
void setLastUpdatedDate(Long lastUpdatedDate)
-
-