public class AuthorizeAttr extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
AuthorizeAttr() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
void |
fillAttrToMap(java.util.Map<java.lang.String,java.lang.Object> map)
添加权限属性到参数map
|
boolean |
hasMultiPrivilege()
是否购买了多级权限配置功能,必须购买了该功能,分级权限和报表编辑权限才可以进行设置。
|
boolean |
isDataConnectionAuthority()
是否开启了数据连接权限控制
|
boolean |
isEditReportAuthority()
是否开启了报表编辑权限
|
boolean |
isGradeAuthority()
是否开启了分级权限
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setDataConnectionAuthority(boolean dataConnectionAuthority) |
void |
setEditReportAuthority(boolean editReportAuthority) |
void |
setGradeAuthority(boolean gradeAuthority) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public boolean hasMultiPrivilege()
public boolean isGradeAuthority()
public void setGradeAuthority(boolean gradeAuthority)
public boolean isEditReportAuthority()
public boolean isDataConnectionAuthority()
public void setDataConnectionAuthority(boolean dataConnectionAuthority)
public void setEditReportAuthority(boolean editReportAuthority)
public void fillAttrToMap(java.util.Map<java.lang.String,java.lang.Object> map) throws JSONException
map
- 参数mapJSONException
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常