Package com.helger.photon.ajax
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 ofIAjaxExecutorinstances that it can invoke.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvokeFunction(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 benull.aAjaxExecutor- The executor to be invoked. May not benull.aRequestScope- The request scope to be used for the function. Nevernull.aAjaxResponse- The Ajax response to be filled. Nevernull.- Throws:
Exception- In case something goes wrong
-
-