Interface FrontendController


  • public interface FrontendController
    This interface is used to provide specific functions to be called on the frontend of the novomind iAGENT app. The controller is available in the novomind iAGENT routing, mail agent and chat agent process.
    Since:
    11.9
    • Method Detail

      • addFrontendMessage

        void addFrontendMessage​(FrontendMessage message)
        This method can be used to add a message to the frontend of the novomind iAGENT app. Please note, that this operation only adds the message. In the supervisor context there is an growl, that will display these messages. If this method is used e.g. in a bean of a MailInfoTabProvider or ChatInfoTabProvider the developer has to additionally add a component to the xhtml page to display these messages.
        Parameters:
        message - the message to be added to the frontend.
        Since:
        11.9
      • executeFrontendScript

        void executeFrontendScript​(FrontendScript script)
        This method can be used to execute a script in the frontend of the novomind iAGENT app.
        Parameters:
        script - the script to be executed in the frontend.
        Since:
        11.9
      • updateFrontendComponent

        void updateFrontendComponent​(FrontendComponent component)
        This method can be used to update a component of the frontend of the novomind iAGENT app.
        Parameters:
        component - the component to be updated in the frontend.
        Since:
        11.9