Interface IAjaxRegistry

    • Method Detail

      • getRegisteredFunction

        @Nullable
        IAjaxFunctionDeclaration getRegisteredFunction​(@Nullable
                                                       String sFunctionName)
        Get the registered AJAX function with the specified name
        Parameters:
        sFunctionName - The AJAX function name to search. May be null.
        Returns:
        null if no such AJAX function is registered.
      • isRegisteredFunction

        boolean isRegisteredFunction​(@Nullable
                                     String sFunctionName)
        Check whether an AJAX function with the given name is present
        Parameters:
        sFunctionName - The name of the AJAX function to check. May be null.
        Returns:
        true if an AJAX function with the given name is contained, false otherwise.
      • registerFunction

        void registerFunction​(@Nonnull
                              IAjaxFunctionDeclaration aFunction)
        Add a handler function that is used as a callback.
        Parameters:
        aFunction - The AJAX function declaration to be invoked. May not be null.