Package org.keycloak.models.jpa.entities
Class UserConsentEntity
- java.lang.Object
-
- org.keycloak.models.jpa.entities.UserConsentEntity
-
@Entity public class UserConsentEntity extends Object
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description protected StringclientIdprotected StringclientStorageProviderprotected StringexternalClientIdprotected Stringidprotected UserEntityuser
-
Constructor Summary
Constructors Constructor Description UserConsentEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetClientId()StringgetClientStorageProvider()LonggetCreatedDate()StringgetExternalClientId()Collection<UserConsentClientScopeEntity>getGrantedClientScopes()StringgetId()LonggetLastUpdatedDate()UserEntitygetUser()inthashCode()voidsetClientId(String clientId)voidsetClientStorageProvider(String clientStorageProvider)voidsetCreatedDate(Long createdDate)voidsetExternalClientId(String externalClientId)voidsetGrantedClientScopes(Collection<UserConsentClientScopeEntity> grantedClientScopes)voidsetId(String id)voidsetLastUpdatedDate(Long lastUpdatedDate)voidsetUser(UserEntity user)
-
-
-
Field Detail
-
id
protected String id
-
user
protected UserEntity user
-
clientId
protected String clientId
-
clientStorageProvider
protected String clientStorageProvider
-
externalClientId
protected String externalClientId
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUser
public UserEntity getUser()
-
setUser
public void setUser(UserEntity user)
-
getGrantedClientScopes
public Collection<UserConsentClientScopeEntity> getGrantedClientScopes()
-
setGrantedClientScopes
public void setGrantedClientScopes(Collection<UserConsentClientScopeEntity> grantedClientScopes)
-
getCreatedDate
public Long getCreatedDate()
-
setCreatedDate
public void setCreatedDate(Long createdDate)
-
getLastUpdatedDate
public Long getLastUpdatedDate()
-
setLastUpdatedDate
public void setLastUpdatedDate(Long lastUpdatedDate)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientStorageProvider
public String getClientStorageProvider()
-
setClientStorageProvider
public void setClientStorageProvider(String clientStorageProvider)
-
getExternalClientId
public String getExternalClientId()
-
setExternalClientId
public void setExternalClientId(String externalClientId)
-
-