public class UserConsentEntity extends Object
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() |
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()
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 © 2020 JBoss by Red Hat. All rights reserved.