public interface IAjaxRegistry extends Serializable
IAjaxExecutor
instances. See IAjaxInvoker for the interface to implement the
execution.IAjaxInvoker in v8.1.4.| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsMap<String,IAjaxFunctionDeclaration> |
getAllRegisteredFunctions() |
IAjaxFunctionDeclaration |
getRegisteredFunction(String sFunctionName)
Get the registered AJAX function with the specified name
|
boolean |
isRegisteredFunction(String sFunctionName)
Check whether an AJAX function with the given name is present
|
void |
registerFunction(IAjaxFunctionDeclaration aFunction)
Add a handler function that is used as a callback.
|
@Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsMap<String,IAjaxFunctionDeclaration> getAllRegisteredFunctions()
@Nullable IAjaxFunctionDeclaration getRegisteredFunction(@Nullable String sFunctionName)
sFunctionName - The AJAX function name to search. May be null.null if no such AJAX function is registered.boolean isRegisteredFunction(@Nullable String sFunctionName)
sFunctionName - The name of the AJAX function to check. May be null.true if an AJAX function with the given name is
contained, false otherwise.void registerFunction(@Nonnull IAjaxFunctionDeclaration aFunction)
aFunction - The AJAX function declaration to be invoked. May not be
null.Copyright © 2014–2019 Philip Helger. All rights reserved.