public class GradeAuthority extends BaseAuthority
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
COLUMN_ROLE_TYPE |
COLUMN_EXPAND_TYPE, COLUMN_PARENT_ID
COLUMN_ID
构造器和说明 |
---|
GradeAuthority() |
限定符和类型 | 方法和说明 |
---|---|
GradeAuthority |
customRole(CustomRole customRole) |
GradeAuthority |
depRole(DepRole depRole) |
CustomRole |
getCustomRole()
获取关联自定义角色,仅roleType为CUSTOM有效
|
DepRole |
getDepRole()
获取关联部门职务角色,仅roleType为DEP有效
|
java.lang.String |
getId()
获取记录id
|
RoleType |
getRoleType() |
User |
getUser()
获取关联用户,仅roleType为USER有效
|
GradeAuthority |
id(java.lang.String id)
设置记录id
|
GradeAuthority |
roleType(RoleType roleType) |
void |
setCustomRole(CustomRole customRole) |
void |
setDepRole(DepRole depRole) |
void |
setId(java.lang.String id)
设置记录id
|
void |
setRoleType(RoleType roleType) |
void |
setUser(User user) |
GradeAuthority |
user(User user) |
getAuthorityDetailList, getExpandDataRecord, getExpandDataRecord, getExpandType, getParentId, setAuthorityDetailList, setExpandDataRecord, setExpandType, setParentId, toString
public static final java.lang.String COLUMN_ROLE_TYPE
public java.lang.String getId()
DataRecord
getId
在接口中 DataRecord
getId
在类中 BaseDataRecord
public void setId(java.lang.String id)
DataRecord
setId
在接口中 DataRecord
setId
在类中 BaseDataRecord
id
- 记录idpublic GradeAuthority id(java.lang.String id)
id
- 记录idpublic User getUser()
public void setUser(User user)
public GradeAuthority user(User user)
public CustomRole getCustomRole()
public void setCustomRole(CustomRole customRole)
public GradeAuthority customRole(CustomRole customRole)
public DepRole getDepRole()
public void setDepRole(DepRole depRole)
public GradeAuthority depRole(DepRole depRole)
public RoleType getRoleType()
public void setRoleType(RoleType roleType)
public GradeAuthority roleType(RoleType roleType)