psdi.server

Interface MXServerRemote

  • All Superinterfaces:
    java.rmi.Remote
    All Known Implementing Classes:
    MXServer


    public interface MXServerRemote
    extends java.rmi.Remote
    A Command and Control interface for the MXServer.
    • Method Detail

      • getDate

        java.util.Date getDate()
                        throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getLocalAppList

        java.lang.String[] getLocalAppList()
                                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getSystemProperties

        java.util.Properties getSystemProperties()
                                          throws java.rmi.RemoteException
        Returns system properties.
        Throws:
        java.rmi.RemoteException
      • getPublicProperty

        java.lang.String getPublicProperty(java.lang.String propName)
                                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        MXServer.getPublicProperty(String)
      • getPublicProperty

        java.lang.String getPublicProperty(java.lang.String propName,
                                           java.lang.String lang)
                                    throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        MXServer.getPublicProperty(String, String)
      • getProperty

        java.lang.String getProperty(java.lang.String propName,
                                     java.lang.String lang,
                                     UserInfo userInfo)
                              throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        psdi.server.MXServer#getProperty(String, String, userInfo)
      • getDatabaseProductName

        java.lang.String getDatabaseProductName()
                                         throws java.rmi.RemoteException
        Returns the name of the database product name.
        Throws:
        java.rmi.RemoteException
      • getDatabaseProductSimpleVersion

        java.lang.String getDatabaseProductSimpleVersion()
                                                  throws java.rmi.RemoteException
        Returns the name of the database product name.
        Throws:
        java.rmi.RemoteException
      • getDatabaseProductVersion

        java.lang.String getDatabaseProductVersion()
                                            throws java.rmi.RemoteException
        Returns the name of the database product name.
        Throws:
        java.rmi.RemoteException
      • getUserLicenseKey

        @Deprecated
        java.lang.String getUserLicenseKey()
                                                throws java.rmi.RemoteException
        Deprecated. 
        Returns the User license Key
        Throws:
        java.rmi.RemoteException
      • getAppServerNameandVersion

        java.lang.String getAppServerNameandVersion()
                                             throws java.rmi.RemoteException
        Returns the App Srever Name and Version
        Throws:
        java.rmi.RemoteException
      • getMEAServerVersion

        java.util.ArrayList getMEAServerVersion()
                                         throws java.rmi.RemoteException
        Get MEA version
        Throws:
        java.rmi.RemoteException
      • isValidSite

        boolean isValidSite(java.lang.String siteId)
                     throws java.rmi.RemoteException
        Returns whether the siteid is valid or not.
        Throws:
        java.rmi.RemoteException
      • isValidOrganization

        boolean isValidOrganization(java.lang.String orgId)
                             throws java.rmi.RemoteException
        Returns whether the orgid is valid or not.
        Throws:
        java.rmi.RemoteException
      • isSiteInOrganization

        boolean isSiteInOrganization(java.lang.String siteId,
                                     java.lang.String orgId)
                              throws java.rmi.RemoteException
        Returns whether the site belongs to the org or not.
        Throws:
        java.rmi.RemoteException
      • getOrganization

        java.lang.String getOrganization(java.lang.String siteId)
                                  throws java.rmi.RemoteException
        Returns organization id for the given siteid.
        Throws:
        java.rmi.RemoteException
      • getName

        java.lang.String getName()
                          throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        MXServer.getName()
      • reloadMaximoCache

        void reloadMaximoCache(boolean fromCron)
                        throws MXException,
                               java.rmi.RemoteException
        Parameters:
        fromCron - is reloadMaximoCache called from crontask or from other source code
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        MXServer.reloadMaximoCache(boolean)
      • reloadMaximoCache

        void reloadMaximoCache(java.lang.String name,
                               boolean fromCron)
                        throws MXException,
                               java.rmi.RemoteException
        Parameters:
        name -
        fromCron - is reloadMaximoCache called from crontask or from other source code
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        MXServer.reloadMaximoCache(boolean)
      • reloadMaximoCache

        void reloadMaximoCache(java.lang.String name,
                               java.lang.String key,
                               boolean fromCron)
                        throws MXException,
                               java.rmi.RemoteException
        Parameters:
        name -
        key -
        fromCron - is reloadMaximoCache called from crontask or from other source code
        Throws:
        java.lang.Exception
        java.rmi.RemoteException
        MXException
        See Also:
        MXServer.reloadMaximoCache(boolean)
      • postUserInput

        void postUserInput(java.lang.String id,
                           java.lang.Object value,
                           UserInfo ui)
                    throws java.rmi.RemoteException
        Post the object to the bulletin board maintained by the server.
        Parameters:
        id -
        value -
        ui -
        Throws:
        MXException
        java.rmi.RemoteException
      • getUserInput

        java.lang.Object getUserInput(java.lang.String id,
                                      UserInfo ui)
                               throws java.rmi.RemoteException
        Get the user input of the id.
        Parameters:
        id -
        ui -
        Throws:
        java.rmi.RemoteException
      • removeUserInput

        void removeUserInput(java.lang.String id,
                             UserInfo ui)
                      throws java.rmi.RemoteException
        Remove the user input from the bulletin board.
        Parameters:
        id -
        ui -
        Throws:
        java.rmi.RemoteException
      • clearUserInput

        void clearUserInput(UserInfo ui)
                     throws java.rmi.RemoteException
        Remove all the user input from the bulletin board. Since bulletin board is Thread Local object, only the user input for this thread is removed.
        Parameters:
        ui -
        Throws:
        java.rmi.RemoteException
      • getLanguageList

        java.lang.String[][] getLanguageList()
                                      throws MXException,
                                             java.rmi.RemoteException
        Returns the language ID and name in corresponding language
        Returns:
        two dimensional string array
        Throws:
        MXException
        java.rmi.RemoteException
      • getBaseLang

        java.lang.String getBaseLang()
                              throws MXException,
                                     java.rmi.RemoteException
        Returns the base language code
        Throws:
        MXException
        java.rmi.RemoteException
      • getMessage

        java.lang.String getMessage(java.lang.String group,
                                    java.lang.String key,
                                    java.lang.String langCode)
                             throws MXException,
                                    java.rmi.RemoteException
        Returns the maxmessage entry for group and key
        Parameters:
        group -
        key -
        Throws:
        MXException
        java.rmi.RemoteException
      • getTaggedMessage

        java.lang.String getTaggedMessage(java.lang.String group,
                                          java.lang.String key,
                                          java.lang.String langCode)
                                   throws MXException,
                                          java.rmi.RemoteException
        Returns the maxmessage entry for group and key
        Parameters:
        group -
        key -
        Throws:
        MXException
        java.rmi.RemoteException
      • getMessages

        java.lang.String[] getMessages(java.lang.String group,
                                       java.lang.String[] key,
                                       java.lang.String langCode)
                                throws MXException,
                                       java.rmi.RemoteException
        Return list of translated strings from the maxmessages table in the order specified by the array of keys passed
        Parameters:
        group -
        key -
        Throws:
        MXException
        java.rmi.RemoteException
      • getMessage

        java.lang.String getMessage(MXException mxe,
                                    java.lang.String langCode)
                             throws MXException,
                                    java.rmi.RemoteException
        Returns message for the exception and langcode
        Parameters:
        mxe -
        langCode -
        Throws:
        MXException
        java.rmi.RemoteException
      • getTaggedMessage

        java.lang.String getTaggedMessage(MXException mxe,
                                          java.lang.String langCode)
                                   throws MXException,
                                          java.rmi.RemoteException
        Returns message with Message id for the exception and langcode
        Parameters:
        mxe -
        langCode -
        Throws:
        MXException
        java.rmi.RemoteException
      • getBranding

        int getBranding()
                 throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        MXServer.getBranding()
      • encData

        byte[] encData(java.lang.String in,
                       int type)
                throws MXException,
                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getLicenseKeys

        java.util.HashSet getLicenseKeys()
                                  throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        MXServer.getLicenseKeys()
      • getProductKeys

        java.util.HashSet getProductKeys()
                                  throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
        See Also:
        MXServer.getProductKeys()
      • getDBConnUsed

        int getDBConnUsed()
                   throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • getFreeMemory

        java.lang.String[] getFreeMemory()
                                  throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • collectTenantDBConnInfo

        void collectTenantDBConnInfo(UserInfo info)
                              throws java.rmi.RemoteException,
                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • collectTenantDBConForThisServer

        void collectTenantDBConForThisServer(UserInfo info)
                                      throws java.rmi.RemoteException,
                                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getTenantRealmMap

        java.util.HashMap getTenantRealmMap()
                                     throws MXException,
                                            java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • clearTenantRealmMap

        void clearTenantRealmMap()
                          throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException