public class Auth extends AbstractModel
skipSign
Constructor and Description |
---|
Auth() |
Auth(Auth source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getMask()
Get 当前账号具有的权限信息。0:无权限。1:只读。2:只写。3:读写。
|
String |
getNameSpace()
Get 指具有当前账号权限的数据库名。
* :表示所有数据库。db.name:表示特定name的数据库。
|
void |
setMask(Long Mask)
Set 当前账号具有的权限信息。0:无权限。1:只读。2:只写。3:读写。
|
void |
setNameSpace(String NameSpace)
Set 指具有当前账号权限的数据库名。
* :表示所有数据库。db.name:表示特定name的数据库。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Auth()
public Auth(Auth source)
public Long getMask()
public void setMask(Long Mask)
Mask
- 当前账号具有的权限信息。public String getNameSpace()
public void setNameSpace(String NameSpace)
NameSpace
- 指具有当前账号权限的数据库名。
Copyright © 2023. All rights reserved.