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
  • Field Details

    • touched

      protected long touched
    • userId

      protected String userId
    • userName

      protected String userName
    • pswd

      protected String pswd
    • iv

      protected String iv
    • domain

      protected String domain
    • org

      protected String org
    • deviceId

      protected String deviceId
    • ssid

      protected String ssid
    • tempDirs

      protected Set<String> tempDirs
    • orgName

      public String orgName
    • synssion

      public Object synssion
  • Constructor Details

    • SyncUser

      public SyncUser(String userid, String pswd)
    • SyncUser

      public SyncUser(String userid, String pswd, String userName, String device)
      Constructor for jserv synssion instance.
      Parameters:
      userid -
      pswd -
      userName -
    • SyncUser

      public SyncUser(String userid, String pswd, String userName)
      Parameters:
      userid -
      pswd -
      userName -
    • SyncUser

      public SyncUser(io.odysz.semantics.SessionInf rob, String pswd)
    • SyncUser

      public SyncUser()
  • Method Details

    • orgId

      public String orgId()
      Specified by:
      orgId in interface io.odysz.semantics.IUser
    • orgId

      public SyncUser orgId(String org)
      Specified by:
      orgId in interface io.odysz.semantics.IUser
    • domain

      public SyncUser domain(String dom)
    • deviceId

      public String deviceId()
      Specified by:
      deviceId in interface io.odysz.semantics.IUser
    • deviceId

      public SyncUser deviceId(String devid)
    • orgName

      public SyncUser orgName(String org)
    • meta

      public io.odysz.semantics.meta.TableMeta meta(String... connId) throws SQLException, io.odysz.transact.x.TransException
      Specified by:
      meta in interface io.odysz.semantics.IUser
      Throws:
      SQLException
      io.odysz.transact.x.TransException
    • dbLog

      public ArrayList<String> dbLog(ArrayList<String> sqls) throws io.odysz.transact.x.TransException
      Specified by:
      dbLog in interface io.odysz.semantics.IUser
      Throws:
      io.odysz.transact.x.TransException
    • login

      public boolean login(Object request) throws io.odysz.transact.x.TransException
      Specified by:
      login in interface io.odysz.semantics.IUser
      Throws:
      io.odysz.transact.x.TransException
    • touch

      public io.odysz.semantics.IUser touch()
      Specified by:
      touch in interface io.odysz.semantics.IUser
    • touchedMs

      public long touchedMs()
      Specified by:
      touchedMs in interface io.odysz.semantics.IUser
    • uid

      public String uid()
      Specified by:
      uid in interface io.odysz.semantics.IUser
    • pswd

      public String pswd()
      Specified by:
      pswd in interface io.odysz.semantics.IUser
    • logAct

      public io.odysz.semantics.IUser logAct(String funcName, String funcId)
      Specified by:
      logAct in interface io.odysz.semantics.IUser
    • sessionId

      public String sessionId()
      Specified by:
      sessionId in interface io.odysz.semantics.IUser
    • sessionId

      public io.odysz.semantics.IUser sessionId(String ssid)
      Specified by:
      sessionId in interface io.odysz.semantics.IUser
    • logout

      public io.odysz.semantics.SemanticObject logout()
      Specified by:
      logout in interface io.odysz.semantics.IUser
    • touchTempDir

      public String touchTempDir(String conn, String doctbl) throws SemanticException
      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

      public void synssion(Object synssionServ)
    • synssion

      public <T> T synssion()