Package io.odysz.semantic.syn
Class SyncUser
java.lang.Object
io.odysz.anson.Anson
io.odysz.semantics.SemanticObject
io.odysz.semantic.syn.SyncUser
- All Implemented Interfaces:
io.odysz.anson.IJsonable
,io.odysz.semantics.IUser
public class SyncUser
extends io.odysz.semantics.SemanticObject
implements io.odysz.semantics.IUser
Synchronizing user for robot and base class of DocUser
- Author:
- odys-z@github.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.odysz.anson.IJsonable
io.odysz.anson.IJsonable.JsonableFactory
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected long
protected String
protected String
Fields inherited from class io.odysz.semantics.SemanticObject
props
Fields inherited from class io.odysz.anson.Anson
verbose
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeviceId()
io.odysz.semantics.IUser
boolean
io.odysz.semantics.SemanticObject
logout()
io.odysz.semantics.meta.TableMeta
orgId()
pswd()
io.odysz.semantics.IUser
io.odysz.semantics.SessionInf
<T> T
synssion()
void
io.odysz.semantics.IUser
touch()
long
touchTempDir
(String conn, String doctbl) Get a temp dir, and have it deleted when logout.uid()
Methods inherited from class io.odysz.semantics.SemanticObject
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
Methods inherited from class io.odysz.anson.Anson
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toBlock, toEnvelope, toJson, toJson, toMapBlock, toString, unescape
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.odysz.anson.IJsonable
toBlock
Methods inherited from interface io.odysz.semantics.IUser
getClientSessionInf, guessPswd, notifies, notify, onCreate, profile, roleId, roleId, sessionKey, sessionKey, userName, validatePassword, writeJsonRespValue
-
Field Details
-
touched
protected long touched -
userId
-
userName
-
pswd
-
iv
-
domain
-
org
-
deviceId
-
ssid
-
tempDirs
-
orgName
-
synssion
-
-
Constructor Details
-
SyncUser
-
SyncUser
Constructor for jserv synssion instance.- Parameters:
userid
-pswd
-userName
-
-
SyncUser
- Parameters:
userid
-pswd
-userName
-
-
SyncUser
-
SyncUser
public SyncUser()
-
-
Method Details
-
orgId
- Specified by:
orgId
in interfaceio.odysz.semantics.IUser
-
orgId
- Specified by:
orgId
in interfaceio.odysz.semantics.IUser
-
domain
-
deviceId
- Specified by:
deviceId
in interfaceio.odysz.semantics.IUser
-
deviceId
-
orgName
-
meta
public io.odysz.semantics.meta.TableMeta meta(String... connId) throws SQLException, io.odysz.transact.x.TransException - Specified by:
meta
in interfaceio.odysz.semantics.IUser
- Throws:
SQLException
io.odysz.transact.x.TransException
-
dbLog
- Specified by:
dbLog
in interfaceio.odysz.semantics.IUser
- Throws:
io.odysz.transact.x.TransException
-
login
- Specified by:
login
in interfaceio.odysz.semantics.IUser
- Throws:
io.odysz.transact.x.TransException
-
touch
public io.odysz.semantics.IUser touch()- Specified by:
touch
in interfaceio.odysz.semantics.IUser
-
touchedMs
public long touchedMs()- Specified by:
touchedMs
in interfaceio.odysz.semantics.IUser
-
uid
- Specified by:
uid
in interfaceio.odysz.semantics.IUser
-
pswd
- Specified by:
pswd
in interfaceio.odysz.semantics.IUser
-
logAct
- Specified by:
logAct
in interfaceio.odysz.semantics.IUser
-
sessionId
- Specified by:
sessionId
in interfaceio.odysz.semantics.IUser
-
sessionId
- Specified by:
sessionId
in interfaceio.odysz.semantics.IUser
-
logout
public io.odysz.semantics.SemanticObject logout()- Specified by:
logout
in interfaceio.odysz.semantics.IUser
-
touchTempDir
Get a temp dir, and have it deleted when logout.- Parameters:
conn
-doctbl
-- Returns:
- the dir
- Throws:
SemanticException
-
sessionInf
public io.odysz.semantics.SessionInf sessionInf() -
synssion
-
synssion
public <T> T synssion()
-