public interface FSConfigProvider extends RemoteXMLFileManagerProvider
MARK_STRING
限定符和类型 | 方法和说明 |
---|---|
void |
addUserDevice(java.lang.String username,
DeviceInfo deviceInfo)
添加一个用户和硬件信息的绑定
|
void |
addUserDevice(java.lang.String username,
UserDevice userDevice)
添加一个用户和硬件信息的绑定
|
void |
clearCache()
清除cache
|
AuthenticateObjectType |
getAuthenticateObjectType() |
<T> T |
getAuthenticateObjectType(java.lang.Class<? extends T> t) |
AuthorizeAttr |
getAuthorizeAttr() |
CachePolicy |
getCachePolicy() |
UserDataControl |
getControl() |
DatabaseAdapterAttr |
getDatabaseAdapterAttr()
平台数据库是否全部采用新表名
|
java.util.Map<java.lang.String,java.lang.Object> |
getFSParaMap(java.lang.String name,
long userID) |
LoginConfig |
getLoginConfig()
登录设置项
|
java.lang.String |
getLoginPluginId() |
int |
getMobileUserAuthLimit() |
JSONObject |
getRootInfo(long userID) |
JSONObject |
getSortedUserDeviceJSONObject() |
SystemAttr |
getSystemAttr() |
SystemStyle |
getSystemStyle() |
Theme |
getTheme() |
UpgradeProgressAttr |
getUpgradeProgress()
获取保存的升级进度
|
UserDevice |
getUserDevice(java.lang.String username) |
JSONObject |
getUserDeviceJSONObject() |
java.util.Collection<UserDevice> |
getUserDeviceList() |
int |
getUserLimit() |
long |
getXmlVersion() |
void |
initLoginUserListByType(int loginType)
按类型初始化用户登录白名单
|
boolean |
isMobileDeviceBinding()
是否启用了移动设备绑定
|
boolean |
isSyncTransferred()
同步数据集数据是否已经迁移
|
boolean |
isUseFS()
标志用户是否正在使用fs(平台),如果正在使用,就要进行数据初始化了
|
boolean |
needUpdate()
是否第一次使用
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
UserDevice |
removeUserDevice(java.lang.String username)
移除指定用户的所有可访问硬件信息
|
void |
setAuthenticateObjectType(AuthenticateObjectType authenticateObjectType) |
void |
setAuthorizeAttr(AuthorizeAttr authorizeAttr) |
boolean |
setControl(UserDataControl control) |
void |
setDatabaseAdapterAttr(DatabaseAdapterAttr databaseAdapterAttr) |
void |
setLoginConfig(LoginConfig loginConfig) |
void |
setLoginPluginId(java.lang.String loginPluginId) |
void |
setMobileDeviceBinding(boolean bind) |
void |
setNeedUpdate(boolean needUpdate) |
void |
setSyncTransferred(boolean syncTransferred)
设置同步数据集数据是否迁移
|
void |
setSystemAttr(SystemAttr systemAttr) |
void |
setSystemStyle(SystemStyle systemStyle) |
void |
setTheme(Theme theme) |
void |
setUpgradeProgress(UpgradeProgressAttr progress)
设置成功的升级步骤0,1,2,3...
|
void |
setUseFS(boolean useFS) |
void |
setXmlVersion(long xmlVersion) |
void |
transferDeviceInfo() |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
fileName, readFromInputStream, readXMLFile
CachePolicy getCachePolicy()
SystemAttr getSystemAttr()
SystemStyle getSystemStyle()
void setSystemStyle(SystemStyle systemStyle)
void setSystemAttr(SystemAttr systemAttr)
boolean isUseFS()
void setUseFS(boolean useFS)
UserDataControl getControl()
boolean setControl(UserDataControl control)
void clearCache()
boolean needUpdate()
void setNeedUpdate(boolean needUpdate)
AuthorizeAttr getAuthorizeAttr()
void setAuthorizeAttr(AuthorizeAttr authorizeAttr)
<T> T getAuthenticateObjectType(java.lang.Class<? extends T> t)
AuthenticateObjectType getAuthenticateObjectType()
void setAuthenticateObjectType(AuthenticateObjectType authenticateObjectType)
DatabaseAdapterAttr getDatabaseAdapterAttr()
void setDatabaseAdapterAttr(DatabaseAdapterAttr databaseAdapterAttr)
boolean isMobileDeviceBinding()
void setMobileDeviceBinding(boolean bind)
void addUserDevice(java.lang.String username, DeviceInfo deviceInfo)
username
- 用户名deviceInfo
- 硬件信息void addUserDevice(java.lang.String username, UserDevice userDevice)
username
- 用户名userDevice
- 硬件信息UserDevice getUserDevice(java.lang.String username)
UserDevice removeUserDevice(java.lang.String username)
username
- 用户名JSONObject getUserDeviceJSONObject() throws JSONException
JSONException
JSONObject getSortedUserDeviceJSONObject() throws JSONException
JSONException
int getUserLimit()
int getMobileUserAuthLimit()
void initLoginUserListByType(int loginType)
loginType
- 登录类型long getXmlVersion()
void setXmlVersion(long xmlVersion)
Theme getTheme()
void setTheme(Theme theme)
java.lang.String getLoginPluginId()
void setLoginPluginId(java.lang.String loginPluginId)
java.util.Map<java.lang.String,java.lang.Object> getFSParaMap(java.lang.String name, long userID) throws java.lang.Exception
java.lang.Exception
JSONObject getRootInfo(long userID) throws java.lang.Exception
java.lang.Exception
void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
void writeXML(XMLPrintWriter writer)
XMLWriter
java.util.Collection<UserDevice> getUserDeviceList()
void transferDeviceInfo()
boolean isSyncTransferred()
void setSyncTransferred(boolean syncTransferred)
syncTransferred
- 同步数据集数据是否迁移LoginConfig getLoginConfig()
void setLoginConfig(LoginConfig loginConfig)
UpgradeProgressAttr getUpgradeProgress()
void setUpgradeProgress(UpgradeProgressAttr progress)
progress
- 成功的步骤