public class BasicPlatformIdentityInfo<T> extends Object implements PlatformIdentityInfo
PlatformIdentityInfo that can be used
when implementing a custom PlatformIdentityService| Modifier and Type | Field and Description |
|---|---|
protected String |
groupId |
protected String |
id |
protected String |
name |
protected String |
tenantId |
protected String |
typeName |
protected Date |
updateTime |
protected String |
userId |
protected T |
value |
| Constructor and Description |
|---|
BasicPlatformIdentityInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getGroupId() |
String |
getId() |
String |
getName() |
String |
getTenantId() |
String |
getTypeName() |
Date |
getUpdateTime() |
String |
getUserId() |
T |
getValue() |
static <T> BasicPlatformIdentityInfo<T> |
groupInfo(String name,
String groupId) |
void |
setGroupId(String groupId) |
void |
setId(String id) |
void |
setName(String name) |
void |
setTenantId(String tenantId) |
void |
setTypeName(String typeName) |
void |
setUpdateTime(Date updateTime) |
void |
setUserId(String userId) |
void |
setValue(T value) |
static <T> BasicPlatformIdentityInfo<T> |
userInfo(String name,
String userId) |
protected String id
protected String userId
protected String groupId
protected String tenantId
protected String name
protected T value
protected String typeName
protected Date updateTime
public String getId()
getId in interface PlatformIdentityInfopublic void setId(String id)
public String getUserId()
getUserId in interface PlatformIdentityInfopublic void setUserId(String userId)
public String getGroupId()
getGroupId in interface PlatformIdentityInfopublic void setGroupId(String groupId)
public String getTenantId()
getTenantId in interface PlatformIdentityInfopublic void setTenantId(String tenantId)
public String getName()
getName in interface PlatformIdentityInfopublic void setName(String name)
public T getValue()
getValue in interface PlatformIdentityInfopublic void setValue(T value)
public String getTypeName()
getTypeName in interface PlatformIdentityInfopublic void setTypeName(String typeName)
public Date getUpdateTime()
getUpdateTime in interface PlatformIdentityInfopublic void setUpdateTime(Date updateTime)
public static <T> BasicPlatformIdentityInfo<T> userInfo(String name, String userId)
public static <T> BasicPlatformIdentityInfo<T> groupInfo(String name, String groupId)