public class MobileService
extends java.lang.Object
构造器和说明 |
---|
MobileService() |
限定符和类型 | 方法和说明 |
---|---|
void |
addDevice(DeviceBean bean) |
void |
addVirtualDevice(java.lang.String userName) |
void |
deleteDevice(DeviceBean bean) |
void |
deviceBindingValid(LoginRequestInfoBean loginRequestInfoBean)
验证设备是否授权
|
java.util.List<EntryBean> |
getAllEntries(javax.servlet.http.HttpServletRequest request)
获取所有目录树
|
DeviceConfigBean |
getDeviceConfig() |
java.util.List<java.util.Map.Entry<java.lang.String,java.util.List<DeviceBean>>> |
getDevices(java.lang.String username,
DeviceAuthType authorised) |
static MobileService |
getInstance() |
java.lang.String |
getLaunchImg(java.lang.String device) |
QRCodeConfigBean |
getQRCodeConfig() |
int |
getSupportPushTerminals()
获取支持的推送终端类型
|
void |
setDeviceConfig(DeviceConfigBean bean) |
void |
setLaunchImg(java.lang.String device,
java.lang.String img) |
void |
setQRCodeConfig(QRCodeConfigBean bean) |
void |
updateDevice(DeviceBean bean) |
void |
updateMessageRead(java.lang.String username,
java.lang.String[] ids)
标记消息已读.对于通知栏消息,会标记原始消息为已读,普通消息和平台相同
|
public static MobileService getInstance()
public QRCodeConfigBean getQRCodeConfig()
public void setQRCodeConfig(QRCodeConfigBean bean)
public DeviceConfigBean getDeviceConfig()
public void setDeviceConfig(DeviceConfigBean bean)
public java.util.List<java.util.Map.Entry<java.lang.String,java.util.List<DeviceBean>>> getDevices(java.lang.String username, DeviceAuthType authorised) throws java.lang.Exception
java.lang.Exception
public void addDevice(DeviceBean bean) throws java.lang.Exception
java.lang.Exception
public void addVirtualDevice(java.lang.String userName) throws java.lang.Exception
java.lang.Exception
public void deleteDevice(DeviceBean bean) throws java.lang.Exception
java.lang.Exception
public void updateDevice(DeviceBean bean) throws java.lang.Exception
java.lang.Exception
public java.util.List<EntryBean> getAllEntries(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
request
- 请求java.lang.Exception
public int getSupportPushTerminals()
public void deviceBindingValid(LoginRequestInfoBean loginRequestInfoBean) throws java.lang.Exception
loginRequestInfoBean
- 登录请求信息java.lang.Exception
public void setLaunchImg(java.lang.String device, java.lang.String img)
public java.lang.String getLaunchImg(java.lang.String device)
public void updateMessageRead(java.lang.String username, java.lang.String[] ids) throws java.lang.Exception
java.lang.Exception