public class SyncRobot
extends io.odysz.semantics.SemanticObject
implements io.odysz.semantics.IUser
Modifier and Type | Class and Description |
---|---|
static class |
SyncRobot.RobotMeta |
Modifier and Type | Field and Description |
---|---|
protected String |
deviceId |
protected String |
orgId |
String |
orgName |
protected String |
ssid |
protected Set<String> |
tempDirs |
protected long |
touched |
protected String |
userId |
protected String |
userName |
Constructor and Description |
---|
SyncRobot(String userid,
String device) |
SyncRobot(String userid,
String pswd,
String userName,
String device)
Costructor for jserv construction
|
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
dbLog(ArrayList<String> sqls) |
String |
defaultAlbum() |
String |
deviceId() |
SyncRobot |
domain(String dom) |
io.odysz.semantics.IUser |
logAct(String funcName,
String funcId) |
boolean |
login(Object request) |
io.odysz.semantics.SemanticObject |
logout() |
io.odysz.semantics.meta.TableMeta |
meta(String... connId) |
List<Object> |
notifies() |
io.odysz.semantics.IUser |
notify(Object note) |
String |
orgId() |
SyncRobot |
orgId(String org) |
SyncRobot |
orgName(String org) |
String |
sessionId() |
io.odysz.semantics.IUser |
sessionId(String ssid) |
io.odysz.semantics.SessionInf |
sessionInf() |
io.odysz.semantics.IUser |
touch() |
long |
touchedMs() |
String |
touchTempDir(String conn,
String tablPhotos)
Get a temp dir, and have it deleted when logout.
|
String |
uid() |
void |
writeJsonRespValue(Object writer) |
add, addInts, clear, code, code, data, data, error, error, get, getInt, getString, getType, has, msg, msg, port, port, print, props, put, remove, resulve, resulve, resulve, rs, rs, total, total, total
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toBlock, toEnvelope, toJson, toJson, toMapBlock, toString, unescape
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected long touched
protected String userId
protected String userName
protected String orgId
protected String deviceId
protected String ssid
public String orgName
public String orgId()
orgId
in interface io.odysz.semantics.IUser
public String deviceId()
deviceId
in interface io.odysz.semantics.IUser
public io.odysz.semantics.meta.TableMeta meta(String... connId) throws SQLException, io.odysz.transact.x.TransException
meta
in interface io.odysz.semantics.IUser
SQLException
io.odysz.transact.x.TransException
public ArrayList<String> dbLog(ArrayList<String> sqls) throws io.odysz.transact.x.TransException
dbLog
in interface io.odysz.semantics.IUser
io.odysz.transact.x.TransException
public boolean login(Object request) throws io.odysz.transact.x.TransException
login
in interface io.odysz.semantics.IUser
io.odysz.transact.x.TransException
public io.odysz.semantics.IUser touch()
touch
in interface io.odysz.semantics.IUser
public long touchedMs()
touchedMs
in interface io.odysz.semantics.IUser
public String uid()
uid
in interface io.odysz.semantics.IUser
public void writeJsonRespValue(Object writer) throws IOException
writeJsonRespValue
in interface io.odysz.semantics.IUser
IOException
public io.odysz.semantics.IUser logAct(String funcName, String funcId)
logAct
in interface io.odysz.semantics.IUser
public String sessionId()
sessionId
in interface io.odysz.semantics.IUser
public io.odysz.semantics.IUser sessionId(String ssid)
sessionId
in interface io.odysz.semantics.IUser
public io.odysz.semantics.IUser notify(Object note) throws io.odysz.transact.x.TransException
notify
in interface io.odysz.semantics.IUser
io.odysz.transact.x.TransException
public List<Object> notifies()
notifies
in interface io.odysz.semantics.IUser
public io.odysz.semantics.SemanticObject logout()
logout
in interface io.odysz.semantics.IUser
public String touchTempDir(String conn, String tablPhotos) throws SemanticException
conn
- tablPhotos
- SemanticException
public String defaultAlbum()
public io.odysz.semantics.SessionInf sessionInf()
Copyright © 2024. All rights reserved.