Package edm.edom3

Class EDMLocal


  • public final class EDMLocal
    extends EDMInterface
    Supplies interface functions for the "single user" / "Fat client" LOCAL interface
    Version:
    3.0
    Author:
    Arne Toen - EPM Technology AS.
    • Constructor Detail

      • EDMLocal

        public EDMLocal()
    • Method Detail

      • getUserSessionManager

        public static edm.edom3.context.CLocalSessionManager getUserSessionManager()
                                                                            throws EdmiException
        Retrieve user session manager (if you run multiple local sessions)
        Returns:
        The user session manager object
        Throws:
        EdmiException - if the method fails
      • getActiveContext

        public static EDMContext getActiveContext()
                                           throws EdmiException
        Get the current active context
        Returns:
        current active context, null if no active
        Throws:
        EdmiException - if the method fails
      • getContext

        public static EDMLocalContext getContext​(java.lang.String name)
                                          throws EdmiException
        Get a context out of the name without activating it.
        Parameters:
        name - context name
        Returns:
        found context, null if none available with the given name.
        Throws:
        EdmiException - if the method fails
      • logoutAll

        public static void logoutAll​(java.lang.String password)
                              throws java.lang.Exception
        Log out all active contexts
        Parameters:
        password - admin password
        Throws:
        java.lang.Exception - if the method fails
      • getEDMExpressionLog

        public static EDMLogger getEDMExpressionLog()
                                             throws EdmiException
        Get the expression logger (EDMvirtualMachine logger) for this local context
        Returns:
        expression log object
        Throws:
        EdmiException - if the method fails