Searched defs:onValidate (Results 1 - 2 of 2) sorted by relevance

/forgerock/openidm-v4/openidm-core/src/main/java/org/forgerock/openidm/managed/
H A DSchemaField.java110 private final ScriptEntry onValidate; field in class:SchemaField
146 // Set the onValidate script if defined.
147 this.onValidate = schema.isDefined("onValidate")
148 ? scriptRegistry.takeScript(schema.get("onValidate"))
374 void onValidate(Context context, JsonValue value) throws ForbiddenException, InternalServerErrorException { method in class:SchemaField
375 if (onValidate != null) {
376 Script scope = onValidate.getScript(context);
384 String msg = name + " onValidate script encountered exception";
H A DManagedObjectSet.java134 onValidate, enum constant in enum:ManagedObjectSet.ScriptHook
370 // Execute all individual onValidate scripts
372 getSchema().getField(key).onValidate(context, value);
375 // Execute the root onValidate script
376 execScript(context, ScriptHook.onValidate, value, scriptBindings);

Completed in 33 milliseconds