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 ClassesNested classes/interfaces inherited from interface io.odysz.anson.IJsonable
io.odysz.anson.IJsonable.JsonableFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected longprotected Stringprotected StringFields inherited from class io.odysz.semantics.SemanticObject
propsFields inherited from class io.odysz.anson.Anson
verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeviceId()io.odysz.semantics.IUserbooleanio.odysz.semantics.SemanticObjectlogout()io.odysz.semantics.meta.TableMetaorgId()pswd()io.odysz.semantics.IUserio.odysz.semantics.SessionInf<T> Tsynssion()voidio.odysz.semantics.IUsertouch()longtouchTempDir(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, totalMethods inherited from class io.odysz.anson.Anson
appendArr, appendObjStr, appendPair, escape, fromBlock, fromJson, fromJson, toBlock, toEnvelope, toJson, toJson, toMapBlock, toString, unescapeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.odysz.anson.IJsonable
toBlockMethods 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:
orgIdin interfaceio.odysz.semantics.IUser
-
orgId
- Specified by:
orgIdin interfaceio.odysz.semantics.IUser
-
domain
-
deviceId
- Specified by:
deviceIdin 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:
metain interfaceio.odysz.semantics.IUser- Throws:
SQLExceptionio.odysz.transact.x.TransException
-
dbLog
- Specified by:
dbLogin interfaceio.odysz.semantics.IUser- Throws:
io.odysz.transact.x.TransException
-
login
- Specified by:
loginin interfaceio.odysz.semantics.IUser- Throws:
io.odysz.transact.x.TransException
-
touch
public io.odysz.semantics.IUser touch()- Specified by:
touchin interfaceio.odysz.semantics.IUser
-
touchedMs
public long touchedMs()- Specified by:
touchedMsin interfaceio.odysz.semantics.IUser
-
uid
- Specified by:
uidin interfaceio.odysz.semantics.IUser
-
pswd
- Specified by:
pswdin interfaceio.odysz.semantics.IUser
-
logAct
- Specified by:
logActin interfaceio.odysz.semantics.IUser
-
sessionId
- Specified by:
sessionIdin interfaceio.odysz.semantics.IUser
-
sessionId
- Specified by:
sessionIdin interfaceio.odysz.semantics.IUser
-
logout
public io.odysz.semantics.SemanticObject logout()- Specified by:
logoutin 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()
-