Package com.cbe

Class Account

java.lang.Object
com.cbe.Account

public class Account extends Object
Login account information.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Account

      public Account(long cPtr, boolean cMemoryOwn)
    • Account

      public Account(DefaultCtor arg0)
      Default constructor.
      Construct a new object with
      the DefaultCtor to enable the
      operator bool()
      test
  • Method Details

    • getCPtr

      public static long getCPtr(Account obj)
    • finalize

      public void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • userId

      public long userId()
      Returns the account id of the user.
    • username

      public String username()
      Returns the username of the account.
      Stored in lowercase.
    • password

      public String password()
      Returns the password of the account.
      What was used to login.
    • source

      public String source()
      Returns the tenant name of the account.
      Note: Stored in lowercase.
    • client

      public String client()
      Returns the client of the account.
      If it was set when the account was created.
    • firstName

      public String firstName()
      Returns the given name of the user.
      Stored in lowercase.
    • lastName

      public String lastName()
      Returns the surname of the user.
    • rootContainer

      public Container rootContainer()
      Returns the rootContainer for the account.
      The top container is also known as home://
    • tenantContainerId

      public long tenantContainerId()
      Returns the tenant ContainerId.
      Returns the ContainerId of the tenant database for the account. The top container is also known as tenant://
    • libContainerId

      public long libContainerId()
      Returns the library ContainerId.
      The ContainerId of the library database for the account,
      which is where application specific settings and
      application state can be permanently stored
      in order to be available next time the app starts.
    • rootDatabase

      public long rootDatabase()
      Returns the DatabaseId for home:// .
      Returns the databaseId for root a.k.a. home:// of the account.
    • databases

      public Database_Map databases()
      Returns the Databases available.
      Returns a std::map of databases available for the account.