public interface Handler<C> extends Serializable
org.mmbase.datatypes.handlers| Modifier and Type | Method and Description |
|---|---|
C |
check(Request request,
Node node,
Field field,
boolean errors)
Checks the user input, and invalidates the request, if this user input was invalid.
|
String |
id(Request request,
Field field)
Generates a unique id for the field in the request
|
C |
input(Request request,
Node node,
Field field,
boolean search)
Produces an form input field for the given Node, and Field.
|
Constraint |
search(Request request,
Field field,
Query query)
Uses the user's input to create a constraint for the given query
|
boolean |
set(Request request,
Node node,
Field field)
Sets the user's input into the field of the node
|
String id(Request request, Field field)
C input(Request request, Node node, Field field, boolean search)
search - if true, then a search field is produced.C check(Request request, Node node, Field field, boolean errors)
errors - If true then report the errors, otherwise the return value can
remain empty.boolean set(Request request, Node node, Field field)
Constraint search(Request request, Field field, Query query)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}