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 PlatformIdentityInfo
public void setId(String id)
public String getUserId()
getUserId
in interface PlatformIdentityInfo
public void setUserId(String userId)
public String getGroupId()
getGroupId
in interface PlatformIdentityInfo
public void setGroupId(String groupId)
public String getTenantId()
getTenantId
in interface PlatformIdentityInfo
public void setTenantId(String tenantId)
public String getName()
getName
in interface PlatformIdentityInfo
public void setName(String name)
public T getValue()
getValue
in interface PlatformIdentityInfo
public void setValue(T value)
public String getTypeName()
getTypeName
in interface PlatformIdentityInfo
public void setTypeName(String typeName)
public Date getUpdateTime()
getUpdateTime
in interface PlatformIdentityInfo
public void setUpdateTime(Date updateTime)
public static <T> BasicPlatformIdentityInfo<T> userInfo(String name, String userId)
public static <T> BasicPlatformIdentityInfo<T> groupInfo(String name, String groupId)