public class PermissionAndAuthorityControl extends SimpleControl
NO_VERIFY_NEEDED, ROLE_VERIFY_NEEDED, USER_PASSWORD_VERIFY_NEEDED
构造器和说明 |
---|
PermissionAndAuthorityControl() |
限定符和类型 | 方法和说明 |
---|---|
PrivilegeVote |
access(Authentication authentication) |
void |
addAuthorityName(java.lang.String name) |
java.lang.String |
getAuthorityName(int index) |
JSONArray |
getAuthorityNameArray() |
int |
getAuthoryryNameCount() |
int |
getID() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setAuthorityName(JSONArray ja) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
clone
public int getAuthoryryNameCount()
public JSONArray getAuthorityNameArray()
public void setAuthorityName(JSONArray ja)
public void addAuthorityName(java.lang.String name)
public java.lang.String getAuthorityName(int index)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
readXML
在类中 SimpleControl
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
writeXML
在接口中 XMLWriter
writeXML
在类中 SimpleControl
writer
- XML写入对象public PrivilegeVote access(Authentication authentication)
access
在类中 SimpleControl
public int getID()
getID
在类中 SimpleControl