public class LoggingUser extends Object implements io.odysz.semantics.IUser
Modifier and Type | Field and Description |
---|---|
static io.odysz.semantics.IUser |
dumbUser |
Constructor and Description |
---|
LoggingUser(String logConn,
String userId,
io.odysz.semantics.SemanticObject action) |
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
dbLog(ArrayList<String> sqls) |
static ArrayList<String> |
genLog(String connLog,
DATranscxt logBuilder,
String logTabl,
ArrayList<String> sqls,
io.odysz.semantics.IUser commitUser,
String funcName,
String funcId)
Generate sqls for db logging.
|
io.odysz.semantics.IUser |
logAct(String funcName,
String funcId) |
boolean |
login(Object req) |
io.odysz.semantics.SemanticObject |
logout() |
io.odysz.semantics.meta.TableMeta |
meta(String... connId) |
List<Object> |
notifies() |
io.odysz.semantics.IUser |
notify(Object note) |
String |
sessionId() |
String |
sessionKey() |
io.odysz.semantics.IUser |
sessionKey(String skey) |
long |
touchedMs() |
String |
uid() |
void |
writeJsonRespValue(Object writer) |
public io.odysz.semantics.meta.TableMeta meta(String... connId)
meta
in interface io.odysz.semantics.IUser
public String uid()
uid
in interface io.odysz.semantics.IUser
public ArrayList<String> dbLog(ArrayList<String> sqls)
dbLog
in interface io.odysz.semantics.IUser
public static ArrayList<String> genLog(String connLog, DATranscxt logBuilder, String logTabl, ArrayList<String> sqls, io.odysz.semantics.IUser commitUser, String funcName, String funcId)
logBuilder
- logTabl
- sqls
- commitUser
- funcName
- funcId
- public boolean login(Object req) throws io.odysz.transact.x.TransException
login
in interface io.odysz.semantics.IUser
io.odysz.transact.x.TransException
public String sessionId()
sessionId
in interface io.odysz.semantics.IUser
public io.odysz.semantics.SemanticObject logout()
logout
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 io.odysz.semantics.IUser sessionKey(String skey)
sessionKey
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 long touchedMs()
touchedMs
in interface io.odysz.semantics.IUser
public String sessionKey()
sessionKey
in interface io.odysz.semantics.IUser
Copyright © 2024. All rights reserved.