Interface EssSession

All Superinterfaces:
EssObject
All Known Implementing Classes:
EssSessionImpl

public interface EssSession extends EssObject
  • Method Details

    • getSessionId

      Long getSessionId()
      Gets the ID of this session.
      Returns:
      the session ID
    • getUserId

      String getUserId()
      Get the user for the session.
      Returns:
      the user ID
    • getLoginTimeInSeconds

      long getLoginTimeInSeconds()
      Number of seconds session has been created
      Returns:
      the number of seconds the session has been created
    • getConnectionSource

      String getConnectionSource()
      Get the connection source (not sure what this signifies, but it's in the source JSON...)
      Returns:
      the connection source
    • getApplication

      String getApplication()
      The application this session is attached to, or null for one that isn't attached to any.

      A session listed under a cube always names one; the server-wide list returns plenty that do not, because connecting to Essbase and opening a cube are separate things.

      Returns:
      the application name, or null
    • getDatabase

      String getDatabase()
      The cube this session is attached to, or null.
      Returns:
      the database name, or null
    • kill

      void kill(boolean logoff)
      Kill the session.
      Parameters:
      logoff - true to also log it off (e.g., it'll disappear from the list of sessions)
    • getName

      String getName()
      Standard implementation.
      Specified by:
      getName in interface EssObject
      Returns:
      the name of session (the ID)
    • getType

      EssObject.Type getType()
      Description copied from interface: EssObject
      Gets the type of this object.
      Specified by:
      getType in interface EssObject
      Returns:
      the object type