public class AuthoritySource
extends java.lang.Object
构造器和说明 |
---|
AuthoritySource() |
限定符和类型 | 方法和说明 |
---|---|
AuthoritySource |
customRole(CustomRole customRole) |
AuthoritySource |
department(Department department) |
CustomRole |
getCustomRole()
获取自定义角色对象,仅角色类型为自定义角色时有值
|
Department |
getDepartment()
获取部门对象,仅角色类型为部门职务角色时有值
|
Post |
getPost()
获取职务对象,仅角色类型为部门职务角色时有值
|
RoleType |
getRoleType()
获取角色类型
|
AuthoritySource |
post(Post post) |
AuthoritySource |
roleType(RoleType roleType) |
void |
setCustomRole(CustomRole customRole) |
void |
setDepartment(Department department) |
void |
setPost(Post post) |
void |
setRoleType(RoleType roleType) |
java.lang.String |
toString() |
public RoleType getRoleType()
public void setRoleType(RoleType roleType)
public AuthoritySource roleType(RoleType roleType)
public CustomRole getCustomRole()
public void setCustomRole(CustomRole customRole)
public AuthoritySource customRole(CustomRole customRole)
public Department getDepartment()
public void setDepartment(Department department)
public AuthoritySource department(Department department)
public Post getPost()
public void setPost(Post post)
public AuthoritySource post(Post post)
public java.lang.String toString()
toString
在类中 java.lang.Object