Interface IAjaxInvoker

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    AjaxInvoker

    public interface IAjaxInvoker
    extends Serializable
    Base interface for an AJAX invoker. It has a set of IAjaxExecutor instances that it can invoke.
    Author:
    Philip Helger
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void invokeFunction​(String sFunctionName, IAjaxExecutor aAjaxExecutor, com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, com.helger.photon.app.PhotonUnifiedResponse aAjaxResponse)
      Invoke the specified AJAX function.
    • Method Detail

      • invokeFunction

        void invokeFunction​(@Nonnull
                            String sFunctionName,
                            @Nonnull
                            IAjaxExecutor aAjaxExecutor,
                            @Nonnull
                            com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
                            @Nonnull
                            com.helger.photon.app.PhotonUnifiedResponse aAjaxResponse)
                     throws Exception
        Invoke the specified AJAX function.
        Parameters:
        sFunctionName - the alias of the AJAX function to invoke. May not be null.
        aAjaxExecutor - The executor to be invoked. May not be null.
        aRequestScope - The request scope to be used for the function. Never null.
        aAjaxResponse - The Ajax response to be filled. Never null.
        Throws:
        Exception - In case something goes wrong