Class FSSessionImpl

    • Constructor Detail

      • FSSessionImpl

        public FSSessionImpl()
    • Method Detail

      • pushConfig

        public void pushConfig​(String name,
                               byte[] data)
                        throws Exception
        Description copied from interface: IFSSession
        Method to push a configuration file to the frontend server
        Specified by:
        pushConfig in interface IFSSession
        Parameters:
        name - The name of the configuration file
        data - Byte array with the data of the configuration file
        Throws:
        Exception - on errors while pushing the configuration file
      • pullConfigurableProperties

        public FSConfigurableProperties pullConfigurableProperties()
        Description copied from interface: IFSSession
        Pulls the configuration from the frontend server that can be edited via the backend UI.
        Specified by:
        pullConfigurableProperties in interface IFSSession
        Returns:
        The frontend server configuration. Never null, but may be empty.
      • pushConfigurableProperties

        public void pushConfigurableProperties​(FSConfigurableProperties errorPagesConfig)
                                        throws org.apache.commons.configuration2.ex.ConfigurationException
        Description copied from interface: IFSSession
        Pushes the given configuration to the frontend server.
        Specified by:
        pushConfigurableProperties in interface IFSSession
        Parameters:
        errorPagesConfig - The error pages config to push.
        Throws:
        org.apache.commons.configuration2.ex.ConfigurationException
      • callback

        @Deprecated
        public void callback​(String callbackName,
                             IFormDataAdapter saveFormData,
                             Vorgang vorgang)
                      throws Exception
        Deprecated.
        will be removed
        Description copied from interface: IFSSession
        Method to perform a callback on the frontend server
        Specified by:
        callback in interface IFSSession
        Parameters:
        callbackName - Name of the callback handler to perform
        saveFormData - The form data adapter with which the callback should be performed
        vorgang - The form record to perform the callback with
        Throws:
        Exception - on errors while performing the callback
      • disconnect

        public boolean disconnect()
        Description copied from interface: IFSSession
        Method to perform a clean disconnect
        Specified by:
        disconnect in interface IFSSession
        Returns:
        true if the disconnect was successful, false otherwise
      • unreferenced

        public void unreferenced()
        Specified by:
        unreferenced in interface de.root1.simon.SimonUnreferenced
      • ping

        public boolean ping()
        Description copied from interface: IFSSession
        Method to ping the frontend server
        Specified by:
        ping in interface IFSSession
        Returns:
        true if successful, false otherwise