Package org.dlese.dpc.schemedit.input
Class SmileEditValidator
java.lang.Object
org.dlese.dpc.schemedit.input.SchemEditValidator
org.dlese.dpc.schemedit.input.SmileEditValidator
Extension of SchemEditValidator that is only concerned with a few
msp2-specific fields.
- Author:
- ostwald
-
Field Summary
Fields inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator
docMap, framework, im, request, schemaHelper, sef -
Constructor Summary
ConstructorsConstructorDescriptionSmileEditValidator(SchemEditForm sef, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Constructor for the SmileEditValidator object -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanskipFieldValidation(InputField inputField) Suppress validation of all fields under MATERIALS_LIST_PATHCustom validator for MATERIALS_LIST_PATHMethods inherited from class org.dlese.dpc.schemedit.input.SchemEditValidator
exposeField, getEntityErrors, getInputManager, hasEntityErrors, isLastRequiredRepeatingElement, pruneInstanceDoc, pruneRepeatingFields, updateMultiValueFields, validateAttributeFields, validateDeletion, validateDocument, validateElementFields, validateMultiValueFields
-
Constructor Details
-
SmileEditValidator
public SmileEditValidator(SchemEditForm sef, MetaDataFramework framework, org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) Constructor for the SmileEditValidator object- Parameters:
sef- Description of the Parameterframework- Description of the Parametermapping- NOT YET DOCUMENTEDrequest- Description of the Parameter
-
-
Method Details
-
skipFieldValidation
Suppress validation of all fields under MATERIALS_LIST_PATH- Overrides:
skipFieldValidationin classSchemEditValidator- Parameters:
inputField- Description of the Parameter- Returns:
- Description of the Return Value
-
validateForm
Custom validator for MATERIALS_LIST_PATH- Overrides:
validateFormin classSchemEditValidator- Returns:
- Description of the Return Value
-