public class UserConsentEntity extends Object implements UpdatableEntity
Modifier and Type | Method and Description |
---|---|
void |
addGrantedClientScopeId(String scope) |
static UserConsentEntity |
fromModel(UserConsentModel model) |
String |
getClientId() |
Long |
getCreatedDate() |
Set<String> |
getGrantedClientScopesIds() |
Long |
getLastUpdatedDate() |
boolean |
isUpdated()
Flag signalizing that any of the setters has been meaningfully used.
|
void |
removeGrantedClientScopesIds(String scopesId) |
void |
setClientId(String clientId) |
void |
setCreatedDate(Long createdDate) |
void |
setGrantedClientScopesIds(Set<String> scopesIds) |
void |
setLastUpdatedDate(Long lastUpdatedDate) |
static UserConsentModel |
toModel(RealmModel realm,
UserConsentEntity entity) |
public static UserConsentEntity fromModel(UserConsentModel model)
public static UserConsentModel toModel(RealmModel realm, UserConsentEntity entity)
public boolean isUpdated()
UpdatableEntity
isUpdated
in interface UpdatableEntity
public String getClientId()
public void setClientId(String clientId)
public void addGrantedClientScopeId(String scope)
public void removeGrantedClientScopesIds(String scopesId)
public Long getCreatedDate()
public void setCreatedDate(Long createdDate)
public Long getLastUpdatedDate()
public void setLastUpdatedDate(Long lastUpdatedDate)
Copyright © 2021 JBoss by Red Hat. All rights reserved.